/* Listl landing — warm cream, amber accent, Fredoka + Nunito.
   Tokens come from docs/design/corporate-identity.md. */

@font-face {
  font-family: 'Fredoka';
  src: url('../fonts/Fredoka-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Fredoka';
  src: url('../fonts/Fredoka-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'Fredoka';
  src: url('../fonts/Fredoka-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Fredoka';
  src: url('../fonts/Fredoka-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}

:root {
  --bg: #f7f0de;
  --surface: #fffdf6;
  --surface-2: #f1e8d3;
  --ink: #26332c;
  --ink-2: #5e6c63;
  --hairline: rgba(38, 51, 44, .12);
  --accent: #f5c51e;
  --on-accent: #2a2308;
  --accent-ink: #8a5e08;
  --accent-soft: #fbe7a6;
  --radius: 24px;
  --shadow: 0 24px 60px -24px rgba(38, 51, 44, .28);
  --max: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1a18;
    --surface: #242220;
    --surface-2: #2e2b27;
    --ink: #f2ece1;
    --ink-2: #b0a79c;
    --hairline: rgba(242, 236, 225, .13);
    --accent: #f7ce3e;
    --on-accent: #241d06;
    --accent-ink: #f7ce3e;
    --accent-soft: rgba(247, 206, 62, .15);
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 'Nunito', ui-rounded, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--on-accent); }

h1, h2, h3, .display {
  font-family: 'Fredoka', ui-rounded, system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
}

a { color: inherit; }

.container {
  width: min(var(--max), 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- navigation ---------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex; align-items: center; gap: 1rem;
  height: 4rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; font-weight: 700; font-size: 1.15rem;
  font-family: 'Fredoka', sans-serif; font-weight: 600;
}

.brand img { width: 1.9rem; height: 1.9rem; border-radius: 35%; }

.nav-links {
  display: none; gap: 1.4rem; margin-left: auto;
  font-weight: 600; font-size: .95rem;
}

@media (min-width: 46rem) { .nav-links { display: flex; } }

.nav-links a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

.lang-switch {
  display: inline-flex; margin-left: auto;
  padding: .2rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--hairline);
  text-decoration: none; font-weight: 700; font-size: .8rem; letter-spacing: .04em;
}

.lang-switch a {
  padding: .35rem .75rem; border-radius: 999px; color: var(--ink-2);
  text-decoration: none; transition: background .2s, color .2s;
}

.lang-switch a.is-active { background: var(--accent); color: var(--on-accent); }

@media (min-width: 46rem) { .lang-switch { margin-left: .5rem; } }

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

.hero {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid; gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
  border: 1px solid var(--hairline); background: var(--surface);
  padding: .4rem .9rem; border-radius: 999px;
}

.eyebrow .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.hero h1 {
  font-size: clamp(2.9rem, 7vw, 4.6rem);
  margin: 1.4rem 0 1.2rem;
  letter-spacing: -.02em;
}

.hero h1 em {
  font-style: normal; color: var(--accent-ink);
  white-space: nowrap;
  position: relative;
}

.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .08em; height: .22em;
  background: var(--accent-soft); z-index: -1; border-radius: .15em;
}

.hero .lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-2);
  max-width: 34rem; margin: 0 0 1.8rem; font-weight: 500;
}

.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.02rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 26px -12px rgba(169, 124, 0, .55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(169, 124, 0, .6); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { background: var(--surface); }

.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-meta {
  margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1.1rem;
  color: var(--ink-2); font-size: .88rem; font-weight: 600;
}

.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }

.hero-meta svg { width: 15px; height: 15px; flex: none; }

/* ---------- phone ---------- */

.phone-wrap { display: flex; justify-content: center; }

.phone {
  width: min(21rem, 80vw);
  border-radius: 3rem;
  padding: .55rem;
  background: linear-gradient(160deg, #262b28, #14161a);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255,255,255,.06);
}

.phone-screen {
  border-radius: 2.5rem;
  overflow: hidden;
  background: #f7f0de;
  color: #26332c;
  position: relative;
  min-height: 36rem;
  display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.4);
}

.phone-screen .notch {
  position: absolute; top: .5rem; left: 50%; transform: translateX(-50%);
  width: 6.4rem; height: 1.3rem; border-radius: 999px; background: #14161a; z-index: 2;
}

.phone-time {
  text-align: center; font-weight: 700; font-size: .78rem;
  padding: .5rem .9rem .2rem;
}

.phone-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 0 1.05rem .9rem; gap: .7rem;
}

