/* ─────────────────────────────────────────────────────────────────
   Mājaslapu Serviss — soft-tech rounded sans
   Type: DM Sans (display + UI), Manrope/Jakarta alts, JetBrains Mono
   Palette: off-white + soft ink, single cool-blue accent
   Mood: light, airy, gentle, generous radii
   ───────────────────────────────────────────────────────────────── */

/* Fallback font metrics tuned to match DM Sans — minimises CLS during swap */
@font-face {
  font-family: 'DM Sans';
  src: local('BlinkMacSystemFont'), local('Segoe UI'), local('-apple-system');
  size-adjust: 100%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  font-weight: 100 900;
  font-style: normal;
}

:root {
  /* Off-white neutrals */
  --bg:        oklch(0.99 0.003 250);       /* near-white, hint of cool */
  --bg-2:      oklch(0.975 0.005 250);      /* card */
  --bg-3:      oklch(0.955 0.008 250);      /* well */
  --line:      oklch(0.91 0.008 250);
  --line-2:    oklch(0.84 0.010 250);
  --ink:       oklch(0.22 0.020 250);
  --ink-2:     oklch(0.40 0.018 250);
  --ink-3:     oklch(0.56 0.014 250);
  --ink-4:     oklch(0.72 0.010 250);

  /* Cool-blue accent (kept) */
  --accent:    oklch(0.62 0.16 245);
  --accent-2:  oklch(0.48 0.16 245);
  --accent-soft: oklch(0.95 0.04 245);

  /* Status */
  --ok:        oklch(0.66 0.16 155);
  --warn:      oklch(0.76 0.15 75);
  --bad:       oklch(0.62 0.20 25);

  /* Type — soft rounded */
  --f-display: 'DM Sans', 'Manrope', ui-rounded, system-ui, sans-serif;
  --f-serif:   'DM Sans', 'Manrope', system-ui, sans-serif; /* no serif in this theme */
  --f-ui:      'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;

  --container: 1240px;
  --gutter: 32px;

  --pad-section: 140px;
  --pad-block: 32px;
}

[data-theme="dark"] {
  --bg:        oklch(0.16 0.020 250);
  --bg-2:      oklch(0.20 0.020 250);
  --bg-3:      oklch(0.235 0.020 250);
  --line:      oklch(0.30 0.018 250);
  --line-2:    oklch(0.40 0.016 250);
  --ink:       oklch(0.97 0.010 250);
  --ink-2:     oklch(0.85 0.010 250);
  --ink-3:     oklch(0.68 0.010 250);
  --ink-4:     oklch(0.52 0.010 250);
  --accent:    oklch(0.74 0.16 245);
  --accent-2:  oklch(0.84 0.12 245);
  --accent-soft: oklch(0.30 0.10 245);
}

[data-density="compact"]  { --pad-section: 100px; --pad-block: 24px; }
[data-density="regular"]  { --pad-section: 140px; --pad-block: 32px; }
[data-density="spacious"] { --pad-section: 180px; --pad-block: 40px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
html { scroll-behavior: smooth; }
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
#root {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
#root > main { flex: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
body { cursor: default; }
a[href], button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"] { cursor: pointer; }

::selection { background: var(--accent-soft); color: var(--ink); }

/* Type scale — softer, lighter weights */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(46px, 7vw, 96px); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 500; letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.018em; }
h4 { font-size: 17px; font-weight: 500; letter-spacing: -0.005em; }

/* Italic accents disappear into normal weight */
.italic { font-family: var(--f-display); font-style: normal; font-weight: 400; color: var(--ink-3); }

p { margin: 0; text-wrap: pretty; }
.lede { font-family: var(--f-ui); font-weight: 400; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--pad-section) 0; position: relative; }
.section + .section { padding-top: 0; }
/* When section & container share an element, restore horizontal gutter that
   the .section shorthand would otherwise zero out */
