/* budmuzhchinoi.ru — design system
   Direction: Modern minimal (Linear/Vercel) tokens bound verbatim,
   extended with a navy dark-section color and a small sand accent
   per brief section 7 (graphite / navy / cool white / grey / blue / sand). */

:root {
  --bg:      oklch(99% 0.002 240);
  --surface: oklch(100% 0 0);
  --fg:      oklch(18% 0.012 250);
  --muted:   oklch(54% 0.012 250);
  --border:  oklch(92% 0.005 250);
  --accent:  oklch(58% 0.18 255);
  --accent-text: oklch(54% 0.18 255); /* darkened for AA contrast at small text sizes (13px eyebrow) */

  --navy:      oklch(22% 0.045 262);
  --navy-fg:   oklch(96% 0.006 250);
  --navy-muted:oklch(72% 0.02 255);
  --sand:      oklch(78% 0.05 80);

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1180px;
  --radius: 10px;
}

@font-face { font-family: "Space Grotesk"; src: local("Space Grotesk"); font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
  color: var(--fg);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.tabular { font-variant-numeric: tabular-nums; font-family: var(--font-mono); }

p { color: var(--muted); margin: 0; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 8px; font-size: 15px; font-weight: 600;
  font-family: var(--font-body); cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--fg); color: var(--bg);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--fg) 22%, transparent);
}
.btn-primary:hover { background: var(--accent); box-shadow: 0 6px 16px -4px color-mix(in oklch, var(--accent) 45%, transparent); }
.btn-primary:active { background: var(--navy); box-shadow: 0 1px 2px color-mix(in oklch, var(--fg) 22%, transparent); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-ghost:active { background: var(--surface); }
.btn-on-navy { background: var(--navy-fg); color: var(--navy); }
.btn-on-navy:hover { background: var(--sand); }
.btn-ghost-on-navy { background: transparent; color: var(--navy-fg); border-color: color-mix(in oklch, var(--navy-fg) 30%, transparent); }
.btn-ghost-on-navy:hover { border-color: var(--navy-fg); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- focus states (keyboard navigation) ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent-text); outline-offset: 2px; border-radius: 4px;
}
.on-navy a:focus-visible, .on-navy button:focus-visible, .btn-on-navy:focus-visible, .btn-ghost-on-navy:focus-visible {
  outline-color: var(--sand);
}

/* ---------- nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.brand-domain { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links a, .nav-links .soon {
  padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--muted);
}
.nav-links a:hover { background: var(--surface); color: var(--fg); border: 1px solid var(--border); padding: 7px 11px; }
.nav-links a.active { color: var(--fg); }
.nav-links .soon { color: color-mix(in oklch, var(--muted) 60%, transparent); cursor: default; display: inline-flex; gap: 6px; align-items: center; }
.tag-soon {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  padding: 2px 6px; border-radius: 4px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); align-items: center; justify-content: center; cursor: pointer;
}
.burger svg { width: 18px; height: 18px; }
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .site-nav.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 72px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 10px 24px 20px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.15);
  }
  .site-nav.nav-open .nav-links a, .site-nav.nav-open .nav-links .soon { padding: 12px 6px; }
  /* primary CTA is moved inside .nav-links by nav.js while the mobile menu is open,
     so it renders as the last row of the dropdown instead of disappearing */
  .site-nav.nav-open .nav-links .nav-cta { display: flex; padding: 10px 6px 0; margin-top: 6px; border-top: 1px solid var(--border); }
  .site-nav.nav-open .nav-links .nav-cta .btn { width: 100%; }
}

/* mono-list rows with a leading icon: fixed icon + label columns so long
   labels/values wrap inside their own column instead of pushing into each
   other or forcing the row into horizontal overflow, at any viewport width */
.mono-list .row.with-icon {
  display: grid;
  grid-template-columns: 32px 110px 1fr;
  align-items: start;
  column-gap: 12px;
}
.mono-list .row.with-icon > .icon-badge { align-self: center; }
.mono-list .row.with-icon > span:last-child,
.mono-list .row.with-icon > a:last-child {
  overflow-wrap: anywhere;
}

