/* Pure Labs. Lab chart paper, one trace ink (teal), amber vial glass for "live".
   Shapes come from the logo: a 6px-radius element tile. Labels are tiny element tiles + mono. */
:root {
  --paper: #F3F4EF; --paper-2: #E9ECE5; --card: #FCFCF9;
  --ink: #0D1A1C; --ink-2: #1B2B2D;
  --text: #0D1A1C; --muted: #4C5B5D; --dim: #7A8887;
  --line: rgba(13, 26, 28, .11); --line-2: rgba(13, 26, 28, .22);
  --accent: #0A7C72; --accent-2: #07625A; --accent-soft: rgba(10, 124, 114, .1);
  --amber: #C8741A; --amber-2: #E59A3A; --amber-soft: rgba(200, 116, 26, .12);
  --bad: #B4442F;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "Azeret Mono", ui-monospace, monospace;
  --r: 6px; --r-lg: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(84px, 11vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  font: 400 16px/1.6 var(--sans); color: var(--text); background-color: var(--paper);
  /* chart paper: fine grid, heavier every fifth line */
  background-image:
    linear-gradient(rgba(13, 26, 28, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 26, 28, .045) 1px, transparent 1px),
    linear-gradient(rgba(13, 26, 28, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 26, 28, .022) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: italic; }
main { overflow-x: clip; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Type ---- */
.h2 { font: 400 clamp(2.05rem, 4.2vw, 3.35rem)/1.04 var(--serif); letter-spacing: -.018em; }
.h2 em, .problem__turn em { color: var(--accent); }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: var(--muted); max-width: 56ch; margin-top: 18px; }
.label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.label__el { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 3px; background: var(--ink); color: var(--paper); font: 500 12px/1 var(--serif); letter-spacing: 0; text-transform: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px;
  border-radius: var(--r); font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn i { font-size: 17px; transition: transform .3s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }
.btn--line { border: 1px solid var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ---- Nav ---- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, backdrop-filter .3s; }
.nav.is-solid { background: rgba(243, 244, 239, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo__tile { width: 36px; height: 36px; flex: none; }
.logo__word { font: 600 19px/1 var(--sans); letter-spacing: -.01em; }
.logo__word b { font: italic 500 21px/1 var(--serif); margin-left: 3px; color: var(--accent); }
.t-n { font: 500 5.6px var(--mono); fill: rgba(243, 244, 239, .62); }
.t-s { font: 500 23px var(--serif); fill: var(--paper); }
.t-n--inv { fill: rgba(13, 26, 28, .55); }
.t-s--inv { fill: var(--ink); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__tg { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--line-2); font-size: 19px; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s; }
.nav__tg:hover { border-color: #2AABEE; color: #2AABEE; }

/* ---- Hero ---- */
.hero { padding: clamp(104px, 15vh, 150px) 0 clamp(56px, 9vh, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__h { font-family: var(--serif); }
.hero__q { display: block; margin-bottom: clamp(8px, 1.4vh, 16px); font: 500 clamp(1.15rem, min(1.9vw, 3.1vh), 1.6rem)/1.2 var(--sans); letter-spacing: -.01em; color: var(--muted); }
.hero__a { display: block; font-size: clamp(2.7rem, min(5.9vw, 9.6vh), 5.4rem); line-height: .98; letter-spacing: -.028em; }
.hero__a em { color: var(--accent); }
.hero__sub { margin-top: clamp(16px, 2.6vh, 26px); max-width: 33rem; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.6vh, 34px); }
.hero__notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(18px, 3vh, 28px); font-size: 14px; color: var(--muted); }
.hero__notes li { display: inline-flex; align-items: center; gap: 7px; }
.hero__notes i { color: var(--accent); }

.js .load { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .is-in .load { opacity: 1; transform: none; }
.js .is-in .load:nth-child(2) { transition-delay: .08s; }
.js .is-in .load:nth-child(3) { transition-delay: .16s; }
.js .is-in .load:nth-child(4) { transition-delay: .24s; }
.js .is-in .load:nth-child(5) { transition-delay: .32s; }
.js .is-in .coa.load { transition-delay: .2s; }

/* Go-live report (COA) */
.coa { position: relative; padding: clamp(16px, 2.4vh, 22px) 22px 18px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 40px 70px -40px rgba(13, 26, 28, .35), 0 2px 6px rgba(13, 26, 28, .05); }
.coa__head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.coa__k { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 7px; }
.coa__t { font: 400 clamp(1.15rem, 2.6vh, 1.45rem)/1 var(--serif); }
.coa__lot { text-align: right; }
.coa__v { font: 500 14px/1 var(--mono); }
.coa__meta { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.coa__meta div { padding: 10px 0 10px; }
.coa__meta div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.coa__meta dt { font: 500 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 6px; }
.coa__meta dd { font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.coa__chart { position: relative; height: clamp(120px, 23vh, 200px); margin: clamp(14px, 2.4vh, 22px) 0 6px; padding-bottom: 20px; }
.coa__svg { position: absolute; inset: 0 0 20px 0; width: 100%; height: calc(100% - 20px); overflow: visible; }
.coa__grid line { stroke: var(--line); stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.coa__trace { fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.coa__area { fill: url(#coaFill); }
.coa__peak { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -130%); font: 500 10px/1 var(--mono); white-space: nowrap; color: var(--muted); padding: 4px 6px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; transition: opacity .35s, color .35s, border-color .35s; }
.coa__peak--live { color: #fff; background: var(--amber); border-color: var(--amber); }
.coa.is-run .coa__peak:not(.is-on) { opacity: 0; }
.coa__axis { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; font: 400 9.5px/1 var(--mono); color: var(--dim); border-top: 1px solid var(--line-2); padding-top: 7px; }
.coa__table { width: 100%; border-collapse: collapse; font: 400 12.5px/1.2 var(--mono); }
.coa__table th { text-align: left; font: 500 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); padding: 10px 0 8px; border-bottom: 1px solid var(--line-2); }
.coa__table th:last-child, .coa__table td:last-child { text-align: right; }
.coa__table td { padding: clamp(6px, 1.1vh, 9px) 0; border-bottom: 1px solid var(--line); }
.res { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 500; transition: opacity .3s; }
.res::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.coa.is-run tr:not(.is-on) .res { opacity: .18; }
.coa__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.coa__note { font: 400 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.stamp { display: inline-block; padding: 7px 10px; border: 1.5px solid var(--amber); border-radius: 4px; color: var(--amber); font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; transform: rotate(-3deg); }
.coa .stamp { transition: opacity .3s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.coa.is-run:not(.is-done) .stamp { opacity: 0; transform: rotate(-3deg) scale(1.5); }

/* ---- Sections ---- */
.sec { padding: var(--section) 0; }
.sec__head { margin-bottom: clamp(40px, 6vw, 64px); }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Problem */
.problem { padding-top: clamp(40px, 6vw, 72px); }
.fails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--ink); }
.fails li { padding: 26px 28px 30px 0; }
.fails li + li { padding-left: 28px; border-left: 1px solid var(--line-2); }
.fails__code { display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--bad); }
.fails__code::after { content: "Declined"; padding: 4px 6px; border: 1px solid rgba(180, 68, 47, .4); border-radius: 3px; }
.fails h3 { margin: 18px 0 10px; font: 400 1.5rem/1.15 var(--serif); }
.fails p { color: var(--muted); }
.problem__turn { margin-top: clamp(48px, 7vw, 80px); max-width: 22em; font: 400 clamp(1.6rem, 3.2vw, 2.5rem)/1.15 var(--serif); letter-spacing: -.01em; }

/* Payments */
.pay { background: linear-gradient(var(--paper-2), var(--paper-2)) padding-box; border-block: 1px solid var(--line); }
.pay__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.pay__methods { display: grid; gap: 10px; }
.method { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; text-align: left; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.method i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font-size: 21px; color: var(--muted); transition: color .25s, background-color .25s; }
.method b { display: block; font-weight: 600; font-size: 16px; }
.method small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.method:hover { border-color: var(--ink); }
.method.is-on { background: var(--card); border-color: var(--ink); box-shadow: 0 18px 40px -26px rgba(13, 26, 28, .4); }
.method.is-on i { background: var(--accent); border-color: var(--accent); color: #fff; }
.pay__stage { display: grid; justify-items: center; gap: 18px; padding: 26px 20px 22px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--paper); }
.pay__stores { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); }
.chip { height: 34px; padding: 0 14px; border-radius: 4px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s; }
.chip.is-on { background: var(--ink); color: var(--paper); }
.chip:not(.is-on):hover { color: var(--ink); }
.pay__note { font-size: 12.5px; color: var(--dim); text-align: center; max-width: 44ch; }

.phone { width: min(310px, 100%); padding: 10px; border-radius: 38px; background: var(--ink); box-shadow: 0 50px 80px -40px rgba(13, 26, 28, .55); }
.phone > * { background: #fff; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 10px; border-radius: 29px 29px 0 0; font: 600 12px/1 var(--sans); }
.phone__url { font: 400 10px/1 var(--mono); color: var(--dim); background: #F2F3F0; padding: 5px 8px; border-radius: 20px; }
.phone__item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #ECEDEA; }
.phone__thumb { width: 54px; height: 54px; border-radius: 8px; background: #EEE center/cover no-repeat; }
.phone__name { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.phone__sub { font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.phone__price { font: 500 13.5px/1 var(--mono); }
.phone__panels { position: relative; height: 300px; border-radius: 0 0 29px 29px; overflow: hidden; }
.panel { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
.panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.panel__k { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
.field { display: flex; flex-direction: column; gap: 4px; padding: 9px 12px; border: 1px solid #E2E4E0; border-radius: 8px; font-size: 13px; }
.field span:first-child { font-size: 10.5px; color: var(--dim); }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.panel__brands { display: flex; align-items: center; gap: 10px; }
.brand-v { font: italic 800 15px/1 var(--sans); color: #1A1F71; letter-spacing: -.02em; }
.brand-m { display: inline-flex; }
.brand-m i { width: 18px; height: 18px; border-radius: 50%; background: #EB001B; }
.brand-m i + i { margin-left: -7px; background: #F79E1B; mix-blend-mode: multiply; }
.panel__btn, .wbtn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; margin-top: auto; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; }
.wbtn { margin-top: 0; font-size: 16px; }
.wbtn i { font-size: 18px; }
.wbtn--google { background: #fff; color: var(--ink); border: 1px solid #DADCE0; }
.panel__fine { font-size: 11.5px; color: var(--dim); text-align: center; }
.qr { width: 132px; height: 132px; margin: 4px auto 0; padding: 8px; border: 1px solid #E2E4E0; border-radius: 8px; }
.qr svg { width: 100%; height: 100%; }
.panel__amt { text-align: center; font-size: 13px; color: var(--muted); }
.panel__amt b { font: 500 15px var(--mono); color: var(--ink); }
.payout li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #ECEDEA; font-size: 13px; }
.payout b { font-weight: 500; font-size: 13px; }
.payout__to { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-2); font-size: 13px; font-weight: 600; }

/* Scope: element tiles */
.scope__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vcard { position: relative; display: flex; flex-direction: column; padding: 0 0 22px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.vcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vcard:hover .vcard__img img { transform: scale(1.04); }
.el { position: relative; display: grid; width: 64px; height: 64px; margin: -32px 0 0 20px; padding: 6px 7px; border-radius: var(--r); background: var(--ink); color: var(--paper); box-shadow: 0 0 0 4px var(--card); }
.el__n { font: 500 8.5px/1 var(--mono); opacity: .65; }
.el__s { align-self: center; justify-self: center; font: 400 25px/1 var(--serif); margin-top: -4px; }
.el__w { justify-self: center; font: 500 7px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.vcard h3 { margin: 18px 20px 8px; font: 400 1.45rem/1.15 var(--serif); }
.vcard p { margin: 0 20px; font-size: 15px; color: var(--muted); }
.vcard__go { display: inline-flex; align-items: center; gap: 8px; margin: auto 20px 0; padding-top: 18px; font-size: 14.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.vcard__go i { transition: transform .3s var(--ease); }
.vcard__go:hover i { transform: translateX(3px); }
.vcard--no { padding-top: 22px; background: transparent; border-style: dashed; }
.el--no { margin: 0 0 0 20px; background: transparent; color: var(--amber); border: 1.5px solid var(--amber); box-shadow: none; }
.vcard--no h3 { margin-top: 22px; }

/* Process: dark band, Day 0 to Day 5 */
.process { background: var(--ink); color: var(--paper); background-image: linear-gradient(rgba(243, 244, 239, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 244, 239, .04) 1px, transparent 1px); background-size: 24px 24px; }
.process .label { color: rgba(243, 244, 239, .7); }
.process .label__el { background: var(--amber); color: var(--ink); }
.days__rail { position: relative; height: 2px; margin: 34px 0 44px; background: rgba(243, 244, 239, .16); }
.days__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), #2FB3A6 70%, var(--amber-2)); transform-origin: left; }
.days__tick { position: absolute; left: calc(var(--i) * 20%); top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 4px; background: var(--ink); border: 1px solid rgba(243, 244, 239, .25); font: 500 10px/1 var(--mono); color: rgba(243, 244, 239, .7); }
.days__tick:nth-of-type(2) { transform: translate(0, -50%); }
.days__tick:last-of-type { transform: translate(-100%, -50%); background: var(--amber); border-color: var(--amber); color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { padding-top: 22px; border-top: 1px solid rgba(243, 244, 239, .16); transition: border-color .4s; }
.step__when { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: rgba(243, 244, 239, .5); transition: color .4s; }
.step h3 { margin: 14px 0 10px; font: 400 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--serif); }
.step p { color: rgba(243, 244, 239, .66); max-width: 34ch; }
.js .step { opacity: .38; transition: opacity .5s, border-color .5s; }
.js .step.is-on { opacity: 1; border-top-color: var(--accent); }
.step.is-on .step__when { color: #4CC9BB; }
.step:last-child.is-on { border-top-color: var(--amber-2); }
.step:last-child.is-on .step__when { color: var(--amber-2); }
.days__note { margin-top: 44px; font-size: 13px; color: rgba(243, 244, 239, .5); }

/* Starting point */
.start__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.start .sec__head { margin-bottom: 0; }
.start__box { padding: 10px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.start__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 4px; border-radius: var(--r); background: var(--paper-2); }
.sopt { min-height: 44px; padding: 8px 10px; border-radius: 4px; font-size: 13.5px; font-weight: 500; line-height: 1.2; color: var(--muted); transition: background-color .2s, color .2s; }
.sopt:hover { color: var(--ink); }
.sopt.is-on { background: var(--ink); color: var(--paper); }
.start__ans { padding: 28px 22px 22px; }
.start__k { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.start__t { margin: 14px 0 24px; font: 400 clamp(1.25rem, 2vw, 1.55rem)/1.3 var(--serif); min-height: 4.2em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq__list details { border-bottom: 1px solid var(--line-2); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 400 clamp(1.15rem, 1.6vw, 1.35rem)/1.3 var(--serif); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 4px; font: 400 16px/1 var(--mono); transition: background-color .3s, color .3s; }
.faq__list details[open] summary::after { content: "\2212"; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq__list details p { padding: 0 48px 24px 0; color: var(--muted); }
.faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* Contact + form */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ticks { display: grid; gap: 10px; margin-top: 28px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks i { color: var(--accent); }
.form { position: relative; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); box-shadow: 0 40px 70px -50px rgba(13, 26, 28, .4); }
.form__head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 12px; margin-bottom: 22px; border-bottom: 1.5px solid var(--ink); }
.form__head .coa__k { margin: 0; }
.form__lot { font: 500 13px/1 var(--mono); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.input { display: grid; gap: 7px; }
.input > span { font-size: 13.5px; font-weight: 600; }
.input em { font-style: normal; font-weight: 400; color: var(--dim); }
.input input, .input select, .input textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); font: 400 15px/1.3 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.input textarea { resize: vertical; min-height: 92px; }
.input select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230D1A1C' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input input::placeholder, .input textarea::placeholder { color: #9AA5A4; }
.input input:focus, .input select:focus, .input textarea:focus { outline: none; border-color: var(--accent); background-color: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
.input--wide { grid-column: 1 / -1; }
.input__err { min-height: 0; font-size: 12.5px; color: var(--bad); }
.input__err:empty { display: none; }
.input.is-bad input, .input.is-bad select, .input.is-bad textarea { border-color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.form__fine { font-size: 13px; color: var(--dim); }
.form__fine a { color: var(--muted); }
.form__status:empty { display: none; }
.form__status { margin-top: 14px; font-size: 14px; }
.form__status.is-bad { color: var(--bad); }
.form__done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 32px; text-align: center; border-radius: inherit; background: var(--card); }
.form__done[hidden] { display: none; }
.form__done h3 { font: 400 1.8rem/1.15 var(--serif); }
.form__done p { color: var(--muted); }

/* Telegram */
.tgcard { display: flex; align-items: center; gap: 14px; max-width: 420px; margin-top: 32px; padding: 16px 18px; border-radius: var(--r-lg); text-decoration: none; border: 1px solid rgba(42, 171, 238, .4); background: rgba(42, 171, 238, .07); transition: border-color .3s, transform .3s var(--ease); }
.tgcard:hover { border-color: #2AABEE; transform: translateY(-2px); }
.tgcard__icon, .tg-float i { display: grid; place-items: center; flex: none; border-radius: 50%; background: #2AABEE; color: #fff; }
.tgcard__icon { width: 44px; height: 44px; font-size: 22px; }
.tgcard__text b { display: block; font-weight: 600; }
.tgcard__text small { color: var(--muted); font-size: 14px; }
.tgcard__arrow { margin-left: auto; font-size: 20px; color: #1E8FCB; }
.tg-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; padding: 5px; border-radius: 30px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 16px 34px -14px rgba(13, 26, 28, .35); text-decoration: none; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease), border-color .3s; }
.tg-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.tg-float:hover { border-color: #2AABEE; }
.tg-float i { width: 40px; height: 40px; font-size: 21px; }
.tg-float span { display: block; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .55s var(--ease), opacity .3s, margin .55s var(--ease); }
.tg-float.is-open span, .tg-float:hover span, .tg-float:focus-visible span { max-width: 190px; opacity: 1; margin: 0 14px 0 10px; }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 110px) 0 28px; }
.footer .logo { color: var(--paper); }
.footer .logo__word b { color: #4CC9BB; }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: clamp(48px, 7vw, 80px); border-bottom: 1px solid rgba(243, 244, 239, .14); }
.footer__cta .h2 { max-width: 14em; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 40px; }
.footer__brand p { margin-top: 16px; max-width: 26ch; color: rgba(243, 244, 239, .6); font-size: 15px; }
.footer__h { font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: rgba(243, 244, 239, .45); margin-bottom: 16px; }
.footer__cols > div:not(.footer__brand) { display: grid; align-content: start; gap: 10px; }
.footer__cols a:not(.logo) { color: rgba(243, 244, 239, .78); text-decoration: none; font-size: 15px; transition: color .2s; }
.footer__cols a:not(.logo):hover { color: var(--paper); }
.footer__note { max-width: 80ch; font-size: 13px; color: rgba(243, 244, 239, .5); }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 22px; font-size: 13.5px; color: rgba(243, 244, 239, .55); }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(243, 244, 239, .14); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { color: rgba(243, 244, 239, .7); text-decoration: none; }
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: var(--paper); }

/* Legal pages (generated by gen_legal.py) */
.legal { padding: 136px 0 104px; }
.legal__head { max-width: 760px; margin-bottom: 56px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s; }
.legal__back:hover { color: var(--accent); }
.legal h1 { font: 400 clamp(2.4rem, 5vw, 3.6rem)/1.05 var(--serif); margin-bottom: 14px; }
.legal__meta { font: 400 12.5px/1 var(--mono); color: var(--dim); margin-bottom: 22px; }
.legal__intro { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.legal__body { display: grid; grid-template-columns: 220px 1fr; gap: 72px; align-items: start; }
.legal__toc { position: sticky; top: 104px; }
.legal__toc p { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: 14px; }
.legal__toc ol { display: grid; }
.legal__toc a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line-2); font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.legal__toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.legal__article { max-width: 72ch; }
.legal__article section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.legal__article section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal__article h2 { font: 400 1.6rem/1.2 var(--serif); margin-bottom: 14px; }
.legal__article p, .legal__article li { color: var(--muted); line-height: 1.75; }
.legal__article p + p, .legal__article ul + p { margin-top: 14px; }
.legal__article ul { list-style: disc; padding-left: 20px; margin: 14px 0 0; display: grid; gap: 6px; }
.legal__article li::marker { color: var(--accent); }
.legal__article a { color: var(--accent); text-underline-offset: 3px; }
.legal__article strong { color: var(--ink); font-weight: 600; }
mark.todo { background: var(--amber-soft); color: #9A5610; border: 1px dashed rgba(200, 116, 26, .55); border-radius: 4px; padding: 0 6px; font: 500 .86em var(--mono); }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .scope__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .pay__grid, .start__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .coa { max-width: 560px; }
  .fails { grid-template-columns: 1fr; }
  .fails li, .fails li + li { padding: 24px 0; border-left: 0; }
  .fails li + li { border-top: 1px solid var(--line-2); }
  .steps { grid-template-columns: 1fr; }
  .pay__methods { grid-template-columns: 1fr 1fr; }
  .method { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .method small { display: none; }
  .method b { font-size: 14.5px; line-height: 1.25; }
  .method i { width: 36px; height: 36px; font-size: 18px; }
  .legal__body { grid-template-columns: 1fr; gap: 32px; }
  .legal__toc { position: static; }
}
@media (max-width: 640px) {
  .nav__cta .btn { padding: 0 12px; font-size: 13.5px; }
  .nav__cta { gap: 8px; }
  .nav__in { gap: 12px; }
  .scope__grid { grid-template-columns: 1fr; }
  .start__opts { grid-template-columns: 1fr 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .coa { padding-inline: 16px; }
  .coa__meta dd { font-size: 12.5px; }
  .coa__peak { font-size: 9px; padding: 3px 4px; }
  .days__tick { width: 28px; height: 28px; font-size: 9px; }
}
@media (max-width: 359px) {
  .logo__word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .load, .js [data-reveal] { opacity: 1; transform: none; }
}
