/* Brandbook — shared by all design directions (rules/brandbook.md §4.4). Values: BRANDBOOK.md */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700&display=swap');

:root {
  --ink: #121417; --graphite: #23272E; --steel: #646B76; --line: #E2E5E9; --mist: #F2F3F5; --white: #FFFFFF;
  --signal: #FFC81E; --signal-hover: #F0B400; --ok: #1E9E5A;
  --on-dark-muted: rgba(255,255,255,.62); --on-dark-line: rgba(255,255,255,.14);
  --r-btn: 10px; --r-card: 16px; --r-tag: 6px;
  --container: 1280px; --gutter: 16px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.55 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.h1 { font-size: clamp(40px, 6.2vw, 88px); line-height: .98; font-weight: 600; letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 3.8vw, 54px); line-height: 1.04; font-weight: 600; letter-spacing: -.03em; }
.h3 { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: 19px; line-height: 1.5; color: var(--steel); }
.small { font-size: 14px; line-height: 1.4; font-weight: 500; }
.muted { color: var(--steel); }
.kicker { font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.num { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border: 0; border-radius: var(--r-btn); font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:focus-visible { outline: 3px solid rgba(18,20,23,.3); outline-offset: 2px; }
.btn--main { background: var(--signal); color: var(--ink); }
.btn--main:hover { background: var(--signal-hover); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--graphite); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--hero { height: 56px; padding: 0 28px; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* Fields */
.field { width: 100%; height: 56px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--white); outline: none; transition: border-color .2s; }
.field:focus { border-color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--steel); }
.check input { margin-top: 2px; accent-color: var(--ink); }
.check a { text-decoration: underline; }

/* Cards & tags */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .2s var(--ease), transform .25s var(--ease); }
a.card:hover, .card.is-link:hover { border-color: var(--ink); transform: translateY(-2px); }
.price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: var(--r-tag); background: var(--mist); font-size: 13px; font-weight: 600; white-space: nowrap; }
.tag--signal { background: var(--signal); }
.tag--ok { background: rgba(30,158,90,.12); color: var(--ok); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .04em; line-height: 1.05; text-transform: uppercase; }
.logo__mark { width: 28px; height: 28px; border-radius: 6px; background: var(--signal); position: relative; flex: none; }
.logo__mark::after { content: ""; position: absolute; left: 6px; right: 6px; top: 17px; height: 4px; border-radius: 2px; background: var(--ink); }
.logo__mark::before { content: ""; position: absolute; left: 6px; top: 7px; width: 4px; height: 14px; border-radius: 2px; background: var(--ink); }

/* Section rhythm */
.section { padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .muted, .section--dark .lead, .section--dark .kicker { color: var(--on-dark-muted); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.section__head .lead { max-width: 520px; }

/* Reveal (no-JS safe: only hidden when .js on html) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
