/* ZATE landing page (/). Same palette and type as the app (styles.css :root). */
:root {
  --bg: #F8F1E9;
  --surface: #FCF8F3;
  --warm: #EFE6DC;
  --ink: #3E2B23;
  --muted: #75604F;
  --caramel: #A67C52;
  /* Caramel for words (4.7:1 on warm); --caramel stays for lines and icons. */
  --caramel-deep: #835D3B;
  --taupe: #D6C4B4;
  --line: rgba(62, 43, 35, 0.12);
  --shadow: 0 12px 40px rgba(62, 43, 35, 0.08);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* The other language, offered at the top (landing.js). */
.lp-lang-bar { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 10px 44px 10px 16px; background: var(--ink); color: var(--surface); font-size: 13px; position: relative; text-align: center; }
.lp-lang-bar a { color: var(--surface); font-weight: 500; }
.lp-lang-bar button { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; color: var(--surface); font-size: 20px; cursor: pointer; }

/* Nav */
/* The bar stays with the reader, so the sign-up button is never a scroll away. */
.lp-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 14px max(20px, calc((100% - 1120px) / 2 + 20px)); background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow 200ms ease; }
.lp-nav.is-stuck { box-shadow: 0 1px 0 var(--line); }
html { scroll-padding-top: 76px; }
.lp-logo { display: inline-block; padding: 6px 0; }
.lp-logo img { width: 130px; height: auto; }
.lp-nav-links { display: flex; align-items: center; gap: 18px; }
.lp-link { white-space: nowrap; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.lp-link span { border-bottom: 1px solid var(--taupe); padding-bottom: 2px; }
.lp-link:hover span { border-color: var(--ink); }

/* Buttons */
.lp-btn { display: inline-block; background: var(--ink); color: var(--surface); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 500; padding: 16px 28px; border-radius: 4px; transition: background 200ms ease; text-align: center; }
.lp-btn:hover, .lp-btn:focus-visible { background: #2A1D17; }
.lp-btn:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; }
/* Keyboard focus is always visible: links, questions and buttons. */
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.lp-lang-bar a:focus-visible, .lp-lang-bar button:focus-visible { outline-color: var(--surface); }
.lp-btn-small { padding: 13px 16px; font-size: 12px; } /* 44 px tall: a thumb's target */
.lp-btn-wide { width: 100%; }

/* Hero */
.lp-hero { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1120px; margin: 0 auto; padding: 28px 20px 56px; align-items: center; }
/* The brand line above the headline, as on the sign-in screen. */
.lp-tagline { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--muted); }
.lp-eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.lp-hero h1 { margin: 0 0 20px; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 9vw, 60px); line-height: 1.02; letter-spacing: -0.01em; }
.lp-lead { margin: 0 0 28px; font-size: 18px; max-width: 34em; }
.lp-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.lp-cta-note { font-size: 13px; color: var(--muted); }
.lp-cta-center { justify-content: center; margin-top: 36px; }

/* A real frame from the closet scan, then the three cards it made. */
.lp-hero-visual { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, .56fr); align-items: end; gap: 14px; max-width: 520px; margin: 0 auto; width: 100%; }
.lp-scan-wrap, .lp-closet { text-align: center; }
.lp-photo { position: relative; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.lp-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.lp-photo video { display: block; width: 100%; height: auto; object-fit: cover; }
.lp-scan { border-radius: 22px; border: 6px solid var(--ink); }
.lp-scan img, .lp-scan video { aspect-ratio: 768 / 1270; }
.lp-photo figcaption, .lp-closet-cap { position: absolute; left: 10px; bottom: 10px; margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); background: rgba(252, 248, 243, .92); padding: 5px 9px; border-radius: 3px; }
.lp-closet-cap { position: static; display: inline-block; margin-top: 12px; background: none; padding: 0; color: var(--muted); }
.lp-arrow { align-self: center; font-family: var(--serif); font-size: 28px; color: var(--caramel); }
.lp-cards { display: grid; grid-template-columns: 1fr; gap: 8px; }
.lp-card { background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(62, 43, 35, .08); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lp-card img { width: 100%; height: 100%; object-fit: contain; }

/* Sections */
.lp-section { max-width: 1120px; margin: 0 auto; padding: 64px 20px; border-top: 1px solid var(--line); }
.lp-hero h1, .lp-section h2, .lp-final h2, .lp-big { text-wrap: balance; }
.lp-section h2, .lp-final h2 { margin: 0 0 32px; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 6vw, 46px); line-height: 1.08; }
.lp-section h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; }
.lp-section p { margin: 0; }

