/* == Base == */
*, *::before, *::after { box-sizing: border-box; }
/* Author display rules must never beat the [hidden] attribute; this must win over any later .foo { display: ... } */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--font-body); text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
p { margin: 0; max-width: 65ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.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; }
/* The skip link is visually hidden until focused, then pinned top-left above the sticky header. */
.skip-link:focus, .skip-link:focus-visible { position: fixed; top: .75rem; left: .75rem; z-index: 100; width: auto; height: auto; margin: 0; padding: .8rem 1.2rem; overflow: visible; clip: auto; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; box-shadow: var(--shadow-soft); }

/* == Layout == */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-6); }
.section--band { background: var(--paper-2); }
.section__head { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); max-width: 46rem; }
.section__sub { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: .02em; color: var(--accent-dark); }

/* == Buttons == */
.btn { display: inline-flex; white-space: nowrap; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: var(--radius-pill); font: 600 var(--step-0)/1 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.linkbtn { background: none; border: 0; padding: .5rem 0; min-height: 44px; font: 500 var(--step--1) var(--font-body); color: var(--ink-2); text-decoration: underline; cursor: pointer; }

/* == Header == */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250, 246, 240, .92); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, padding .2s; }
.site-header.is-compact { border-bottom-color: var(--rule); }
.top-sentinel { position: absolute; top: 0; width: 1px; height: 1px; }
.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 72px; transition: min-height .2s var(--ease-out); }
.site-header.is-compact .site-header__row { min-height: 60px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; font: 600 1.15rem/1 var(--font-display); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); padding: .5rem .25rem; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; border: 0; background: none; cursor: pointer; }
@media (max-width: 767px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-1) var(--gutter) var(--space-3); background: var(--paper); border-bottom: 1px solid var(--rule); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
  .site-header .btn--primary { padding-inline: .9rem; min-height: 44px; font-size: .92rem; }
  .logo { font-size: 1.02rem; white-space: nowrap; }
  .site-header__row { gap: .5rem; }
}

