/* MiRonda — shared design system. One motif: the circle (la ronda).
   Five type steps, one ground, one ink, green for action, terracotta only for "whose turn it is". */
:root {
  --ground: #FAF8F4;
  --tone: #F0ECE4;
  --tone-2: #E6E0D4;
  --ink: #14231C;
  --muted: #3F4E47;
  --green: #1E5B45;
  --green-2: #174A38;
  --green-3: #2A6E55;
  --mint: #DCE9E1;
  --on-dark: #E4EBE7;
  --on-dark-2: #B9CCC1;
  --terra: #D2724B;
  --terra-ink: #A9502B;

  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --s-display: clamp(46px, 6.4vw, 104px);
  --s-h2: clamp(34px, 4.2vw, 64px);
  --s-h3: clamp(23px, 2.3vw, 34px);
  --s-body: 18px;
  --s-small: 15px;

  --m: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --sec: clamp(104px, 12vw, 200px);
  --r: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  interpolate-size: allow-keywords;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: var(--s-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--m); }
.sec { padding-block: var(--sec); position: relative; }
.sec--tone { background: var(--tone); }
.sec--green { background: var(--green); color: #fff; }
.sec--ink { background: var(--ink); color: var(--on-dark); }
.clip { overflow: hidden; overflow: clip; }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--rev > .lead { justify-self: end; }
@media (min-width: 900px) { .split--swap > :first-child { order: 2; } .split--swap > :last-child { order: 1; } }
@media (max-width: 899px) { .split, .split--rev { grid-template-columns: 1fr; } }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 500; font-size: var(--s-display); line-height: .98; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: var(--s-h2); line-height: 1.02; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: var(--s-h3); line-height: 1.15; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
.lead { font-size: var(--s-body); line-height: 1.6; margin: 0; max-width: 46ch; text-wrap: pretty; }
.small { font-size: var(--s-small); line-height: 1.5; }
.muted { color: var(--muted); }
.sec--green .muted, .sec--ink .muted, .tile--green .muted, .tile--ink .muted { color: var(--on-dark-2); }
.sec--green .ui .muted, .sec--ink .ui .muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.stack > * + * { margin-top: 24px; }
@media (max-width: 599px) { :root { --s-body: 17px; } .hero__h1 { font-size: 8.8vw; } }
@media (max-width: 380px) { :root { --s-display: 38px; --s-h2: 29px; } }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--green); color: #fff; font: 600 var(--s-body)/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.btn:active { transform: scale(.97); }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: var(--s-small); }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* the motif at text size: a round bullet */
.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dots li { display: flex; gap: 14px; align-items: baseline; }
.dots li::before { content: ''; flex: none; width: .62em; height: .62em; border-radius: 50%; background: var(--green); transform: translateY(.04em); }
.dots--hollow li::before { background: transparent; box-shadow: inset 0 0 0 2px currentColor; opacity: .55; } /* taste-skill-ignore: a ring drawn with inset, not a shadow */
.dots--mint li::before { background: var(--mint); }
.dots--terra li::before { background: var(--terra); }
.dots--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
@media (max-width: 599px) { .dots--2 { grid-template-columns: 1fr; } }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--green-2); }
  .btn--light:hover { background: var(--mint); }
  .seg button:hover:not([aria-pressed="true"]) { background: var(--green-2); }
  .lang button:hover:not([aria-pressed="true"]) { color: var(--ink); background: var(--tone-2); }
  .ftr .lang button:hover:not([aria-pressed="true"]) { background: var(--green-2); color: #fff; }
  .names__list button:hover { color: var(--ink); }
  .faq summary:hover { color: var(--green); }
  .faq details[open] summary:hover { color: #fff; }
}

/* ---------- skip link & focus ---------- */
.skip { position: absolute; left: 16px; top: -100px; z-index: 300; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.names__list button:focus-visible { outline: 3px solid var(--terra); outline-offset: 4px; border-radius: 8px; }
.stage__pause { margin-top: 14px; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(255,255,255,.14); color: #fff; font: 500 14px/1 var(--sans); cursor: pointer; transition: background-color .2s ease, transform 160ms var(--ease-out); }
.stage__pause:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .stage__pause:hover { background: rgba(255,255,255,.24); } }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: background .3s; font-family: var(--sans); }
.hdr--scrolled { background: var(--tone); }
.hdr__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.hdr__logo img { height: 40px; width: auto; }
.hdr__nav { display: flex; align-items: center; gap: 28px; font-size: var(--s-small); }
.hdr__nav a { text-decoration: none; color: var(--ink); padding: 8px 0; white-space: nowrap; }
@media (max-width: 1239px) { .hdr__nav { gap: 20px; } .hdr__nav .opt { display: none; } }
.hdr__nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.hdr__end { display: flex; align-items: center; gap: 18px; font-size: var(--s-small); }
.lang { display: flex; gap: 2px; }
.lang button { border: 0; background: transparent; font: 600 var(--s-small)/1 var(--sans); color: var(--muted); min-width: 36px; min-height: 36px; border-radius: 999px; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform 160ms var(--ease-out); }
.lang button:active, .hdr__menu-btn:active { transform: scale(.94); }
.hdr__menu-btn { transition: transform 160ms var(--ease-out); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.hdr__menu-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--tone); cursor: pointer; display: grid; place-items: center; }
.hdr__menu-btn span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); } /* taste-skill-ignore: draws the menu icon bars */
.hdr__panel { background: var(--tone); padding: 8px var(--m) 28px; display: grid; gap: 4px; transition: opacity 200ms var(--ease-out), translate 200ms var(--ease-out); }
@starting-style { .hdr__panel { opacity: 0; translate: 0 -8px; } }
.hdr__panel a.navlink { font-family: var(--serif); font-size: var(--s-h3); text-decoration: none; padding: 10px 0; }
.hdr__panel .actions { margin-top: 16px; }

