/* Layout: one centered 1120px column; hero splits copy | phone, sections stack below on glass over two soft color fields */
:root {
  --bg: #f7f6f5;
  --ink: #2b2b2b;
  --ink-2: #5d5a58;
  --line: rgba(43, 43, 43, .10);
  --coral: #e8725d;
  --coral-deep: #c9523e;
  --coral-ink: #b8462f;
  --glass: rgba(255, 255, 255, .62);
  --glass-rim: rgba(255, 255, 255, .9);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 20px 50px -24px rgba(43, 43, 43, .28);
  --tile: #ffffff;
  --phone: #1d1d1f;
  --screen: #f2f1f0;
  --on-charcoal: #ffffff;
  --blob-a: rgba(232, 114, 93, .28);
  --blob-b: rgba(43, 43, 43, .10);
  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 24px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161515; --ink: #f3f1ef; --ink-2: #b3aeaa; --line: rgba(255,255,255,.10);
    --coral: #ee7f6a; --coral-deep: #e8725d; --coral-ink: #f29a88;
    --glass: rgba(40, 39, 38, .58); --glass-rim: rgba(255,255,255,.12);
    --glass-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 60px -28px rgba(0,0,0,.7);
    --tile: #232221; --phone: #0b0b0b; --screen: #1c1b1a; --on-charcoal: #2b2b2b;
    --blob-a: rgba(232, 114, 93, .22); --blob-b: rgba(255,255,255,.05);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161515; --ink: #f3f1ef; --ink-2: #b3aeaa; --line: rgba(255,255,255,.10);
  --coral: #ee7f6a; --coral-deep: #e8725d; --coral-ink: #f29a88;
  --glass: rgba(40, 39, 38, .58); --glass-rim: rgba(255,255,255,.12);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 60px -28px rgba(0,0,0,.7);
  --tile: #232221; --phone: #0b0b0b; --screen: #1c1b1a; --on-charcoal: #2b2b2b;
  --blob-a: rgba(232, 114, 93, .22); --blob-b: rgba(255,255,255,.05);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
section, [id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: -10% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--blob-a), transparent); z-index: -1; pointer-events: none;
}
body::before {
  content: ""; position: fixed; inset: auto auto -20% -15%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(closest-side, var(--blob-b), transparent); z-index: -1; pointer-events: none;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34ch; }
.muted { color: var(--ink-2); }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-rim); box-shadow: var(--glass-shadow);
}

/* nav */
header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-block: 14px; }
.nav-bar { background: color-mix(in srgb, var(--bg) 88%, transparent); display: flex; align-items: center; gap: 24px; padding: 10px 10px 10px 16px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--coral-deep); color: #fff; box-shadow: 0 10px 24px -10px rgba(201, 82, 62, .7); }
.btn-primary:hover { background: var(--coral); }
.btn-ghost { color: var(--ink); }
.nav-bar .btn { height: 40px; padding: 0 18px; font-size: 15px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 56px 72px; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 14px; border-radius: 12px;
  background: var(--ink); color: var(--bg); text-decoration: none;
}
.store-badge svg { width: 22px; height: 22px; fill: currentColor; }
.store-badge span { display: grid; line-height: 1.05; }
.store-badge small { font-size: 10px; font-weight: 500; opacity: .8; }
.store-badge b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.fine { font-size: 14px; color: var(--ink-2); }