/* == Phone frame (hero, demo, sections) == */
.phone { position: relative; width: min(100%, 320px); aspect-ratio: 9 / 19; padding: 10px; border-radius: 46px; background: #1d1714; box-shadow: var(--shadow-phone), inset 0 0 0 1.5px #3a2f29; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: var(--paper); }
.phone__status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 6px; font: 600 12px/1 var(--font-body); color: var(--ink); }
.phone__island { position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 86px; height: 24px; border-radius: 14px; background: #1d1714; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: var(--ink); }
.phone::before { right: -3px; top: 25%; height: 70px; }
.phone::after { left: -3px; top: 19%; height: 34px; box-shadow: 0 48px 0 var(--ink), 0 -40px 0 -0.5px var(--ink); }

/* == Cards == */
.card { display: grid; gap: .35rem; align-content: start; }
.card__art { border-radius: var(--radius); background: var(--paper-2); overflow: hidden; aspect-ratio: 16 / 11; display: grid; place-items: center; }
.card__art img { width: 100%; height: 100%; object-fit: contain; }
.card__tag { font-size: var(--step--1); font-weight: 600; color: var(--accent-dark); margin-top: .6rem; }
.card__title { font-size: var(--step-1); }
.card__line { color: var(--ink-2); }

/* == Reveal on scroll (only when JS runs) == */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* == Section: hero == */
.section--hero { padding-block: var(--space-4) var(--space-6); overflow-x: clip; }
.hero { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 1024px) { .hero { grid-template-columns: 1.15fr 1fr; gap: var(--space-4); } }
.hero__copy { display: grid; gap: var(--space-3); }
.hero__sub { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__reassure { font-size: var(--step--1); color: var(--ink-2); }
.hero__visual { position: relative; display: grid; justify-items: center; isolation: isolate; }
.hero__visual::before { content: ""; position: absolute; z-index: -1; inset: 8% -6%; border-radius: 50%; background: radial-gradient(closest-side, var(--paper-2), rgba(242, 234, 223, 0)); }
@media (min-width: 1024px) { .hero__visual .phone { width: 340px; } }
@media (max-width: 767px) {
  .hero__visual .phone { width: min(100%, 290px); }
  .hero__visual .phone__island { width: 76px; }
  .hero__visual .phone__status { padding-inline: 26px 18px; }
  .hero__visual .phone__icons { gap: 4px; }
}
.hero__visual .phone__status { position: absolute; inset: 0 0 auto; z-index: 2; padding: 15px 24px 18px 30px; color: var(--accent-ink); background: linear-gradient(rgba(42, 33, 28, .5), rgba(42, 33, 28, 0)); }
.hero__visual .phone__island { z-index: 3; }
.hero__food { width: 100%; height: 38%; object-fit: cover; }
.hero__brand { display: flex; gap: .65rem; align-items: center; margin: -28px 14px 0; position: relative; padding: .6rem .8rem; background: var(--paper); border-radius: 16px; box-shadow: 0 1px 2px rgba(42, 33, 28, .08), 0 10px 24px -10px rgba(42, 33, 28, .28); }
.brandbar__mark { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--butter); font: 600 12px/1 var(--font-display); letter-spacing: .02em; box-shadow: inset 0 0 0 2px var(--accent); }
.hero__brandname { font: 600 15px/1.15 var(--font-display); }
.hero__branch { font-size: 11px; line-height: 1.4; color: var(--ink-2); }
.hero__cta-title { text-align: center; font: 500 17px/1.2 var(--font-display); margin: 14px 0 6px; }
/* --stop is written by tools/inject-hero-wheel.js (the angle that lands the spin on the accent prize). */
.hero__wheel { --stop: 2137.5deg; width: 78%; margin-inline: auto; }
.hero__result { display: grid; margin: 10px 14px 0; }
.hero__result > * { grid-area: 1 / 1; }
.hero__rules { align-self: center; text-align: center; max-width: none; font-size: 11px; color: var(--ink-2); animation: fade-out .3s ease-out 5.5s both; }
.hero__prize { display: flex; align-items: center; gap: .6rem; padding: 9px 10px 9px 9px; border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: 0 10px 22px -12px rgba(42, 33, 28, .6); animation: rise-in .55s var(--ease-out) 5.7s both; }
.hero__prize-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); }
.hero__prize-text { display: grid; flex: 1; line-height: 1.15; }
.hero__prize-kicker { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--butter); }
.hero__prize-name { font: 500 16px/1.2 var(--font-display); }
.hero__prize-cta { padding: 7px 12px; border-radius: var(--radius-pill); background: var(--butter); color: var(--ink); font-size: 12px; font-weight: 600; }
.phone__home { position: absolute; left: 50%; bottom: 7px; translate: -50% 0; width: 34%; height: 4px; border-radius: 4px; background: var(--ink); opacity: .85; }
.hero__toast { position: absolute; z-index: 4; top: 19%; right: max(0px, calc(50% - 235px)); display: flex; align-items: center; gap: .6rem; padding: .6rem 1rem .6rem .6rem; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(42, 33, 28, .08), 0 14px 30px -12px rgba(42, 33, 28, .3); font-size: 13px; font-weight: 500; white-space: nowrap; animation: rise-in .6s var(--ease-out) 6.1s both; }
.hero__toast-text { display: grid; line-height: 1.25; }
.hero__toast-title { font-weight: 600; }
.hero__toast-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero__toast-sub { font-size: 12px; color: var(--ink-2); }
.hero__toast-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--sage) 14%, var(--paper)); color: var(--sage); }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade-out { to { opacity: 0; } }
.phone__icons { display: inline-flex; align-items: center; gap: 5px; }
.phone__icons svg { fill: currentColor; }
.nowrap { white-space: nowrap; }