/* ---------- hero: the round, at enormous scale ---------- */
.hero { position: relative; min-height: max(760px, calc(100svh - 76px)); overflow: hidden; overflow: clip; }
.hero__copy { position: relative; z-index: 2; padding-top: clamp(48px, 9vh, 120px); }
.hero__h1 span { display: block; }
.hero__aside { margin-top: clamp(28px, 4vh, 48px); max-width: 30%; min-width: 300px; }
.hero__aside .lead { max-width: 34ch; }
.hero__aside .actions { margin-top: 32px; }
.stage { position: absolute; z-index: 1; --D: 84vw; width: var(--D); height: var(--D); left: calc(74vw - var(--D) / 2); top: 44%; }
.stage__disc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage__ring { transition: transform 1.2s var(--ease-in-out); }
.stage__dot { transition: r 500ms var(--ease-out), fill 400ms ease; }
.stage__card { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); width: min(520px, 86%); color: #fff; text-align: center; }
.stage__card .small { color: var(--on-dark-2); }
.stage__who { font-family: var(--serif); font-size: var(--s-h2); line-height: 1.02; letter-spacing: -.02em; margin-top: 10px; text-wrap: balance; overflow-wrap: anywhere; }
.stage__who em { font-style: normal; color: var(--mint); }
.stage__bar { display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.stage__bar i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.22); transition: background-color 240ms ease; }
.stage__bar i.on { background: var(--mint); }
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero__aside { max-width: none; min-width: 0; }
  .stage { position: relative; --D: 168vw; left: calc(50vw - var(--D) / 2 - var(--m)); top: 0; margin-top: 48px; margin-bottom: calc(var(--D) * -0.5); }
  .hero__stagewrap { height: 104vw; overflow: hidden; margin-inline: calc(var(--m) * -1); padding-left: var(--m); }
  .stage__card { top: 15%; width: calc(100vw - 2 * var(--m)); }
}

/* ---------- statement with inline circles ---------- */
.stmt { font-family: var(--serif); font-weight: 500; font-size: var(--s-h3); line-height: 1.3; letter-spacing: -.01em; max-width: 38ch; margin: 0 auto; text-align: center; text-wrap: pretty; }
.stmt img { display: inline-block; width: 1.15em; height: 1.15em; border-radius: 50%; object-fit: cover; vertical-align: -.2em; margin: 0 .14em; }
@media (max-width: 599px) { .stmt { text-align: left; } }

