/* ReferKit — marketing site + auth pages (DESIGN §5).
   A well-kept job board: warm paper, navy headings, cobalt for links and the primary CTA,
   marigold for ONE highlight per section (never text). Bricolage Grotesque display + Inter body. */

:root {
  --paper: #f8f6f1;
  --paper-2: #efebe2;
  --white: #ffffff;
  --ink: #14213d;
  --text: #1f2937;
  --muted: #5b6472;
  --faint: #6b7280;
  --line: #e4dfd3;
  --line-2: #d8d1c2;
  --cobalt: #c2410c;
  --cobalt-strong: #9a3412;
  --cobalt-weak: #fff1e8;
  --cobalt-line: #fed7c3;
  --marigold: #f4b63f;
  --marigold-weak: #fdf1d8;
  --good: #16a46b; --good-text: #0e7a4e; --good-weak: rgba(22,164,107,.12);
  --warn: #d9942b; --warn-text: #8a6000; --warn-weak: rgba(217,148,43,.14);
  --crit: #d94949; --crit-weak: rgba(217,73,73,.10);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --r-card: 18px; --r-btn: 12px;
  --shadow-card: 0 1px 2px rgba(20,33,61,.05), 0 8px 24px -12px rgba(20,33,61,.16);
  --shadow-pop: 0 2px 6px rgba(20,33,61,.08), 0 24px 48px -18px rgba(20,33,61,.30);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.07; }