.section.container { padding-left: var(--gutter); padding-right: var(--gutter); }
.row { display: flex; gap: 24px; align-items: center; }
.col { display: flex; flex-direction: column; gap: 16px; }

/* Buttons — pill-shaped, soft */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--f-ui);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 0 0 rgba(255,255,255,.2) inset, 0 6px 18px -8px color-mix(in oklab, var(--ink) 50%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--accent); color: white; box-shadow: 0 8px 24px -10px var(--accent); }
.btn-ghost {
  background: var(--bg-2);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-3); background: var(--bg); }
.btn-link {
  background: transparent; height: auto; padding: 0; border: 0;
  border-radius: 0;
  color: var(--accent);
  gap: 4px;
}
.btn-link:hover { color: var(--accent-2); }

.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Cards — soft, rounded, gentle shadow */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--pad-block);
}

.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Sticky nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--accent);
  width: var(--scroll, 0%); transition: width .12s linear;
  border-radius: 0 2px 2px 0;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo-full { height: 36px; width: auto; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* Nav dropdown items */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0; line-height: 1; transition: color .18s ease;
}
.nav-item .caret {
  display: inline-block; font-size: 9px; line-height: 1;
  color: var(--ink-3); transform: translateY(0) rotate(0deg);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), color .18s ease;
}
.nav-item.open > a .caret,
.nav-item:hover > a .caret { color: var(--accent); transform: rotate(-180deg); }

/* Mega-menu panel */
.mega {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translate(-50%, -8px) scale(0.985);
  transform-origin: top center;
  min-width: 720px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow:
    0 1px 0 0 color-mix(in oklab, var(--ink) 6%, transparent) inset,
    0 28px 60px -28px color-mix(in oklab, var(--ink) 35%, transparent),
    0 8px 22px -10px color-mix(in oklab, var(--ink) 18%, transparent);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition:
    opacity .22s cubic-bezier(.2,.8,.2,1),
    transform .35s cubic-bezier(.2,.8,.2,1),
    visibility 0s linear .35s;
  z-index: 60;
  overflow: hidden;
}
.nav-item.open .mega,
.nav-item:hover .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  transition:
    opacity .22s cubic-bezier(.2,.8,.2,1),
    transform .42s cubic-bezier(.2,.8,.2,1),
    visibility 0s linear 0s;
}
/* Hover bridge so cursor can travel from trigger to panel */
.nav-item.has-mega::after {
  content: ""; position: absolute; left: -16px; right: -16px;
  top: 100%; height: 12px;
  background: transparent; pointer-events: none;
}
.nav-item.has-mega:hover::after,
.nav-item.has-mega.open::after { pointer-events: auto; }

.mega-inner {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 0;
}
.mega-lead {
  display: block; padding: 24px 22px;
  background: linear-gradient(165deg, color-mix(in oklab, var(--accent) 10%, var(--bg-2)) 0%, var(--bg-2) 75%);
  border-right: 1px solid var(--line);
  color: var(--ink);
  position: relative;
  transition: background .25s ease;
}
.mega-lead:hover { background: linear-gradient(165deg, color-mix(in oklab, var(--accent) 18%, var(--bg-2)) 0%, var(--bg-2) 75%); }
.mega-lead-title {
  font-family: var(--f-display); font-size: 18px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.25; color: var(--ink);
  margin-bottom: 8px;
}
.mega-lead-desc {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.5;
  margin-bottom: 16px;
}
.mega-lead-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.mega-lead-cta span { transition: transform .25s ease; }
.mega-lead:hover .mega-lead-cta span { transform: translateX(3px); }