/* ---------- names by country: photo on a disc ---------- */
.names { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.names__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 2px; }
.names__list button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 6px 0; min-height: 44px; font-family: var(--serif); font-size: var(--s-h3); line-height: 1.2; color: var(--muted); transition: color .25s; }
.names__list button { transition: color .2s ease, translate 160ms var(--ease-out); }
.names__list button:active { translate: 2px 0; }
.names__list button[aria-pressed="true"] { color: var(--ink); }
.names__list button[aria-pressed="true"]::before { content: ''; width: .5em; height: .5em; border-radius: 50%; background: var(--terra); align-self: center; }
.names__list .small { font-family: var(--sans); color: var(--muted); }
.names__stage { position: relative; aspect-ratio: 1; width: min(100%, 64vh, 620px); margin-left: auto; border-radius: 50%; transition: background .5s; }
.names__photo { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; }
.names__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity 420ms ease, scale 700ms var(--ease-out), filter 420ms ease; }
.names__photo img[style*="opacity: 0"], .names__photo img[style*="opacity:0"] { scale: 1.04; filter: blur(2px); }
.names__terms { position: absolute; left: 50%; bottom: -8px; transform: translate(-50%, 50%); background: var(--ink); color: #fff; border-radius: 999px; padding: 14px 28px; font-family: var(--serif); font-size: var(--s-h3); white-space: nowrap; }
.names__credit { margin: 56px 0 0 auto; text-align: right; max-width: 60ch; }
@media (max-width: 899px) {
  .names { grid-template-columns: 1fr; }
  .names__stage { order: -1; width: 86vw; margin: 0 auto 40px; }
  .names__credit { text-align: center; margin-top: 44px; }
}

/* ---------- calculator: one control, blown up ---------- */
.calc { min-height: 92svh; display: flex; align-items: center; }
.calc__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; width: 100%; }
.calc__controls { display: grid; gap: 30px; margin-top: 40px; }
.calc__label { display: flex; justify-content: space-between; gap: 12px; font-size: var(--s-small); color: var(--on-dark-2); margin-bottom: 10px; }
.calc__label strong { color: #fff; font-size: var(--s-body); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: var(--green-3); }
.range::-moz-range-track { height: 10px; border-radius: 999px; background: var(--green-3); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; margin-top: -15px; border: 0; transition: transform .15s; }
.range::-moz-range-thumb { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 0; }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--terra); } /* taste-skill-ignore: focus ring */
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--terra); } /* taste-skill-ignore: focus ring */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 0; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--green-3); color: #fff; font: 500 var(--s-small)/1 var(--sans); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform 160ms var(--ease-out); }
.seg button:active { transform: scale(.96); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.calc__out { position: relative; }
.calc__center { position: absolute; left: 0; top: 0; width: 100%; max-width: 520px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.calc__center .calc__pot { font-size: var(--s-h2); }
.calc__facts { margin-top: 8px; }
.calc__facts strong { color: #fff; white-space: nowrap; }
.flowwrap { position: relative; }
.flowwrap__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; pointer-events: none; }
.calc__pot { font-family: var(--serif); line-height: .95; letter-spacing: -.03em; color: #fff; }
.calc__ring { width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 0 32px; }
.calc__ring circle { transition: cx 350ms var(--ease-in-out), cy 350ms var(--ease-in-out), r 300ms var(--ease-out), fill 200ms ease; }
@media (max-width: 899px) { .calc__grid { grid-template-columns: 1fr; } .calc__ring, .calc__center { max-width: 340px; } .calc__ring { margin: 0 auto 24px; } .calc__center { left: 50%; transform: translateX(-50%); } }

/* ---------- comparison ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.tile { border-radius: var(--r); padding: clamp(28px, 3.4vw, 52px); }
.tile--tone { background: var(--tone); }
.tile--tone2 { background: var(--tone-2); }
.tile--green { background: var(--green); color: #fff; }
.tile--ink { background: var(--ink); color: var(--on-dark); }
.tile--mint { background: var(--mint); }
.tile .h3 + .dots { margin-top: 28px; }
@media (max-width: 799px) { .compare { grid-template-columns: 1fr; } }

/* ---------- how it works: many into one ---------- */
.how__diagram { width: 100%; height: auto; margin-top: 64px; }
.how__cols { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.how__cols ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 18px; }
.how__cols h4 { margin: 0; font-size: var(--s-body); font-weight: 600; }
.how__cols p { margin: 4px 0 0; }
.how__v { display: none; }
@media (max-width: 799px) {
  .how__h { display: none; }
  .how__wrapv { display: grid; grid-template-columns: 34vw minmax(0, 1fr); gap: 20px; margin-top: 48px; }
  .how__v { display: block; width: 100%; height: auto; }
  .how__cols { grid-template-columns: 1fr; margin-top: 0; gap: 0; }
  .how__cols > li { min-height: 0; padding-bottom: 28px; }
}

/* ---------- privacy board ---------- */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.board .tile { padding: 24px; min-height: 168px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border-radius: 22px; }
.board__word { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.2; }
.board__head { grid-column: span 2; padding: clamp(28px, 3vw, 44px) !important; }
.board__note { grid-column: span 3; }
.struck { text-decoration: line-through; text-decoration-thickness: 2px; }
@media (max-width: 899px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board__head, .board__note { grid-column: 1 / -1; } .board .tile { min-height: 124px; } }

/* ---------- product fragments on a disc ---------- */
.ondisc { position: relative; }
.ondisc::before { content: ''; position: absolute; z-index: 0; width: 118%; aspect-ratio: 1; border-radius: 50%; background: var(--disc, var(--mint)); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ondisc > * { position: relative; z-index: 1; }
.ui { background: #fff; border-radius: 22px; padding: 24px; color: var(--ink); font-size: var(--s-small); }
.ui__row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.ui__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
.ui__pill { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.ui__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 10px; }
.ui__stats > div { border-radius: 16px; padding: 14px; }
.ui__stats b { display: block; font-size: 28px; font-weight: 600; line-height: 1; }
.ui__float { margin: -28px 0 0 auto; width: min(340px, 92%); background: var(--ink); color: #fff; border-radius: 20px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.ui__btn { background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.profile { max-width: 500px; margin: 0 auto; }
.profile__meter { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--tone-2); margin-top: 18px; }
.profile__meter span { transition: width 1s var(--ease); }
.trustq { display: grid; gap: 40px; margin-top: 48px; }
.trustq > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; }
.trustq > div::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--c, var(--green)); margin-top: 8px; }
.trustq p { margin: 8px 0 0; }

/* participant fragments */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 64px; align-items: start; }
@media (max-width: 899px) { .cards3 { grid-template-columns: 1fr; } }

/* ---------- payments: many into one ---------- */
.flow { width: 100%; height: auto; }
.words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.words span { background: var(--mint); color: var(--green); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: var(--s-small); }

/* Plays twice when the section enters (under 5s total, WCAG 2.2.2), then rests. */
.paycoin { animation: paycoin 2s cubic-bezier(.4,0,.2,1) 2 both; animation-play-state: paused; }
.flowwrap[data-in] .paycoin, .flowwrap:not(.rv) .paycoin { animation-play-state: running; }
@keyframes paycoin { 0% { transform: translate(0,0); opacity: 0; } 12%, 70% { opacity: 1; } 88%, 100% { transform: translate(var(--tx), var(--ty)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .paycoin { animation: none; } }

/* ---------- security list ---------- */
.seclist { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px clamp(32px, 6vw, 112px); }
.seclist li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; }
.seclist li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--green); margin-top: 12px; }
.seclist p { margin: 8px 0 0; }
@media (max-width: 799px) { .seclist { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- community: photographs inside the circle ---------- */
.circles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); margin-top: 64px; }
.circles figure { margin: 0; }
.circles img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.circles figcaption { text-wrap: balance; }
.circles figcaption { margin-top: 18px; text-align: center; }
.cases { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 40px; }
.cases li { font-family: var(--serif); font-size: var(--s-h3); line-height: 1.2; letter-spacing: -.01em; }
.cases strong { font-weight: 500; }
@media (max-width: 799px) { .circles { grid-template-columns: 1fr 1fr; } .circles figure:first-child { grid-column: 1 / -1; width: 72%; margin: 0 auto; } .cases { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- FAQ: filled tiles ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 8px; }
.faq details { background: var(--tone); border-radius: 22px; transition: background-color 240ms ease, color 240ms ease; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details[open] { background: var(--green); color: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; padding: 18px 26px; font-size: var(--s-body); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--ground); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); border-radius: 2px; transition: transform 240ms var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 26px 26px; max-width: 60ch; line-height: 1.6; color: var(--ink); }
.faq details[open] p { color: var(--on-dark); }
.faq summary i { transition: transform 160ms var(--ease-out); }
.faq summary:active i { transform: scale(.9); }
@media (max-width: 899px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ---------- closing ---------- */
.cta { position: relative; overflow: hidden; overflow: clip; min-height: 70svh; display: flex; align-items: center; }
.cta::after { content: ''; position: absolute; width: max(70vw, 640px); aspect-ratio: 1; border-radius: 50%; background: var(--green-3); right: calc(max(70vw, 640px) * -0.42); bottom: calc(max(70vw, 640px) * -0.5); }
.cta .wrap { position: relative; z-index: 1; width: 100%; }
.cta .h2 { max-width: 19ch; }
.cta .lead { margin-top: 24px; color: var(--on-dark); }
.cta .actions { margin-top: 40px; }

/* ---------- footer: the name, built large ---------- */
.ftr { background: var(--ink); color: var(--on-dark); padding: clamp(64px, 7vw, 104px) 0 36px; font-size: 15px; }
.ftr__logo { display: inline-block; }
.ftr__logo img { height: 56px; width: auto; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 32px; margin-top: 48px; }
.ftr h2 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #fff; font-family: var(--sans); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr__fine { margin-top: 48px; font-size: 15px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; color: var(--on-dark-2); }
.ftr__fine p { margin: 0; max-width: 64ch; line-height: 1.6; }
.ftr .lang button { color: var(--on-dark-2); }
.ftr .lang button[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); }
@media (max-width: 899px) { .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__cols > :last-child { grid-column: 1 / -1; } .ftr__fine { grid-template-columns: 1fr; } }