.lp-contrast { text-align: center; }
.lp-big { font-family: var(--serif); font-size: clamp(30px, 6vw, 44px); line-height: 1.12; margin: 0 auto 18px !important; max-width: 18em; }
.lp-sub { max-width: 36em; margin: 0 auto !important; color: var(--muted); font-size: 17px; }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 28px; }
.lp-step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--caramel); color: var(--caramel-deep); font-family: var(--serif); font-size: 20px; margin-bottom: 12px; }

.lp-grid { display: grid; grid-template-columns: 1fr; gap: 28px 40px; }
.lp-grid article p, .lp-steps p { color: var(--muted); }
/* Each thing it does is its own card: easier to scan than a wall of text. */
.lp-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; }
.lp-grid { gap: 16px; }
@media (min-width: 820px) { .lp-grid { gap: 20px; } }

/* What is kept private, in three plain facts. */
.lp-trust h2 { margin-bottom: 24px; }
.lp-trust-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.lp-trust-row p { color: var(--muted); }
@media (min-width: 820px) { .lp-trust-row { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.lp-cta-note-center { display: block; margin-top: 14px; text-align: center; }

/* A finished look, drawn like the app's outfit board: white, portrait,
   top and bottom the same size, the small pieces small. */
.lp-look { text-align: center; }
.lp-look .lp-eyebrow { margin-bottom: 10px; }
.lp-ask { display: inline-block; text-wrap: balance; margin: 0 auto 24px !important; padding: 12px 18px; border-radius: 18px 18px 4px 18px; background: var(--ink); color: var(--surface); font-size: 16px; max-width: 30em; }
.lp-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "top jacket" "bottom acc"; gap: 12px; max-width: 420px; margin: 0 auto; padding: 16px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.lp-board-piece { min-width: 0; min-height: 0; overflow: hidden; background: #fff; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
.lp-board-piece img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.22); }
.lp-b-jacket { grid-area: jacket; }
.lp-b-top { grid-area: top; }
.lp-b-bottom { grid-area: bottom; }
.lp-board-acc { grid-area: acc; min-width: 0; aspect-ratio: 4 / 5; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 4% 8%; }
.lp-board-acc .lp-board-piece { aspect-ratio: auto; height: 100%; }
.lp-b-glasses img { transform: scale(.8); }
/* The stylist's own reason for the look, as it wrote it. */
.lp-look-why { max-width: 30em; margin: 20px auto 0 !important; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; text-wrap: balance; }
.lp-look-note { margin-top: 12px !important; font-size: 14px; color: var(--muted); }

.lp-also { margin: 32px 0 0 !important; max-width: 40em; color: var(--muted); }
.lp-ways-list { margin: 0; padding-left: 20px; display: grid; gap: 12px; font-size: 17px; }
.lp-ways-list strong { font-weight: 500; }

.lp-pricing { text-align: center; }
.lp-price-card { margin: 0 auto; text-align: left; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px 26px; box-shadow: var(--shadow); }
.lp-price-tag { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--caramel-deep); margin-bottom: 10px !important; }
.lp-price { font-size: 16px; }
.lp-price span { font-family: var(--serif); font-size: 48px; font-weight: 500; line-height: 1; margin-right: 4px; }
.lp-price small { font-size: 13px; color: var(--muted); }
.lp-price-note { color: var(--muted); margin: 8px 0 20px !important; }
.lp-price-list { margin: 0 0 26px; padding-left: 20px; display: grid; gap: 6px; }
.lp-trial-note { margin: 0 0 14px !important; font-weight: 500; }

.lp-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; max-width: 46em; }
.lp-faq summary { cursor: pointer; min-height: 48px; align-items: center; padding: 12px 0; font-family: var(--serif); font-size: 22px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--caramel); font-family: var(--sans); font-size: 20px; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { margin: 0 0 14px !important; color: var(--muted); }

.lp-final { text-align: center; padding: 72px 20px 80px; background: var(--warm); }
.lp-final h2 { margin-bottom: 28px; }

.lp-footer { max-width: 1120px; margin: 0 auto; padding: 28px 20px 40px; font-size: 13px; color: var(--muted); text-align: center; }
.lp-footer p { margin: 4px 0; }
.lp-footer a { color: var(--ink); display: inline-block; padding: 13px 6px; }