.mega-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  padding: 18px 8px;
}
.mega-col { padding: 6px 14px; }
.mega-col-h {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500;
  margin-bottom: 6px; padding: 0 12px;
}
.mega-link {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: var(--ink); position: relative;
  transition: background .2s ease, transform .25s cubic-bezier(.2,.8,.2,1);
}
.mega-link:hover { background: color-mix(in oklab, var(--accent) 8%, transparent); transform: translateX(2px); }
.mega-link-t {
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.005em; margin-bottom: 2px;
  display: flex; align-items: center; gap: 6px;
}
.mega-link-t::after {
  content: "→"; opacity: 0; margin-left: 0;
  color: var(--accent); font-size: 12px;
  transform: translateX(-4px);
  transition: opacity .25s ease, transform .25s ease;
}
.mega-link:hover .mega-link-t::after { opacity: 1; transform: translateX(0); }
.mega-link-d { font-size: 11.5px; color: var(--ink-3); line-height: 1.45; }

/* Stagger panel content in */
.mega-lead, .mega-col {
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s cubic-bezier(.2,.8,.2,1), transform .35s cubic-bezier(.2,.8,.2,1);
}
.nav-item.open .mega-lead,
.nav-item:hover .mega-lead { opacity: 1; transform: translateY(0); transition-delay: .06s; }
.nav-item.open .mega-col:nth-child(1),
.nav-item:hover .mega-col:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: .12s; }
.nav-item.open .mega-col:nth-child(2),
.nav-item:hover .mega-col:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .18s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mega, .mega-lead, .mega-col, .mega-link, .nav-item .caret,
  .mega-lead-cta span, .mega-link-t::after { transition: none !important; }
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.nav-mobile-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-mobile-overlay {
  position: fixed;
  inset: 72px 0 0;
  background: color-mix(in oklab, var(--ink) 40%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 80;
}
.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-panel {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: calc(100dvh - 72px);
  background: var(--bg);
  border-top: 1px solid var(--line);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  z-index: 90;
}
.nav-mobile-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-scroll {
  height: 100%;
  overflow: auto;
  padding: 16px var(--gutter) 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
}
.nav-mobile-link.active {
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, transparent);
}
.nav-mobile-expand {
  width: 100%;
  background: transparent;
  border: 0;
}
.nav-mobile-expand .caret {
  color: var(--ink-3);
  transition: transform .2s ease;
}
.nav-mobile-group.open .nav-mobile-expand .caret { transform: rotate(-180deg); }
.nav-mobile-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.nav-mobile-group.open .nav-mobile-sub { grid-template-rows: 1fr; }
.nav-mobile-sub-inner { overflow: hidden; }
.nav-mobile-sub-lead {
  display: block;
  margin: 0 12px 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-2));
  font-size: 14px;
  font-weight: 500;
}
.nav-mobile-sub-col { padding: 0 12px 8px; }
.nav-mobile-sub-h {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 8px 0 6px;
}
.nav-mobile-sub-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 10px;
}
.nav-mobile-sub-link small {
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.35;
}
.nav-mobile-utilities {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-mobile-utility-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
}
.nav-mobile-lang {
  width: 100%;
  justify-content: center;
  height: 40px;
  padding: 2px;
}
.nav-mobile-lang button {
  flex: 1;
  padding: 6px 10px;
  font-size: 12px;
}
.nav-mobile-theme {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 12.5px;
  justify-content: center;
}

.lang-toggle {
  display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
}
.lang-toggle button {
  border: 0; background: transparent; color: var(--ink-3);
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
  font-weight: 500;
}
.lang-toggle button.active { background: var(--ink); color: var(--bg); }

/* Hero */
.hero { padding-top: 100px; padding-bottom: var(--pad-section); position: relative; overflow: visible; }
.hero::before {
  content: "";
  position: absolute;
  inset: -100px auto auto 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 520px;
  background: radial-gradient(55% 70% at 50% 20%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 72%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-eye { margin-bottom: 32px; }
.hero h1 .blue { color: var(--accent); }
.hero h1 .mark {
  font-weight: 400;
  color: var(--ink-3);
}
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end;
  margin-top: 56px;
}
.hero-side { display: flex; flex-direction: column; gap: 22px; }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--f-ui); font-size: 13px; color: var(--ink-3); font-weight: 500;
}
.hero-meta span { display: flex; flex-direction: column; gap: 3px; }
.hero-meta span b { color: var(--ink); font-weight: 600; font-size: 22px; font-family: var(--f-display); letter-spacing: -0.02em; }