/* == Wheel (hero + demo) == */
.wheel { overflow: visible; }
.wheel__rotor { transform-box: view-box; transform-origin: 150px 150px; }
.wheel__label { font: 600 12.5px/1 var(--font-body); letter-spacing: .01em; }
.wheel__hub { font: 600 13px/1 var(--font-display); fill: var(--ink); }
.wheel__pointer { transform-box: fill-box; transform-origin: 50% 30%; filter: drop-shadow(0 2px 1.5px rgba(42, 33, 28, .35)); }
.wheel__pointer.is-tick { animation: tick .12s ease-out; }
@keyframes tick { 40% { transform: rotate(-14deg); } }
.wheel__slice.is-won path { filter: brightness(1.08) saturate(1.1); }
.hero__wheel .wheel__rotor { transform: rotate(var(--stop)); animation: hero-spin 5s cubic-bezier(.12, .8, .16, 1) .6s both; }
@keyframes hero-spin { from { transform: rotate(0deg); } to { transform: rotate(var(--stop)); } }
@media (prefers-reduced-motion: reduce) {
  .hero__wheel .wheel__rotor { animation: none; }
  .hero__toast, .hero__prize { animation: none; }
  .hero__rules { animation: none; opacity: 0; }
}

/* == Section: problem + how == */
.pains, .steps { display: grid; gap: var(--space-4); grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
@media (min-width: 768px) { .pains, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); } }
@media (min-width: 1024px) { .pains, .steps { gap: var(--space-4); } }
.pain, .step { display: grid; gap: .5rem; align-content: start; position: relative; }
.pain h3, .step h3 { margin-top: .75rem; }
.pain p, .step p { color: var(--ink-2); }
.pain .card__art { background: var(--paper); }
.step__n { position: absolute; top: .75rem; left: .75rem; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 14px/1 var(--font-body); box-shadow: 0 2px 6px rgba(42, 33, 28, .18); }
/* Dotted connector: vertical between stacked steps on phones, one horizontal line behind the art row from 768px. */
.steps { isolation: isolate; }
.step:not(:last-child)::after { content: ''; position: absolute; left: calc(.75rem + 15px); bottom: calc(-1 * var(--space-4) + 6px); height: calc(var(--space-4) - 12px); border-left: 2px dotted var(--ink-2); opacity: .45; }
@media (min-width: 768px) {
  .steps { position: relative; container-type: inline-size; }
  .step:not(:last-child)::after { content: none; }
  .steps::before { content: ''; position: absolute; left: 8%; right: 8%; top: calc((100cqi - 2 * var(--space-3)) * 11 / 96); border-top: 2px dotted var(--ink-2); opacity: .45; z-index: -1; }
}
@media (min-width: 1024px) { .steps::before { top: calc((100cqi - 2 * var(--space-4)) * 11 / 96); } }
.callout { margin-top: var(--space-5); padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); background: var(--ink); color: var(--paper); font: 500 var(--step-2)/1.3 var(--font-display); max-width: none; letter-spacing: -0.01em; text-wrap: balance; }
.callout strong { color: var(--butter); font-weight: 600; }
@media (max-width: 767px) { .callout { padding: var(--space-3); font-size: 1.3rem; } }
.how__more { margin-top: var(--space-3); font-weight: 600; }
.how__more a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--accent-dark); text-underline-offset: 4px; }
.how__more a:hover { color: var(--ink); }

/* == Demo shell == */
/* The shell is styled here so it has its final size before demo.css (added by the demo script, with no
   inline onload handler) arrives: nothing below it shifts when the demo loads mid-scroll. */
.demo { display: grid; justify-items: center; gap: var(--space-3); }
.demo__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; padding: .35rem; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--rule); width: min(100%, 520px); }
.demo__tabs [role="tab"] { min-height: 44px; border: 0; border-radius: var(--radius-pill); background: transparent; font: 600 var(--step--1)/1.1 var(--font-body); color: var(--ink-2); cursor: pointer; padding: .5rem .4rem; }
.demo__tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); }
.demo__caption { font-weight: 500; color: var(--ink-2); text-align: center; }
.demo__device { width: min(100%, 340px); }
.demo__stage, .claim { position: absolute; inset: 44px 0 0; padding: 8px 16px 16px; overflow: hidden; }
.demo__stage { display: grid; align-content: start; gap: .75rem; }
.demo__loading { text-align: center; color: var(--ink-2); margin-top: 40%; }
/* Without JavaScript the demo cannot run: the tabs and phone are hidden and a short note takes their place. */
html:not(.js) .demo { display: none; }
.demo__nojs { padding: var(--space-3); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--rule); color: var(--ink-2); font-weight: 500; text-align: center; max-width: none; }
/* The note under the demo and the small print are styled here, so they look right before (or without) demo.css. */
.demo__small { font-size: var(--step--1); color: var(--ink-2); }
.demo__note { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; justify-content: center; margin-top: var(--space-4); text-align: center; }

