/* Mirv0 website. Tokens from the approved brand system (brand/mirv0-tokens.css).
   Contrast measured on these values: tinta/calc 15.66, teula/calc 4.75, white/teula 5.44,
   teula-viva/tinta 5.07, pedra/calc 5.04. Teula is never used for small text on tinta. */
:root {
  --tinta: #15171C; --calc: #F4EFE6; --teula: #B8431F; --teula-viva: #E0613A; --pedra: #6B655C; --arena: #D9CFBF;
  --bg: var(--calc); --surface: #FBF8F2; --raised: #EEE7DA; --fg: var(--tinta); --muted: var(--pedra);
  --line: var(--arena); --accent: var(--teula); --on-accent: #FFFDF8; --accent-text: var(--teula);
  --bubble-in: #FFFDF8; --bubble-out: #E7EEDB; --chat-bg: #EDE6D8;
  --shadow: 0 1px 2px rgb(21 23 28 / .06), 0 12px 32px -12px rgb(21 23 28 / .18);
  --font-display: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --r-media: 14px; --r-input: 10px; --r-pill: 999px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --nav-h: 64px; --gutter: clamp(20px, 4vw, 48px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: var(--tinta); --surface: #1C1F25; --raised: #23262D; --fg: var(--calc); --muted: #C9BFAF; --line: #30333B;
    --accent: var(--teula-viva); --on-accent: var(--tinta); --accent-text: var(--teula-viva);
    --bubble-in: #262A31; --bubble-out: #2D3A2B; --chat-bg: #181B20;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 40px -16px rgb(0 0 0 / .6); }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.55 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.15rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 52ch; margin-top: 16px; }
.fineprint { font-size: .875rem; color: var(--muted); max-width: 60ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.logo--dark { display: none; }
@media (prefers-color-scheme: dark) { .logo--light { display: none; } .logo--dark { display: block; } }

/* Buttons: pills echo the zero. Press feedback 160 ms. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .45; cursor: default; }
.btn:disabled:active { transform: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--quiet { background: transparent; border-color: var(--line); color: var(--fg); }
.btn--ghost-light { background: rgb(21 23 28 / .35); border-color: rgb(244 239 230 / .55); color: var(--calc); backdrop-filter: blur(6px); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--fg)); }
  .btn--quiet:hover { border-color: var(--fg); }
  .btn--ghost-light:hover { background: rgb(21 23 28 / .55); }
}
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.25rem; transition: transform 160ms var(--ease-out); }
.icon-btn:active { transform: scale(0.94); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.nav__brand { display: inline-flex; color: var(--fg); padding: 6px 0; }
.logo-svg { width: 104px; height: auto; display: block; overflow: visible; }
.logo-eye__ring { stroke: var(--accent); }
.nav__links { display: flex; gap: 28px; margin-left: 24px; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .975rem; padding: 10px 0; transition: color 160ms ease; }
.nav__links a:hover { color: var(--fg); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { min-height: 40px; min-width: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: .875rem; cursor: pointer; }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; font-size: 1.3rem; cursor: pointer; place-items: center; }
@media (max-width: 860px) {
  .nav__links, .nav__actions > .lang { display: none; }
  .nav__menu { display: inline-grid; }
}
@media (max-width: 420px) { .nav__cta { display: none; } }

/* Mobile drawer: slides from the right, drawer curve */
.drawer { position: fixed; inset: 0; z-index: 40; background: rgb(21 23 28 / .45); opacity: 0; transition: opacity 240ms ease; }
.drawer.is-open { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--bg); padding: 16px 24px max(24px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 4px; transform: translateX(100%); transition: transform 320ms var(--ease-drawer); }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer__title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.drawer a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lang--drawer { margin-top: 20px; align-self: flex-start; }

/* HERO: tall section, sticky stage. Canvas draws the scrubbed frames over a poster image. */
/* A long track (Marti, 2026-10-11: less dizzy): the 8 s clip is spread over about four screens of scroll. */
.hero { position: relative; height: 480svh; background: var(--tinta); }
.hero__stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); overflow: hidden; color: var(--calc); isolation: isolate; }
.hero__poster img, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__canvas { opacity: 0; transition: opacity 300ms ease; }
.hero.is-ready .hero__canvas { opacity: 1; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(21 23 28 / .78) 0%, rgb(21 23 28 / .5) 38%, rgb(21 23 28 / 0) 70%), linear-gradient(0deg, rgb(21 23 28 / .55) 0%, rgb(21 23 28 / 0) 35%); }
.hero__copy { position: relative; height: 100%; display: grid; align-content: center; }
.hero__intro { max-width: 600px; transition: opacity 260ms ease, transform 260ms var(--ease-out); }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.02; }
.hero__sub { margin-top: 20px; font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); color: rgb(244 239 230 / .86); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__ctas .btn--primary { background: var(--teula-viva); color: var(--tinta); }
.hero__hint { margin-top: 36px; display: inline-flex; align-items: center; gap: 8px; color: rgb(244 239 230 / .78); font-size: .925rem; font-weight: 500; }
.hero__story { list-style: none; margin: 0; padding: 0; position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 9vh, 96px); max-width: 1240px; margin-inline: auto; }
.hero__story li { position: absolute; left: 0; bottom: 0; max-width: 18ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.9rem); line-height: 1.04; letter-spacing: -0.03em; opacity: 0; transform: translateY(10px); transition: opacity 240ms ease, transform 240ms var(--ease-out); }
.hero__story li.is-active { opacity: 1; transform: none; }
.hero[data-progress-started] .hero__intro { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.hero__ring { position: absolute; right: var(--gutter); bottom: clamp(40px, 9vh, 96px); width: 34px; opacity: 0; transition: opacity 240ms ease; }
.hero[data-progress-started] .hero__ring { opacity: 1; }
.hero__ring svg { overflow: visible; }
.hero__ring ellipse { fill: none; stroke: rgb(244 239 230 / .3); stroke-width: 4; }
.hero__ring .hero__ring-fill { stroke: var(--teula-viva); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); transform: rotate(-90deg); transform-origin: center; }
@media (max-width: 760px) {
  .hero { height: 420svh; }
  .hero__scrim { background: linear-gradient(0deg, rgb(21 23 28 / .82) 0%, rgb(21 23 28 / .45) 55%, rgb(21 23 28 / .25) 100%); }
  .hero__copy { align-content: end; padding-bottom: 48px; }
  .hero__story li { max-width: 14ch; }
}
/* The scrub runs on every device, reduced motion included (Marti, 2026-10-11): it moves only with the
   visitor's own scrolling. */