.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Animated dashboard — softer, more rounded */
.dash {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-family: var(--f-ui);
  box-shadow: 0 30px 80px -40px color-mix(in oklab, var(--ink) 30%, transparent),
              0 6px 20px -10px color-mix(in oklab, var(--ink) 15%, transparent);
}
.dash-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--f-mono); font-weight: 500;
}
.dash-hd .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block;
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--ok) 60%, transparent);
  animation: pulse 2s infinite;
  margin-right: 6px;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--ok) 60%, transparent); }
  70% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--ok) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--ok) 0%, transparent); }
}
.dash-body { padding: 22px; display: grid; gap: 18px; }
.dash-stat { display: flex; align-items: baseline; justify-content: space-between; }
.dash-stat .num { font-family: var(--f-display); font-size: 30px; color: var(--ink); letter-spacing: -0.025em; font-weight: 500; }
.dash-stat .lbl { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

.dash-bars { display: flex; gap: 4px; align-items: flex-end; height: 60px; }
.dash-bars i { display: block; flex: 1; background: var(--accent-soft); border-radius: 4px; min-height: 4px;
  transition: height .6s cubic-bezier(.2,.8,.2,1); }
.dash-bars i.hot { background: var(--accent); }

.dash-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; }
.dash-row + .dash-row { padding-top: 10px; }
.dash-row .ok { color: var(--ok); font-weight: 500; }
.dash-row .warn { color: var(--warn); font-weight: 500; }

/* Trusted-by */
.logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center;
  padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 0;
}
.logo {
  font-family: var(--f-display); font-size: 17px; color: var(--ink-3);
  text-align: center; letter-spacing: -0.02em; font-weight: 600;
  transition: color .2s ease;
}
.logo:hover { color: var(--ink); }
.logo .it { font-weight: 400; }

/* Image-based logo grid (real client logos) */
.logos-img {
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 32px;
  padding: 48px 0;
}
.logo-img {
  display: grid; place-items: center;
  height: 80px;
  padding: 8px 16px;
}
.logo-img img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(1) brightness(0) opacity(0.55);
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0) opacity(0.55);
  transition: filter .25s ease, transform .25s ease;
}
.logo-img:hover img { filter: grayscale(1) brightness(0) opacity(0.85); transform: translateY(-1px); }
.logo-img img { transition: filter .25s ease, transform .25s ease; }
[data-theme="dark"] .logo-img img { filter: grayscale(1) brightness(0) invert(1) opacity(0.55); }
[data-theme="dark"] .logo-img:hover img { filter: grayscale(1) brightness(0) invert(1) opacity(0.9); }

/* Partners marquee */
.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  flex: 0 0 auto;
}
.trusted-logo {
  height: 130px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(1) brightness(0) opacity(0.5);
  transition: filter .25s ease;
}
.trusted-logo:hover { filter: grayscale(1) brightness(0) opacity(0.85); }
[data-theme="dark"] .trusted-logo { filter: grayscale(1) brightness(0) invert(1) opacity(0.55); }
[data-theme="dark"] .trusted-logo:hover { filter: grayscale(1) brightness(0) invert(1) opacity(0.9); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Section header */
.sect-hd { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 72px; align-items: end; }
.sect-hd p { color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 42ch; }
.sect-hd .eyebrow { margin-bottom: 22px; }

/* Services grid — separate rounded cards (not joined) */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 14px; min-height: 240px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -30px color-mix(in oklab, var(--ink) 30%, transparent); border-color: var(--line-2); }
.service .num { font-family: var(--f-mono); font-size: 11px; color: var(--ink-4); letter-spacing: 0.08em; font-weight: 500; }
.service h3 { font-family: var(--f-display); }
.service p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.service .glyph {
  width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft);
  display: grid; place-items: center;
  font-family: var(--f-display); color: var(--accent); font-size: 18px; font-weight: 600;
  margin-bottom: 4px;
}

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  position: relative;
}
.step .num {
  font-family: var(--f-display); font-size: 13px; color: var(--accent); letter-spacing: -0.01em;
  background: var(--accent-soft); width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 600;
}
.step h3 { font-size: 22px; font-weight: 500; }
.step p { color: var(--ink-2); font-size: 14.5px; }