/* == Illustrations that animate on scroll-in == */
/* An animated illustration gets its src from data-src when its .reveal container scrolls in (site.js), so its
   one-shot animation plays on screen. Until then it holds its space invisibly; without JavaScript the
   <noscript> copy shows instead. */
.js img[data-src]:not([src]) { visibility: hidden; }
html:not(.js) img[data-src] { display: none; }
/* Only without JavaScript: with it, <noscript> holds raw text and must stay display:none (the UA rule is
   not !important, so an unscoped rule here would print the markup on the page). */
html:not(.js) main noscript { display: contents; }

/* == Section: bring them back == */
.back { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .back { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } }
.back__col { display: grid; grid-template-rows: auto 1fr; gap: var(--space-2); width: 100%; max-width: 27rem; margin-inline: auto; }
@media (min-width: 1024px) { .back__col { max-width: none; } }
.back__col h3 { font-size: var(--step-2); }
/* Each visual sits on a paper-2 stage (the How-it-works art-panel language); stages share one height on desktop. */
.back__stage { display: grid; align-content: center; justify-items: center; gap: 18px; padding: 28px 16px; border-radius: 20px; background: radial-gradient(closest-side, rgba(250, 246, 240, .85), rgba(242, 234, 223, 0)) center / 100% 90% no-repeat, var(--paper-2); container: stage / inline-size; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .back__stage { padding: 22px 12px; }
  .back .ui-card { padding: 11px; }
  .back .audience { grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 10px; padding: 9px 10px 9px 8px; }
  .back .audience__icon { width: 30px; height: 30px; }
  .back .audience__name, .back .export__name { font-size: 14px; }
}
.back svg, .back__closing svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.back .phone__icons svg { fill: currentColor; stroke: none; }
/* Dashboard cards: hi-fi product UI (SPEC §6.6), tabular numerals, illustrative counts. */
.ui-card { width: 100%; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid rgba(230, 220, 205, .7); box-shadow: var(--shadow-soft); display: grid; gap: 8px; }
.ui-card__head { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 4px 4px; }
.ui-card__title { font: 600 15px/1.2 var(--font-body); color: var(--ink); }
.ui-card__tool { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--rule); color: var(--ink-2); }
.ui-card__foot { display: flex; justify-content: space-between; gap: .5rem; padding: 4px 4px 0; max-width: none; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.audience { --tone: var(--sage); display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 1px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 12px; background: var(--paper); }
.audience--slipping { --tone: var(--accent-dark); }
.audience--expiring { --tone: var(--ink-2); }
.audience__icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 12%, #fff); color: var(--tone); }
.audience--expiring .audience__icon { background: var(--butter); color: var(--ink); }
.audience__name, .export__name { grid-column: 2; align-self: end; font: 600 15px/1.25 var(--font-body); }
.audience__rule { grid-column: 2; align-self: start; font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.audience__stat { grid-column: 3; grid-row: 1 / span 2; display: grid; justify-items: end; gap: 5px; }
.audience__count { font: 600 18px/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.audience__unit { font-size: 12px; line-height: 1; color: var(--ink-2); }
.audience__spark { color: var(--tone); }
.audience__spark circle { fill: currentColor; stroke: #fff; stroke-width: 1.2; }
/* Lock screen: wallpaper as a CSS background (purely decorative, so no alt text to announce). */
.phone--lock { width: min(100%, 280px); }
.lock { display: flex; flex-direction: column; background: var(--ink) url('../illus/back-lockscreen.svg') center / cover no-repeat; color: var(--accent-ink); }
.lock .phone__status { padding: 15px 18px 6px 30px; color: var(--accent-ink); }
.lock .phone__island { width: 72px; height: 22px; top: 10px; }
.lock .phone__icons { gap: 4px; }
.lock__date { margin-top: 20px; text-align: center; max-width: none; font: 600 14px/1.2 var(--font-body); opacity: .92; }
.lock__time { margin-top: 2px; text-align: center; max-width: none; font: 600 68px/1 var(--font-body); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.lock__stack { display: flex; flex-direction: column-reverse; gap: 8px; margin-top: auto; padding: 0 9px; }
.notify { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 12px 12px 11px; border-radius: 20px; background: rgba(255, 247, 242, .8); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); color: var(--ink); box-shadow: 0 8px 22px -12px rgba(42, 33, 28, .6); }
.notify__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--sage); color: var(--accent-ink); box-shadow: inset 0 0 0 .5px rgba(42, 33, 28, .15); }
.notify__icon svg { fill: currentColor; stroke: none; }
.notify__icon--brand { background: var(--ink); color: var(--butter); font: 600 11px/1 var(--font-display); letter-spacing: .02em; box-shadow: inset 0 0 0 2px var(--accent); }
.notify__main { display: grid; gap: 2px; min-width: 0; }
.notify__app { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; max-width: none; font: 600 13px/1.2 var(--font-body); }
.notify__from { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notify__time { flex: none; font-size: 12px; font-weight: 400; color: var(--ink-2); }
.notify__body { max-width: none; font-size: 13px; line-height: 1.32; }
.lock__actions { display: flex; justify-content: space-between; padding: 18px 30px 30px; }
.lock__action { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 247, 242, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--accent-ink); }
.lock .phone__home { background: var(--accent-ink); opacity: .9; }
.js .reveal .notify { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease-out) .35s, transform .6s var(--ease-out) .35s; }
.js .reveal .notify--late { transition-delay: 1.1s; }
.js .reveal.is-in .notify { opacity: 1; transform: none; }
.channels { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 6px; padding: 0; margin: 4px 0 0; list-style: none; }
@container stage (max-width: 339px) { .channels { grid-template-columns: repeat(2, auto); } }
.channels li { display: flex; justify-content: center; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--rule); font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--ink-2); }
.channels svg { color: var(--accent-dark); }
.export__preview { display: grid; padding: 4px 12px 6px; border-radius: 12px; border: 1px dashed var(--rule); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.export__row { display: flex; justify-content: space-between; gap: .75rem; max-width: none; padding: 6px 0; border-top: 1px solid rgba(230, 220, 205, .7); color: var(--ink); }
.export__row--head { border-top: 0; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.export__hashed { display: inline-flex; align-items: center; gap: 4px; color: var(--sage); }
.export__hash { color: var(--ink-2); letter-spacing: .02em; }
.export__button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 44px; margin-top: 4px; padding: .6rem .9rem; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-ink); font: 600 14px/1.25 var(--font-body); text-align: center; text-wrap: balance; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 14px -8px rgba(158, 54, 32, .7); }
.export__button svg { flex: none; }
.export__caption { padding: 2px 4px 2px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.back__closing { display: flex; align-items: center; justify-content: center; gap: .75rem; margin: var(--space-5) auto 0; max-width: none; text-align: left; font: 500 var(--step-1)/1.3 var(--font-display); text-wrap: balance; }
.back__closing svg { flex: none; box-sizing: content-box; padding: 10px; border-radius: 50%; background: color-mix(in srgb, var(--sage) 14%, var(--paper)); color: var(--sage); }
@media (prefers-reduced-motion: reduce) { .js .reveal .notify { opacity: 1; transform: none; transition: none; } }

/* == Section: why us == */
/* No empty cells at any width: the lead tile is a full-width banner (picture beside text) from tablet
   up; desktop puts the other three in one row; tablet's two columns take the middle pair, and the
   fourth ("Built for chains") becomes a full-width banner too. Phones stack. */
.why { display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__tile--lead, .why__tile--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; column-gap: var(--space-4); }
  .why__tile--lead img, .why__tile--wide img { margin-bottom: 0; }
}
@media (min-width: 1024px) {
  .why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why__tile--lead { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: var(--space-5); padding: var(--space-4) var(--space-5) var(--space-4) var(--space-4); }
  .why__tile--wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); align-items: start; }
  .why__tile--wide img { margin-bottom: .4rem; }
}
.why__tile { display: grid; gap: .6rem; align-content: start; padding: var(--space-3); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--rule); }
.why__tile img { display: block; width: 100%; height: auto; margin-bottom: .4rem; }
.why__tile--lead { background: #fff; box-shadow: var(--shadow-soft); }
.why__tile h3 { font-size: var(--step-2); text-wrap: balance; }
.why__tile--lead h3 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.35rem); }
.why__tile p { color: var(--ink-2); }
.why__tile--lead p { font-size: var(--step-1); line-height: 1.5; }
.why__text { display: grid; gap: .6rem; align-content: center; }