/* DEMO */
.demo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(40px, 7vw, 112px); align-items: start; }
.demo__intro { position: sticky; top: calc(var(--nav-h) + 48px); }
.callouts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 8px; }
.callouts li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 18px; border-radius: var(--r-media); border: 1px solid transparent; opacity: .55; transition: opacity 200ms ease, background-color 200ms ease, border-color 200ms ease; }
.callouts li.is-on { opacity: 1; background: var(--surface); border-color: var(--line); }
.callouts i { font-size: 1.6rem; color: var(--accent-text); padding-top: 2px; }
.callouts h3 { font-size: 1.08rem; }
.callouts p { color: var(--muted); margin-top: 4px; font-size: .975rem; }
.phone-wrap { display: grid; gap: 16px; }
.phone { border-radius: 36px; padding: 10px; background: var(--tinta); box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .phone { background: #0D0E11; outline: 1px solid #30333B; } }
.phone__bar { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px; color: var(--calc); }
.phone__avatar { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--teula); display: grid; place-items: center; flex: none; }
.phone__avatar svg { width: 22px; }
.phone__avatar ellipse { fill: none; stroke: var(--calc); stroke-width: 6; }
.phone__avatar circle { fill: var(--calc); }
.phone__name { font-weight: 600; font-size: .975rem; line-height: 1.2; }
.phone__status { font-size: .8rem; color: rgb(244 239 230 / .7); }
.phone__chat { background: var(--chat-bg); border-radius: 26px; height: 540px; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: auto; }
/* On touch screens the chat is not a finger-scroll area (it scrolls itself as messages arrive): a swipe on the
   phone moves the page instead of getting stuck inside it (Marti, 2026-10-11: "hard to scroll" on his phone). */
@media (hover: none), (pointer: coarse) { .phone__chat { overflow-y: hidden; } }
.msg { max-width: 84%; padding: 9px 12px 6px; border-radius: 14px; font-size: .95rem; line-height: 1.42; box-shadow: 0 1px 1px rgb(21 23 28 / .08); opacity: 1; transform: none; transition: opacity 220ms ease, transform 220ms var(--ease-out); }
.msg.is-entering { opacity: 0; transform: translateY(8px); }
.msg--in { align-self: flex-start; background: var(--bubble-in); border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 4px; }
.msg__time { display: block; text-align: right; font-size: .72rem; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.msg a { color: var(--accent-text); }
.msg p + p { margin-top: 6px; }
.typing { align-self: flex-start; background: var(--bubble-in); border-radius: 14px; border-top-left-radius: 4px; padding: 12px 14px; display: inline-flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .45; animation: typing 1.1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.summary { align-self: stretch; margin-top: 10px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--line); padding: 12px 14px; font-size: .9rem; transition: opacity 320ms ease, transform 320ms var(--ease-out); }
.summary.is-entering { opacity: 0; transform: translateY(10px); }
.summary__title { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 6px; }
.summary__title i { color: var(--accent-text); font-size: 1.1rem; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; }
.demo__controls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.phone-wrap .fineprint { text-align: center; margin-inline: auto; }
@media (max-width: 900px) {
  .demo__grid { grid-template-columns: 1fr; }
  .demo__intro { position: static; }
  .phone-wrap { max-width: 420px; margin-inline: auto; width: 100%; }
  .phone__chat { height: 480px; }
}
@media (prefers-reduced-motion: reduce) { .msg.is-entering { transform: translateY(3px); } }
.msg__ai { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: var(--r-pill); background: var(--raised); color: var(--fg); font-size: .66rem; font-weight: 700; letter-spacing: .02em; vertical-align: 1px; }

/* WHEN: text and a timeline beside a framed photo, with a Mirv0 notification card on the photo */
.when__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.when h2 { max-width: 14ch; }
.moments { margin: 36px 0 0; display: grid; }
.moments div { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.moments div:last-child { border-bottom: 1px solid var(--line); }
.moments dt { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + .9vw, 1.65rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.moments dd { margin: 0; color: var(--muted); }
.when__close { margin-top: 24px; max-width: 44ch; font-size: 1.08rem; font-weight: 500; }
.when__photo { position: relative; margin: 0; }
.when__photo img { width: 100%; height: auto; aspect-ratio: 1100 / 1072; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.when__photo figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.when__notice { position: absolute; right: clamp(-16px, -1.5vw, 0px); bottom: 72px; display: flex; align-items: center; gap: 12px; max-width: min(320px, 80%); padding: 12px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; }
.when__eye { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--teula); display: grid; place-items: center; }
.when__eye svg { width: 18px; }
.when__eye ellipse { fill: none; stroke: var(--calc); stroke-width: 6; }
.when__eye circle { fill: var(--calc); }
.when__notice-text { display: grid; line-height: 1.3; }
.when__notice-text span { color: var(--muted); }
.when__notice-time { align-self: flex-start; color: var(--accent-text); font-weight: 700; font-size: .8rem; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .moments div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (max-width: 860px) { .when__grid { grid-template-columns: minmax(0, 1fr); } .when__notice { right: 10px; bottom: 54px; padding: 9px 12px; gap: 10px; font-size: .82rem; max-width: 72%; } .when__eye { width: 30px; height: 30px; } .when__eye svg { width: 15px; } }

/* RULES */
.rules__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: 40px; }
.rules__col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; padding-bottom: 16px; border-bottom: 2px solid var(--fg); }
.rules__col h3 i { font-size: 1.6rem; color: var(--accent-text); }
.rules__col--never h3 i { color: var(--muted); }
.rules__col ul { list-style: none; margin: 0; padding: 0; }
.rules__col li { padding: 16px 0; font-size: 1.08rem; }
.rules__col li + li { border-top: 1px solid var(--line); }
@media (max-width: 760px) { .rules__grid { grid-template-columns: 1fr; } }

/* WEBS: tabs + device frames around real screenshots (chapter styles in services.css) */
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-top: 32px; border-radius: var(--r-pill); background: var(--raised); }
.tab { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 0; background: transparent; font-weight: 600; cursor: pointer; color: var(--muted); transition: background-color 200ms ease, color 200ms ease; }
.tab[aria-selected="true"] { background: var(--bg); color: var(--fg); box-shadow: 0 1px 2px rgb(21 23 28 / .12); }
.showcase { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 32px; }
.showcase[hidden] { display: none; }
.devices { position: relative; padding-right: 9%; padding-bottom: 6%; }
.laptop { border-radius: 14px 14px 6px 6px; padding: 10px 10px 14px; background: #2A2C31; box-shadow: var(--shadow); outline: 1px solid #3A3D45; }
.laptop img { border-radius: 6px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.handset { position: absolute; right: 0; bottom: 0; width: 24%; border-radius: 22px; padding: 6px; background: #2A2C31; box-shadow: var(--shadow); outline: 1px solid #3A3D45; }
.handset img { border-radius: 16px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; width: 100%; }
.showcase__text { display: grid; gap: 14px; justify-items: start; }
.showcase__name { font-size: 1.5rem; }
.showcase__text > p:not(.fineprint) { font-size: 1.1rem; color: var(--muted); }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } }

/* STEPS */
.steps__list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps__list li { display: grid; gap: 10px; align-content: start; }
.steps__n { position: relative; z-index: 1; width: 44px; height: 52px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent-text); background: var(--bg); }
.steps__list p { color: var(--muted); }
@media (max-width: 900px) { .steps__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps__list { grid-template-columns: 1fr; } }

/* PRICING */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.plans__group { display: flex; align-items: center; gap: 10px; margin-top: 44px; font-size: 1.3rem; }
.plans__group i { color: var(--accent-text); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; align-items: stretch; }
.plan { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-media); padding: 32px; display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-size: 1.5rem; }
.plan__for { color: var(--muted); }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; }
.plan__amount { font-family: var(--font-display); font-weight: 600; font-size: 3rem; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__setup { color: var(--muted); font-weight: 500; }
.plan__list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan__list li { position: relative; padding-left: 28px; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 16px; border: 2px solid var(--accent); border-radius: 50%; }
.plan__buy { width: 100%; }
.plan__note { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.plan--featured { border: 2px solid var(--accent); }
.plan__badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--on-accent); font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: var(--r-pill); }
.plan--web { margin-top: 20px; padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.plan__shot { display: flex; align-items: flex-end; padding: 36px 0 0 36px; overflow: hidden; background: linear-gradient(155deg, #1E2A38 0%, #101216 100%); }
.plan__shot img { width: 118%; max-width: none; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 10px 0 0 0; box-shadow: 0 24px 48px -20px rgb(0 0 0 / .6); }
.plan__web-body { padding: 32px; display: flex; flex-direction: column; gap: 6px; }
.plan__web-body .plan__list { margin-bottom: 20px; }
.plan__web-body .plan__buy { align-self: flex-start; width: auto; }
.pricing__notes { margin-top: 28px; color: var(--muted); font-size: .925rem; max-width: 80ch; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan--web { grid-template-columns: 1fr; } .plan__shot { padding: 22px 0 0 22px; height: 230px; align-items: flex-start; } .plan__shot img { width: 135%; } .plan__web-body .plan__buy { width: 100%; } }

/* FAQ: native details; height animates where the browser supports it */
.faq__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.08rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--accent-text); transition: transform 200ms var(--ease-out); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__list details::details-content { height: 0; overflow: clip; transition: height 200ms var(--ease-out), content-visibility 200ms allow-discrete; }
  .faq__list details[open]::details-content { height: auto; }
}
@media (max-width: 860px) { .faq__wrap { grid-template-columns: 1fr; } }

/* CLOSING */
.closing { padding-block: clamp(80px, 10vw, 140px); }
.closing__inner { display: grid; justify-items: start; gap: 24px; }
.closing h2 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4rem); max-width: 18ch; }
.closing__zero { width: 52px; }
.closing__zero ellipse { fill: none; stroke: var(--accent); stroke-width: 5.5; }
.closing__zero circle { fill: var(--fg); }
.closing__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding-block: 40px max(40px, env(safe-area-inset-bottom)); font-size: .925rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; align-items: start; }
.footer__brand { display: grid; gap: 10px; color: var(--muted); }
.footer__links { display: grid; gap: 8px; }
.footer__links a, .footer__contact a { color: var(--muted); text-decoration: none; }
.footer__links a:hover, .footer__contact a:hover { color: var(--fg); text-decoration: underline; }
.footer__small { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; } }