/* Live status */
.status-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.status-panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.status-hd { padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.status-hd h4 { font-family: var(--f-display); font-weight: 500; font-size: 18px; letter-spacing: -0.015em; }
.status-hd .pill { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; padding: 5px 11px; border-radius: 999px; background: color-mix(in oklab, var(--ok) 14%, transparent); color: var(--ok); text-transform: uppercase; font-weight: 500; }
.status-list { display: grid; }
.status-row { padding: 16px 26px; display: grid; grid-template-columns: 1.4fr 1fr 90px; gap: 16px; align-items: center; border-top: 1px solid var(--line); font-size: 13px; }
.status-row:first-child { border-top: 0; }
.status-row .site { font-weight: 500; }
.status-row .url { color: var(--ink-3); font-family: var(--f-mono); font-size: 11px; }
.uptime-bars { display: flex; gap: 2px; height: 22px; align-items: center; }
.uptime-bars i { display: block; width: 5px; height: 100%; background: var(--ok); border-radius: 2px; opacity: .9; }
.uptime-bars i.warn { background: var(--warn); }
.uptime-bars i.bad { background: var(--bad); }
.status-row .pct { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); text-align: right; font-weight: 500; }

.checker {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.checker h4 { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.checker p { color: var(--ink-2); font-size: 15px; }
.checker form { display: flex; gap: 8px; }
.checker input {
  flex: 1; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-family: var(--f-mono); font-size: 13px;
  outline: none; transition: border-color .2s ease;
}
.checker input:focus { border-color: var(--accent); }
.checker .results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 4px; }
.checker .met {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px;
}
.checker .met .v { font-family: var(--f-display); font-size: 26px; letter-spacing: -0.025em; font-weight: 500; }
.checker .met .l { font-family: var(--f-mono); font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; font-weight: 500; }
.checker .met.good .v { color: var(--ok); }
.checker .met.warn .v { color: var(--warn); }
.checker .met.bad .v { color: var(--bad); }

/* Pricing */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.plan {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 44px; display: flex; flex-direction: column; gap: 24px; position: relative;
  box-shadow: 0 40px 100px -50px color-mix(in oklab, var(--accent) 60%, transparent),
              0 10px 40px -20px color-mix(in oklab, var(--ink) 20%, transparent);
}
.plan-hd { display: flex; flex-direction: column; gap: 12px; }
.plan-name {
  font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500;
}
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price .num { font-family: var(--f-display); font-size: 80px; letter-spacing: -0.045em; line-height: 1; font-weight: 500; }
.plan-price .cur { font-family: var(--f-display); font-size: 30px; color: var(--ink-3); font-weight: 500; }
.plan-price .per { font-family: var(--f-ui); font-size: 14px; color: var(--ink-3); font-weight: 500; }
.plan-toggle {
  display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; align-self: flex-start;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
}
.plan-toggle button { border: 0; background: transparent; color: var(--ink-3); padding: 6px 14px; border-radius: 999px; cursor: pointer; font-weight: 500; }
.plan-toggle button.active { background: var(--ink); color: var(--bg); }
.plan-feats { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); list-style: none; }
.plan-feats ul { padding: 0; margin: 0; display: grid; gap: 12px; }
.plan-feats .ck {
  color: var(--accent); flex-shrink: 0; margin-top: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft);
  display: inline-grid; place-items: center; font-size: 11px; font-weight: 600;
}
.plan-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.save-pill {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--accent);
  background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; text-transform: uppercase; font-weight: 500;
  margin-left: 6px;
}

