:root {
  --bg: #000;
  --card: #0a0a0a;
  --line: #1f1f1f;
  --line-2: #2e2e2e;
  --fg: #fafafa;
  --muted: #8c8c8c;
  --dim: #3a3a3a;
  --radius: 12px;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--fg); color: var(--bg); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.dot { color: var(--muted); }
.label { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(0, 0, 0, .75); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
nav.scrolled { border-color: var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 21px; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
@media (max-width: 760px) { .nav-links a:not(:last-child) { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-2); color: var(--fg); background: transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { border-color: var(--fg); }
.btn.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.primary:hover { background: transparent; color: var(--fg); }

.hero { padding: 140px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
@media (max-width: 920px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; } }
.hero .label { display: flex; align-items: center; gap: 10px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg); }
.wordmark {
  display: flex; overflow: hidden;
  font-size: clamp(80px, 15vw, 184px); font-weight: 700; line-height: .95; letter-spacing: -.065em;
  margin: 20px 0 22px; padding-bottom: .06em;
}
.wordmark span { display: inline-block; will-change: transform; }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); max-width: 520px; }
.lead b { color: var(--fg); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.hero-photo { position: relative; aspect-ratio: 4 / 5; max-height: 600px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(1.1) contrast(1.05); }
.hero-photo .cover { position: absolute; inset: 0; background: var(--bg); transform-origin: top; transform: scaleY(0); }
.hero-photo figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 12px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(0, 0, 0, .7); backdrop-filter: blur(8px); border: 1px solid var(--line);
}
.hero-photo figcaption span:last-child { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 26px 0 26px 24px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.stats span:not([data-count]) { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

section { padding: 120px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -.045em; margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }
.reveal { opacity: 0; }

.about { height: 260vh; padding: 0; }
.about-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.about-text { margin-top: 28px; display: grid; gap: .9em; max-width: 1000px; }
.about-text p {
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(26px, 4.2vw, 52px); line-height: 1.22; letter-spacing: -.03em;
}
.about-text p:last-child { padding-left: clamp(0px, 8vw, 120px); }
.about-text .w { color: #1c1c1c; transition: color .25s ease-out; }
.about-text .w.on { color: var(--fg); }
@media (prefers-reduced-motion: reduce) { .about { height: auto; padding: 120px 0; } .about-sticky { position: static; height: auto; } .about-text .w { color: var(--fg); } }

#built { padding-top: 90px; }
.typed-title {
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(26px, 3.8vw, 42px); letter-spacing: -.02em; line-height: 1.2;
  margin: 0 0 52px; min-height: 1.2em;
}
.caret { display: inline-block; width: .55em; height: 1em; margin-left: 4px; vertical-align: -.14em; background: var(--fg); }
.built-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .built-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .built-grid { grid-template-columns: 1fr; } }
.built-card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 34px;
  transition: border-color .3s;
}
.built-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .06), transparent 70%);
}
.built-card:hover { border-color: var(--line-2); }
.built-card:hover::before { opacity: 1; }
.b-ic {
  width: 40px; height: 40px; margin-bottom: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 9px; background: #111;
}
.b-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.built-card h4 { position: relative; font-family: var(--mono); font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.built-card p { position: relative; font-family: var(--mono); font-size: 14px; line-height: 1.65; color: var(--muted); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }
.cmp-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.cmp-card h3 { font-size: 28px; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cmp-card h3 small { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; }
.cmp-card > p { color: var(--muted); margin: 8px 0 24px; }
.cpu { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; padding: 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); }
.cpu i { aspect-ratio: 1; border-radius: 4px; background: #141414; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw-you { background: var(--fg); }
.sw-n { background: var(--dim); }
.sw-idle { background: #141414; border: 1px solid var(--line-2); }
.cmp-list { list-style: none; margin-top: 24px; display: grid; gap: 8px; font-size: 15px; }
.cmp-list li { display: flex; gap: 10px; }
.cmp-list li::before { content: "-"; font-family: var(--mono); color: var(--muted); }

#location { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.loc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 920px) { .loc-grid { grid-template-columns: 1fr; } }
.city { font-size: clamp(64px, 10vw, 128px); letter-spacing: -.06em; line-height: .9; margin: 14px 0 20px; }
#location p { font-size: 18px; max-width: 460px; }
.loc-facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; border-top: 1px solid var(--line); }
.loc-facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.loc-facts dt { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.loc-facts dd { font-size: 20px; font-weight: 600; }
.net-svg { width: 100%; height: auto; }
.net-svg .wire { fill: none; stroke: #1c1c1c; stroke-width: 1.5; }
.net-svg .pulse { fill: none; stroke: var(--fg); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0 10000; }
.net-svg .node { fill: var(--bg); stroke: var(--line-2); stroke-width: 1.5; }
.net-svg .ring { fill: none; stroke: var(--fg); stroke-width: 1; }
.net-svg text { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.net-svg .core-label { font-size: 15px; font-weight: 600; fill: var(--fg); }

#ddos { border-bottom: 1px solid var(--line); }
.ddos-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 920px) { .ddos-grid { grid-template-columns: 1fr; } .ddos-grid > div { order: -1; } }
#ddos h2 { margin: 14px 0 16px; }
#ddos p { font-size: 18px; max-width: 460px; }
.ddos-svg { width: 100%; height: auto; overflow: visible; }
.ddos-svg .wire { fill: none; stroke: #1c1c1c; stroke-width: 1.5; }
.ddos-svg .wire.clean { stroke: #2a2a2a; stroke-dasharray: 2 6; stroke-linecap: round; }
.ddos-svg .node { fill: var(--bg); stroke: var(--line-2); stroke-width: 1.5; }
.ddos-svg .node.bad { stroke: var(--dim); }
.ddos-svg .node.good { stroke: var(--fg); }
.ddos-svg .dotc { fill: var(--fg); }
.ddos-svg .x { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
.ddos-svg .shield { fill: var(--bg); stroke: var(--fg); stroke-width: 1.5; stroke-linejoin: round; }
.ddos-svg .shield-ring { fill: none; stroke: var(--fg); stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.ddos-svg .tick { fill: none; stroke: var(--fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ddos-svg .srv { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
.ddos-svg .pk { opacity: 0; }
.ddos-svg .pk.bad { fill: var(--muted); }
.ddos-svg .pk.good { fill: var(--fg); }
.ddos-svg .hit { fill: none; stroke: var(--muted); stroke-width: 1.5; opacity: 0; }
.ddos-svg text { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.ddos-svg .core-label { font-size: 12px; font-weight: 600; fill: var(--fg); }
.ddos-svg .cap { font-size: 10px; letter-spacing: .04em; fill: var(--dim); }
.ddos-svg .cap.hi { fill: var(--muted); }

.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 18px; font-weight: 600; color: var(--muted);
  transition: color .3s, padding-left .4s cubic-bezier(.2, .8, .2, 1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details.is-open summary { color: var(--fg); }
.faq summary:hover { padding-left: 8px; }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; transition: border-color .3s, background .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details.is-open .faq-icon { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--muted); padding-bottom: 24px; max-width: 680px; }
.faq details a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

.cta-wrap { padding-top: 0; }
.cta { text-align: center; border: 1px solid var(--line); border-radius: 20px; padding: 88px 24px; background: var(--card); }
.cta h2 { margin-top: 0; }
.cta p { font-size: 18px; margin-bottom: 30px; }
.site-footer { border-top: 1px solid var(--line); padding-top: 72px; overflow: hidden; font-family: var(--mono); }
.f-top { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
@media (max-width: 760px) { .f-top { grid-template-columns: 1fr; } }
.f-logo { display: inline-flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.f-logo svg { width: 22px; height: 22px; }
.f-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 340px; margin: 16px 0 22px; }
.f-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card);
  font-size: 13px; font-weight: 600; transition: border-color .25s, background .25s, color .25s;
}
.f-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.f-btn:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.f-btn:hover svg { transform: translate(2px, -2px); }
.f-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.f-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #555; margin-bottom: 4px; }
.f-col a { color: var(--muted); width: fit-content; transition: color .2s, transform .25s; }
.f-col a:hover { color: var(--fg); transform: translateX(4px); }
.f-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding: 28px 0; border-top: 1px solid var(--line);
  font-size: 12px; color: #555;
}
.f-bottom a:hover { color: var(--fg); }
.f-giant {
  display: flex; justify-content: center;
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(64px, 23vw, 300px); line-height: .78; letter-spacing: -.04em;
  margin-top: 24px; padding-top: .08em; height: .86em; overflow: hidden;
  user-select: none;
}
.f-giant span { display: inline-block; cursor: default; will-change: transform; }
.f-giant span:nth-child(1) { color: #fafafa; }
.f-giant span:nth-child(2) { color: #d4d4d4; }
.f-giant span:nth-child(3) { color: #9a9a9a; }
.f-giant span:nth-child(4) { color: #646464; }
.f-giant span:nth-child(5) { color: #3c3c3c; }
.f-giant span:nth-child(6) { color: #262626; }
.f-giant span:nth-child(7) { color: #1a1a1a; }

.legal { padding: 140px 0 100px; }
.legal-head { max-width: 720px; margin-bottom: 56px; }
.legal h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1; letter-spacing: -.05em; margin: 14px 0 12px; }
.legal-head .muted { font-family: var(--mono); font-size: 13px; }
.legal-intro { margin-top: 28px; font-size: 18px; color: var(--muted); }
.terms { list-style: none; counter-reset: term; border-top: 1px solid var(--line); max-width: 860px; }
.term {
  counter-increment: term;
  display: grid; grid-template-columns: 72px 1fr; column-gap: 8px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.term::before { content: counter(term, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 4px; }
.term h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.term p { color: var(--muted); max-width: 680px; }
.legal-note { margin-top: 48px; max-width: 860px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.legal-note h3 { font-size: 18px; margin-bottom: 8px; }
.legal-note p { color: var(--muted); }
.legal-note a, .term a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .term { grid-template-columns: 44px 1fr; } }
.t-in, .term, .t-scroll { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .t-in, .term, .t-scroll { opacity: 1 !important; }
  .reveal { opacity: 1 !important; }
  html { scroll-behavior: auto; }
}