/* == Section: campaigns grid == */
/* 3 / 3 / 2 cards per group (controller ruling at the Task 8 review, 2026-09-28): tablet and desktop
   are 3-up and the mix-and-match tile fills the pair's empty third slot; phones are 2-up with each
   3-card group led by a full-width card, and the tile spans the row under the pair. */
.grid--cards { display: grid; gap: var(--space-4) var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .card__title { font-size: 1.05rem; } .card__line { font-size: .92rem; }
  .grid--cards:not(.grid--pair) > .card:first-child { grid-column: 1 / -1; }
  .grid--cards:not(.grid--pair) > .card:first-child .card__art { aspect-ratio: 16 / 9; }
  .grid--cards:not(.grid--pair) > .card:first-child .card__title { font-size: var(--step-1); }
  .grid--cards:not(.grid--pair) > .card:first-child .card__line { font-size: var(--step-0); }
  .grid__more { grid-column: 1 / -1; }
}
.grid__group { margin: var(--space-4) 0 var(--space-3); font: 600 var(--step--1) var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark); }
.card__try { font-weight: 600; font-size: var(--step--1); color: var(--accent-dark); text-decoration: none; padding-block: .5rem; min-height: 44px; display: inline-flex; align-items: center; gap: .3em; justify-self: start; }
.grid__more { display: grid; align-content: center; justify-items: start; gap: var(--space-2); padding: var(--space-3); border-radius: var(--radius); background: var(--paper-2); }
.grid__more svg { flex: none; box-sizing: content-box; padding: 12px; border-radius: 50%; background: #fff; color: var(--accent-dark); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 1px 2px rgba(42, 33, 28, .06); }
.grid__more svg circle:first-child { fill: currentColor; }
.grid__closing { max-width: 16ch; font: 500 var(--step-2)/1.25 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
@media (max-width: 767px) { .grid__more { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: var(--space-2) var(--space-3); } .grid__closing { max-width: none; font-size: var(--step-1); } }

/* == Section: trust band == */
/* SPEC §6.8: ink background, paper text, plain line icons; nothing moves beyond the fade-in. */
.section--trust { --ink-line: rgba(250, 246, 240, .14); background: var(--ink); color: var(--paper); }
.section--trust .section__sub, .section--trust p { color: var(--on-ink); text-wrap: pretty; }
.section--trust a { color: var(--butter); text-underline-offset: 3px; transition: color .2s var(--ease-out); }
.section--trust a:hover { color: var(--paper); }
.section--trust :focus-visible { outline-color: var(--butter); }
.trust { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
/* From tablet up the two columns share row tracks (subgrid), so facing points line up across the band. */
@media (min-width: 768px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-4); }
  .trust__col { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
}
@media (min-width: 1024px) { .trust { column-gap: var(--space-5); } }
.trust__group { margin-bottom: var(--space-1); font-weight: 600; font-size: var(--step--1); letter-spacing: .06em; text-transform: uppercase; color: var(--butter) !important; }
.trust__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .2rem 1.1rem; align-items: start; align-content: start; padding-block: var(--space-3); border-top: 1px solid var(--ink-line); }
.trust__item svg { grid-row: span 2; box-sizing: content-box; width: 24px; height: 24px; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--butter) 8%, var(--ink)); box-shadow: inset 0 0 0 1px rgba(242, 217, 166, .16); color: var(--butter); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trust__item h3 { align-self: end; margin-top: .1rem; font-size: var(--step-1); color: var(--paper); }
.trust__foot { display: grid; gap: .5rem; margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--ink-line); }
.trust__also { max-width: none; font-size: var(--step--1); }
.trust__law { font-size: var(--step--1); }
.trust__law a { font-weight: 600; margin-left: .35em; white-space: nowrap; }