.phone-title { display: flex; align-items: flex-end; justify-content: space-between; }
.phone-title h3 { font-size: 1.5rem; }
.phone-title span { font-size: .72rem; font-weight: 700; color: #5e6c63; }

.phone-store {
  display: flex; align-items: center; gap: .5rem;
  background: #fffdf6; border: 1px solid rgba(38,51,44,.1);
  border-radius: 999px; padding: .45rem .7rem;
  font-size: .7rem; font-weight: 700; color: #26332c;
}

.phone-store .status-dot { width: .45rem; height: .45rem; border-radius: 50%; background: #7fb13c; flex: none; }
.phone-store .chev { margin-left: auto; opacity: .5; }

.phone-list-card {
  background: #fffdf6; border: 1px solid rgba(38,51,44,.1);
  border-radius: 1.3rem; padding: .8rem; display: flex; flex-direction: column; gap: .15rem;
  flex: 1; overflow: hidden;
}

.phone-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .42rem .2rem;
  border-bottom: 1px dashed rgba(38,51,44,.1);
}

.phone-item:last-child { border-bottom: 0; }

.phone-item .check {
  width: 1.15rem; height: 1.15rem; border-radius: 50%; flex: none;
  border: 2px solid rgba(38,51,44,.22);
  display: grid; place-items: center;
}

.phone-item.done .check { background: #f5c51e; border-color: #f5c51e; }
.phone-item.done .check svg { width: .7rem; height: .7rem; display: block; }

.phone-item .name { font-weight: 800; font-size: .8rem; }
.phone-item .qty { margin-left: auto; font-size: .72rem; color: #5e6c63; font-weight: 700; }
.phone-item.done .name, .phone-item.done .qty { opacity: .45; text-decoration: line-through; }
.phone-item .dot { width: .42rem; height: .42rem; border-radius: 50%; flex: none; }

.phone-progress {
  display: flex; align-items: center; gap: .5rem; font-size: .68rem; font-weight: 700; color: #5e6c63;
}

.phone-progress .bar { flex: 1; height: .4rem; border-radius: 999px; background: #f1e8d3; overflow: hidden; }
.phone-progress .bar i { display: block; height: 100%; width: 45%; background: #f5c51e; border-radius: 999px; }

.phone-capture {
  display: flex; align-items: center; gap: .55rem;
  background: #241d06; color: #f2ece1;
  border-radius: 999px; padding: .35rem .35rem .35rem .9rem;
  margin-top: auto;
}

.phone-capture .plus {
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #f5c51e; color: #2a2308;
  font-weight: 900; font-size: 1.2rem; display: grid; place-items: center; flex: none;
}

.phone-capture span { font-size: .78rem; font-weight: 700; opacity: .85; flex: 1; text-align: left; }

/* ---------- features ---------- */

.section { padding: clamp(3rem, 7vw, 5rem) 0 0; }

.section-eyebrow {
  font-weight: 800; letter-spacing: .15em; text-transform: uppercase; font-size: .75rem;
  color: var(--accent-ink); margin: 0 0 .9rem; text-align: center;
}

.section h2 {
  text-align: center; font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 40rem; margin-inline: auto;
}

.section .lede { text-align: center; color: var(--ink-2); margin: 1rem auto 0; max-width: 34rem; }

.card-grid {
  margin-top: 2.6rem;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .icon-box {
  width: 2.9rem; height: 2.9rem; border-radius: .9rem;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center;
}

.card .icon-box svg { width: 1.45rem; height: 1.45rem; }

.card h3 { font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ---------- steps ---------- */

.steps {
  display: grid; gap: 1rem; margin-top: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.step {
  border: 1px solid var(--hairline); background: var(--surface);
  border-radius: var(--radius); padding: 1.4rem 1.35rem;
  display: flex; gap: 1rem; align-items: flex-start;
}

.step .num {
  font-family: 'Fredoka'; font-weight: 600; font-size: 1.6rem; color: var(--accent);
  line-height: 1; min-width: 1.6rem;
}

.step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* ---------- CTA band ---------- */

.band {
  margin-top: clamp(3rem, 8vw, 5rem);
  border-radius: 2rem;
  background: var(--ink); color: var(--bg);
  padding: clamp(2.2rem, 6vw, 3.5rem);
  text-align: center;
  position: relative; overflow: hidden;
}

.band::after {
  content: ''; position: absolute; inset: auto -20% -55% -20%;
  height: 80%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247, 206, 62, .35), transparent);
  pointer-events: none;
}

.band h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); color: inherit; }
.band p { color: color-mix(in srgb, var(--bg) 80%, transparent); max-width: 30rem; margin: 1rem auto 1.6rem; }
.band .btn { position: relative; z-index: 1; }

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

footer { margin-top: clamp(3rem, 8vw, 5rem); border-top: 1px solid var(--hairline); }

.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  justify-content: space-between; align-items: center;
  padding: 1.6rem 0;
  color: var(--ink-2); font-size: .9rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 1.3rem; align-items: center; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }

.footer-fine { width: 100%; border-top: 1px solid var(--hairline); padding-top: 1.1rem; text-align: center; color: var(--ink-2); font-size: .8rem; }

/* ---------- legal (prose) ---------- */

.legal { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4rem); }
.legal-inner { max-width: 52rem; margin-inline: auto; }

.legal-head { text-align: center; margin-bottom: 2.6rem; }
.legal-head .eyebrow { justify-content: center; }
.legal-head h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin: 1.2rem 0 .7rem; }
.legal-head p { color: var(--ink-2); margin: 0; }

.prose h2 {
  font-size: 1.32rem; font-weight: 600; font-family: 'Fredoka';
  margin: 2.4rem 0 .7rem; letter-spacing: -.005em;
}
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: .7rem 0; }
.prose ul, .prose ol { padding-left: 1.5rem; margin: .7rem 0; display: grid; gap: .45rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .note {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  padding: .85rem 1rem; border-radius: 0 12px 12px 0;
  margin: 1.2rem 0; font-weight: 600;
}
@media (prefers-color-scheme: dark) {
  .prose .note { background: rgba(247, 206, 62, .14); }
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
