@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* CarlHost — clean single-accent dark theme. */
:root {
  --bg: #0A0A0A;
  --bg-soft: #0F0F0F;
  --card: #121212;
  --card-hover: #161616;
  --border: #222222;
  --border-strong: #2E2E2E;
  --fg: #F5F5F5;
  --fg-2: #D4D4D4;
  --muted: #9A9A9A;
  --accent: #FF6A13;
  --accent-hover: #FF7F33;
  --accent-ink: #0A0A0A;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 14px;
  --wrap: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink);
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn svg { width: 16px; height: 16px; }
.btn-dark { background: var(--card); color: var(--fg); border-color: var(--border-strong); }
.btn-dark:hover { background: var(--card-hover); border-color: #3a3a3a; }
.btn-block { width: 100%; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(11, 17, 32, .97); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; }
.brand svg { width: 30px; height: 30px; }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--fg-2); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-right .text-link { color: var(--fg-2); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.nav-right .text-link:hover { color: var(--fg); }
.nav-right .btn { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border-strong); color: var(--fg); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 90%); mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}
.hero .wrap { position: relative; padding-block: 120px 96px; }
.hero-copy { max-width: 760px; display: grid; gap: 24px; }
.hero h1 { font-size: clamp(42px, 7.2vw, 80px); line-height: 1.02; letter-spacing: -0.045em; }
.hero p.lead { color: var(--fg-2); font-size: clamp(17px, 2vw, 19px); line-height: 1.65; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 88px; border-top: 1px solid var(--border); }
.fact { padding: 24px 24px 0 0; min-width: 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--border); }
.fact b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.fact span { color: var(--muted); font-size: 14px; }

/* Sections */
section { scroll-margin-top: 88px; }
.section { padding-block: 112px; }
.section.tight { padding-top: 0; }
.head { display: grid; gap: 14px; margin-bottom: 56px; }
.head.center { text-align: center; justify-items: center; }
.head h2 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; }
.head p { color: var(--muted); font-size: 17px; max-width: 620px; }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc {
  display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 30px 28px 24px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--fg);
  transition: border-color .15s ease, background .15s ease;
}
.svc:hover { border-color: var(--border-strong); background: var(--card-hover); }
.icon-tile { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--fg-2); margin-bottom: 14px; }
.icon-tile svg { width: 20px; height: 20px; }
.svc h3 { font-size: 18px; letter-spacing: -0.02em; }
.svc p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.svc-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.svc-foot b { color: var(--fg); font-size: 15px; }
.svc-foot svg { width: 16px; height: 16px; color: var(--fg-2); transition: transform .15s ease; }
.svc:hover .svc-foot svg { transform: translateX(3px); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; }
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: none; }
.plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 36px 36px 32px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; }
.plans.four .plan { padding: 28px 24px 24px; }
.plan.featured { border-color: var(--accent); }
.plan-label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 20px; letter-spacing: -0.02em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.plan-price b { font-size: 46px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plans.four .plan-price b { font-size: 38px; }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-price .quote { font-size: 30px; font-weight: 700; color: var(--fg); letter-spacing: -0.03em; }
.plan ul { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; }
.plan li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg-2); }
.plans.four .plan li { font-size: 14px; gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.plan.featured li { color: var(--fg); }
.plan .btn { margin-top: auto; }
.below-plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 40px; color: var(--muted); font-size: 15px; }

/* Split feature block */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.cards-2x2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mini { min-width: 0; padding: 30px 28px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; display: grid; gap: 10px; align-content: start; }
.mini .icon-tile { margin-bottom: 22px; }
.mini h3 { font-size: 16px; letter-spacing: -0.01em; }
.mini p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.split-copy { display: grid; gap: 22px; }
.split-copy h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.08; }
.split-copy > p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.checks { display: grid; gap: 14px; }
.check { display: flex; gap: 16px; padding: 22px 24px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; }
.check svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.check h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; }
.check p { color: var(--muted); font-size: 14.5px; }