/* phone */
.phone-stage { position: relative; display: grid; place-items: center; min-width: 0; }
.phone {
  width: min(330px, 100%); aspect-ratio: 330 / 680; border-radius: 52px; padding: 11px;
  background: var(--phone); box-shadow: 0 50px 90px -40px rgba(43,43,43,.55), 0 0 0 1px rgba(255,255,255,.08) inset;
  position: relative;
}
.screen { height: 100%; border-radius: 42px; background: var(--screen); overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 12px; padding: 50px 14px 14px; }
.island { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 96px; height: 28px; border-radius: 20px; background: #000; }
.scr-head { display: flex; justify-content: space-between; align-items: end; padding: 0 4px; }
.scr-head small { font-size: 11px; color: var(--ink-2); font-weight: 500; }
.scr-head b { display: block; font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.weather { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; font-size: 12px; }
.weather b { font-size: 15px; }
.look { border-radius: 26px; padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.look-tag { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; }
.chip { padding: 4px 9px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line); font-size: 10.5px; font-weight: 600; }
.chip.ai { color: var(--coral-ink); }
.flatlay { flex: 1; position: relative; border-radius: 18px; background: var(--tile); min-height: 0; }
.flatlay img { position: absolute; display: block; filter: drop-shadow(0 6px 8px rgba(43,43,43,.18)); }
.swatches { position: absolute; right: 10px; top: 10px; display: grid; gap: 5px; }
.swatches i { width: 14px; height: 14px; border-radius: 4px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.08) inset; }
.why { font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.why b { color: var(--ink); }
.look-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.look-actions span { height: 38px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.look-actions .wear { background: var(--ink); color: var(--bg); }
.look-actions .other { background: var(--tile); border: 1px solid var(--line); }
.picks { text-align: center; font-size: 10.5px; color: var(--ink-2); }
.tabbar { margin: 0 18px; border-radius: 999px; display: flex; justify-content: space-around; padding: 9px 0; font-size: 10px; font-weight: 600; color: var(--ink-2); }
.tabbar .on { color: var(--coral-ink); }

.float-card { position: absolute; border-radius: 18px; padding: 12px 14px; font-size: 13px; display: grid; gap: 4px; }
.float-color { left: -36px; top: 18%; width: 190px; }
.float-cpw { right: -44px; bottom: 30%; width: 168px; }
.float-card { will-change: translate; transition: translate .25s ease-out; }
.float-card .mono { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.color-row { display: flex; align-items: center; gap: 10px; }
.color-row i { width: 30px; height: 30px; border-radius: 9px; background: #f4f3ef; box-shadow: 0 0 0 1px rgba(0,0,0,.12) inset; flex: none; }
.big-num { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }

/* sections */
section { padding-block: 72px; }
.sec-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px; border-radius: var(--r); display: grid; gap: 12px; align-content: start; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--coral-ink); }
.step p { color: var(--ink-2); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feat { grid-column: span 2; border-radius: var(--r); padding: 28px; display: grid; gap: 12px; align-content: start; background: var(--tile); border: 1px solid var(--line); }
.feat.wide { grid-column: span 3; }
.feat p { color: var(--ink-2); font-size: 16px; }
.feat .vis { margin-top: 8px; }
.palette { display: flex; gap: 8px; flex-wrap: wrap; }
.palette span { display: grid; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.palette i { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(0,0,0,.08) inset; }
.event-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--bg); font-size: 14px; }
.event-row + .event-row { margin-top: 8px; }
.event-row .date { font-family: var(--mono); font-size: 12px; color: var(--coral-ink); width: 46px; flex: none; }
.event-row b { font-weight: 600; }
.cpw-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cpw-table td { padding: 8px 0; border-top: 1px solid var(--line); }
.cpw-table td:last-child { text-align: right; font-family: var(--mono); font-size: 13px; }
.cpw-table tr:first-child td { border-top: 0; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 18px; background: var(--tile); border: 1px solid var(--line); }
.plan.pro { background: var(--ink); color: var(--bg); border-color: transparent; position: relative; }
.plan.pro .muted, .plan.pro li { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.plan .price { font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: radial-gradient(circle, var(--coral) 0 4px, transparent 4.5px), color-mix(in srgb, var(--coral) 18%, transparent); }
.badge { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--coral-deep); color: #fff; }

.soon { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-radius: 18px; font-size: 15px; }
.soon p { min-width: 0; flex: 1; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border-radius: 18px; background: var(--tile); border: 1px solid var(--line); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 22px; font-weight: 500; color: var(--coral-ink); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--ink-2); font-size: 16px; padding-bottom: 18px; max-width: 65ch; }

/* trust */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.trust-card { border-radius: var(--r); padding: 32px; display: grid; gap: 14px; align-content: start; }
.trust-card ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); font-size: 16px; }

/* cta band */
.band { border-radius: 32px; padding: 56px 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: linear-gradient(135deg, #f3775b, #e44a43); color: #fff; }
.band .lede { color: rgba(255,255,255,.88); }
.band form { display: flex; gap: 8px; flex-wrap: wrap; }
.band input {
  height: 48px; min-width: 0; width: 260px; max-width: 100%; border-radius: 999px; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.18); color: #fff; padding: 0 20px; font: 500 16px var(--body);
}
.band input::placeholder { color: rgba(255,255,255,.8); }
.band .btn { background: #2b2b2b; color: #fff; }
.band .btn:disabled { opacity: .6; cursor: progress; }
.band .note { font-size: 14px; color: rgba(255,255,255,.9); min-height: 1.4em; }

footer { padding-block: 48px 64px; border-top: 1px solid var(--line); margin-top: 72px; font-size: 14px; color: var(--ink-2); }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.foot nav { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-block: 32px 48px; }
  .phone-stage { padding-inline: 24px; }
  .steps, .plans, .trust { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feat, .feat.wide { grid-column: auto; }
  .band { grid-template-columns: 1fr; padding: 40px 28px; }
  .nav-links { display: none; }
  .nav-bar .btn { margin-left: auto; }
}
@media (max-width: 520px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .phone-stage { padding-inline: 8px; }
  .float-card { padding: 10px 12px; font-size: 12px; }
  .phone { width: min(300px, 100%); }
  .float-color { left: -4px; top: 31%; width: 148px; }
  .float-color .mono { display: none; }
  .float-cpw { right: -4px; top: 47%; bottom: auto; width: 140px; }
  .float-cpw .mono { font-size: 11px; white-space: nowrap; }
  .cta-row { gap: 4px 12px; }
  .btn-ghost { padding-inline: 4px; }
  .big-num { font-size: 22px; }
  .band form .btn, .band input { width: 100%; }
  section { padding-block: 48px; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
  .float-color { animation: rise .9s .25s cubic-bezier(.2,.8,.2,1) both; }
  .float-cpw { animation: rise .9s .4s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}

/* legal pages */
.legal { max-width: 720px; margin: 0 auto; padding-block: 40px 24px; }
.legal-head { display: grid; gap: 12px; margin-bottom: 32px; }
.legal-head p { color: var(--ink-2); }
.legal h2 { font-size: clamp(22px, 3vw, 26px); margin-top: 40px; margin-bottom: 12px; }
.legal h3 { font-size: 18px; margin-top: 24px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 12px 0; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--coral-ink); text-underline-offset: 3px; }
.legal .summary { border-radius: var(--r); padding: 24px 24px 20px; margin-bottom: 8px; }
.legal .summary h2 { margin-top: 0; font-size: 18px; }
.legal-table { overflow-x: auto; margin: 12px 0; }
.legal-table table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.legal-table th { color: var(--ink); font-weight: 600; border-top: 0; }
