/* Self-hosted Inter (latin + greek) */
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-400-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-400-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-400-latin.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;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-500-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-500-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-500-latin.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;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-600-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-600-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-600-latin.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;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-700-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-700-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/wp-content/themes/rankinghouse-core/assets/fonts/inter-700-latin.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;
}

:root {
  --bg: #0b1220;
  --bg-raise: #0e1728;
  --surface: #111827;
  --surface-2: #172033;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --faint: #64748b;
  --primary: #087cf0;
  --primary-2: #4f7df3;
  --accent: #8b5cf6;
  --radius: 16px;
  --header: 92px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 50% -120px, rgba(8, 124, 240, 0.18), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(139, 92, 246, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(8, 124, 240, 0.35); }

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
}
.skip:focus-visible {
  width: auto;
  height: auto;
  padding: 8px 12px;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.wrap-s { width: min(760px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: auto;
  display: flex;
  align-items: flex-start;
  padding: 14px 16px 0;
  background: transparent;
  border: 0;
}
.site-header.is-stuck .header-inner {
  background: rgba(7, 12, 24, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(1120px, 100%);
  min-height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(8, 14, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 28px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 0; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.nav-link svg { opacity: 0.7; }
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link,
.nav-link[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.mega {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 460px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega a {
  display: block;
  padding: 12px 12px 10px;
  border-radius: 12px;
  text-decoration: none;
}
.mega a:hover,
.mega a:focus-visible { background: rgba(255, 255, 255, 0.04); }
.mega strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.mega span { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

.nav-desktop .nav-item:first-child .mega { left: 0; transform: translateY(8px); }
.nav-desktop .nav-item:first-child:hover .mega,
.nav-desktop .nav-item:first-child:focus-within .mega { transform: translateY(0); }
.nav-desktop .nav-item:last-child .mega { left: auto; right: 0; transform: translateY(8px); }
.nav-desktop .nav-item:last-child:hover .mega,
.nav-desktop .nav-item:last-child:focus-within .mega { transform: translateY(0); }

.lang-switch { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.lang-switch a { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 7px; border-radius: 999px; }
.lang-switch a.is-current { color: var(--text); background: rgba(255,255,255,.08); }
.header-cta { margin-left: 6px; min-height: 40px; padding: 0 14px; white-space: nowrap; }
@media (max-width: 1180px) {
  .nav-link { font-size: 12.5px; padding: 8px 7px; }
  .header-cta { font-size: 13px; padding: 0 12px; }
  .logo img { height: 24px; }
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--text);
  position: relative;
  border-radius: 2px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.nav-panel { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: white;
  background: linear-gradient(180deg, #3b93f8 0%, #087cf0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 28px rgba(8, 124, 240, 0.28);
}
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); }

.hero { padding: 88px 0 36px; text-align: center; }
.hero-home {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(86vh, 780px);
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-scene {
  position: absolute;
  inset: -8% -6% 0;
  z-index: -2;
  pointer-events: none;
}
.hero-scene svg { width: 100%; height: 100%; display: block; }
.hero-home::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-home .wrap { position: relative; z-index: 1; }
.hero-home .wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 42%;
  width: min(860px, 120%);
  height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(11, 18, 32, 0.62), transparent 68%);
  pointer-events: none;
}
.hero-home h1 { text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.hero-home .btn-primary {
  color: #0b1220;
  background: linear-gradient(180deg, #ffffff 0%, #e7eef8 100%);
  box-shadow: inset 0 1px 0 #fff, 0 12px 32px rgba(0, 0, 0, 0.28);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 500;
}
.badge i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(8, 124, 240, 0.18);
}
h1, .h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 650;
}
.lede {
  width: min(720px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.lede p { margin: 0 0 12px; color: var(--muted); }
.lede p:last-child { margin-bottom: 0; }
.page-hero .lede { margin-left: 0; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.platforms { padding: 28px 0 10px; }
.platforms p {
  margin: 0 0 14px;
  text-align: center;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.platform-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.platform-row span {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2, .entry-content h2, .rh-block h2, .rh-band h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 640;
}
.section-head p, .kicker {
  margin: 0;
  color: var(--muted);
}
.kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 12px 0 88px;
  align-items: start;
}
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: rgba(8, 124, 240, 0.55); transform: translateY(-2px); }
.card h3, .rh-card h3, .entry-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.card p, .rh-card p { margin: 0; color: var(--muted); }
.card em {
  margin-top: 22px;
  font-style: normal;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ai-panel {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #0c1424;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.ai-top {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.ai-top i { width: 8px; height: 8px; border-radius: 99px; background: #243044; }
.ai-body { padding: 18px 18px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.65; }
.ai-prompt { margin: 0 0 14px; color: #b9c6da; }
.ai-answer { margin: 0; color: var(--text); }
.ai-note { margin: 12px 0 0; color: var(--faint); font-family: var(--font); font-size: 12px; }

.path {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 10px auto 0;
}
.path-line {
  position: absolute;
  left: 50%;
  top: 36px;
  bottom: 36px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(8, 124, 240, 0.15), rgba(139, 92, 246, 0.9) 62%, rgba(255, 255, 255, 0.14));
}
.path-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: center;
  column-gap: 22px;
}
.path-card {
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(17, 24, 39, 0.72));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.path-step.is-left .path-card { grid-column: 1; justify-self: end; width: min(100%, 390px); }
.path-step.is-right .path-card { grid-column: 3; justify-self: start; width: min(100%, 390px); }
.path-step.is-now .path-card {
  border-color: rgba(139, 92, 246, 0.62);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.28), 0 20px 54px rgba(139, 92, 246, 0.2);
}
.path-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 12px;
  color: #8ec4ff;
  background: rgba(8, 124, 240, 0.16);
  border: 1px solid rgba(8, 124, 240, 0.35);
}
.path-step.is-now .path-icon {
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.35);
}
.path-step.is-next .path-icon {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.path-card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.03em; }
.path-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.path-node {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  width: 22px;
  height: 22px;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #041018;
  background: #087cf0;
  box-shadow: 0 0 0 6px rgba(8, 124, 240, 0.14);
}
.path-step.is-now .path-node {
  background: #8b5cf6;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.16), 0 0 24px rgba(139, 92, 246, 0.85);
  animation: path-pulse 2.6s ease-in-out infinite;
}
.path-step.is-next .path-node {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
@keyframes path-pulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(139, 92, 246, 0.14), 0 0 16px rgba(139, 92, 246, 0.55); }
  50% { box-shadow: 0 0 0 12px rgba(139, 92, 246, 0.06), 0 0 28px rgba(139, 92, 246, 0.8); }
}

.faqs { display: flex; flex-direction: column; }
.rh-faq {
  border-bottom: 1px solid var(--line);
}
.rh-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.rh-faq summary::-webkit-details-marker { display: none; }
.rh-faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 500;
}
.rh-faq[open] summary::after { content: "–"; }
.rh-faq p { margin: 0 0 18px; color: var(--muted); }

.band, .rh-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(139, 92, 246, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(8, 124, 240, 0.12), rgba(255, 255, 255, 0.02));
}
.rh-band h2, .band h2 { font-size: clamp(26px, 3vw, 36px); }
.rh-band p, .band p { color: var(--muted); margin: 0; }

.site-footer { padding: 28px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.site-footer h2 { margin: 0 0 12px; font-size: 14px; color: var(--text); letter-spacing: -0.01em; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 14px; max-width: 280px; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--faint);
  font-size: 13px;
}
.footer-base nav { display: flex; gap: 16px; }
.footer-base a { color: var(--faint); text-decoration: none; }
.footer-base a:hover { color: var(--text); }

.page-hero { padding: 64px 0 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; color: var(--faint); font-size: 13px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); max-width: 16ch; }
.page-hero .lede { margin: 18px 0 0; font-size: 17.5px; }
.page-hero .hero-actions { justify-content: flex-start; }

.layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 28px 0 88px;
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header) + 18px);
}
.toc p { margin: 0 0 10px; color: var(--faint); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
}
.toc a:hover { color: var(--text); }

