/* LazerFast — site styles */
:root {
  --bg: #0a0d16;
  --bg-2: #0f1422;
  --bg-3: #151b2d;
  --line: #222a40;
  --text: #e7eaf3;
  --muted: #9aa3ba;
  --dim: #6b7491;
  --red: #ff3d3d;
  --orange: #ff8a3d;
  --green: #2fd18b;
  --yellow: #f5c542;
  --grad: linear-gradient(90deg, #ff3d3d 0%, #ff8a3d 100%);
  --radius: 10px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: .875rem; }
:not(pre) > code { background: var(--bg-3); border: 1px solid var(--line); padding: .1em .35em; border-radius: 4px; }
pre {
  background: #070a12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  overflow-x: auto;
  line-height: 1.55;
  margin: 0 0 1.5em;
}
pre .c { color: var(--dim); }
pre .s { color: #9fe0b5; }
pre .k { color: var(--orange); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.25em;
  border-radius: 8px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  font-family: inherit;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 24px -8px rgba(255, 61, 61, .6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgba(255, 61, 61, .75); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-3); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 13, 22, .85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.brand span b { font-weight: 800; color: var(--orange); }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: .93rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: .5em 1em; font-size: .9rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: 6px 10px; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav.open { flex-wrap: wrap; height: auto; padding: 14px 0; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; gap: 14px; order: 3; padding-top: 10px; }
  .nav.open .nav-cta { display: flex; width: 100%; order: 4; margin: 6px 0 4px; }
}

/* Hero */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,13,22,.55) 0%, rgba(10,13,22,.85) 60%, var(--bg) 100%),
    url("/assets/img/hero-beams.jpg") center 65% / cover no-repeat;
}
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--text); border: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.35); padding: 5px 12px; border-radius: 999px; margin-bottom: 22px; }
.hero .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hero p.lead { font-size: 1.2rem; color: #c7cde0; max-width: 620px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.page-hero { padding: 80px 0 40px; border-bottom: 1px solid var(--line); background: radial-gradient(900px 300px at 15% 0%, rgba(255, 61, 61, .12), transparent 70%); }
.page-hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }

