/* Inter (variable, latin subset), self-hosted. SIL Open Font License 1.1. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Revkina — site styles
   Plain CSS, no build step. Mobile-first.
   ========================================================================== */

:root {
  --ink: #0b1526;          /* primary text / dark surfaces */
  --ink-2: #13223a;        /* raised dark surface */
  --ink-3: #1d2f4d;        /* borders on dark */
  --body: #3b4a61;         /* body copy on light */
  --muted: #5d6b80;        /* secondary copy on light (AA on white) */
  --line: #e3e8ef;         /* hairlines on light */
  --paper: #ffffff;
  --mist: #f5f7fa;         /* alt section background */
  --accent: #ff6a2b;       /* Revkina orange */
  --accent-strong: #e8551a;
  --accent-soft: #fff1ea;
  --on-dark: #e8eef7;
  --on-dark-muted: #a9b6c9;
  --ok: #17a673;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, .06), 0 1px 1px rgba(11, 21, 38, .04);
  --shadow: 0 10px 30px -12px rgba(11, 21, 38, .18), 0 2px 6px rgba(11, 21, 38, .05);
  --shadow-lg: 0 30px 60px -20px rgba(3, 8, 20, .55);

  --wrap: 1160px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 750; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 24px; border-radius: 12px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 22px -8px rgba(255, 106, 43, .7); }