.entry-content > * + * { margin-top: 0; }
.rh-block { padding: 8px 0 28px; }
.rh-block p, .entry-content p { color: #d5deea; }
.rh-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rh-list li {
  position: relative;
  padding-left: 18px;
  color: #d5deea;
}
.rh-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 0.7em;
}
.rh-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.team-photo { width: 112px; height: 140px; border-radius: 18px; object-fit: cover; object-position: center 68%; display: block; margin: 0 0 14px; border: 1px solid var(--line); }
.team .rh-card p { margin: 0 0 12px; }
.team-role { color: #8B5CF6; font-weight: 600; font-size: 14px; }
.team-links { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 4px 0 0; padding: 0; }
.team-links a { color: var(--text); font-size: 14px; font-weight: 600; text-underline-offset: 3px; }
.rh-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.rh-card:hover { border-color: rgba(255, 255, 255, 0.2); }
.rh-more { color: var(--text); font-weight: 600; font-size: 14px; text-underline-offset: 3px; }
.rh-band { margin: 12px 0 28px; }
.entry-content h2 { scroll-margin-top: 96px; }

.form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.field { position: relative; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 22px 14px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0e1728;
  outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label {
  position: absolute;
  left: 14px;
  top: 16px;
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
  transition: 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(8, 124, 240, 0.8);
  box-shadow: 0 0 0 4px rgba(8, 124, 240, 0.15);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
  top: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hp { position: absolute; left: -9999px; }

.notice {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(8, 124, 240, 0.4);
  background: rgba(8, 124, 240, 0.1);
  color: var(--text);
}

.posts { display: grid; gap: 12px; }
.post-card {
  display: block;
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
}
.post-card:hover { border-color: rgba(8, 124, 240, 0.5); }
.post-card time { color: var(--faint); font-size: 13px; }
.post-card h2 { margin: 8px 0; font-size: 24px; letter-spacing: -0.03em; }
.post-card p { margin: 0; color: var(--muted); }

.article { padding-bottom: 80px; }
.article .entry-content { font-size: 17px; }
.article .entry-content h2 { margin-top: 1.6em; }
.article .entry-content p { margin: 0.8em 0; }
.article .entry-content ul { padding-left: 1.1em; }
.article .entry-content a { color: #8ec4ff; }

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  width: auto;
  max-width: 420px;
  margin-left: auto;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.cookie p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.cookie a { color: var(--text); }
.cookie .btn { width: 100%; }

.rh-nudge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 48;
  width: min(360px, calc(100vw - 32px));
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(8, 124, 240, 0.35);
  background: rgba(16, 24, 42, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.rh-nudge.is-in {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
body:has(.cookie:not([hidden])) .rh-nudge {
  bottom: 148px;
}
.rh-nudge-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.rh-nudge-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.rh-nudge-kicker {
  margin: 0 28px 6px 0;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rh-nudge-body {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.45;
}
.rh-nudge-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}
.rh-nudge-chip {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 48;
  padding: 10px 14px;
  border: 1px solid rgba(8, 124, 240, 0.45);
  border-radius: 999px;
  background: rgba(16, 24, 42, 0.96);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.2s ease;
}
.rh-nudge-chip.is-in {
  opacity: 1;
  transform: none;
}
.rh-nudge-chip:hover {
  background: rgba(8, 124, 240, 0.18);
}
body:has(.cookie:not([hidden])) .rh-nudge-chip {
  bottom: 148px;
}
@media (prefers-reduced-motion: reduce) {
  .rh-nudge { transition: none; transform: none; }
  .rh-nudge-chip { transition: none; transform: none; }
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.page-hero-split { padding-bottom: 20px; }
.page-hero-split h1 { max-width: 14ch; }
.page-hero-split .lede { margin-left: 0; width: 100%; }

.viz {
  position: relative;
  min-height: 250px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #0c1424;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.viz-sm { min-height: 128px; border-radius: 14px; margin-bottom: 16px; }
.viz-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px 4px;
  color: var(--muted);
  font-size: 12px;
}
.viz-top i { width: 7px; height: 7px; border-radius: 99px; background: #243044; }
.viz-tag { margin-left: auto; color: #22c55e; font-weight: 600; }
.viz-svg { width: 100%; height: auto; display: block; }
.viz-grid { fill: none; stroke: rgba(255, 255, 255, 0.08); }
.viz-area { fill: rgba(34, 197, 94, 0.16); }
.viz-curve { fill: none; stroke: #22c55e; stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.75)); }
.viz-dot { fill: #22c55e; }
.viz-chart { box-shadow: inset 0 0 48px rgba(34, 197, 94, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.viz-pre {
  margin: 0;
  padding: 4px 16px 8px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  color: #d5deea;
  white-space: pre-wrap;
}
.viz-sm .viz-pre { font-size: 11px; padding-bottom: 4px; }
.c-k { color: #8ec4ff; }
.c-p { color: #c4b5fd; }
.c-v { color: #86efac; }
.viz-wire { display: grid; gap: 7px; padding: 4px 16px 14px; }
.viz-wire span {
  height: 7px;
  border-radius: 99px;
  background: rgba(79, 125, 243, 0.22);
  border: 1px solid rgba(79, 125, 243, 0.5);
}
.viz-wire span:nth-child(2) { width: 72%; }
.viz-wire span:nth-child(3) { width: 46%; }
.viz-code { box-shadow: inset 0 0 48px rgba(79, 125, 243, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.viz-link { fill: none; stroke: rgba(139, 92, 246, 0.6); stroke-width: 1.5; }
.viz-node { fill: #1e1b4b; stroke: #8b5cf6; stroke-width: 2; }
.viz-node.hot { fill: #8b5cf6; filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.85)); }
.viz-nodes { display: flex; align-items: center; background: radial-gradient(180px 120px at 50% 40%, rgba(139, 92, 246, 0.18), transparent 70%), #0c1424; }
.viz-orb {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(139, 92, 246, 0.28), transparent 58%), #0c1424;
}
.viz-orb-core {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff 0%, #ddd6fe 16%, #8b5cf6 46%, #1e1b4b 74%);
  box-shadow: 0 0 42px rgba(139, 92, 246, 0.55);
}
.viz-sm .viz-orb-core { width: 64px; height: 64px; }
.viz-prompt {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.78);
  color: #d5deea;
  font-family: var(--mono);
  font-size: 12px;
}
.viz-prompt span { color: #c4b5fd; margin-right: 6px; }
.viz-sm .viz-prompt, .viz-sm .viz-wire { display: none; }
.viz-media {
  display: grid;
  place-items: center;
  background: radial-gradient(160px 100px at 50% 50%, rgba(8, 124, 240, 0.18), transparent 70%), #0c1424;
}
.viz-frames { position: relative; width: 76%; height: 150px; }
.viz-sm .viz-frames { height: 88px; }
.frame {
  position: absolute;
  border-radius: 14px;
  border: 1px solid rgba(8, 124, 240, 0.5);
  background: linear-gradient(160deg, rgba(8, 124, 240, 0.22), rgba(255, 255, 255, 0.03));
}
.frame.back { inset: 0 26px 24px 0; opacity: 0.5; }
.frame.front { inset: 20px 0 0 26px; display: grid; place-items: center; }
.play {
  width: 0;
  height: 0;
  border-left: 14px solid #f8fafc;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 12px;
}
.signal {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ai-panel { position: relative; }
.ai-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -30px;
  top: -60px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 68%);
  pointer-events: none;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.svc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.svc-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #8ec4ff;
  border: 1px solid rgba(8, 124, 240, 0.35);
  background: rgba(8, 124, 240, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.svc:nth-child(1) .svc-icon { color: #86efac; border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.12); }
.svc:nth-child(3) .svc-icon { color: #c4b5fd; border-color: rgba(139, 92, 246, 0.45); background: rgba(139, 92, 246, 0.14); }
.svc h3 { margin: 8px 0 0; font-size: 22px; letter-spacing: -0.03em; }
.svc p { margin: 0; color: var(--muted); }
.svc em { margin-top: auto; font-style: normal; font-weight: 600; font-size: 14px; }
.svc:hover { transform: translateY(-6px); border-color: rgba(8, 124, 240, 0.55); box-shadow: 0 18px 48px rgba(8, 124, 240, 0.16); }
.svc:nth-child(1):hover { border-color: rgba(34, 197, 94, 0.55); box-shadow: 0 18px 48px rgba(34, 197, 94, 0.14); }
.svc:nth-child(3):hover { border-color: rgba(139, 92, 246, 0.6); box-shadow: 0 18px 48px rgba(139, 92, 246, 0.18); }
.svc.tone-green .svc-icon { color: #86efac; border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.12); }
.svc.tone-blue .svc-icon { color: #8ec4ff; border-color: rgba(8, 124, 240, 0.35); background: rgba(8, 124, 240, 0.12); }
.svc.tone-purple .svc-icon { color: #c4b5fd; border-color: rgba(139, 92, 246, 0.45); background: rgba(139, 92, 246, 0.14); }
.svc.tone-green:hover { border-color: rgba(34, 197, 94, 0.55); box-shadow: 0 18px 48px rgba(34, 197, 94, 0.14); }
.svc.tone-blue:hover { border-color: rgba(8, 124, 240, 0.55); box-shadow: 0 18px 48px rgba(8, 124, 240, 0.16); }
.svc.tone-purple:hover { border-color: rgba(139, 92, 246, 0.6); box-shadow: 0 18px 48px rgba(139, 92, 246, 0.18); }
.svc:hover .svc-icon { transform: translateY(-2px) scale(1.05); }
.section.tight { padding-top: 0; }

.dash {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(139, 92, 246, 0.16), transparent 55%),
    #0c1424;
}
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.kpi span { color: var(--muted); font-size: 13px; }
.kpi strong {
  display: block;
  margin-top: 8px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.045em;
}
.dash-chart {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; }
.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #c4b5fd, #087cf0);
  transform-origin: bottom;
  animation: rise 0.9s ease both;
}
.bars span:nth-child(2) { animation-delay: 0.05s; }
.bars span:nth-child(3) { animation-delay: 0.1s; }
.bars span:nth-child(4) { animation-delay: 0.15s; }
.bars span:nth-child(5) { animation-delay: 0.2s; }
.bars span:nth-child(6) { animation-delay: 0.25s; }
.dash-chart p { margin: 0; color: var(--faint); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
@keyframes rise { from { transform: scaleY(0.2); opacity: 0.4; } to { transform: scaleY(1); opacity: 1; } }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.case:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.5); }
.case .viz { border: 0; border-radius: 0; min-height: 190px; }
.case-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; }
.case-body h3 { margin: 0; font-size: 20px; letter-spacing: -0.03em; }
.case-body p { margin: 0; color: var(--muted); }
.case-body .btn { align-self: flex-start; margin-top: 4px; }
.case-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(8, 124, 240, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.02);
}
.case-feature.is-text { grid-template-columns: 1fr; }
.case-carousel { position: relative; }
.case-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.case-track::-webkit-scrollbar { display: none; }
.case-slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.case-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.case-controls > button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.case-dots {
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.case-dots button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.case-dots button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.2s ease, background 0.2s ease;
}
.case-dots button.is-current::before {
  width: 22px;
  background: #087cf0;
}
.case-dots button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.case-feature-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.case-feature h3 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; }
.case-feature h3 a { color: inherit; }
.case-feature-copy > p { margin: 0; color: var(--muted); }
.case-feature-shot { margin: 0; }
.case-feature-shot img, .case-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.03);
}
.pills a:hover { border-color: rgba(8, 124, 240, 0.7); }
.case-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.case-mini div { padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(11, 18, 32, 0.45); }
.case-mini b { display: block; font-size: 22px; letter-spacing: -0.04em; }
.case-mini span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.metric b { display: block; font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.04em; color: #fff; }
.metric span { display: block; margin-top: 6px; color: var(--text); }
.metric small { display: block; margin-top: 8px; color: var(--faint); font-size: 12px; line-height: 1.45; }
.case-pending { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.case-facts { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.case-facts li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.case-facts b { color: var(--faint); font-weight: 600; font-size: 13px; }
.case-facts span { color: var(--text); }
.case-shot { margin: 22px 0 8px; }
.case-shot figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.case-teaser {
  margin: 0 0 28px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.case-teaser h2 { margin: 8px 0; }
.case-teaser h2 a { color: inherit; }
@media (max-width: 980px) {
  .case-feature, .metric-grid, .case-mini, .case-facts li { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-panel {
    display: block;
    position: fixed;
    inset: var(--header) 0 0 0;
    z-index: 60;
    background: #0b1220;
    padding: 12px 20px 32px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  body.nav-open .site-header { z-index: 70; }
  .nav-panel a { display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav-panel .group { margin-top: 18px; color: var(--faint); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
  .bento, .split, .layout, .footer-grid, .rh-cards, .rh-band, .band, .contact-grid, .hero-split, .signals, .svc-grid, .dash, .cases, .audit-layout, .home-facts { grid-template-columns: 1fr; display: grid; }
  .path-line { left: 10px; transform: none; }
  .path-step { grid-template-columns: 22px 1fr; column-gap: 16px; }
  .path-step.is-left .path-card,
  .path-step.is-right .path-card { grid-column: 2; justify-self: stretch; width: auto; }
  .path-node { grid-column: 1; }
  .footer-grid { display: grid; }
  .toc { display: none; }
  .page-hero h1 { max-width: none; }
  .hero { padding-top: 48px; }
  .hero-home { min-height: 0; padding: 36px 0 72px; }
  .section { padding: 56px 0; }
  .section.tight { padding-top: 0; }
}

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

.audit-layout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
@media (min-width: 981px) {
  .audit-layout { grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
  .audit-layout > :first-child { position: sticky; top: 92px; }
}
.audit-form { margin-bottom: 12px; }
.audit-form .btn { width: 100%; }
.audit-score { display: flex; align-items: baseline; gap: 10px; }
.audit-score strong { font-size: 42px; letter-spacing: -0.04em; }
.audit-score span, .audit-url { color: var(--muted); }
.audit-url { margin-top: 0; word-break: break-all; }
.audit-list { list-style: none; margin: 18px 0 28px; padding: 0; display: grid; gap: 10px; }
.audit-list li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.03); }
.audit-list b { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.audit-lead { margin: 8px 0 0; color: var(--text); }
.audit-ok b { color: #86efac; }
.audit-warn b { color: #fde68a; }
.audit-bad b { color: #fda4af; }
.audit-list span { font-weight: 600; }
.audit-list p { margin: 6px 0 0; color: var(--muted); }
.audit-empty { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.03); }
.audit-empty ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.audit-next { margin-top: 18px; }
.audit-layout .svc { min-height: 0; }
.audit-switch { display: flex; gap: 8px; margin: 18px 0 0; }
.audit-switch a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.audit-switch a.is-current { color: var(--text); border-color: rgba(8, 124, 240, 0.55); background: rgba(8, 124, 240, 0.12); }

.section:has(.home-contact-card) { padding-top: 36px; }
.home-contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
  border-radius: 28px;
  background:
    radial-gradient(500px 220px at 80% 0%, rgba(139, 92, 246, 0.16), transparent 60%),
    #10182a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}
.home-contact-card > * { min-width: 0; }
@media (min-width: 981px) {
  .home-contact-card {
    grid-template-columns: 1fr 0.9fr;
    gap: 28px;
    padding: 28px;
  }
}
.home-contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(8, 124, 240, 0.85), rgba(139, 92, 246, 0.85));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.home-contact-card h2 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; }
.home-contact-lead { margin: 0 0 8px; color: var(--muted); }
.home-contact-card .form { margin-top: 16px; }
.home-contact-card .field input,
.home-contact-card .field select,
.home-contact-card .field textarea {
  border-color: rgba(8, 124, 240, 0.35);
  background: rgba(7, 12, 24, 0.55);
}
.home-contact-card .btn-primary {
  width: 100%;
  color: #fff;
  background: linear-gradient(90deg, #087cf0, #8b5cf6);
  box-shadow: 0 10px 28px rgba(79, 90, 246, 0.28);
}
.home-map {
  position: relative;
  min-height: 280px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 46%, rgba(8, 124, 240, 0.18), transparent 28%),
    linear-gradient(180deg, #121a2c, #0c1322);
}
@media (min-width: 981px) {
  .home-map { min-height: 420px; }
}
.home-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.35) brightness(0.8);
}
.home-map-pin {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 1;
  transform: translate(-50%, -100%);
  display: grid;
  justify-items: center;
  gap: 6px;
  pointer-events: none;
}
.home-map-pin span {
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(180deg, #8b5cf6, #087cf0);
  box-shadow: 0 0 0 8px rgba(8, 124, 240, 0.18);
}
.home-map-pin b {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.82);
  font-size: 13px;
  font-weight: 600;
}
.home-map-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.82);
  color: var(--text);
  font-size: 12px;
  text-decoration: none;
}
.home-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.home-facts li { display: flex; gap: 12px; align-items: flex-start; }
.home-fact-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #dbeafe;
  background: linear-gradient(180deg, rgba(8, 124, 240, 0.28), rgba(139, 92, 246, 0.28));
  border: 1px solid rgba(139, 92, 246, 0.45);
}
.home-facts b { display: block; font-size: 14px; }
.home-facts a,
.home-facts span { color: var(--muted); text-decoration: none; }
.home-facts small { display: block; color: var(--faint); font-size: 13px; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
