/* Plate AI landing. Light default, dark via prefers-color-scheme. Accent: emerald, locked. */
:root {
  --brand: #047857;
  --brand-2: #10b981;
  --brand-ink: #ffffff;
  --brand-soft: #ddf5ea;
  --bg: #f4f6f3;
  --surface: #ffffff;
  --surface-2: #eef2ee;
  --ink: #0f1a14;
  --ink-2: #4b5a52;
  --ink-3: #6b7a72;
  --hairline: #e3e8e4;
  --protein: #d6473a;
  --shadow: 0 1px 2px rgba(15, 26, 20, 0.04), 0 12px 32px rgba(15, 26, 20, 0.06);
  --shadow-lg: 0 30px 70px rgba(15, 26, 20, 0.14);
  --r: 20px;
  --r-sm: 14px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #34d399;
    --brand-2: #10b981;
    --brand-ink: #04130c;
    --brand-soft: #0f2c22;
    --bg: #0b0e0c;
    --surface: #151a17;
    --surface-2: #1e2622;
    --ink: #f2f5f3;
    --ink-2: #a9b6af;
    --ink-3: #8b9891;
    --hairline: #28332d;
    --protein: #ff7a6b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: -apple-system, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--brand);
  color: var(--brand-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.3rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.22rem; letter-spacing: -0.02em; }

.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 36ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 650; font-size: 1rem; border: none; cursor: pointer; white-space: nowrap;
  border-radius: 12px; padding: 14px 22px; transition: transform 0.15s var(--ease), filter 0.15s var(--ease), background 0.15s;
}
.btn--sm { padding: 10px 18px; font-size: 0.94rem; }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow); }
.btn--primary:hover { filter: brightness(1.05); }
.btn--primary:active { transform: translateY(1px) scale(0.99); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand img { border-radius: 8px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--ink-2); font-weight: 550; font-size: 0.96rem; transition: color 0.15s; }
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 84px) 0 clamp(30px, 5vw, 56px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero__copy h1 { margin: 0 0 20px; }
.hero__note { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 0.92rem; font-weight: 500; }
.hero__note svg { color: var(--ink-2); }

.hero__art { position: relative; display: flex; justify-content: center; }
.hero__blob {
  position: absolute; inset: 0; margin: auto; width: 86%; height: 86%; z-index: 0;
  background: radial-gradient(60% 55% at 50% 42%, var(--brand-soft), transparent 72%);
  filter: blur(8px);
}

/* Waitlist form */
.waitlist { position: relative; display: flex; gap: 10px; flex-wrap: wrap; max-width: 440px; }
.waitlist input {
  flex: 1 1 210px; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--hairline); border-radius: 12px; padding: 14px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.waitlist input::placeholder { color: var(--ink-3); }
.waitlist input:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.waitlist__msg { flex-basis: 100%; min-height: 1.1em; font-size: 0.9rem; font-weight: 550; margin-top: 2px; }
.waitlist__msg.is-ok { color: var(--brand); }
.waitlist__msg.is-err { color: var(--protein); }
.waitlist--center { margin: 0 auto; justify-content: center; }
.waitlist--center .waitlist__msg { text-align: center; }

/* Phone mockup */
.phone {
  position: relative; z-index: 1; width: min(300px, 76vw); aspect-ratio: 1206 / 2622;
  background: #0b0e0c; border-radius: 42px; padding: 8px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 26, 20, 0.06);
}
@media (prefers-color-scheme: dark) { .phone { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08); } }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; }
.phone__island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 30%; height: 20px; background: #0b0e0c; border-radius: 12px; z-index: 2; }
.phone--float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Value strip */
.strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--surface); }
.strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 26px 24px; }
.strip__item { display: flex; align-items: center; gap: 14px; }
.strip__item svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.strip__item strong { display: block; font-size: 0.98rem; }
.strip__item span { color: var(--ink-3); font-size: 0.88rem; }

/* Sections */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section__head { max-width: 40ch; margin-bottom: 44px; }
.section__head h2 { margin-top: 2px; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r); padding: 28px 26px; box-shadow: var(--shadow); }
.step__n { display: inline-flex; font-size: 0.9rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 9px; padding: 5px 11px; margin-bottom: 16px; letter-spacing: 0.02em; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 0.98rem; }