@media (min-width: 820px) {
  .lp-nav { padding: 18px max(32px, calc((100% - 1120px) / 2 + 32px)); }
  .lp-logo img { width: 156px; }
  .lp-hero { grid-template-columns: 1.2fr 1fr; padding: 48px 32px 88px; gap: 56px; }
  .lp-section { padding: 88px 32px; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .lp-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Signing in again lives under the hero button on phones (see below). */
.lp-signin-line { display: none; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.lp-signin-line a { color: var(--ink); }

/* Computers: a QR code to carry the visit to the phone, where the scan
   happens (shown by landing.js, only with a mouse on a wide screen). */
.lp-qr { display: flex; align-items: center; gap: 16px; margin-top: 28px; max-width: 360px; }
.lp-qr[hidden] { display: none; }
.lp-qr-code { flex: none; width: 96px; height: 96px; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(62, 43, 35, .08); }
.lp-qr-code svg { display: block; width: 100%; height: 100%; }
.lp-qr p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.lp-qr strong { color: var(--ink); font-weight: 500; }

/* Phones and small tablets: one column, so the scan picture comes right
   after the promise and before the button, and is seen on the first screen. */
@media (max-width: 819px) {
  .lp-hero { gap: 0; }
  .lp-hero-copy { display: contents; }
  .lp-tagline { order: 1; }
  .lp-hero h1 { order: 2; }
  .lp-lead { order: 3; margin-bottom: 20px; }
  .lp-hero-visual { order: 4; max-width: 330px; margin: 0 0 24px; }
  .lp-hero .lp-cta-row { order: 5; }
  .lp-signin-line { order: 6; }
}
@media (max-width: 480px) {
  /* Every real visitor so far came on a phone, and the only button at the
     top was "sign in": a newcomer tapped it and met a login form. The top
     bar now offers the account; signing in moves under the hero button. */
  .lp-nav .lp-link { display: none; }
  .lp-signin-line { display: block; }
  .lp-tagline { font-size: 19px; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-btn, .lp-nav { transition: none; }
}

/* "¿Eres estilista?" on the landing → /estilistas/ (2026-10-16). */
.lp-stylists-copy { max-width: 36em; color: var(--muted); }
.lp-stylists-link { margin-top: 18px; white-space: normal; }

/* Hero without the scan picture (owner, 2026-10-18): the closet cards alone, in a row. */
.lp-hero-visual.is-cards { display: block; max-width: 420px; }
.lp-hero-visual.is-cards .lp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* Section labels that lead a section of their own, read at a glance (2026-10-18). */
.lp-eyebrow-lg { font-size: 16px; letter-spacing: .2em; font-weight: 500; color: var(--caramel-deep); margin-bottom: 16px; }
@media (min-width: 820px) { .lp-eyebrow-lg { font-size: 18px; } }

/* Hero as words and the button only (owner, 2026-10-18: no pictures up top). */
.lp-hero.is-text { grid-template-columns: 1fr; }
.lp-hero.is-text .lp-hero-copy { max-width: 40em; }

/* The example look as the app draws it (2026-10-18): one picture of the board. */
.lp-look-img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: 18px; box-shadow: var(--shadow); }

/* Plans with a stylist (landing) and for stylists (/estilistas), 2026-10-21. */
.lp-withstylist { text-align: center; }
.lp-ws-who { display: flex; align-items: center; gap: 18px; max-width: 560px; margin: 8px auto 28px; text-align: left; }
.lp-ws-who img { width: 96px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); flex: none; }
.lp-ws-name { font-family: var(--serif); font-size: 24px; margin: 0; }
.lp-ws-role { margin: 4px 0 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel-deep); }
.lp-ws-copy { margin: 0; color: var(--muted); }
.lp-ws-plans { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 880px; margin: 0 auto 24px; text-align: left; }
.lp-ws-plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; box-shadow: var(--shadow); }
.lp-ws-cta { display: flex; justify-content: center; max-width: 440px; margin: 0 auto; }
@media (min-width: 760px) {
  .lp-ws-plans { grid-template-columns: 1fr 1fr; }
  .lp-ws-who img { width: 120px; }
}

/* Follow ZATE on Instagram, under the last button. */
.lp-follow { margin: 28px 0 0; }
.lp-follow a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.lp-follow svg { flex: none; }
