/* Shared stylesheet for all landings.
   Layers: (1) neutral base + product "world" tokens set inline on <html> (--field --on --deep --tint --ink),
           (2) brand tokens from assets/brand-<key>.css (fonts, radius). No hard-coded brand anything below.
   Layout system: one product colour owns the screen; the product photo dominates the hero; storytelling by scroll;
   air between sections, no card-on-card. */

:root {
  --field: #eee; --on: #111; --deep: #222; --tint: #fafafa; --ink: #111;
  --display: "Arial Narrow", Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --btn-radius: 999px;
  --logo-weight: 700; --logo-tracking: -0.02em;
  --pad: clamp(20px, 4.4vw, 68px);
  --hdr-h: 56px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --err: #a8321f;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--tint); }
body { margin: 0; background: var(--tint); color: var(--ink); font: 400 1.0625rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--deep); color: var(--tint); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--tint); transform: translateY(-200%); }
.skip:focus { transform: none; }

.d2 { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 9vw, 4.6rem); line-height: .98; letter-spacing: -.012em; text-wrap: balance; }

/* ---- header ---- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); color: var(--on); transition: background-color .4s var(--ease-out), box-shadow .4s; }
.hdr.is-pinned { background: var(--tint); color: var(--ink); box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent); }
.logo { font-family: var(--display); font-size: 1.5rem; font-weight: var(--logo-weight); letter-spacing: var(--logo-tracking); text-decoration: none; }
.hdr-tag { font-size: .8125rem; opacity: .7; }
body.doc .hdr { position: static; background: var(--tint); color: var(--ink); box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent); }

/* ---- hero: the photo owns the screen ---- */
.p-hero { position: relative; display: grid; background: var(--field); color: var(--on); padding-top: var(--hdr-h); overflow: hidden; overflow: clip; }
.p-stage { display: grid; place-items: center; padding: 0 var(--pad); }
.p-fig { position: relative; width: min(100%, 36svh, 520px); aspect-ratio: 1; }
.p-fig img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--feather, 0%), #000 calc(100% - var(--feather, 0%)), transparent), linear-gradient(to bottom, #000 calc(100% - var(--feather, 0%)), transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 var(--feather, 0%), #000 calc(100% - var(--feather, 0%)), transparent), linear-gradient(to bottom, #000 calc(100% - var(--feather, 0%)), transparent); mask-composite: intersect; }
.ill { position: absolute; left: 6%; bottom: 8%; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .62); color: #fff; }
.p-info { padding: 6px var(--pad) max(28px, env(safe-area-inset-bottom)); max-width: 640px; width: 100%; margin: 0 auto; }
.kick { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; padding: 4px 12px 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--on) 10%, transparent); }
.kick .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on); }
.p-title { margin-top: 10px; font-weight: 400; }
.t-lead { display: block; font-size: .9375rem; font-weight: 500; }
.t-big { display: block; margin-top: 2px; font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 11.4vw, 4.6rem); line-height: .95; letter-spacing: -.015em; text-wrap: balance; }
.p-price { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; }
.p-price .lbl { font-size: .875rem; font-weight: 500; }
.p-price strong { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.p-pnote { font-size: .8125rem; opacity: .8; margin-top: 2px; }

/* ---- form ---- */
.wl { margin-top: 16px; }
.f { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 5px; }
input[type=email] { width: 100%; min-height: 52px; padding: 0 16px; font-size: 1rem; border: 1.5px solid color-mix(in srgb, var(--on) 40%, transparent); border-radius: 12px; background: #fff; color: #111; }
input[type=email]:focus { outline: 3px solid color-mix(in srgb, var(--on) 35%, transparent); border-color: var(--on); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 14px; font-size: .8125rem; line-height: 1.4; }
.consent input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--on); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: var(--btn-radius); background: var(--on); color: var(--field); font-weight: 700; font-size: 1.0625rem; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease-out); }
.wl .btn { width: 100%; }
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-on { background: var(--tint); color: var(--deep); }
.msg { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: .9375rem; }
.msg[hidden] { display: none; }
.msg.ok { background: #fff; color: #0d3b2c; }
.msg.err { background: #fff; color: var(--err); border: 1.5px solid var(--err); }
.fine { margin-top: 10px; font-size: .75rem; opacity: .8; }

/* ---- story: one benefit at a time (pinned when JS runs) ---- */
.p-use { background: var(--deep); color: var(--tint); }
.use-pin { display: grid; }
.use-shots { position: relative; aspect-ratio: 1; overflow: hidden; overflow: clip; }
.use-shots img { width: 100%; height: 100%; object-fit: cover; }
.use-tx { padding: 30px var(--pad) 48px; }
.use-h { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 7vw, 2.8rem); line-height: 1; margin-bottom: 18px; opacity: .8; }
.use-prog { display: none; }
.step-t { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 7.6vw, 2.8rem); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.step + .step { margin-top: 26px; }
.js .p-use.is-pinned { height: calc(100svh * (1 + .8 * var(--n, 3))); }
.js .p-use.is-pinned .use-pin { position: sticky; top: 0; height: 100svh; grid-template-rows: 46svh minmax(0, 1fr); }
.js .p-use.is-pinned .use-shots { aspect-ratio: auto; }
.js .p-use.is-pinned .use-tx { display: grid; grid-template-rows: auto auto minmax(0, 1fr); padding-top: 22px; padding-bottom: 40px; }
.js .p-use.is-pinned .use-prog { display: flex; gap: 6px; margin-bottom: 18px; }
.use-prog i { flex: 1 1 0; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--tint) 28%, transparent); transition: background-color .5s; }
.use-prog i.is-on { background: var(--tint); }
.js .p-use.is-pinned .steps { display: grid; align-self: start; }
.js .p-use.is-pinned .step { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(22px); transition: opacity .25s, transform .3s; }
.js .p-use.is-pinned .step.is-on { opacity: 1; transform: none; transition: opacity .6s var(--ease-out) .1s, transform .8s var(--ease-out) .1s; }

