/* Llenzu · product page. Black and white like the app: the colour comes
   from the photos. System fonts only, so nothing is loaded from other sites. */

:root {
  --paper: #ffffff;
  --subtle: #f5f5f3;
  --ink: #0b0b0b;
  --ink-2: #3d3d3a;
  --muted: #6b6b66;
  --line: #e2e2de;
  --button-ink: #ffffff;
  --radius: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b0b0b;
    --subtle: #151514;
    --ink: #f4f4f2;
    --ink-2: #cfcfca;
    --muted: #9a9a94;
    --line: #2a2a28;
    --button-ink: #0b0b0b;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- header */

.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top__inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.top__nav { display: flex; gap: 22px; margin-left: auto; font-size: 0.95rem; }
.top__nav a { text-decoration: none; color: var(--ink-2); }
.top__nav a:hover { color: var(--ink); }

.wordmark {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.03em; text-decoration: none;
}
.wordmark--small { font-size: 1.15rem; margin-right: 6px; }

@media (max-width: 720px) {
  .top__nav { display: none; }
  .top__inner .button { margin-left: auto; }
}

/* --------------------------------------------------------------- buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--button-ink); border: 1px solid var(--ink);
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.button:hover { opacity: 0.86; }
.button:active { transform: scale(0.98); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button--ghost:hover { border-color: var(--ink); opacity: 1; }
.button--small { min-height: 38px; padding: 0 16px; font-size: 0.92rem; }

/* ------------------------------------------------------------------ hero */

.hero { padding: 64px 0 40px; }
.hero__text { max-width: 1080px; }
.eyebrow {
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.lead { font-size: clamp(1.08rem, 1.8vw, 1.28rem); color: var(--ink-2); max-width: 640px; margin-top: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note { margin-top: 16px; font-size: 0.92rem; color: var(--muted); }

/* The carousel, first as one canvas and then cut into its posts. */
.canvas { margin: 56px auto 0; width: min(1240px, 100% - 40px); }
.canvas__switch {
  display: inline-flex; padding: 4px; gap: 4px; margin: 0 auto 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--subtle);
}
.canvas { text-align: center; }
.canvas__switch button {
  font: inherit; font-size: 0.92rem; font-weight: 600;
  border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer;
  background: transparent; color: var(--ink-2);
}
.canvas__switch button[aria-pressed="true"] { background: var(--ink); color: var(--button-ink); }
.canvas__scroller { overflow-x: auto; scrollbar-width: none; padding: 10px 2px 22px; }
.canvas__scroller::-webkit-scrollbar { display: none; }
.canvas__strip { display: flex; width: max(100%, 900px); margin-inline: auto; }
.canvas__strip img {
  flex: 1 1 0; min-width: 0; width: 100%;
  border-radius: 0; box-shadow: none;
  transition: margin 0.6s cubic-bezier(.2,.7,.2,1), border-radius 0.6s, box-shadow 0.6s;
}
.canvas__strip img:first-child { border-radius: 6px 0 0 6px; }
.canvas__strip img:last-child { border-radius: 0 6px 6px 0; }
.canvas__strip { box-shadow: 0 0 0 1px var(--line); border-radius: 6px; transition: box-shadow 0.6s; }
.canvas--split .canvas__strip { box-shadow: none; }
.canvas--split .canvas__strip img {
  border-radius: 8px; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(0,0,0,0.10);
}
.canvas--split .canvas__strip img + img { margin-left: clamp(8px, 1.4vw, 18px); }
.canvas figcaption { margin-top: 4px; font-size: 0.88rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .canvas__strip, .canvas__strip img { transition: none; }
}

/* -------------------------------------------------------------- sections */

.section { padding: 96px 0; }
section[id] { scroll-margin-top: 64px; }
.section--alt { background: var(--subtle); border-block: 1px solid var(--line); }
.section__lead { margin-top: 14px; color: var(--ink-2); max-width: 620px; font-size: 1.08rem; }

.steps {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; }
.steps__n { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; margin-bottom: 14px; }
.steps p { margin-top: 10px; color: var(--ink-2); }

.features {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.features li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.features p { margin-top: 8px; color: var(--ink-2); font-size: 0.98rem; }

@media (max-width: 880px) {
  .steps, .features { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

/* Templates, in a row that scrolls sideways like the app's carousels. */
.gallery {
  list-style: none; margin: 36px 0 0; padding: 4px max(20px, calc((100% - 1160px) / 2)) 16px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100% - 1160px) / 2));
  scrollbar-width: thin;
}
.gallery li { scroll-snap-align: start; }
.gallery img {
  border-radius: 10px; box-shadow: 0 0 0 1px var(--line); aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.gallery strong { display: block; margin-top: 12px; font-size: 0.98rem; line-height: 1.3; }
.gallery span { display: block; margin-top: 2px; font-size: 0.86rem; color: var(--muted); }

/* Everywhere. */
.everywhere { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.platforms { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.platforms li { display: grid; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.platforms span { color: var(--ink-2); }
.phones { display: flex; justify-content: center; gap: 22px; }
.phones img {
  width: min(46%, 230px); border-radius: 30px; border: 6px solid var(--ink);
  box-shadow: 0 24px 50px rgba(0,0,0,0.18);
}
.phones img:last-child { margin-top: 48px; }
@media (max-width: 880px) {
  .everywhere { grid-template-columns: 1fr; }
}

/* Downloads. */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; max-width: 860px; }
.download {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: grid; gap: 10px; align-content: start;
}
.download h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.download > p:first-of-type { color: var(--ink-2); }
.download .button { justify-self: start; margin-top: 8px; }
.download__soon { font-weight: 600; margin-top: 8px; }
.download__help { font-size: 0.86rem; color: var(--muted); }
.download--first { border-color: var(--ink); }
@media (max-width: 720px) {
  .downloads { grid-template-columns: 1fr; }
}

/* "Casi listo", shown at app.llenzu.com until the app goes live there. */
.soon { min-height: calc(100vh - 65px); display: grid; align-items: center; padding: 64px 0; }
.soon__inner { max-width: 760px; }

/* ---------------------------------------------------------------- footer */

.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-2); font-size: 0.94rem; }
.foot__inner { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: baseline; }
.foot nav { display: flex; gap: 18px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot__small { grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); }