/* Generic grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.list-rows { border-top: 1px solid var(--border); }
.list-rows div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.list-rows dt { font-weight: 600; }
.list-rows dd { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 10px 16px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--card); font-size: 15px; font-weight: 500; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--accent); }

/* Flow (Anti-DDoS) */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 16px; }
.flow .mini { text-align: left; }
.flow .mini.on { border-color: var(--accent); }
.flow-arrow { display: flex; align-items: center; color: var(--muted); }
.flow-arrow svg { width: 22px; height: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); flex: none; transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 680px; }
.faq a { color: var(--accent); }

/* CTA */
.cta { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 28px; background: var(--bg-soft); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; }
.cta-mark { position: absolute; left: -40px; top: 50%; transform: translateY(-50%); width: 380px; height: 380px; color: #161616; pointer-events: none; }
.cta-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 18px; padding: 96px 24px; }
.cta h2 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -0.045em; max-width: 680px; }
.cta p { color: var(--fg-2); font-size: 18px; max-width: 560px; }
.cta .hero-actions { justify-content: center; margin-top: 10px; }

/* Footer */
.site-footer { padding-block: 72px 36px; border-top: 1px solid var(--border); margin-top: 112px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-about p { color: var(--muted); margin-top: 18px; font-size: 15px; max-width: 320px; }
.footer-grid h4 { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid ul a { color: var(--fg-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.footer-grid ul a:hover { color: var(--fg); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a { color: var(--fg-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--fg); }

/* Page hero (product + legal) */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero .wrap { position: relative; padding-block: 96px 80px; }
.page-hero .hero-copy { max-width: 720px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.045em; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.page-hero .facts { margin-top: 64px; }

/* Legal */
.legal { padding-block: 64px 0; }
.legal article { max-width: 720px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; letter-spacing: -0.02em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--fg-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--accent); }
.legal code { font-family: var(--mono); font-size: 14px; color: var(--fg); }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 12px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.legal th { background: var(--card); font-weight: 600; }
.legal td { color: var(--fg-2); font-variant-numeric: tabular-nums; }
.legal tr:last-child td { border-bottom: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav-right { justify-content: space-between; padding-top: 20px; }
  .nav-right .btn { min-height: 46px; flex: 1; }
  .services, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-arrow { justify-content: center; transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .site-header .wrap { height: 64px; }
  .hero .wrap { padding-block: 72px 64px; }
  .page-hero .wrap { padding-block: 64px 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .fact { padding: 20px 16px 20px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--border); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--border); }
  .section { padding-block: 80px; }
  .head { margin-bottom: 40px; }
  .services, .grid-4, .plans.four, .cards-2x2 { grid-template-columns: minmax(0, 1fr); }
  .plans { max-width: none; }
  .plan { padding: 30px 24px 24px; }
  .list-rows div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cta { border-radius: 20px; }
  .cta-inner { padding: 64px 20px; }
  .cta-mark { width: 240px; height: 240px; left: -60px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { margin-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
.cta-mark svg { width: 100%; height: 100%; }
.cta-mark rect { fill: currentColor; }
.cta-mark circle { fill: var(--bg-soft); }
.page-hero .lead { color: var(--fg-2); font-size: clamp(17px, 2vw, 19px); line-height: 1.65; max-width: 620px; }
.page-hero .hero-copy { gap: 20px; }

/* Hero rack */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: center; }
.rack-wrap { margin: 0; display: grid; gap: 14px; justify-items: center; }
.rack-wrap figcaption { color: var(--muted); font-size: 13px; text-align: center; }
.rack { width: 100%; height: auto; display: block; }
.rk-frame { fill: #0E0E0E; stroke: var(--border-strong); stroke-width: 1; }
.rk-rail { fill: #111; stroke: var(--border); }
.rk-hole { fill: #050505; }
.rk-body { fill: #141414; stroke: #262626; stroke-width: 1; transition: fill .15s ease, stroke .15s ease; }
.rk-unit { cursor: pointer; }
.rk-unit:hover .rk-body, .rk-unit:focus-visible .rk-body { fill: #1A1A1A; stroke: #3A3A3A; }
.rk-unit:focus-visible { outline: none; }
.rk-unit:focus-visible .rk-body { stroke: var(--accent); stroke-width: 1.5; }
.rk-feat .rk-body { stroke: var(--accent); }
.rk-led-ok { fill: #3DDC97; }
.rk-led-act { fill: var(--accent); animation: rk-blink 1.6s steps(2, jump-none) infinite; }
@keyframes rk-blink { 0% { opacity: 1; } 100% { opacity: .2; } }
.rk-name { font: 600 14px var(--font); fill: var(--fg); letter-spacing: -.01em; }
.rk-spec { font: 500 11.5px var(--mono); fill: #8A8A8A; }
.rk-vent { stroke: #252525; stroke-width: 2; stroke-linecap: round; }
.rk-price { font: 600 14px var(--mono); fill: var(--fg-2); }
.rk-feat .rk-price { fill: var(--accent); }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .rack-wrap { max-width: 460px; width: 100%; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .rk-led-act { animation: none; } }

/* ===== tube-inspired refresh ===== */
:root {
  --bg: #0B1120; --bg-soft: #0E1527; --card: #121A2C; --card-hover: #172137;
  --border: #1E2940; --border-strong: #2A3854; --fg: #F1F5F9; --fg-2: #CBD5E1; --muted: #8C98AE;
}
.site-header { background: rgba(11, 17, 32, .97); }
.hero { background: radial-gradient(900px 500px at 15% -10%, rgba(37, 56, 102, .35), transparent 70%); }
.hero .wrap { padding-block: 104px 96px; }
.hero h1 { font-size: clamp(42px, 6.6vw, 72px); }
.eyebrow.accent { color: var(--accent); }

/* Stats band */
.stats-band { border-block: 1px solid var(--border); background: var(--bg-soft); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 56px; }
.stat { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 8px 16px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--border-strong); }
.stat b { font-size: clamp(34px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b .accent { font-size: .62em; letter-spacing: -0.02em; }
.stat > span { color: var(--muted); font-size: 14.5px; }

/* Why grid */
.band { background: linear-gradient(180deg, var(--bg-soft), var(--bg) 70%); }
.why { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.wcard { grid-column: span 2; min-width: 0; padding: 28px; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--card); display: grid; gap: 8px; align-content: start; }
.wcard.wide { grid-column: span 3; }
.wcard.full { grid-column: 1 / -1; }
.glowcard { background: linear-gradient(135deg, #18233D 0%, var(--card) 55%); }
.wcard .icon-tile { margin-bottom: 14px; background: rgba(255, 106, 19, .08); border-color: rgba(255, 106, 19, .28); color: var(--accent); }
.wcard h3 { font-size: 18px; letter-spacing: -0.02em; }
.wcard p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 760px; }

/* Product rows */
.prows { display: grid; gap: 120px; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.prow.flip .prow-ill { order: 2; }
.prow-ill { display: flex; justify-content: center; position: relative; }
.prow-ill::before { content: ""; position: absolute; width: 70%; height: 70%; top: 15%; left: 15%; background: radial-gradient(closest-side, rgba(37, 56, 102, .45), transparent); pointer-events: none; }
.ill { position: relative; width: 100%; max-width: 440px; height: auto; }
.prow-copy { display: grid; gap: 18px; min-width: 0; }
.prow-copy h3 { font-size: clamp(30px, 3.8vw, 40px); line-height: 1.1; letter-spacing: -0.035em; }
.prow-copy > p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 4px 0 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--card); font-size: 14px; font-weight: 500; color: var(--fg-2); }
.chips svg { width: 15px; height: 15px; color: var(--accent); }
.prow .hero-actions { margin-top: 8px; }

/* Illustration parts */
.il-shadow { fill: #070B16; }
.il-cab { fill: #141C2E; stroke: #26334D; stroke-width: 1.5; }
.il-unit { fill: #1A2438; stroke: #24314A; }
.il-slot { fill: #0D1424; }
.il-led-ok { fill: #3DDC97; }
.il-led-acc { fill: var(--accent); }
.il-pad { fill: #0D1424; stroke: #2A3854; stroke-width: 1.5; }
.il-pad-line { stroke: var(--fg-2); stroke-width: 4; stroke-linecap: round; fill: none; }
.il-pad-btn { fill: #3DDC97; }
.il-tunnel { stroke: #1A2438; stroke-width: 24; stroke-linecap: butt; fill: none; }
.il-tunnel-core { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 8; fill: none; }
.il-lockbox { fill: #141C2E; stroke: var(--accent); stroke-width: 1.5; }
.il-lock { fill: none; stroke: var(--fg-2); stroke-width: 3; stroke-linecap: round; }
.il-label { font: 600 13px var(--mono); fill: var(--muted); }
.il-edge { stroke: #2A3854; stroke-width: 2; }
.il-edge-acc { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 6 6; }
.il-node { fill: #141C2E; stroke: #2A3854; stroke-width: 1.5; }
.il-node-label { font: 600 13px var(--font); fill: var(--fg); }

/* Rack recolor for navy */
.rk-frame { fill: #0E1527; stroke: var(--border-strong); }
.rk-rail { fill: #111A2E; stroke: var(--border); }
.rk-hole { fill: #070B16; }
.rk-body { fill: #141C2E; stroke: #24314A; }
.rk-unit:hover .rk-body, .rk-unit:focus-visible .rk-body { fill: #1A2438; stroke: #34445F; }
.rk-vent { stroke: #22304A; }
.rk-spec { fill: #8C98AE; }
.plan { background: var(--card); }
.cta-mark { color: #131B2E; }

@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wcard, .wcard.wide { grid-column: span 1; }
  .prow { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .prow.flip .prow-ill { order: 0; }
  .prows { gap: 88px; }
  .ill { max-width: 380px; }
}
@media (max-width: 640px) {
  .stats { padding-block: 40px; }
  .stat { padding: 4px 8px; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .wcard { padding: 24px; }
  .prows { gap: 72px; }
  .prow .hero-actions .btn { flex: 1 1 100%; }
}
.footer-about .footer-tag { color: var(--fg); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin-top: 20px; }

/* CTA v2 */
.cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding: 64px; border-radius: 24px;
  border: 1px solid var(--border-strong); background: linear-gradient(135deg, #16213A 0%, var(--bg-soft) 55%); }
.cta::before { background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse at 85% 50%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 85% 50%, #000 0%, transparent 65%); }
.cta::after { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7; }
.cta-copy { position: relative; display: grid; gap: 18px; }
.cta-copy h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.06; letter-spacing: -0.04em; max-width: 520px; }
.cta-copy p { color: var(--fg-2); font-size: 17px; line-height: 1.65; max-width: 500px; }
.cta-copy p a { color: var(--fg); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.cta-copy p a:hover { border-color: var(--accent); }
.cta-copy .hero-actions { justify-content: flex-start; margin-top: 6px; }
.cta-list { position: relative; display: grid; border: 1px solid var(--border-strong); border-radius: 16px; background: rgba(11, 17, 32, .7); overflow: hidden; }
.cta-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px 20px; text-decoration: none; color: var(--fg); transition: background .15s ease; }
.cta-list a + a { border-top: 1px solid var(--border); }
.cta-list a:hover { background: var(--card-hover); }
.cta-list .icon-tile { margin: 0; width: 38px; height: 38px; background: rgba(255,106,19,.08); border-color: rgba(255,106,19,.28); color: var(--accent); }
.cta-list .icon-tile svg { width: 18px; height: 18px; }
.cl-name { font-weight: 600; font-size: 16px; }
.cl-meta { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.cta-list a > svg { width: 16px; height: 16px; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.cta-list a:hover > svg { transform: translateX(3px); color: var(--accent); }
@media (max-width: 1080px) { .cta { grid-template-columns: minmax(0, 1fr); padding: 48px 40px; gap: 40px; } }
@media (max-width: 640px) {
  .cta { padding: 32px 20px; border-radius: 20px; }
  .cta-copy .hero-actions .btn { flex: 1 1 100%; }
  .cta-list a { padding: 14px 16px; gap: 12px; }
}


/* Page transitions (supported browsers) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.site-footer { view-transition-name: site-footer; }
::view-transition-old(root) { animation: vt-out .2s ease both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* Scroll reveal (added by script only for content below the fold) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* Hero entrance */
.hero-copy > *, .page-hero .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.rack-wrap { animation: rise .8s .15s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Device polish */
html { -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
@media (hover: none) { .svc:hover, .plan:hover, .pcard:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .hero-copy > *, .page-hero .hero-copy > *, .rack-wrap { animation: none; }
}

/* ===== Motion layer ===== */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.wi { display: inline-block; will-change: transform; }
.anim .rv { opacity: 1; transform: none; }

/* Pointer spotlight on cards */
.wcard, .svc, .plan { position: relative; overflow: hidden; }
.wcard::after, .svc::after, .plan::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 19, .09), transparent 60%);
}
.wcard:hover::after, .svc:hover::after, .plan:hover::after { opacity: 1; }
.plan-label { z-index: 1; }

/* Story (pinned) */
.story { position: relative; border-bottom: 1px solid var(--border); background: radial-gradient(800px 500px at 80% 50%, rgba(37, 56, 102, .35), transparent 70%); }
.story-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding-block: 112px; }
.story-copy { display: grid; gap: 32px; }
.story-copy h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.story-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid transparent; transition: background .3s ease, border-color .3s ease, opacity .3s ease; opacity: .45; }
.story-steps li.on { opacity: 1; background: var(--card); border-color: var(--border-strong); }
.story-steps li.done { opacity: .7; }
.ss-n { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.story-steps li.on .ss-n { color: var(--accent); }
.story-steps h3 { font-size: 18px; letter-spacing: -0.02em; }
.story-steps p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.story-bar { height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.story-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.story-stage { position: relative; }
.story-svg { width: 100%; height: auto; display: block; overflow: visible; }
.st-card { fill: var(--card); stroke: var(--border-strong); stroke-width: 1.5; }
.st-feat { stroke: var(--accent); }
.st-badge { fill: var(--accent); }
.st-badge-t { font: 700 12px var(--font); fill: var(--accent-ink); }
.st-h { font: 700 20px var(--font); fill: var(--fg); letter-spacing: -0.02em; }
.st-sm { font-size: 16px; }
.st-m { font: 500 13px var(--font); fill: var(--muted); }
.st-p { font: 700 30px var(--font); fill: var(--fg); letter-spacing: -0.03em; }
.st-acc { fill: var(--accent); }
.st-btn { fill: var(--accent); }
.st-line { stroke: var(--border-strong); }
.st-pay { fill: var(--accent); }
.st-pay-t { font: 700 15px var(--font); fill: var(--accent-ink); }
.st-check { fill: none; stroke: #0B1120; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.st-unit { fill: #141C2E; stroke: #2A3854; stroke-width: 1.5; }
.st-slot { fill: #0D1424; }
.st-led { fill: #3DDC97; }
.st-led-act { fill: var(--accent); }
.st-track { fill: var(--border); }
.st-fill { fill: var(--accent); }
.st-shield { fill: rgba(255, 106, 19, .04); stroke: var(--accent); stroke-width: 2; }
.pk-good { fill: #3DDC97; }
.pk-bad { fill: #FF4D6D; }
/* without JS: final state only */
.st-run { opacity: 1; } .st-boot { opacity: 0; }
html:not(.anim) .s1, html:not(.anim) .s2 { display: none; }
.anim .st-boot { opacity: 1; }
@media (max-width: 860px) {
  .story-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 88px 32px; align-content: start; }
  .story-stage { order: -1; max-width: 460px; width: 100%; margin: 0 auto; }
  .story-copy { gap: 18px; }
  .story-copy h2 { font-size: 30px; }
  .story-steps li { display: none; padding: 14px 16px; }
  .story-steps li.on { display: grid; }
  html:not(.anim) .story-steps li { display: grid; opacity: 1; }
}

.anim .story-steps li { cursor: pointer; }
.anim .story-steps li:hover { opacity: .85; }
@media (max-width: 860px) { .story-inner { padding-block: 72px; } }