/* == Section: working with us == */
/* A day-by-day line: node, day label on the line, then the step. The line runs behind each label
   (the label masks it with the section's paper), dashes out after "Ongoing", and turns vertical below desktop (four columns are too narrow on a tablet). */
.timeline { --node: 14px; --tl-gap: var(--space-4); --tl-line: color-mix(in srgb, var(--ink-2) 32%, var(--paper)); display: grid; gap: var(--tl-gap); grid-template-columns: minmax(0, 1fr); padding: 0; margin: 0; list-style: none; }
.timeline li { position: relative; display: grid; gap: .45rem; align-content: start; padding-left: calc(var(--node) + 1.1rem); }
.timeline li::before { content: ''; position: absolute; z-index: 2; left: 0; top: 4px; width: var(--node); height: var(--node); border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--accent-dark); }
.timeline li::after { content: ''; position: absolute; z-index: 0; left: calc(var(--node) / 2 - 1px); top: calc(4px + var(--node) + 6px); bottom: calc(-1 * var(--tl-gap) + 6px); border-left: 2px solid var(--tl-line); }
.timeline .timeline__live::before { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 15%, var(--paper)); }
.timeline .timeline__ongoing::after { bottom: auto; height: 3.5rem; border-left-style: dashed; -webkit-mask-image: linear-gradient(black 30%, transparent); mask-image: linear-gradient(black 30%, transparent); }
.timeline__day { position: relative; z-index: 1; justify-self: start; font-weight: 600; font-size: var(--step--1); line-height: 22px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); }
.timeline h3 { margin-top: .35rem; font-size: var(--step-2); text-wrap: balance; }
.timeline p { color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 1024px) {
  .timeline { --tl-gap: var(--space-4); grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline li { padding-left: 0; padding-right: .25rem; }
  .timeline li::after, .timeline .timeline__ongoing::after { left: 0; right: calc(-1 * var(--tl-gap)); top: calc(4px + var(--node) / 2 - 1px); bottom: auto; height: 0; border-left: 0; border-top: 2px solid var(--tl-line); }
  .timeline .timeline__ongoing::after { right: 0; border-top-style: dashed; -webkit-mask-image: linear-gradient(90deg, black 45%, transparent); mask-image: linear-gradient(90deg, black 45%, transparent); }
  .timeline__day { margin-left: var(--node); padding-inline: .7rem .75rem; background: var(--paper); }
}
.work__pricing { display: flex; align-items: center; gap: .9rem; width: fit-content; max-width: 100%; margin-top: var(--space-5); padding: var(--space-2) var(--space-3); border-radius: var(--radius); background: var(--paper-2); font: 500 var(--step-1)/1.35 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.work__pricing svg { flex: none; color: var(--accent-dark); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* == Section: about == */
.about { display: grid; gap: var(--space-4); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-4); } }
@media (min-width: 1024px) { .about { gap: var(--space-5); } }
@media (max-width: 767px) { .about__visual { order: 2; } }
.about__visual { position: relative; display: grid; justify-items: center; isolation: isolate; }
.about__visual::before { content: ''; position: absolute; z-index: -1; inset: 4% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(250, 246, 240, .95), rgba(250, 246, 240, 0)); }
.about__visual img { width: min(100%, 340px); }
@media (min-width: 1024px) { .about__visual img { width: min(100%, 380px); } }
.about__text { display: grid; gap: var(--space-3); }
.about h2 { text-wrap: balance; }
.about__body { color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; }
.about__body strong { font-weight: 600; color: var(--ink); }