/* ---- how it works ---- */
.p-how { padding: clamp(64px, 9vw, 130px) var(--pad); max-width: 1040px; margin: 0 auto; }
.p-how .d2 { margin-bottom: clamp(28px, 4vw, 56px); max-width: 14ch; }
.how { display: grid; gap: 28px; }
.how li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.how .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--deep); color: var(--tint); font: 700 1.2rem var(--display); }
.how h3 { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; margin-bottom: 4px; }
.js [data-rise] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
.js [data-rise].is-in { opacity: 1; transform: none; }

/* ---- accordions ---- */
.p-more, .p-faq { padding: 0 var(--pad) clamp(48px, 8vw, 100px); max-width: 1040px; margin: 0 auto; display: grid; gap: 22px; }
.acc { border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.acc:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.acc summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 18px; height: 18px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
.pm::after { transform: rotate(90deg); }
.acc[open] .pm::after { transform: rotate(0); }
.acc-b { padding: 0 0 22px; max-width: 64ch; }

.p-end { background: var(--field); color: var(--on); padding: clamp(56px, 9vw, 120px) var(--pad); display: grid; gap: 24px; justify-items: start; }
.p-end .btn { background: var(--on); color: var(--field); }

/* ---- sticky bar ---- */
.buybar { position: fixed; inset: auto 0 0 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px var(--pad) max(10px, env(safe-area-inset-bottom)); background: var(--deep); color: var(--tint); transform: translateY(102%); visibility: hidden; transition: transform .35s, visibility 0s .35s; }
.buybar.is-on { transform: none; visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }
.buybar-t { display: grid; line-height: 1.15; min-width: 0; }
.buybar-t strong { font: 700 1.1rem var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-t span { font-size: .75rem; opacity: .8; }
.buybar .btn { min-height: 46px; padding: 0 18px; font-size: 1rem; flex: none; }

/* ---- footer ---- */
.ftr { background: var(--ink); color: color-mix(in srgb, var(--tint) 82%, transparent); padding: 36px var(--pad) 96px; font-size: .8125rem; line-height: 1.55; }
.ftr-in { max-width: 1040px; margin: 0 auto; display: grid; gap: 12px; }
.ftr-brand { font: 700 1.4rem var(--display); color: var(--tint); }
.ftr a { color: var(--tint); }

/* ---- privacy / doc page ---- */
.doc-in { max-width: 720px; margin: 0 auto; padding: 28px var(--pad) 56px; }
.doc-in h1 { font-family: var(--display); font-size: 2.2rem; line-height: 1.05; margin-bottom: 8px; }
.doc-in h2 { font-size: 1.2rem; margin: 28px 0 6px; }
.doc-in p, .doc-in li { font-size: 1rem; }
.doc-in ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; margin: 8px 0; }
.doc-in p + p { margin-top: 10px; }
.muted { opacity: .7; font-size: .9rem; }
body.doc .ftr { padding-bottom: 36px; }

/* ---- desktop ---- */
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .p-hero { grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 100svh; }
  .p-stage { padding: 0 0 0 var(--pad); }
  .p-fig { width: min(100%, 82svh, 760px); }
  .p-info { margin: 0; padding: 0 var(--pad) 0 4vw; }
  .t-big { font-size: clamp(3rem, 5.2vw, 5.4rem); }
  .use-pin { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .use-shots { aspect-ratio: auto; min-height: 76svh; }
  .use-tx { align-self: center; padding: 60px var(--pad); }
  .js .p-use.is-pinned .use-pin { grid-template-rows: none; }
  .js .p-use.is-pinned .use-shots { height: 100svh; min-height: 0; }
  .js .p-use.is-pinned .steps { align-self: center; }
  .js .p-use.is-pinned .use-tx { align-self: stretch; padding-top: calc(var(--hdr-h) + 5svh); grid-template-rows: auto auto minmax(0, 1fr); }
  .step-t { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
  .p-more, .p-faq { grid-template-columns: 1fr 1.4fr; gap: 56px; }
  .p-more .more-list { grid-column: 2; }
  .buybar { display: none; }
  .ftr { padding-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