/* BUY DIALOG */
.buy { border: 0; padding: 0; border-radius: 18px; background: var(--bg); color: var(--fg); width: min(460px, calc(100vw - 32px)); box-shadow: var(--shadow); opacity: 0; transform: scale(0.96); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), overlay 200ms allow-discrete, display 200ms allow-discrete; }
.buy[open] { opacity: 1; transform: none; }
@starting-style { .buy[open] { opacity: 0; transform: scale(0.96); } }
.buy::backdrop { background: rgb(21 23 28 / .5); }
.buy__inner { padding: 32px; display: grid; gap: 16px; justify-items: start; position: relative; }
.buy h2 { font-size: 1.6rem; padding-right: 48px; }
.buy p { color: var(--muted); }
.buy strong { color: var(--fg); }
.buy__close { position: absolute; top: 16px; right: 16px; }
.buy__pane { display: grid; gap: 16px; justify-items: start; width: 100%; }
.buy__lines { margin: 0; width: 100%; display: grid; border-block: 1px solid var(--line); }
.buy__lines div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
.buy__lines div + div { border-top: 1px solid var(--line); }
.buy__lines dt { color: var(--muted); }
.buy__lines dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.buy__vat, .buy__after { font-size: .9rem; }
.buy__check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .95rem; cursor: pointer; }
.buy__check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.buy__check a { color: var(--accent-text); }
.buy__pay { width: 100%; min-height: 54px; font-size: 1.0625rem; gap: 10px; transition: transform 160ms var(--ease-out), background-color 160ms ease, opacity 200ms ease; }
.buy__pay[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.buy__pay[aria-disabled="true"]:active { transform: none; }
@media (prefers-reduced-motion: reduce) { .buy { transform: none; } }

/* BUY DIALOG, 2026-10-12: launch-price tag, setup fee struck through, "you pay today" summary, trust row */
.buy { width: min(480px, calc(100vw - 32px)); }
.buy__inner { padding: 30px 30px 26px; }
.buy__pane { gap: 14px; }
.buy__pane > .offer__tag { margin-bottom: -4px; }
.buy__lines dd .offer { font-size: 1.125rem; }
.buy__today { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 14px 18px; border-radius: var(--r-input); background: var(--raised); }
.buy__today-label { font-weight: 600; color: var(--fg); }
.buy__today-amount { grid-row: span 2; font-family: var(--font-display); font-weight: 600; font-size: 1.875rem; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--fg); }
.buy__today-meta { grid-column: 1; font-size: .875rem; color: var(--muted); }
.buy__trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.buy__trust li { display: flex; align-items: flex-start; gap: 10px; }
.buy__trust i { font-size: 1.15rem; line-height: 1.3; flex: none; color: var(--accent-text); }
.buy__check input { width: 22px; height: 22px; }
.buy__pay i { transition: transform 160ms var(--ease-out); }