/* ---------- sections ---------- */
section { padding: 96px 0; border-bottom: 1px solid var(--border); }
section.tight { padding: 64px 0; }
section.on-navy { background: var(--navy); color: var(--navy-fg); border-bottom: none; }
section.on-navy h1, section.on-navy h2, section.on-navy h3 { color: var(--navy-fg); }
section.on-navy p { color: var(--navy-muted); }
section.on-navy .eyebrow { color: var(--sand); }
section.on-navy .eyebrow::before { background: var(--sand); }
section.surface { background: var(--surface); }
section:last-of-type { border-bottom: none; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-size: 18px; }
.card p { font-size: 14.5px; }
.on-navy .card { background: color-mix(in oklch, var(--navy-fg) 6%, transparent); border-color: color-mix(in oklch, var(--navy-fg) 16%, transparent); }
.on-navy .card p { color: var(--navy-muted); }
.on-navy .card h3 { color: var(--navy-fg); }

/* form cards must stay a solid light surface even on dark sections —
   labels/inputs are styled for light backgrounds and go unreadable on a translucent dark tint */
.on-navy .card.light-form { background: var(--surface); border-color: var(--border); }
.on-navy .card.light-form h3 { color: var(--fg); }
.on-navy .card.light-form p { color: var(--muted); }
.on-navy .card.light-form .field label { color: var(--fg); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; margin-bottom: 20px; }
.hero .lead { max-width: 520px; margin-bottom: 32px; }

/* photo placeholder — honest, not a fabricated face */
.photo-slot {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, color-mix(in oklch, var(--fg) 5%, transparent) 0 1px, transparent 1px 22px),
    linear-gradient(160deg, var(--navy), oklch(15% 0.03 262));
  border: 1px solid var(--border);
  display: flex; align-items: flex-end; padding: 20px; overflow: hidden;
}
.photo-slot::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 22%, color-mix(in oklch, var(--navy-fg) 8%, transparent), transparent 40%),
    radial-gradient(circle at 72% 68%, color-mix(in oklch, var(--sand) 10%, transparent), transparent 45%);
}
.photo-slot .tag {
  position: relative; z-index: 1; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.03em;
  color: var(--navy-fg); background: color-mix(in oklch, var(--navy) 55%, black 10%);
  border: 1px dashed color-mix(in oklch, var(--navy-fg) 40%, transparent);
  padding: 10px 12px; border-radius: 6px; line-height: 1.4;
}
.photo-slot.short { aspect-ratio: 16/10; }
.photo-slot.square { aspect-ratio: 1/1; }

/* real photo container — replaces .photo-slot once a real image is available */
.photo-real {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: var(--surface);
}
.photo-real img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* diagnostic panel (dark schematic hero visual, e.g. audit.html) */
.diagnostic-panel {
  position: relative; border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--navy), oklch(15% 0.03 262));
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
}
.diagnostic-panel .eyebrow { color: var(--sand); }
.diagnostic-panel .eyebrow::before { background: var(--sand); }
.diagnostic-panel .diagram .pt { fill: var(--sand); }
.diagnostic-panel .diagram .pt-navy { fill: var(--navy-fg); }
.diagnostic-panel .diagram .ln { stroke: color-mix(in oklch, var(--navy-fg) 32%, transparent); }
.diagnostic-panel .diagram .ln-accent { stroke: var(--sand); stroke-dasharray: 3 4; }
.diagnostic-panel .diagram text { fill: var(--navy-muted); }
.diagnostic-panel .note {
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.5; color: var(--navy-muted);
  border-top: 1px solid color-mix(in oklch, var(--navy-fg) 14%, transparent); padding-top: 14px; margin: 0;
}

/* diagram (mocap-style schematic, not illustrated humans) */
.diagram { width: 100%; height: auto; }
.diagram .pt { fill: var(--accent); }
.diagram .pt-navy { fill: var(--navy); }
.diagram .ln { stroke: var(--border); stroke-width: 1.5; fill: none; }
.diagram .ln-accent { stroke: var(--accent); stroke-width: 1.5; fill: none; stroke-dasharray: 3 4; }
.diagram text { font-family: var(--font-mono); font-size: 10px; fill: var(--muted); }

/* numbered steps */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--border); }
.step:first-child { border-top: none; }
.step-num { font-family: var(--font-mono); font-size: 14px; color: var(--accent-text); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; }