/* ---------- credits ---------- */
.credits { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 64px 48px; }
.credits li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.credits img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.credits__place { margin: 0; font: 600 var(--s-body)/1.3 var(--sans); }
.credits p { margin: 8px 0 0; font-size: var(--s-small); overflow-wrap: anywhere; }

/* ---------- SMS opt-in demonstration form ---------- */
.optin { display: grid; gap: 20px; padding: clamp(24px, 3vw, 36px); }
.optin__field { display: grid; gap: 8px; }
.optin__field label { font-weight: 600; }
.optin input[type="text"], .optin input[type="tel"] { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--tone-2); background: var(--ground); font: inherit; color: var(--ink); }
.optin input:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }
.optin__check { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; }
.optin__check input { width: 28px; height: 28px; margin: 2px 0 0; accent-color: var(--green); }
.optin__check label { line-height: 1.5; }
.optin__note { margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--mint); color: var(--ink); line-height: 1.5; }

/* ---------- legal documents ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.doc__toc { position: sticky; top: 110px; max-height: calc(100vh - 140px); overflow: auto; }
.doc__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.doc__toc a { display: block; padding: 8px 14px; border-radius: 999px; font-size: var(--s-small); text-decoration: none; color: var(--muted); transition: background-color .2s ease, color .2s ease; }
.doc__toc a:focus-visible { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .doc__toc a:hover { background: var(--tone); color: var(--ink); } }
.doc__body { max-width: 68ch; }
.doc__sec { scroll-margin-top: 100px; }
.doc__sec + .doc__sec { margin-top: 56px; }
.doc__sec p { margin: 16px 0 0; line-height: 1.65; }
@media (max-width: 899px) { .doc { grid-template-columns: 1fr; } .doc__toc { position: static; max-height: none; } .doc__toc ol { grid-template-columns: 1fr 1fr; } }

/* ---------- cookie consent (a real overlay: may float with a shadow) ---------- */
.consent { position: fixed; z-index: 100; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); background: var(--ink); color: var(--on-dark); border-radius: 22px; padding: 20px 22px; font: 15px/1.5 var(--sans); box-shadow: 0 18px 48px -18px rgba(0,0,0,.45); transition: opacity 240ms var(--ease-out), translate 240ms var(--ease-out); } /* taste-skill-ignore: floating dialog */
@starting-style { .consent { opacity: 0; translate: 0 12px; } }
.consent p { margin: 0; }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.consent button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--green-2); color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; transition: transform 160ms var(--ease-out), background-color .2s ease; }
.consent button.consent__ok { background: #fff; color: var(--ink); }
.consent button:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .consent { transition-property: opacity; } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; isolation: isolate; padding-block: clamp(64px, 10vw, 152px) clamp(48px, 6vw, 96px); position: relative; overflow: hidden; overflow: clip; }
.page-hero > .wrap > *:not(.pring), .page-hero > *:not(.pring):not(.wrap) { max-width: min(56%, 760px); }
.pring { position: absolute; right: var(--m); top: 50%; transform: translateY(-50%); width: clamp(280px, 30vw, 460px); aspect-ratio: 1; }
.pring::before { content: ''; position: absolute; inset: 16%; border-radius: 50%; background: var(--mint); }
.pring img { position: absolute; width: 40%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.pring img:nth-child(1) { left: 30%; top: 0; }
.pring img:nth-child(2) { right: 0; top: 30%; }
.pring img:nth-child(3) { left: 30%; bottom: 0; }
.pring img:nth-child(4) { left: 0; top: 30%; }
.pring--static { position: relative; right: auto; top: auto; transform: none; margin-top: 48px; width: min(100%, 380px); }
@media (max-width: 899px) {
  .page-hero > .wrap > *:not(.pring), .page-hero > *:not(.pring):not(.wrap) { max-width: none; }
  .pring:not(.pring--static) { position: relative; right: auto; top: auto; transform: none; margin-top: 48px; width: min(100%, 360px); }
}
.page-hero .lead { margin-top: 24px; }

.steps { list-style: none; margin: 0 auto; display: grid; gap: clamp(56px, 7vw, 104px); }
.steps__item { display: grid; grid-template-columns: 120px minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 72px); align-items: start; }
.steps__ring { width: 120px; height: 120px; }
.steps__item .dots { padding-top: 10px; }
@media (max-width: 799px) { .steps__item { grid-template-columns: 1fr; } .steps__ring { width: 88px; height: 88px; } }