.pricing-aside h2 { margin-bottom: 22px; }
.pricing-aside .lede { margin-bottom: 28px; }
.pricing-aside .why { display: grid; gap: 22px; padding-top: 28px; border-top: 1px solid var(--line); }
.pricing-aside .why div { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: baseline; }
.pricing-aside .why .k { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.pricing-aside .why p { color: var(--ink-2); font-size: 14.5px; }

/* Comparison */
.compare {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.compare > div { padding: 18px 24px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); font-size: 14px; }
.compare > div:nth-child(-n+4) { border-top: 0; }
.compare > div:nth-child(4n+1) { border-left: 0; }
.compare .h {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3);
  padding-top: 24px; padding-bottom: 24px;
  background: var(--bg-3); font-weight: 500;
}
.compare .h.us { color: var(--accent); }
.compare .row-l { font-family: var(--f-display); font-size: 17px; color: var(--ink); letter-spacing: -0.015em; font-weight: 500; }
.compare .row-l small { display: block; font-family: var(--f-ui); font-size: 12px; color: var(--ink-3); margin-top: 3px; letter-spacing: 0; font-weight: 400; }
.compare .yes {
  color: white; background: var(--accent);
  width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center;
  font-size: 13px; font-weight: 600;
}
.compare .no { color: var(--ink-4); font-family: var(--f-mono); }
.compare .partial { color: var(--ink-3); font-family: var(--f-mono); font-size: 12px; }
.compare .col-us { background: color-mix(in oklab, var(--accent-soft) 50%, transparent); }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tst {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px 36px 32px; display: flex; flex-direction: column; gap: 24px;
}
.tst blockquote {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2vw, 26px);
  letter-spacing: -0.02em; line-height: 1.35; color: var(--ink); margin: 0;
  text-wrap: balance;
}
.tst blockquote::before {
  content: "“";
  font-family: var(--f-display); font-size: 56px; line-height: 0.6;
  display: block; color: var(--accent); margin-bottom: 12px; font-weight: 500;
}
.tst footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.tst .who { display: flex; gap: 12px; align-items: center; }
.tst .av {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft);
  display: grid; place-items: center; font-family: var(--f-display); color: var(--accent);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
}
.tst .nm { font-size: 14px; font-weight: 500; }
.tst .ro { font-size: 12.5px; color: var(--ink-3); }
.tst .met { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.06em; text-align: right; font-weight: 500; }
.tst .met b { color: var(--ink); display: block; font-family: var(--f-display); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--bg-2);
  padding: 22px 26px; cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item.open { background: var(--bg-2); border-color: var(--line-2); }
.faq-q { display: flex; gap: 20px; align-items: center; }
.faq-q .k {
  font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em;
  min-width: 30px; font-weight: 500;
}
.faq-q h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.6vw, 21px); flex: 1; letter-spacing: -0.02em; }
.faq-q .pl {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--ink-2); font-family: var(--f-display); font-size: 16px; transition: transform .25s ease, background .2s ease;
  flex-shrink: 0; background: var(--bg);
}
.faq-item.open .faq-q .pl { transform: rotate(45deg); background: var(--accent); color: white; border-color: var(--accent); }
.faq-a {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2,.8,.2,1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div {
  overflow: hidden; padding-left: 50px; padding-right: 50px;
}
.faq-a p {
  padding-top: 14px; color: var(--ink-2); font-size: 16px; line-height: 1.6;
}

/* Blog teaser */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  display: flex; flex-direction: column; gap: 16px; padding: 16px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -30px color-mix(in oklab, var(--ink) 30%, transparent); }
.post .img {
  aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-3) 100%);
  position: relative;
}
.post .img .tg {
  position: absolute; left: 14px; top: 14px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--bg); color: var(--accent); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500;
}
.post .img .glyph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 80px; color: var(--accent); opacity: 0.35; font-weight: 600; letter-spacing: -0.04em;
}
.post-body { display: flex; flex-direction: column; gap: 12px; padding: 6px 16px 18px; }
.post h3 { font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: -0.02em; }
.post .meta { display: flex; gap: 12px; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.post p { color: var(--ink-2); font-size: 14.5px; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--ink) 0%, color-mix(in oklab, var(--ink) 88%, var(--accent)) 100%);
  color: var(--bg);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .cta { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); }