/* Feature splits */
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.feature__text { max-width: 44ch; }
.feature__text h2 { margin-bottom: 18px; }
.feature__text > p { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 22px; }
.feature__art { display: flex; justify-content: center; }
.feature--rev .feature__art { order: -1; }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 7px;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cell { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.cell svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 16px; }
.cell h3 { margin-bottom: 7px; }
.cell p { color: var(--ink-2); font-size: 0.95rem; }
.cell--brand { background: var(--brand-soft); border-color: transparent; }
.cell--brand svg, .cell--brand h3 { color: var(--brand); }
.cell--brand p { color: color-mix(in srgb, var(--brand) 72%, var(--ink)); }
.cell--flame svg { color: var(--protein); }
.cell--wide { grid-column: span 2; display: flex; align-items: flex-start; gap: 20px; }
.cell--wide svg { flex: none; margin-bottom: 0; }

/* Privacy band */
.band { }
.band__inner {
  background: var(--ink); color: var(--bg); border-radius: 28px; padding: clamp(40px, 6vw, 68px);
  text-align: center; max-width: 920px; margin: 0 auto;
}
.band__inner h2 { color: #fff; }
@media (prefers-color-scheme: dark) { .band__inner { background: var(--surface-2); } .band__inner h2 { color: var(--ink); } }
.band__inner > p { max-width: 58ch; margin: 18px auto 0; color: color-mix(in srgb, var(--bg) 80%, var(--ink-2)); font-size: 1.08rem; }
@media (prefers-color-scheme: dark) { .band__inner > p { color: var(--ink-2); } }
.band__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; text-align: left; }
.band__points strong { display: block; color: var(--brand-2); font-size: 1rem; margin-bottom: 4px; }
.band__points span { color: color-mix(in srgb, var(--bg) 72%, var(--ink-3)); font-size: 0.92rem; }
@media (prefers-color-scheme: dark) { .band__points span { color: var(--ink-3); } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 840px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r); padding: 34px 32px; box-shadow: var(--shadow); }
.plan h3 { font-size: 1.1rem; color: var(--ink-2); font-weight: 650; }
.plan__price { margin: 10px 0 2px; font-weight: 700; letter-spacing: -0.03em; }
.plan__price span { font-size: 2.8rem; }
.plan__price small { font-size: 1rem; color: var(--ink-3); font-weight: 600; }
.plan__sub { color: var(--ink-3); font-size: 0.95rem; margin-bottom: 22px; }
.plan--pro { position: relative; background: var(--brand); border-color: transparent; color: var(--brand-ink); }
.plan--pro h3, .plan--pro .plan__sub { color: color-mix(in srgb, var(--brand-ink) 78%, var(--brand)); }
.plan--pro .plan__price small { color: color-mix(in srgb, var(--brand-ink) 72%, var(--brand)); }
.plan__tag { position: absolute; top: 18px; right: 18px; background: color-mix(in srgb, var(--brand-ink) 16%, transparent); color: var(--brand-ink); font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.ticks--light li { color: var(--brand-ink); }
.ticks--light li::before { background-color: color-mix(in srgb, var(--brand-ink) 20%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { .ticks--light li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2304130c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); } }

/* FAQ */
.faq__wrap { max-width: 760px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--hairline); padding: 6px 0; }
.qa summary { list-style: none; cursor: pointer; font-weight: 650; font-size: 1.08rem; padding: 18px 40px 18px 0; position: relative; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform 0.2s; }
.qa[open] summary::after { content: "\2212"; }
.qa p { color: var(--ink-2); padding: 0 8px 20px 0; max-width: 64ch; }

/* Final CTA */
.cta__inner { text-align: center; max-width: 620px; margin: 0 auto; }
.cta__inner > p { color: var(--ink-2); font-size: 1.1rem; margin: 12px 0 28px; }

/* Footer */
.footer { border-top: 1px solid var(--hairline); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; justify-content: space-between; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-2); font-size: 0.94rem; transition: color 0.15s; }
.footer__links a:hover { color: var(--ink); }
.footer__legal { color: var(--ink-3); font-size: 0.84rem; flex-basis: 100%; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone--float { animation: none; }
}

/* Responsive */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero__copy h1 br { display: none; }
  .lede, .waitlist { margin-left: auto; margin-right: auto; }
  .hero__art { order: -1; }
  .feature__grid { grid-template-columns: 1fr; gap: 32px; }
  .feature--rev .feature__art, .feature__art { order: 0; }
  .feature__text { max-width: none; text-align: center; }
  .feature__text .ticks { display: inline-grid; text-align: left; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell--wide { grid-column: span 2; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .strip__grid { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .band__points { grid-template-columns: 1fr; gap: 18px; }
  .bento { grid-template-columns: 1fr; }
  .cell--wide { grid-column: span 1; flex-direction: column; gap: 14px; }
  .cell--wide svg { margin-bottom: 0; }
}