/* Sections */
section.block { padding: 84px 0; }
section.block.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--orange); margin-bottom: 10px; display: block; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 64px; }
.stat { background: rgba(15, 20, 34, .9); padding: 22px 24px; }
.stat strong { display: block; font-size: 1.9rem; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.alt .card { background: var(--bg-3); }
.card .icon { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 61, 61, .12); color: var(--orange); margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--muted); margin: 0; }
.card ul { color: var(--muted); padding-left: 1.1em; margin: .8em 0 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 1.2em 0 0; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: .7em; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.checklist li strong { color: var(--text); }

/* Chart (latency comparison) */
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 64px; gap: 12px; align-items: center; font-size: .9rem; }
.bar-row .track { height: 10px; background: var(--bg-3); border-radius: 99px; overflow: hidden; }
.bar-row .fill { height: 100%; border-radius: 99px; background: #3a4463; }
.bar-row.us .fill { background: var(--grad); }
.bar-row .val { text-align: right; font-family: var(--mono); color: var(--muted); }
.bar-row.us .val { color: var(--text); }
.w-18 { width: 18%; } .w-41 { width: 41%; } .w-56 { width: 56%; } .w-74 { width: 74%; }

/* CTA band */
.cta-band { border: 1px solid var(--line); border-radius: 16px; padding: 48px; background: radial-gradient(600px 220px at 90% 0%, rgba(255, 138, 61, .18), transparent 70%), var(--bg-2); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 .3em; }
.cta-band p { margin: 0; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }
.plan { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(255, 110, 61, .7); box-shadow: 0 0 0 1px rgba(255, 110, 61, .35), 0 20px 50px -30px rgba(255, 61, 61, .7); position: relative; }
.plan .badge { position: absolute; top: -11px; left: 28px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { margin-bottom: .2em; }
.plan .price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; margin: .4em 0 0; }
.plan .price small { font-size: .95rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .desc { color: var(--muted); font-size: .92rem; min-height: 3em; }
.plan ul { list-style: none; padding: 0; margin: 1.2em 0 1.6em; flex: 1; }
.plan li { padding: 7px 0 7px 24px; position: relative; font-size: .92rem; color: #c7cde0; border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 11px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }

table.data { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
table.data td.num, table.data th.num { text-align: right; font-family: var(--mono); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--orange); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); margin: .8em 0 0; }

/* Network */
.region h3 { display: flex; justify-content: space-between; align-items: baseline; }
.region h3 small { color: var(--dim); font-weight: 500; font-size: .85rem; }
.pops { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 18px; }
.pops li { font-size: .9rem; color: #c7cde0; padding: 4px 0; break-inside: avoid; display: flex; gap: 8px; align-items: center; }
.pops li code { font-size: .75rem; color: var(--dim); background: none; border: 0; padding: 0; }
.pops li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.pops li.soon::before { background: var(--yellow); }
.legend { display: flex; gap: 18px; font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--green); }
.legend span.soon::before { background: var(--yellow); }
.worldmap { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 18px; }
.worldmap svg { width: 100%; height: auto; }

/* Forms */
.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: .8rem; color: var(--dim); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=tel], select, textarea {
  width: 100%;
  font: inherit; font-size: .95rem;
  color: var(--text);
  background: #070a12;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .7em .85em;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 138, 61, .2); }
textarea { resize: vertical; min-height: 120px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--muted); }
.form-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: .88rem; }
.alert { border-radius: 8px; padding: 12px 14px; font-size: .9rem; margin-bottom: 18px; display: none; }
.alert.show { display: block; }
.alert.error { background: rgba(255, 61, 61, .1); border: 1px solid rgba(255, 61, 61, .4); color: #ffb3b3; }
.alert.success { background: rgba(47, 209, 139, .1); border: 1px solid rgba(47, 209, 139, .4); color: #a9f0cf; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: .8rem; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Auth layout */
.auth { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 60px 20px; background: radial-gradient(700px 400px at 50% 0%, rgba(255, 61, 61, .1), transparent 70%); }
.auth .form-card { width: 100%; max-width: 420px; }
.auth h1 { font-size: 1.6rem; }
.auth .foot { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 22px; }
.auth-bare { min-height: 100vh; }
.auth-bare .brand { justify-content: center; margin-bottom: 22px; }
.notice { font-size: .78rem; color: var(--dim); margin-top: 22px; line-height: 1.5; }

/* Docs */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 56px 0 90px; }
.docs nav { position: sticky; top: 90px; align-self: start; font-size: .9rem; }
.docs nav h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin: 1.4em 0 .6em; }
.docs nav h4:first-child { margin-top: 0; }
.docs nav a { display: block; color: var(--muted); padding: 4px 0; }
.docs nav a:hover { color: var(--text); text-decoration: none; }
.docs article { min-width: 0; max-width: 760px; }
.docs article h2 { margin-top: 1.8em; padding-top: .4em; font-size: 1.5rem; }
.docs article h2:first-child { margin-top: 0; }
.docs article h3 { margin-top: 1.6em; }
.docs article p, .docs article li { color: #c7cde0; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } .docs nav { position: static; } }
.callout { border-left: 3px solid var(--orange); background: var(--bg-2); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 0 0 1.5em; color: var(--muted); font-size: .93rem; }

/* Status */
.status-banner { display: flex; align-items: center; gap: 14px; background: rgba(47, 209, 139, .08); border: 1px solid rgba(47, 209, 139, .35); border-radius: 12px; padding: 20px 24px; font-weight: 600; font-size: 1.1rem; }
.status-banner .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.status-banner .upd { margin-left: auto; font-size: .85rem; color: var(--muted); font-weight: 400; }
.components { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); margin-top: 28px; }
.component { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.component:last-child { border-bottom: 0; }
.component .top { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: 10px; }
.component .ok { color: var(--green); font-size: .88rem; }
.uptime { display: flex; gap: 2px; height: 30px; }
.uptime i { flex: 1; background: var(--green); border-radius: 2px; opacity: .85; }
.uptime i.deg { background: var(--yellow); }
.uptime i.out { background: var(--red); }
.uptime-meta { display: flex; justify-content: space-between; font-size: .75rem; color: var(--dim); margin-top: 6px; }
.incident { border-bottom: 1px solid var(--line); padding: 18px 0; }
.incident h4 { margin: 0 0 .3em; font-size: 1rem; }
.incident h4.res { color: var(--yellow); }
.incident p { color: var(--muted); font-size: .9rem; margin: 0 0 .3em; }
.incident time { font-size: .8rem; color: var(--dim); }

/* Legal */
.prose { max-width: 760px; padding: 56px 0 90px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose p, .prose li { color: #c7cde0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 36px; background: #080b13; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.site-footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); text-decoration: none; }
.site-footer .about { color: var(--muted); max-width: 300px; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .85rem; }
.footer-bottom a { color: var(--dim); }
.sys { display: inline-flex; align-items: center; gap: 8px; }
.sys::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* 404 */
.notfound { min-height: calc(100vh - 64px - 300px); display: grid; place-items: center; text-align: center; padding: 100px 20px; }
.notfound .code { font-size: 6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