/* pain grid */
.pain-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--border); }
.pain-item:first-child { border-top: none; }
.pain-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex-shrink: 0; }
.pain-item p { color: var(--fg); font-size: 15.5px; }

/* product / direction cards */
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.product-card .kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.product-card h3 { font-size: 20px; }
.product-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.product-card li { font-size: 14px; color: var(--muted); padding-left: 16px; position: relative; }
.product-card li::before { content: "—"; position: absolute; left: 0; color: var(--border); }
.product-card .btn { margin-top: auto; align-self: flex-start; }
.product-card.soon { opacity: 0.68; }
.product-card.soon .kicker { color: var(--sand); }

/* lead magnet picker */
.magnet-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.magnet-tab {
  font-family: var(--font-mono); font-size: 12.5px; padding: 8px 14px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer;
}
.magnet-tab.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.magnet-card { display: flex; flex-direction: column; gap: 10px; }
.magnet-card .btn { margin-top: auto; align-self: flex-start; }
.magnet-card-head { display: flex; align-items: center; gap: 10px; }
.magnet-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-text);
}
.magnet-icon svg { width: 20px; height: 20px; flex-shrink: 0; }
.magnet-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-text); }

/* generic icon badge — reusable version of .magnet-icon for step/card/list icons site-wide */
.icon-badge {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-text);
}
.icon-badge svg { width: 20px; height: 20px; flex-shrink: 0; }
.icon-badge.sm { width: 32px; height: 32px; border-radius: 7px; }
.icon-badge.sm svg { width: 16px; height: 16px; }
.on-navy .icon-badge { background: color-mix(in oklch, var(--navy-fg) 10%, transparent); color: var(--sand); }

/* numbered steps with an icon above the step number */
.step-icon-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* product / price card head row (icon + kicker) */
.product-card-head, .price-card-head { display: flex; align-items: center; gap: 12px; }
.price-card-head { margin-bottom: -6px; }

/* contact list rows with a leading icon */

/* video teaser */
.video-card { overflow: hidden; padding: 0; }
.video-thumb {
  aspect-ratio: 16/10; position: relative;
  background: repeating-linear-gradient(135deg, color-mix(in oklch, var(--navy-fg) 6%, transparent) 0 2px, transparent 2px 26px), var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.video-thumb .play { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid color-mix(in oklch, var(--navy-fg) 45%, transparent); display: flex; align-items: center; justify-content: center; }
.video-body { padding: 18px 20px 22px; }
.video-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); margin-top: 10px; }

/* empty state (results — no fabrication) */
.empty-state {
  border: 1px dashed var(--border); border-radius: var(--radius); padding: 44px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px; background: var(--surface);
}
.empty-state .eyebrow { justify-content: center; }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare th { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 500; }
.compare td.h { font-weight: 600; color: var(--fg); }
.compare-scroll { overflow-x: auto; }
.check { color: var(--accent-text); }

/* price cards */
.price-card { display: flex; flex-direction: column; gap: 16px; }
.price-card .price { font-family: var(--font-mono); font-size: 22px; color: var(--fg); }
.price-card .price small { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 400; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

/* forms */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13.5px; color: var(--fg); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg); color: var(--fg);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-note { font-size: 12.5px; color: var(--muted); }
.field-note a { color: var(--muted); text-decoration: underline; }
.field-note a:hover { color: var(--fg); }
.form-result { font-size: 13.5px; margin-top: 14px; }

/* honeypot: a real, focusable text input so simple bots that skip hidden
   fields still fill it in, but positioned off-screen so no human ever sees
   or tabs into it */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