h2 { font-size: clamp(28px, 3.4vw, 36px); }
h3 { font-size: 22px; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cobalt-line); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.ic { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; flex-shrink: 0; }
.ic-big { width: 28px; height: 28px; }
.tnum { font-variant-numeric: tabular-nums; }
.is-hidden { display: none !important; }
.announce { background: var(--ink); color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-btn); border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font: 600 16px/1.2 var(--body); cursor: pointer; text-decoration: none !important; transition: background .14s, border-color .14s, transform .14s, box-shadow .14s; }
.btn:hover { border-color: var(--ink); }
.btn-primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; border-radius: 999px; padding-inline: 22px; box-shadow: 0 1px 2px rgba(124, 45, 18,.3), 0 10px 22px -10px rgba(194, 65, 12,.6); }
.btn-primary:hover { background: var(--cobalt-strong); border-color: var(--cobalt-strong); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-lg { min-height: 52px; font-size: 17px; padding-inline: 26px; }
.btn-sm { min-height: 38px; font-size: 15px; padding: 7px 16px; }
.btn-block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--paper-2); color: var(--ink); white-space: nowrap; }
.chip-accent { background: var(--cobalt-weak); color: var(--cobalt-strong); }
.chip-good { background: var(--good-weak); color: var(--good-text); }
.chip-warn { background: var(--warn-weak); color: var(--warn-text); }
.chip-muted { background: #eef0f3; color: #4b5563; }
.chip-slate { background: #e8ebf0; color: #475569; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; letter-spacing: .01em; }
.lead { font-size: 20px; line-height: 1.55; color: #374151; max-width: 60ch; }
/* keeps the phrase together on one line; the marigold streak under it was removed (owner, 2026-12-02) */
.mark { white-space: nowrap; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* nav */
.mnav { position: sticky; top: 0; z-index: 50; background: rgba(248,246,241,.92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid transparent; transition: border-color .14s; }
.mnav.is-scrolled { border-bottom-color: var(--line); }
.mnav-inner { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 var(--display); color: var(--ink) !important; letter-spacing: -0.02em; text-decoration: none !important; }
.wordmark-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--cobalt); color: #fff; display: grid; place-items: center; box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); }
.wordmark-mark svg { width: 18px; height: 18px; }
.wordmark-logo { display: block; height: 34px; width: auto; }
.wordmark-mark.is-img { background: #fff; box-shadow: none; }
.wordmark-mark.is-img img { width: 24px; height: 24px; display: block; }
.mnav-links { display: flex; gap: 6px; }
.mnav-links a { color: var(--ink); font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.mnav-links a:hover { background: var(--paper-2); text-decoration: none; }
.mnav-links a[aria-current="page"] { background: var(--paper-2); font-weight: 600; }
.mnav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.mnav-cta .login { color: var(--ink); font-weight: 600; padding: 8px 12px; }
.mnav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); cursor: pointer; place-items: center; }
.mnav-burger svg { width: 20px; height: 20px; }
.mnav-mobile { display: none; }

/* sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-ink { background: var(--ink); color: #dfe5f1; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 19px; color: var(--muted); }
.section-ink .section-head p { color: #b9c3d6; }

/* hero */
.hero { padding: 56px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; }
.hero-copy { animation: rise .5s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-visual { position: relative; min-height: 470px; }
.hero-visual .browser { position: absolute; top: 0; left: 0; width: 92%; }
.hero-visual .phone { position: absolute; right: 0; bottom: -10px; width: 236px; }

/* mock frames (live HTML, not screenshots) */
.browser { background: var(--white); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-pop); overflow: hidden; font-family: var(--body); color: #121824; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f3f1ec; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d1c2; display: block; }
.browser-bar span { margin-left: 10px; flex: 1; background: var(--white); border-radius: 6px; font-size: 10.5px; color: var(--faint); padding: 3px 10px; }
.mock-app { display: grid; grid-template-columns: 112px 1fr; min-height: 340px; font-size: 11px; }
.mock-side { background: #fbfcfe; border-right: 1px solid #eef1f6; padding: 12px 10px; display: flex; flex-direction: column; gap: 3px; }
.mock-side b { font-size: 11px; display: flex; align-items: center; gap: 6px; margin-bottom: 10px; color: #121824; }
.mock-side b i { width: 16px; height: 16px; border-radius: 5px; background: #2f6b4f; display: block; }
.mock-side span { padding: 5px 7px; border-radius: 6px; color: #57616e; }
.mock-side span.on { background: var(--cobalt-weak); color: var(--cobalt-strong); font-weight: 600; }
.mock-main { padding: 14px 16px; background: #f5f7fa; min-width: 0; }
.mock-h { font-weight: 700; font-size: 14px; margin-bottom: 10px; color: #121824; }
.mock-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 10px; }
.mock-tiles div { background: #fff; border: 1px solid #e6eaf0; border-radius: 8px; padding: 7px 8px; }
.mock-tiles small { display: block; color: #6b7686; font-size: 9px; }
.mock-tiles strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.mock-card { background: #fff; border: 1px solid #e6eaf0; border-radius: 8px; padding: 8px 10px; }
.mock-row { display: grid; grid-template-columns: 1.4fr 1fr .9fr .8fr; gap: 6px; align-items: center; padding: 6px 0; border-top: 1px solid #eef1f6; }
.mock-row:first-child { border-top: 0; }
.mock-row.head { color: #6b7686; font-size: 9.5px; }
.mock-row em { font-style: normal; color: #6b7686; }
.mock-chip { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 600; font-style: normal; white-space: nowrap; }
.mc-new { background: #e8eef7; color: #2c4a73; }
.mc-con { background: #eef0f3; color: #4b5563; }
.mc-won { background: var(--warn-weak); color: var(--warn-text); }
.mc-paid { background: var(--good-weak); color: var(--good-text); }
.phone { --ph-accent: #2f6b4f; --ph-accent-weak: #e7f0eb; --ph-ink: #121824; --ph-muted: #6b7686; --ph-line: #e9ecf1;
  background: #0f141c; border-radius: 40px; padding: 7px; position: relative;
  box-shadow: inset 0 0 0 1.5px #2b3240, 0 1px 2px rgba(20,33,61,.12), 0 30px 60px -24px rgba(20,33,61,.5); }
.phone-screen { background: #f6f7f9; border-radius: 33px; overflow: hidden; font-size: 11px; color: var(--ph-ink); display: flex; flex-direction: column; }
.phone-status { display: flex; align-items: center; justify-content: space-between; padding: 9px 18px 4px; font-size: 10px; font-weight: 700; background: #fff; }
.phone-island { width: 62px; height: 17px; border-radius: 999px; background: #0f141c; }
.phone-sig { display: inline-flex; align-items: flex-end; gap: 1.5px; }
.phone-sig i { display: block; width: 2.5px; background: var(--ph-ink); border-radius: 1px; }
.phone-sig i:nth-child(1) { height: 4px; } .phone-sig i:nth-child(2) { height: 6px; } .phone-sig i:nth-child(3) { height: 8px; }
.phone-sig b { display: block; width: 15px; height: 7.5px; margin-left: 4px; border: 1.3px solid var(--ph-ink); border-radius: 2.5px; box-shadow: inset 9px 0 0 -1px var(--ph-ink); }
.phone-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px; background: #fff; border-bottom: 1px solid var(--ph-line); box-shadow: inset 0 3px 0 -1px var(--ph-accent); }
.phone-logo { width: 26px; height: 26px; border-radius: 7px; background: var(--ph-accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; flex-shrink: 0; }
.phone-biz { display: grid; min-width: 0; line-height: 1.2; }
.phone-biz b { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-biz small { font-size: 9px; color: var(--ph-muted); }
.phone-avatar { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: var(--ph-accent-weak); color: var(--ph-accent); display: grid; place-items: center; font-size: 8.5px; font-weight: 800; flex-shrink: 0; }
.phone-body { padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.phone-body > * { min-width: 0; }
.phone-hello { font-size: 14px; font-weight: 750; letter-spacing: -0.01em; padding: 2px 2px 0; }
.phone-card { background: #fff; border: 1px solid var(--ph-line); border-radius: 12px; padding: 9px 10px; min-width: 0; }
.phone-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.phone-card small, .phone-stat small { color: var(--ph-muted); font-size: 9px; }
.phone-code { font-family: var(--mono); font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--ph-accent); }
.phone-link { margin-top: 7px; display: flex; align-items: stretch; min-width: 0; background: #f6f7f9; border: 1px solid var(--ph-line); border-radius: 8px; overflow: hidden; font-size: 9px; }
.phone-link span { flex: 1; min-width: 0; padding: 5px 7px; color: #394353; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-link b { flex-shrink: 0; background: var(--ph-accent); color: #fff; padding: 5px 9px; font-weight: 700; }
.phone-money { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.phone-stat { background: #fff; border: 1px solid var(--ph-line); border-radius: 12px; padding: 8px 10px; display: grid; gap: 1px; min-width: 0; }
.phone-stat strong { font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.phone-stat.owed { background: var(--ph-accent-weak); border-color: transparent; }
.phone-stat.owed strong { color: var(--ph-accent); }
.phone-list { padding-bottom: 4px; }
.phone-ref { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px solid #f0f2f5; }
.phone-list .phone-row + .phone-ref { border-top: 0; margin-top: 2px; }
.phone-ref > span:first-child { display: grid; min-width: 0; line-height: 1.25; }
.phone-ref b { font-size: 10.5px; font-weight: 650; }
.phone-ref small { font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-ref .mock-chip { flex-shrink: 0; font-size: 8.5px; padding: 2px 7px; }
.phone-tabs { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--ph-line); padding: 6px 6px 12px; }
.phone-tabs span { display: grid; justify-items: center; gap: 2px; font-size: 8px; font-weight: 600; color: #8a93a2; }
.phone-tabs .ic { width: 15px; height: 15px; }
.phone-tabs .is-on { color: var(--ph-accent); }

/* cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-card); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pain h3 { font-size: 20px; }
.pain p { color: var(--muted); margin: 0; }
.pain .quote { font: 700 22px/1.25 var(--display); color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps3 li { counter-increment: s; }
.steps3 li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--marigold); color: var(--ink); font: 800 20px/1 var(--display); margin-bottom: 14px; }
.steps3 p { color: var(--muted); }
.lifecycle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.lifecycle .arrow { color: var(--faint); }
.lifecycle .note { margin-left: auto; font-size: 14px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .phone { width: 260px; margin-inline: auto; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--cobalt-weak); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 5px; border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg); }
.section-ink .ticks li::before { background: rgba(255,255,255,.12); }
.section-ink .ticks li::after { border-color: var(--marigold); }
.money-figure { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-card); padding: 22px; font-size: 15px; }
.money-figure .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); }
.money-figure .row:first-child { border-top: 0; }
.money-figure .row strong { color: #fff; font-variant-numeric: tabular-nums; }
.money-figure .total { color: var(--marigold); font-weight: 700; }
.guide-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; color: var(--text) !important; text-decoration: none !important; transition: transform .14s, box-shadow .14s, border-color .14s; }
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--line-2); }
.guide-card h3 { font-size: 18px; margin: 0; }
.guide-card p { color: var(--muted); font-size: 15px; margin: 0; }
.guide-card .more { margin-top: auto; color: var(--cobalt); font-weight: 600; font-size: 15px; }
.price-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-card); position: relative; }
.price-big { font: 800 64px/1 var(--display); color: var(--ink); letter-spacing: -0.03em; }
.price-big small { font: 500 18px var(--body); color: var(--muted); letter-spacing: 0; }
.honesty { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-weight: 600; color: var(--ink); font-size: 15px; }
.honesty span::before { content: "✓ "; color: var(--good-text); }
.badge-marigold { position: absolute; top: -14px; left: 40px; background: var(--marigold); color: var(--ink); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #374151; padding-bottom: 18px; margin: 0; }
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: #b9c3d6; margin-bottom: 24px; }

/* features */
.feature { padding: 64px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature .kicker { font-weight: 700; color: var(--cobalt); font-size: 14px; margin-bottom: 8px; }
.feature p { color: #374151; font-size: 18px; }
.snippet { background: #121824; color: #e5e7eb; font: 13px/1.6 var(--mono); border-radius: 14px; padding: 18px 20px; overflow-x: auto; white-space: pre; box-shadow: var(--shadow-pop); }
.snippet .k { color: #fdc3a2; } .snippet .s { color: #f4cf86; } .snippet .c { color: #8b93a3; }
.mini-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-card); }
.plan-line { font: 700 20px/1.35 var(--display); color: var(--ink); background: var(--cobalt-weak); border-radius: 12px; padding: 14px 16px; margin-top: 12px; }
.mini-field { display: grid; gap: 6px; margin-bottom: 10px; font-size: 14px; }
.mini-field span { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.mini-input { border: 1.5px solid var(--line-2); border-radius: 10px; padding: 9px 12px; background: var(--white); font-weight: 600; }
.seg { display: inline-flex; background: var(--paper-2); border-radius: 10px; padding: 3px; gap: 2px; font-size: 14px; }
.seg span { padding: 6px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; }
.seg span.on { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.roles-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.roles-table th, .roles-table td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); }
.roles-table th { color: var(--muted); font-size: 13px; font-weight: 600; border-top: 0; }
.yes { color: var(--good-text); font-weight: 700; } .no { color: var(--faint); }

/* pricing */
.price-toggle { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; margin: 0 auto 28px; }
.price-toggle button { border: 0; background: transparent; font: 600 15px var(--body); color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.price-toggle button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.price-toggle .save { color: var(--good-text); font-size: 13px; margin-left: 4px; }
.plan-card { max-width: 520px; margin: 0 auto; text-align: left; position: relative; padding: 34px; border-radius: 24px; }
.plan-card .price-big { margin: 12px 0 4px; }
.plan-card .ticks { margin: 22px 0 26px; }
.plans-nojs { display: none; }
html:not(.js) .plans-nojs { display: grid; }
html:not(.js) .plans-js { display: none; }
.center { text-align: center; }

/* guides */
.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips-filter a { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
.chips-filter a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; text-decoration: none; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 680px) 280px; gap: 56px; justify-content: center; padding: 40px 0 80px; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.rail { position: sticky; top: 96px; align-self: start; }
.rail .card { padding: 22px; }
.rail h3 { font-size: 20px; }
.mobile-bar { display: none; }
.prose { font-size: 18px; line-height: 1.7; color: #273142; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; background: var(--paper-2); border-radius: 14px; border-left: 4px solid var(--marigold); color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.2em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--paper-2); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); padding: 1px 6px; border-radius: 6px; }
.prose pre { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; max-width: 100%; margin: 1.2em 0; line-height: 1.5; }
.prose pre code { background: none; padding: 0; border-radius: 0; font-size: 14px; white-space: pre; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.legal { padding: 48px 0 88px; }
.legal .prose { font-size: 17px; }

/* contact + about */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white); font: 16px/1.4 var(--body); color: var(--text); transition: border-color .14s, box-shadow .14s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--cobalt-weak); }
.field .hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.field .error, .error { display: block; color: var(--crit); font-size: 14px; font-weight: 500; margin-top: 6px; }
.field .error:empty { display: none; }
.form-error { background: var(--crit-weak); color: #8f1f1f; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: 15px; }
.form-error:empty, .form-error.validation-summary-valid { display: none; }
.form-error ul { margin: 0; padding-left: 18px; }
.form-ok { background: var(--good-weak); color: var(--good-text); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; }
.check-row { display: flex; gap: 10px; align-items: center; margin: 4px 0 18px; font-size: 15px; color: #374151; }
.check-row input { width: 20px; height: 20px; accent-color: var(--cobalt); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* auth */
.auth { display: grid; grid-template-columns: 45% 1fr; min-height: 100vh; }
.auth-panel { background: var(--ink); color: #c9d2e3; padding: 40px 48px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.auth-panel .wordmark { color: #fff !important; }
.auth-panel h2 { color: #fff; font-size: clamp(28px, 2.8vw, 36px); margin-top: auto; max-width: 16ch; }
.auth-panel p { max-width: 44ch; font-size: 17px; }
.auth-panel .mini { margin-top: 8px; margin-bottom: auto; display: flex; justify-content: flex-start; }
.auth-panel .mini .phone { width: 220px; transform: rotate(-2deg); }
.auth-form-wrap { display: grid; place-items: center; padding: 48px 24px; }
.auth-form { width: min(420px, 100%); }
.auth-form h1 { font-size: 34px; margin-bottom: 8px; }
.auth-form .sub { color: var(--muted); margin-bottom: 26px; }
.auth-form .btn-primary { width: 100%; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.auth-fine { font-size: 14px; color: var(--muted); margin-top: 16px; }
.auth-status { text-align: center; }
.auth-status .ic-big { color: var(--cobalt); margin-bottom: 10px; }
.auth-status.bad .ic-big { color: var(--crit); }

/* errors */
.err { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.err .code { font: 800 96px/1 var(--display); color: var(--ink); letter-spacing: -0.04em; position: relative; display: inline-block; margin-bottom: 12px; }
.err .code::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 14px; background: var(--marigold); z-index: -1; border-radius: 6px; }
.err p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

/* footer */
.mfoot { background: var(--paper-2); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; }
.mfoot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.mfoot h3 { font: 700 14px/1 var(--body); color: var(--ink); letter-spacing: .02em; margin: 6px 0 14px; }
.mfoot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.mfoot a { color: #374151; }
.mfoot .tag { color: var(--muted); margin-top: 14px; max-width: 30ch; }
.mfoot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 14px; }

/* responsive */
@media (max-width: 1040px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { min-height: 430px; max-width: 640px; }
  .guide-cards { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .mobile-bar { display: flex; position: sticky; bottom: 0; z-index: 40; background: var(--white); border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -8px 24px -16px rgba(20,33,61,.4); }
  .mobile-bar span { font-weight: 600; color: var(--ink); font-size: 15px; }
  .mfoot-grid { grid-template-columns: 1fr 1fr; }
  .price-teaser { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .mnav-links, .mnav-cta { display: none; }
  .mnav-burger { display: grid; }
  .mnav-mobile.is-open { display: grid; gap: 2px; padding: 8px 20px 18px; border-top: 1px solid var(--line); background: var(--paper); }
  .mnav-mobile a { padding: 12px 4px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
  .mnav-mobile a:last-child { border-bottom: 0; }
  .section { padding: 60px 0; }
  .hero { padding: 32px 0 56px; }
  .lead { font-size: 18px; }
  .grid-3, .steps3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-panel { padding: 24px 20px; gap: 10px; }
  .auth-panel h2 { font-size: 24px; margin-top: 8px; }
  .auth-panel p { font-size: 15px; margin: 0; }
  .auth-panel .mini { display: none; }
  .auth-form-wrap { padding: 32px 20px 48px; place-items: start center; }
  .lifecycle .note { margin-left: 0; width: 100%; }
  .price-teaser { padding: 28px 22px; }
  .price-big { font-size: 52px; }
}
@media (max-width: 560px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .hero-visual { min-height: 0; display: grid; gap: 16px; }
  .hero-visual .browser { position: relative; width: 100%; }
  .hero-visual .phone { position: relative; right: auto; bottom: auto; width: 230px; margin: -70px 0 0 auto; }
  .mock-app { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-tiles { grid-template-columns: repeat(2, 1fr); }
  .guide-cards, .guide-grid { grid-template-columns: 1fr; }
  .mfoot-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .card { padding: 20px; }
  .feature { padding: 44px 0; }
  .feature p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
