/* Check Grammar in Google Docs: landing styles.
   Palette, font and base radii come from /brand.css (generated by tools/build.py from project.json brand).
   Direction: a quiet paper page in Geist; the one loud thing is the magenta stage with a document on it, the same
   picture as the store banner. The proof underline (solid, purple, dotted) is the recurring motif.
   Shapes: product cards 16px, stage 28px, controls fully rounded; lists are hairline rows, not cards. */

:root {
  --style: #6550d8;
  --paper: #ffffff;
  --paper-ink: #1f1f1f;
  --stage-a: #f2479f;
  --stage-b: #bd0f88;
  --shadow-card: 0 2px 6px rgba(24, 16, 22, 0.1), 0 22px 44px -14px rgba(24, 16, 22, 0.38);
  --shadow-shot: 0 1px 2px rgba(24, 16, 22, 0.06), 0 24px 48px -24px rgba(24, 16, 22, 0.3);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1160px;
  --gutter: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --style: #9d8cff;
    --shadow-shot: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 48px -24px rgba(0, 0, 0, 0.8);
  }
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; font-weight: 650; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em { font-style: normal; font-weight: 550; color: var(--ink); border-bottom: 2px solid var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mark); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 760px; }
.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: 16px; top: -56px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-xs { width: 0.95em; height: 0.95em; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 34em; }
.fine { font-size: 0.94rem; color: var(--muted); }
.text-link { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 550; }
.text-link:hover { text-decoration-color: var(--accent); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 15px 26px; font-size: 17px; }
/* #c92190 keeps white button text above 4.5:1 (the brand accent #e425a4 gives 4.1) */
.btn-primary { background: #c92190; color: #fff; }
.btn-primary:hover { background: #ad1b7b; }
.btn-quiet { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-invert { background: #fff; color: #7d0a5a; }
.btn-invert:hover { background: #ffe9f6; }

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

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.02em; font-size: 17px; white-space: nowrap; }
.nav { display: flex; gap: 28px; margin-left: auto; margin-right: 12px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15.5px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.header-sentinel { height: 1px; margin-top: -1px; }

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

.hero { padding: 56px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.1rem); letter-spacing: -0.048em; line-height: 1.02; font-weight: 750; }
.squiggle { width: 150px; height: 20px; margin-top: 18px; overflow: visible; }
.squiggle path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .squiggle path { animation: draw 0.9s 0.25s var(--ease) both; }
}
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.hero-sub { margin-top: 22px; font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts .icon { color: var(--accent-text); }

/* the stage: the store banner's magenta field with a document page on it. The field is the sheet's own border
   (gradient on border-box), so the card can be positioned against the page itself. */
.stage { min-width: 0; --pad: 32px; }
.stage figcaption { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.sheet {
  position: relative; color: var(--paper-ink); padding: 36px 40px 150px;
  font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.75;
  border: var(--pad) solid transparent; border-bottom-width: 0; border-radius: 28px;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(160deg, var(--stage-a), var(--stage-b)) border-box;
}
.sheet-title { font-size: 22px; color: #3c4043; margin-bottom: 10px; line-height: 1.3; }
.sheet-fade { margin-top: 14px; -webkit-mask-image: linear-gradient(#000 20%, transparent 95%); mask-image: linear-gradient(#000 20%, transparent 95%); }
.u {
  appearance: none; border: 0; padding: 0 1px; margin: 0; background: none; font: inherit; color: inherit; cursor: pointer;
  border-bottom: 2px solid #e425a4; border-radius: 0; line-height: 1.2;
}
.u:hover, .u.is-open { background: rgba(228, 37, 164, 0.13); }
.u.is-done { border-bottom-color: transparent; background: none; cursor: default; }
.u:focus-visible { outline-offset: 2px; border-radius: 3px; }

/* the suggestion card, drawn like the real one */
.card {
  position: absolute; left: 40px; top: 128px; z-index: 2; width: min(320px, calc(100% - 24px));
  background: #fff; color: #181016; border-radius: 16px; padding: 16px 18px 6px;
  font-family: var(--font); font-size: 15px; line-height: 1.5; box-shadow: var(--shadow-card);
}
.card[hidden] { display: none; }
.card-cat { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 650; letter-spacing: 0.09em; text-transform: uppercase; color: #b5137f; }
.card-cat i { width: 16px; height: 2px; border-radius: 2px; background: #e425a4; }
.card-msg { margin-top: 8px; color: #3d3139; }
.card-fix { margin-top: 12px; border: 0; cursor: pointer; background: #e425a4; color: #fff; font-weight: 650; padding: 7px 16px; border-radius: 999px; }
.card-fix:hover { background: #c91a8e; }
.card-foot { display: flex; gap: 18px; margin-top: 14px; border-top: 1px solid rgba(24, 16, 22, 0.1); }
.card-foot button { border: 0; background: none; cursor: pointer; padding: 10px 0; font-size: 14px; font-weight: 650; color: #6e6069; }
.card-foot button:hover { color: #181016; }
.card-foot button[hidden] { display: none; }
.demo-reset { border: 0; background: none; padding: 0; cursor: pointer; color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.demo-reset[hidden] { display: none; }

/* ---------------------------------------------------------------- bands */

.band { padding: 96px 0; }
.band-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

/* what the lines mean */
.lines-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.lines-head .lead { margin-top: 18px; }
.lines { border-top: 1px solid var(--line-2); }
.line-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.line-row dt { font-weight: 650; font-size: 1.1rem; letter-spacing: -0.015em; display: flex; flex-direction: column; gap: 10px; }
.line-row dd { color: var(--ink-2); font-size: 1.1rem; }
.swatch { order: 2; width: 96px; height: 0; border-bottom: 3px solid var(--accent); }
.swatch-style { border-bottom-color: var(--style); }
.swatch-dotted { border-bottom-style: dotted; }

.looks { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; margin-top: 72px; align-items: start; }
.looks-card p { margin-top: 12px; color: var(--ink-2); max-width: 30em; }
.ticks { display: grid; gap: 12px; margin-top: 16px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; color: var(--ink-2); }
.ticks .icon { margin-top: 6px; color: var(--accent-text); }
.looks-list .fine { margin-top: 18px; }

/* privacy: the loud sentence */
.band-dark { background: var(--dark-cell); color: var(--dark-cell-ink); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ask { font-size: 1.25rem; font-weight: 550; letter-spacing: -0.01em; color: var(--dark-cell-muted); }
.answer { font-family: var(--font-head); font-weight: 750; font-size: clamp(3.6rem, 8.2vw, 7rem); letter-spacing: -0.06em; line-height: 0.95; margin-top: 8px; }
.band-dark .lead { color: var(--dark-cell-ink); }
.plain { margin: 22px 0 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.plain li { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); color: var(--dark-cell-muted); }
.band-dark .text-link { color: var(--dark-cell-accent); }

/* quiet features with the real screenshots */
.features-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 64px; align-items: start; }
.facts { margin-top: 32px; border-top: 1px solid var(--line-2); }
.facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.facts dt { font-weight: 650; letter-spacing: -0.01em; }
.facts dd { color: var(--ink-2); }
.shots { position: relative; padding-bottom: 72px; }
.shot img { border-radius: 16px; box-shadow: var(--shadow-shot); border: 1px solid var(--line); background: #fff; }
.shot-list { width: 74%; margin-left: auto; }
.shot-popup { position: absolute; left: 0; bottom: 0; width: 52%; }

/* three steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.steps li { border-top: 3px solid var(--accent); padding-top: 18px; }
.step-n { display: block; font-family: var(--font-head); font-weight: 750; font-size: 2.75rem; letter-spacing: -0.05em; line-height: 1; }
.steps p { margin-top: 10px; font-size: 1.1rem; color: var(--ink-2); max-width: 20em; }
.steps-note { margin-top: 40px; }

/* honest notes */
.notes-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.notes { border-top: 1px solid var(--line-2); }
.notes li { padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 1.1rem; color: var(--ink-2); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.faq-side .lead { margin-top: 16px; }
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; }
.faq-sign { flex: none; color: var(--accent-text); transition: transform 0.2s var(--ease); }
.faq-item[open] .faq-sign { transform: rotate(45deg); }
.faq-a { padding: 0 44px 22px 0; color: var(--ink-2); }
.faq-a a { color: var(--accent-text); }

/* install */
.install { background: linear-gradient(160deg, var(--stage-a), var(--stage-b)); color: #fff; padding: 88px 0; }
.install-inner { display: grid; justify-items: start; gap: 18px; }
.install img { border-radius: 26%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5); }
.install h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -0.045em; }
.install p { max-width: 34em; font-size: 1.15rem; color: rgba(255, 255, 255, 0.94); }
.install .btn { margin-top: 8px; }

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

.site-footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer-spacer { flex: 1; }
.footer-note { flex: 1; min-width: 240px; font-size: 13.5px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .brand { color: var(--ink); font-size: 16px; }

/* ---------------------------------------------------------------- legal + 404 */

.legal { padding: 56px 0 96px; }
.legal-wrap { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--accent-text); }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.25rem); letter-spacing: -0.045em; margin-top: 10px; }
.legal-date { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal-summary { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 1.08rem; }
.legal h2 { font-size: 1.45rem; letter-spacing: -0.025em; margin-top: 44px; }
.legal h3 { font-size: 1.1rem; margin-top: 26px; }
.legal p, .legal ul { margin-top: 12px; color: var(--ink-2); }
.legal .legal-summary { color: var(--ink); }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li { margin-top: 6px; }
.legal li b, .legal p b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent-text); text-underline-offset: 3px; overflow-wrap: anywhere; }
.notfound { padding: 96px 0 120px; }
.notfound h1 { font-size: clamp(2.2rem, 4.4vw, 3.25rem); }
.notfound .section-lead { margin: 16px 0 28px; color: var(--ink-2); font-size: 1.1rem; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1020px) {
  .hero-grid, .lines-grid, .looks, .privacy-grid, .features-grid, .notes-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero { padding: 36px 0 64px; }
  .looks { margin-top: 48px; }
  .band { padding: 72px 0; }
  .nav { display: none; }
  .shots { max-width: 520px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16.5px; }
  .header-inner { height: 60px; gap: 10px; }
  .brand { font-size: 16px; }
  .site-header .btn-sm { padding: 8px 13px; font-size: 14px; }
  .site-header .btn-sm .icon { display: none; }
  .hero { padding: 28px 0 56px; }
  .hero-sub { font-size: 1.08rem; }
  .hero-actions .btn { width: 100%; }
  .stage { --pad: 14px; }
  .sheet { padding: 22px 20px 180px; font-size: 16px; border-radius: 20px; }
  .sheet-title { font-size: 19px; }
  .card { left: 12px; }
  .band { padding: 56px 0; }
  .line-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 0; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-a { padding-right: 0; }
  .install { padding: 64px 0; }
  .install .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-spacer { display: none; }
}