.btn-primary:hover { background: #ff7c43; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #cfd7e3; }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost { color: var(--on-dark); border-color: rgba(232, 238, 247, .28); }
.on-dark .btn-ghost:hover { border-color: var(--on-dark); background: rgba(255,255,255,.04); }
.btn-sm { padding: 11px 16px; font-size: 15px; border-radius: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 21, 38, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand svg { width: 30px; height: 30px; }
.brand-word { font-weight: 800; font-size: 21px; letter-spacing: -0.035em; }
.nav { display: none; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 550; padding: 8px 2px; }
.nav a:hover { color: #fff; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 30px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 106, 43, .20), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(64, 120, 255, .16), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  padding: 64px 0 76px;
}
.hero::after { /* subtle grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { color: #fff; font-size: clamp(38px, 6.2vw, 64px); letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent); }
.hero .lede { font-size: clamp(17px, 1.9vw, 20px); color: var(--on-dark-muted); max-width: 40em; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin: 22px 0 0; font-size: 14px; color: var(--on-dark-muted); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; color: var(--ok); }

/* Hero illustration: example workflow card */
.flow-card {
  background: linear-gradient(180deg, var(--ink-2), #0f1c31);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  max-width: 480px; width: 100%; justify-self: center;
}
.flow-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.flow-title { font-size: 14px; font-weight: 700; color: #fff; }
.flow-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); border: 1px solid var(--ink-3); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.flow { list-style: none; position: relative; }
.flow::before { content: ""; position: absolute; left: 17px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--accent), rgba(23,166,115,.9)); opacity: .45; border-radius: 2px; }
.flow li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 10px 0; }
.flow .dot { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #0b1526; border: 1px solid var(--ink-3); color: var(--accent); }
.flow .dot svg { width: 18px; height: 18px; }
.flow li.done .dot { color: var(--ok); }
.flow strong { display: block; color: #fff; font-size: 15px; font-weight: 650; line-height: 1.35; }
.flow small { display: block; color: var(--on-dark-muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.bubble { margin-top: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--on-dark); font-size: 13.5px; line-height: 1.5; padding: 10px 12px; border-radius: 12px 12px 12px 4px; }
.flow-foot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--ink-3); font-size: 12.5px; color: var(--on-dark-muted); }

@media (min-width: 980px) {
  .hero { padding: 92px 0 104px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; }
  .flow-card { justify-self: end; }
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker, .section-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 14px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.section-head p { font-size: 18.5px; color: var(--muted); margin: 0; }
@media (min-width: 900px) { section { padding: 108px 0; } }

/* Leak cards */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.015em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; }

.leak-callout {
  margin-top: 28px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--ink); color: var(--on-dark);
  display: flex; gap: 16px; align-items: flex-start;
}
.leak-callout svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 2px; }
.leak-callout p { margin: 0; font-size: 16.5px; }
.leak-callout strong { color: #fff; }

/* Systems */
.system {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 24px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.system:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d5dce7; }
.system .num { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: var(--accent-strong); margin-bottom: 14px; display: block; }
.system h3 { font-size: 19.5px; margin-bottom: 8px; }
.system p { color: var(--muted); font-size: 16px; margin: 0 0 14px; }
.system ul { list-style: none; display: grid; gap: 7px; }
.system li { position: relative; padding-left: 24px; font-size: 15px; color: var(--body); line-height: 1.5; }
.system li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e8551a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Principles band */
.band {
  margin-top: 40px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark);
  padding: 34px 28px; display: grid; gap: 28px;
}
.band h3 { color: #fff; font-size: 22px; margin: 0 0 6px; }
.band > div > p { color: var(--on-dark-muted); margin: 0; font-size: 16px; }
.principles { list-style: none; display: grid; gap: 18px; }
.principles li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.principles svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.principles strong { display: block; color: #fff; font-size: 16px; }
.principles span { color: var(--on-dark-muted); font-size: 15px; line-height: 1.55; }
@media (min-width: 640px) { .principles { grid-template-columns: 1fr 1fr; gap: 22px 28px; } }
@media (min-width: 980px) { .band { grid-template-columns: .8fr 1.6fr; padding: 44px; gap: 44px; align-items: start; } }

/* Steps */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { display: flex; flex-direction: column; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step .meta { display: block; margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-strong); }

/* Fit */
.fit { display: grid; gap: 20px; }
@media (min-width: 900px) { .fit { grid-template-columns: 1.35fr 1fr; } }
.fit-card { border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
.fit-card.yes { border-color: #ffd7c4; background: linear-gradient(180deg, #fff8f4, #fff); }
.fit-card h3 { font-size: 21px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.fit-card h3 svg { width: 24px; height: 24px; }
.fit-card.yes h3 svg { color: var(--accent-strong); }
.fit-card.no h3 svg { color: var(--muted); }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.55; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; }
.yes .checks svg { color: var(--ok); }
.no .checks svg { color: #8a96a8; }
.no .checks li { color: var(--muted); }
.fit-note { margin: 22px 0 0; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: #d3dbe6; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 680; color: var(--ink); font-size: 17.5px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230b1526' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 4v8M4 8h8'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--body); font-size: 16.5px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Final CTA */
.final-cta {
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(255, 106, 43, .22), transparent 65%),
    var(--ink);
  color: var(--on-dark); text-align: center;
}
.final-cta h2 { color: #fff; font-size: clamp(32px, 4.6vw, 50px); max-width: 16em; margin: 0 auto 18px; letter-spacing: -0.03em; }
.final-cta p.lede { color: var(--on-dark-muted); font-size: 19px; max-width: 36em; margin: 0 auto 32px; }
.final-cta .cta-row { justify-content: center; }
.final-cta .fine { margin: 22px 0 0; font-size: 14px; color: var(--on-dark-muted); }
.final-cta .fine a { color: #fff; }

/* Footer */
.site-footer { background: #070f1c; color: var(--on-dark-muted); padding: 44px 0; font-size: 15px; }
.site-footer .wrap { display: grid; gap: 22px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
.footer-tag { margin: 6px 0 0; font-size: 14.5px; }

/* ---------- Legal page ---------- */
.legal-hero { background: var(--ink); color: var(--on-dark); padding: 64px 0 48px; }
.legal-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 48px); margin-bottom: 10px; }
.legal-hero p { color: var(--on-dark-muted); margin: 0; }
.legal { padding: 56px 0 90px; }
.legal .wrap, .legal-hero .wrap { max-width: 780px; }
.legal h2 { font-size: 23px; margin: 2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17px; }
.legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--accent-strong); font-weight: 600; }

@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .eyebrow { font-size: 12px; letter-spacing: .06em; }
  .eyebrow::before { display: none; }
  .cta-row .btn { width: 100%; }
  .card, .system, .step { padding: 22px; }
  .fit-card { padding: 24px; }
  .band { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