/* == Section: FAQ == */
.faq-layout { display: grid; gap: 0; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-5); align-items: start; }
  .faq-layout .section__head { position: sticky; top: 96px; margin-bottom: 0; }
}
.faq { display: grid; max-width: 52rem; }
.faq__item { border-top: 1px solid var(--rule); interpolate-size: allow-keywords; }
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 44px; padding: 1.25rem 0; font: 500 var(--step-1)/1.3 var(--font-display); letter-spacing: -0.01em; transition: color .2s var(--ease-out); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-dark); }
.faq__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--rule); transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), transform .35s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; border-radius: 1px; background: var(--ink); translate: -50% -50%; transition: background-color .25s var(--ease-out); }
.faq__icon::after { rotate: 90deg; }
.faq__item summary:hover .faq__icon { border-color: var(--ink); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--paper); }
.faq__a { padding: 0 3.5rem 1.4rem 0; color: var(--ink-2); }
.faq__a a { color: var(--accent-dark); text-underline-offset: 3px; }
@media (max-width: 767px) { .faq__a { padding-right: 0; } }
/* Smooth open/close where the browser can animate a <details> body; elsewhere it simply snaps. */
@supports selector(::details-content) {
  .faq__item::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__icon, .faq__icon::before, .faq__icon::after { transition: none; }
}
@media (prefers-reduced-motion: reduce) { @supports selector(::details-content) { .faq__item::details-content { transition: none; } } }

