:root {
  color-scheme: dark;
  --bg: #080b0f;
  --bg-soft: #111820;
  --panel: #151d25;
  --panel-2: #1a242d;
  --paper: #f3f6f8;
  --paper-ink: #172029;
  --paper-muted: #5b6872;
  --ink: #f4f8fb;
  --muted: #a8b6c1;
  --line: rgba(198, 216, 228, .18);
  --cyan: #22d3d8;
  --green: #43d17f;
  --amber: #f4b860;
  --red: #ff6b6b;
  --blue: #4f8cff;
  --shell: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
}
body, button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { letter-spacing: 0; }
button { cursor: pointer; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 16px; background: #fff; color: #111; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(8, 11, 15, .91);
  backdrop-filter: blur(16px);
}
.site-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; min-width: 0; }
.site-brand img { width: 154px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; color: #cfdae2; font-size: 14px; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav .nav-account { padding: 9px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; color: #fff; background: rgba(255,255,255,.04); }
.site-nav .nav-action { padding: 10px 14px; border: 1px solid rgba(34,211,216,.58); border-radius: 6px; color: #f4ffff; background: rgba(34,211,216,.08); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: #111820; color: #fff; font-size: 21px; }

.hero-service {
  min-height: min(760px, calc(100vh - 72px));
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #0c1116 url('/assets/fastvps-infrastructure-hero-v1.webp?v=20260828-growth-v1') center / cover no-repeat;
}
.hero-service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5,8,11,.98) 0%, rgba(5,8,11,.92) 34%, rgba(5,8,11,.42) 72%, rgba(5,8,11,.2) 100%), linear-gradient(0deg, rgba(5,8,11,.88), transparent 55%);
}
.hero-service__content { width: min(720px, 100%); padding: 96px 0 78px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: #b6c2ca; font-size: 13px; margin-bottom: 34px; }
.breadcrumb i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }
.eyebrow { margin: 0 0 14px; color: var(--cyan); text-transform: uppercase; font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .12em; }
.hero-service h1 { margin: 0; max-width: 740px; font-size: 72px; line-height: 1.02; font-weight: 790; letter-spacing: 0; }
.hero-service__lead { max-width: 690px; margin: 24px 0 0; color: #d0d9df; font-size: 22px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 6px; font-weight: 800; font-size: 15px; }
.button.primary { color: #021014; background: var(--cyan); }
.button.secondary { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.24); }
.button:hover { filter: brightness(1.08); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 42px; border: 1px solid var(--line); background: var(--line); }
.hero-proof > div { min-height: 78px; padding: 15px; background: rgba(7,11,15,.82); }
.hero-proof strong { display: block; font-size: 18px; color: #fff; }
.hero-proof span { display: block; margin-top: 5px; color: #aebbc4; font-size: 12px; line-height: 1.35; }

.band { padding: 82px 0; }
.band.dark { background: var(--bg); }
.band.soft { background: var(--bg-soft); border-block: 1px solid rgba(255,255,255,.07); }
.band.paper { background: var(--paper); color: var(--paper-ink); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head h2 { margin: 0; font-size: 44px; line-height: 1.08; letter-spacing: 0; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.paper .section-head p { color: var(--paper-muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(38px, 7vw, 92px); align-items: start; }
.prose { font-size: 17px; line-height: 1.72; color: #c9d3da; }
.paper .prose { color: #3f4d57; }
.prose h2, .prose h3 { color: inherit; letter-spacing: 0; }
.prose h2 { margin: 0 0 18px; font-size: 42px; line-height: 1.1; }
.prose h3 { margin: 32px 0 10px; font-size: 22px; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.paper .prose a { color: #006d73; }
.check-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.paper .check-list { border-color: rgba(23,32,41,.18); }
.check-list li { position: relative; padding: 15px 8px 15px 28px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.paper .check-list li { border-color: rgba(23,32,41,.18); }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.metric { min-height: 132px; padding: 22px; background: var(--panel); }
.metric small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.metric strong { display: block; margin-top: 12px; color: #fff; font-size: 28px; line-height: 1.05; }
.metric span { display: block; margin-top: 8px; color: #aebbc4; font-size: 12px; line-height: 1.45; }
.meter { height: 6px; margin-top: 16px; overflow: hidden; background: rgba(255,255,255,.11); }
.meter > i { display: block; height: 100%; width: var(--value, 50%); background: var(--meter-color, var(--cyan)); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.paper .feature-card { border-color: rgba(23,32,41,.15); background: #fff; }
.feature-card__tag { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 8px; border-radius: 4px; color: #002b2e; background: var(--cyan); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.feature-card h3 { margin: 28px 0 10px; font-size: 22px; line-height: 1.2; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.paper .feature-card p { color: var(--paper-muted); }
.feature-card a { display: inline-block; margin-top: 20px; color: var(--cyan); font-weight: 800; }
.paper .feature-card a { color: #006d73; }

.comparison { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.comparison table { width: 100%; min-width: 720px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { color: #fff; background: #111820; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.comparison tr:last-child td { border-bottom: 0; }
.comparison td { color: #cad4db; line-height: 1.5; }
.paper .comparison { border-color: rgba(23,32,41,.18); }
.paper .comparison td { color: #3f4d57; border-color: rgba(23,32,41,.15); }

.tool-layout { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: 24px; align-items: start; }
.tool-panel, .result-panel { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.tool-panel { padding: 24px; }
.result-panel { min-height: 380px; overflow: hidden; }
.tool-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { color: #dfe7ec; font-size: 13px; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; color: #fff; background: #0d1319; outline: none; }
.field input:focus, .field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,216,.12); }
.field-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.form-status { min-height: 20px; margin: 0; color: var(--muted); font-size: 13px; }
.result-empty { min-height: 380px; display: grid; place-items: center; padding: 32px; color: var(--muted); text-align: center; }
.result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.result-head h2 { margin: 0; font-size: 22px; }
.status-pill { display: inline-flex; min-height: 26px; align-items: center; padding: 5px 9px; border-radius: 4px; background: rgba(67,209,127,.14); color: #78e8a6; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.status-pill.warn { background: rgba(244,184,96,.14); color: #ffd18a; }
.status-pill.bad { background: rgba(255,107,107,.14); color: #ff9d9d; }
.result-body { padding: 8px 24px 24px; }
.result-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.result-row:last-child { border-bottom: 0; }
.result-label { color: var(--muted); font-size: 13px; }
.result-value { min-width: 0; overflow-wrap: anywhere; color: #edf4f8; line-height: 1.5; }
.record-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.record-list code { white-space: pre-wrap; color: #d7e3e9; font-size: 12px; }

.latency-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.latency-board > div { padding: 24px; background: var(--panel); }
.latency-board span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.latency-board strong { display: block; margin-top: 10px; font-size: 34px; }
.latency-bars { display: grid; gap: 12px; margin-top: 28px; }
.latency-bar { display: grid; grid-template-columns: 100px minmax(0, 1fr) 80px; align-items: center; gap: 12px; }
.latency-bar i { display: block; height: 10px; background: rgba(255,255,255,.1); overflow: hidden; }
.latency-bar i::after { content: ""; display: block; width: var(--bar, 0%); height: 100%; background: var(--cyan); transition: width .3s ease; }
.latency-bar output { text-align: right; color: #dfe8ed; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(42px, 7vw, 92px); align-items: start; }
.article-body { max-width: 790px; }
.article-body h2 { margin: 54px 0 16px; font-size: 34px; line-height: 1.15; }
.article-body h3 { margin: 34px 0 12px; font-size: 23px; }
.article-body p, .article-body li { color: #c6d1d8; font-size: 17px; line-height: 1.75; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body code { color: #eafcff; background: #111820; padding: 2px 5px; border-radius: 3px; }
.article-aside { position: sticky; top: 98px; padding: 22px; border-left: 2px solid var(--cyan); background: #111820; }
.article-aside strong { display: block; font-size: 17px; }
.article-aside p { color: var(--muted); line-height: 1.55; }
.source-list { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.source-list h2 { margin: 0 0 12px; font-size: 20px; }
.source-list a { color: var(--cyan); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid rgba(23,32,41,.16); border-radius: 6px; background: #fff; }
.faq-list summary { padding: 17px 44px 17px 18px; color: #172029; font-weight: 800; line-height: 1.4; cursor: pointer; }
.faq-list details p { margin: 0; padding: 0 18px 18px; color: #53616b; line-height: 1.65; }

.cta-band { padding: 68px 0; background: #eff4f6; color: #142029; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.cta-band h2 { margin: 0; max-width: 760px; font-size: 44px; line-height: 1.08; }
.cta-band p { margin: 12px 0 0; color: #596770; }
.cta-band .button.secondary { color: #142029; border-color: rgba(20,32,41,.28); background: transparent; }

.growth-footer { padding: 58px 0 28px; border-top: 1px solid var(--line); background: #080b0f; }
.growth-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.growth-footer img { width: 160px; }
.growth-footer p { color: var(--muted); line-height: 1.55; }
.growth-footer h2 { margin: 0 0 15px; font-size: 13px; color: #fff; text-transform: uppercase; letter-spacing: .08em; }
.growth-footer nav { display: grid; align-content: start; gap: 10px; }
.growth-footer nav a { color: #b7c3ca; font-size: 14px; }
.growth-footer nav a:hover { color: #fff; }
.growth-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: #87959e; font-size: 12px; }

.notice { padding: 14px 16px; border-left: 3px solid var(--amber); background: rgba(244,184,96,.08); color: #e9d6b7; font-size: 14px; line-height: 1.55; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(67,209,127,.12); }
.live-dot.warn { background: var(--amber); box-shadow: 0 0 0 4px rgba(244,184,96,.12); }
.live-dot.bad { background: var(--red); box-shadow: 0 0 0 4px rgba(255,107,107,.12); }
.muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.text-bad { color: var(--red); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: #0c1218; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
  .site-nav.is-open { display: grid; }
  .split, .tool-layout, .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .growth-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-service h1 { font-size: 56px; }
  .section-head h2, .cta-band h2 { font-size: 38px; }
  .prose h2 { font-size: 36px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .site-header__inner { min-height: 64px; }
  .site-brand img { width: 132px; }
  .site-nav { top: 64px; left: 14px; right: 14px; }
  .hero-service { min-height: auto; background-position: 64% center; }
  .hero-service::before { background: linear-gradient(90deg, rgba(5,8,11,.98), rgba(5,8,11,.78)), linear-gradient(0deg, rgba(5,8,11,.92), transparent); }
  .hero-service__content { padding: 52px 0 40px; }
  .breadcrumb { margin-bottom: 22px; }
  .hero-service h1 { font-size: 42px; }
  .hero-service__lead { font-size: 18px; }
  .section-head h2, .cta-band h2, .prose h2 { font-size: 32px; }
  .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
  .hero-proof > div { min-height: 92px; padding: 10px 8px; }
  .hero-proof strong { font-size: 14px; }
  .hero-proof span { font-size: 10px; }
  .feature-grid, .metric-strip, .latency-board, .growth-footer__grid { grid-template-columns: 1fr; }
  .band { padding: 62px 0; }
  .cta-band__inner, .growth-footer__bottom { align-items: flex-start; flex-direction: column; }
  .result-row { grid-template-columns: 1fr; gap: 5px; }
  .latency-bar { grid-template-columns: 78px minmax(0, 1fr) 66px; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