/* ---------- motion: entrances (content is visible without script) ---------- */
/* Animations (not transitions) so the stagger delay never leaks into hover/press transitions. */
html.rv-on .rv:not([data-in]) { opacity: 0; }
html.rv-on .rv[data-in] { animation: rise 640ms var(--ease-out) var(--d, 0ms) both; }
@keyframes rise { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.shutter { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-out); }
html.rv-on .shutter:not([data-in]) { clip-path: inset(0 0 0 100%); }
html.rv-on .shutter:not([data-in]) img { scale: 1.12; }
.drift { animation: drift 4.5s cubic-bezier(.23,1,.32,1) 1 both; }
.rv:not([data-in]) .drift { animation-play-state: paused; }
@keyframes drift { from { transform: scale(1.1) translate(-2%, -1.5%); } to { transform: scale(1.02) translate(0, 0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.rv-on .rv[data-in] { animation: fade 300ms ease both; }
  html.rv-on .shutter:not([data-in]) { clip-path: inset(0 0 0 0); }
  html.rv-on .shutter:not([data-in]) img { scale: 1; }
  .drift, .paycoin { animation: none; }
  .stage__ring, .calc__ring circle, .names__photo img, .hdr__panel { transition-property: opacity, fill, background-color, color; }
  .btn:active, .seg button:active, .lang button:active { transform: none; }
}