/* == 404 == */
.notfound { display: grid; gap: 1.5rem; justify-items: start; text-align: left; }
.notfound__art { max-width: 320px; height: auto; }

/* == Footer == */
.site-footer { background: var(--ink); color: var(--paper); padding-block: var(--space-5) var(--space-4); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer__grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--space-3); } }
.site-footer__tagline { margin-top: .75rem; color: var(--on-ink); max-width: 32ch; }
.site-footer__heading { margin: 0 0 .6rem; text-transform: uppercase; letter-spacing: .06em; color: var(--butter) !important; }
.site-footer__list { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; font-size: var(--step--1); }
.site-footer__list a { display: inline-block; padding-block: .3rem; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--butter); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .site-footer__list a { display: flex; align-items: center; min-height: 44px; padding-block: .5rem; } }
.site-footer__legal { max-width: none; margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid rgba(250, 246, 240, .18); font-size: var(--step--1); color: var(--rule); }

/* == Section: contact form == */
.contact { display: grid; gap: var(--space-4); }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact__alt { margin-top: var(--space-2); font-weight: 500; }
.contact__alt a { color: var(--accent-dark); font-weight: 600; }
.contact__whatsapp { display: inline-flex; align-items: center; gap: .35rem; }
.contact__alt-icon { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lead { display: grid; gap: var(--space-2); padding: var(--space-3); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.lead__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; visibility: hidden; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field select { min-height: 48px; padding: .7rem .85rem; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--paper); font: 400 16px var(--font-body); color: var(--ink); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(199, 71, 42, .18); }
.field [aria-invalid="true"] { border-color: var(--accent-dark); }
.field__error { min-height: 0; font-size: var(--step--1); font-weight: 600; color: var(--accent-dark); }
.field--check { grid-template-columns: 44px 1fr; align-items: start; column-gap: .35rem; }
/* .field__checkbox is a label (for="f-consent") sized to a full 44x44 tap target; the checkbox
   itself stays a neat 22px box, offset to line up with the text label's first line. */
.field__checkbox { display: flex; align-items: flex-start; justify-content: center; width: 44px; height: 44px; padding-top: 3px; cursor: pointer; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--accent); flex: none; }
.field--check label:not(.field__checkbox) { padding-top: 3px; font-weight: 500; }
.field--check .field__error { grid-column: 2; }
.lead__submit { width: 100%; }
.lead__status { font-weight: 600; color: var(--accent-dark); }
.contact__panel { display: grid; }
.contact__panel > * { grid-area: 1 / 1; min-width: 0; }
.lead__thanks { display: flex; align-items: center; gap: 1rem; align-self: stretch; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--ink); color: var(--paper); font: 500 var(--step-2)/1.3 var(--font-display); box-shadow: var(--shadow-soft); }
.lead__thanks-icon { flex: none; box-sizing: content-box; width: 28px; height: 28px; padding: 9px; border-radius: 50%; background: var(--sage); color: var(--paper); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