.cta h2 { color: white; }
.cta p { color: color-mix(in oklab, white 75%, transparent); }
.cta .form { display: flex; flex-direction: column; gap: 14px; }
.cta .field { display: grid; gap: 6px; }
.cta label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in oklab, white 60%, transparent); font-weight: 500; }
.cta input, .cta select, .cta textarea {
  height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid color-mix(in oklab, white 18%, transparent);
  background: color-mix(in oklab, white 6%, transparent); color: white;
  font-family: var(--f-ui); font-size: 14px; outline: none;
}
.cta textarea { padding: 14px 16px; height: auto; min-height: 96px; resize: vertical; }
.cta input::placeholder, .cta textarea::placeholder { color: color-mix(in oklab, white 40%, transparent); }
.cta input:focus, .cta select:focus, .cta textarea:focus { border-color: var(--accent); background: color-mix(in oklab, white 10%, transparent); }
.cta .btn-primary { background: white; color: var(--ink); }
.cta .btn-primary:hover { background: var(--accent); color: white; }
.cta .glyph {
  position: absolute; right: -100px; top: -80px;
  font-family: var(--f-display); font-weight: 700;
  font-size: 540px; line-height: 0.8; color: color-mix(in oklab, white 5%, transparent);
  pointer-events: none; user-select: none; letter-spacing: -0.06em;
}

/* Footer */
.foot {
  padding: 64px 0 36px;
  border-top: 1px solid var(--line);
  margin-top: var(--pad-section);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.foot h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; font-weight: 500; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink-2); font-size: 14px; }
.foot a:hover { color: var(--accent); }
.foot .colofon { font-size: 14px; color: var(--ink-3); max-width: 38ch; line-height: 1.6; }
.foot-base { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 32px; border-top: 1px solid var(--line); margin-top: 28px; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.06em; font-weight: 500; }

/* ─── Help banner ─── */
.help-banner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 36px 40px; align-items: center;
}
.help-glyph {
  width: 56px; height: 56px; border-radius: 18px; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; font-size: 26px;
}
.help-body h3 { font-size: 22px; margin-bottom: 6px; }
.help-body .help-sub { color: var(--ink-2); font-size: 15px; margin-bottom: 8px; }
.help-body .help-text { color: var(--ink-3); font-size: 14px; max-width: 60ch; }
.help-cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.help-cta .help-phone { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }

/* ─── Page hero (subpages) ─── */
.page-hero { padding-top: clamp(48px, 8vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }

/* Legal pages: remove decorative blue accents in header/hero */
body[data-page-kind="legal"] .page-hero::before { display: none; }

/* ─── Services page ─── */
.loop {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 56px;
}
.loop-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.loop-step {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 22px; font-family: var(--f-display); font-size: 18px; font-weight: 500;
}
.loop-step .loop-n { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }

/* ─── Pricing scope ─── */
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.scope-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px;
}
.scope-card h3 { margin-bottom: 18px; font-size: 20px; }
.scope-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.scope-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.scope-card .ck {
  color: var(--accent); flex-shrink: 0; margin-top: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft);
  display: inline-grid; place-items: center; font-size: 11px; font-weight: 600;
}
.scope-card .ck-no {
  color: var(--ink-4); flex-shrink: 0; margin-top: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--bg-3);
  display: inline-grid; place-items: center; font-size: 14px; font-weight: 500;
  transform: rotate(45deg);
}
.scope-out { background: var(--bg); border-style: dashed; }