/* footer */
footer { background: var(--navy); color: var(--navy-muted); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer h4 { color: var(--navy-fg); font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer a { color: var(--navy-muted); font-size: 14.5px; }
footer a:hover { color: var(--navy-fg); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid color-mix(in oklch, var(--navy-fg) 14%, transparent); font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* misc */
.badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; padding: 4px 9px; border-radius: 5px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.disclaimer { border-left: 2px solid var(--sand); padding: 14px 20px; background: var(--surface); border-radius: 0 8px 8px 0; font-size: 14px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr; } }
.mono-list { display: flex; flex-direction: column; gap: 0; }
.mono-list .row { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--border); font-size: 14.5px; }
.mono-list .row:first-child { border-top: none; }
.mono-list .row span:last-child, .mono-list .row a:last-child { font-family: var(--font-mono); color: var(--muted); font-size: 13px; }
.mono-list .row a:last-child:hover { color: var(--accent-text); }
.on-navy .mono-list .row { border-top-color: color-mix(in oklch, var(--navy-fg) 16%, transparent); }

/* video testimonial transcripts (case-study cards) */
.testimonial-text {
  font-size: 15.5px;
  color: oklch(0.18 0.012 250);
  line-height: 1.6;
  margin: 0 0 12px;
  text-align: left;
}
.testimonial-text:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .testimonial-text { font-size: 14.5px; }
}
.on-navy .mono-list .row span:last-child, .on-navy .mono-list .row a:last-child { color: var(--navy-muted); }

/* ---------- timeline (About page: 25+ years in martial arts) ---------- */
.timeline { display: flex; gap: 0; overflow-x: auto; padding: 8px 0 16px; }
.timeline-item { flex: 0 0 190px; padding: 22px 18px 0 0; border-top: 2px solid var(--border); position: relative; }
.timeline-item::before { content: ""; position: absolute; top: -6px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline-item.highlight { border-top-color: var(--accent); }
.timeline-item.highlight::before { background: var(--sand); width: 11px; height: 11px; top: -7px; }
.timeline-item .year { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-text); margin-bottom: 6px; display: block; }
.timeline-item h4 { font-size: 14.5px; margin-bottom: 4px; }
.timeline-item p { font-size: 12.5px; }
@media (max-width: 880px) {
  .timeline { flex-direction: column; overflow-x: visible; gap: 0; }
  .timeline-item { flex: none; border-top: none; border-left: 2px solid var(--border); padding: 0 0 22px 20px; }
  .timeline-item::before { top: 2px; left: -6px; }
  .timeline-item.highlight::before { top: 1px; left: -7px; }
}

/* ---------- quote block ---------- */
.quote-block {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 24px; margin: 0;
  font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); color: var(--fg);
  line-height: 1.32; font-weight: 600; letter-spacing: -0.01em;
}
.quote-block p { font: inherit; color: inherit; margin: 0; }
.on-navy .quote-block { border-left-color: var(--sand); color: var(--navy-fg); }

/* ---------- fit / not-fit checklist ---------- */
.fit-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--border); }
.fit-item:first-child { border-top: none; }
.fit-item .mark {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-family: var(--font-mono);
}
.fit-item.yes .mark { background: color-mix(in oklch, var(--accent-text) 14%, transparent); color: var(--accent-text); }
.fit-item.no .mark { background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.fit-item p { color: var(--fg); font-size: 15px; }

/* ---------- section scroll navigator (floating, desktop only) ---------- */
.scroll-nav {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px; box-shadow: 0 6px 22px color-mix(in oklch, var(--fg) 12%, transparent);
  opacity: 0.8; transition: opacity 0.2s;
}
.scroll-nav:hover { opacity: 1; }
.scroll-nav button {
  width: 32px; height: 32px; border-radius: 50%; border: none; background: transparent; color: var(--muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.scroll-nav button:hover:not(:disabled) { background: var(--accent); color: #fff; }
.scroll-nav button:disabled { opacity: 0.3; cursor: default; }
.scroll-nav-divider { width: 18px; height: 1px; background: var(--border); margin: 3px 0; }
@media (max-width: 860px) { .scroll-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-nav { display: none; } }

/* ---------- flow diagram (opora -> position -> ... -> result) ---------- */
.flow-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-family: var(--font-mono); font-size: 13px; color: var(--fg);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px;
}
.flow-arrow { color: var(--accent-text); font-weight: 600; }
.on-navy .flow-row { background: color-mix(in oklch, var(--navy-fg) 6%, transparent); border-color: color-mix(in oklch, var(--navy-fg) 16%, transparent); color: var(--navy-fg); }
.on-navy .flow-arrow { color: var(--sand); }

/* ---------- demo / illustrative example marker ---------- */
.demo-marker {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
  background: var(--bg); border: 1px dashed var(--border); border-radius: 999px; padding: 4px 12px;
}