/* BUTTONS: a little depth on the main action, an arrow that leans forward on hover */
.btn--primary { box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 8px 18px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.plan__buy i { font-size: 1.05rem; transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .plan__buy:hover i, .buy__pay:not([aria-disabled="true"]):hover .buy__pay-arrow, [data-buy]:hover > i { transform: translateX(3px); }
  .btn--quiet.plan__buy:hover { background: var(--raised); }
}

/* OFFER: the old setup fee struck through, the launch price beside it (pricing cards and the buy dialog).
   Purpose: state indication (the price changed). Strike draws (transform), the new price fades up (opacity, transform).
   Without JavaScript, or once played, the struck state is the resting state. */
.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; }
.offer { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.offer__was { position: relative; text-decoration: none; color: var(--muted); transition: opacity 260ms var(--ease-out); }
.offer__was::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: left center; transition: transform 420ms var(--ease-in-out); }
.offer__now { display: inline-block; color: var(--fg); font-weight: 600; transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out); }
.offer.is-struck .offer__was { opacity: .6; }
.offer.is-struck .offer__now { transition-delay: 300ms; }
.js-offer .offer:not(.is-struck) .offer__was::after { transform: scaleX(0); }
.js-offer .offer:not(.is-struck) .offer__now { opacity: 0; transform: translateY(6px); }
.offer--reset .offer__was, .offer--reset .offer__was::after, .offer--reset .offer__now { transition: none !important; }
.offer__tag { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 0; padding: 4px 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent-text); font-size: .8125rem; font-weight: 600; justify-self: start; align-self: flex-start; }
.plan .plan__setup .offer__now { font-weight: 600; color: var(--fg); }
@media (prefers-reduced-motion: reduce) {
  /* Marti's standing rule: motion still runs, gentler. The strike and the fades stay; the rise shrinks. */
  .js-offer .offer:not(.is-struck) .offer__now { transform: translateY(2px); }
}