.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px 22px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 32px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  color: var(--ink); cursor: pointer;
}
.next-card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 14px 36px -22px color-mix(in oklab, var(--ink) 30%, transparent); }
.next-card .next-num { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }
.next-card h3 { font-size: 18px; grid-row: 1; grid-column: 2; }
.next-card p { grid-row: 2; grid-column: 2; color: var(--ink-3); font-size: 13.5px; }
.next-card .next-arr { grid-row: 1 / span 2; color: var(--ink-3); font-size: 18px; }

/* ─── About page ─── */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.about-side {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px; position: sticky; top: 100px;
}
.about-side h4 { font-size: 14px; font-family: var(--f-mono); letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; }
.about-stack {
  margin-top: 28px; display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line);
}
.about-stack > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.about-stack .k { font-family: var(--f-display); font-size: 26px; letter-spacing: -0.025em; font-weight: 500; }
.about-stack .l { font-size: 12px; color: var(--ink-3); font-family: var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }

/* ─── Contact page ─── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.contact-grid .cta { padding: 48px; }
.contact-side {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; position: sticky; top: 100px;
}
.contact-row {
  display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.contact-row:first-child { border-top: 0; padding-top: 0; }
.contact-row .contact-k { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.contact-row a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.contact-row a:hover { color: var(--accent); border-color: var(--accent); }

/* ─── Topic pages ─── */
.topic-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.topic-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: flex-start;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 26px; font-size: 16px; line-height: 1.55; color: var(--ink-2);
}
.topic-list .ck {
  width: 32px; height: 32px; border-radius: 12px; background: var(--accent-soft);
  display: grid; place-items: center; flex-shrink: 0;
}
.topic-list .ck-i { color: var(--accent); font-weight: 600; font-size: 14px; }
.topic-side { position: sticky; top: 100px; }
.topic-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px;
}

/* ─── Legal pages ─── */
.legal { max-width: 760px; }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section:first-child { border-top: 0; padding-top: 0; }
.legal-section h3 { margin-bottom: 14px; font-size: 22px; letter-spacing: -0.018em; }
.legal-section p { color: var(--ink-2); font-size: 16px; line-height: 1.7; }

/* ─── Thanks / 404 ─── */
.thanks { padding-top: 80px; max-width: 760px; }

/* ─── Pricing aside list (paragraph descriptions) ─── */
.pricing-aside .why h4 { font-size: 17px; margin-bottom: 4px; }

/* ─── Nav active state ─── */
.nav-links a.active { color: var(--accent); }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .services { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .pricing-wrap { grid-template-columns: 1fr; gap: 40px; }
  .testimonials { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .blog { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .sect-hd { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
  :root { --pad-section: 72px; --gutter: 20px; }
  .nav-inner { height: 68px; }
  .brand-logo-full { height: 30px; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .nav-mobile-overlay { inset: 68px 0 0; }
  .nav-mobile-panel { top: 68px; height: calc(100dvh - 68px); }
  .nav-mobile-utility-row { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1.2fr repeat(3, 1fr); font-size: 12px; }
  .compare > div { padding: 12px 14px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos-img { grid-template-columns: repeat(3, 1fr); gap: 8px 16px; padding: 24px 0; }
  .logo-img { height: 60px; padding: 4px 8px; }
  .checker .results { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr; }
  .help-banner { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .help-cta { align-items: flex-start; }
  .scope-grid { grid-template-columns: 1fr; }
  .next-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-side { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .topic-grid { grid-template-columns: 1fr; gap: 28px; }
  .topic-side { position: static; }
  .loop { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .loop-steps { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .nav-mobile-utility-row { grid-template-columns: 1fr; }
}
