/* Grey Pool Corporation — shared stylesheet */
:root {
  --bg: #080a0f;
  --surface: #0e1218;
  --surface-hi: #111620;
  --border: #1e2530;
  --accent1: #e05c2a;
  --accent2: #4db8d4;
  --accent3: #c4a97a;
  --green: #5fcf6a;
  --text: #d8dde8;
  --muted: #5a6070;
  --muted-hi: #8089a0;
  --glow-orange: rgba(224, 92, 42, 0.15);
  --glow-blue: rgba(77, 184, 212, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--accent2); }
::selection { background: var(--accent1); color: #fff; }

/* starfield / overlays */
#starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px; opacity: 0.028;
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(0,0,0,0.06) 3px, rgba(0,0,0,0.06) 4px);
}
main, footer, .ticker-bar { position: relative; z-index: 2; }

.container { max-width: 1100px; margin: 0 auto; }

/* skip link */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 10000;
  background: var(--accent1); color: #fff; padding: 10px 16px;
  text-decoration: none; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }

/* nav */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 40px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
nav.site-nav.scrolled, nav.site-nav.open {
  background: rgba(8,10,15,0.94);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent1);
  text-decoration: none;
}
.nav-logo span { color: var(--muted-hi); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--muted-hi); text-decoration: none; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.2s;
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--accent2); }
.nav-links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent1); }
.nav-links a.nav-cta {
  color: #fff; background: var(--accent1); padding: 7px 14px; border: none;
}
.nav-links a.nav-cta:hover { background: #f06a35; color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); color: var(--text);
  width: 40px; height: 40px; cursor: pointer; font-family: inherit; font-size: 18px;
}

/* hero */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px 40px 80px; position: relative;
}
.hero-eyebrow {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent2);
  margin-bottom: 24px; opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.hero-eyebrow::before { content: '▸ '; color: var(--accent1); }
.hero-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(52px, 9vw, 108px); line-height: 0.92; letter-spacing: -0.02em;
  margin-bottom: 32px; opacity: 0; animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title .line1 { display: block; color: var(--text); }
.hero-title .line2 {
  display: block; color: transparent; -webkit-text-stroke: 1.5px var(--accent1); position: relative;
}
.hero-title .line2::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; color: var(--accent1);
  clip-path: inset(0 100% 0 0);
  animation: revealText 1.6s 1.4s cubic-bezier(0.77,0,0.18,1) forwards;
}
@keyframes revealText { to { clip-path: inset(0 0% 0 0); } }
.hero-subtitle {
  max-width: 520px; color: var(--muted-hi); font-size: 13px; line-height: 1.9; margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.hero-subtitle strong { color: var(--accent3); font-weight: 400; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s 1s forwards; }

.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden;
}
.btn-primary { padding: 14px 28px; background: var(--accent1); color: #fff; border: none; transition: transform 0.2s; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.12);
  transform: translateX(-100%); transition: transform 0.35s ease;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  padding: 13px 28px; background: transparent; color: var(--text); border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--accent2); color: var(--accent2); transform: translateY(-2px); }

.hero-coords {
  position: absolute; bottom: 48px; right: 40px; font-size: 10px; letter-spacing: 0.18em;
  color: var(--muted-hi); text-transform: uppercase; opacity: 0; animation: fadeUp 0.8s 1.4s forwards;
}
.hero-coords span { color: var(--accent3); }
.hero-line {
  position: absolute; left: 40px; bottom: 0; width: 1px; height: 80px;
  background: linear-gradient(to bottom, var(--accent1), transparent);
  opacity: 0; animation: fadeIn 1s 1.6s forwards;
}
.corner-deco { position: absolute; width: 60px; height: 60px; pointer-events: none; }
.corner-deco.tl { top: 20px; left: 20px; border-top: 1px solid var(--accent1); border-left: 1px solid var(--accent1); }
.corner-deco.br { bottom: 20px; right: 20px; border-bottom: 1px solid var(--accent1); border-right: 1px solid var(--accent1); }
.geo-bg { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); opacity: 0.04; pointer-events: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* page header (inner pages) */
.page-header { padding: 150px 40px 60px; position: relative; }
.page-header .section-title { font-size: clamp(36px, 6vw, 72px); margin-bottom: 20px; }
.page-header .lede { max-width: 620px; color: var(--muted-hi); font-size: 14px; line-height: 1.9; }
.breadcrumb { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-hi); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted-hi); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent2); }
.breadcrumb span { color: var(--accent1); margin: 0 6px; }

/* sections */
section { padding: 80px 40px; }
.section-divider { display: flex; align-items: center; gap: 16px; margin: 0 0 48px; }
.section-divider::before, .section-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.section-divider span { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-hi); white-space: nowrap; }
.section-tag { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent2); margin-bottom: 14px; display: block; }
.section-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(28px, 5vw, 52px); line-height: 1.05; color: var(--text); }
.section-title em { font-style: normal; color: var(--accent1); }
.section-head { margin-bottom: 48px; }
.accent-rule { border: none; height: 1px; background: linear-gradient(to right, var(--accent1), var(--accent2), transparent); margin: 0 40px; }

/* ticker */
.ticker-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 10px 0; overflow: hidden; }
.ticker-inner { display: flex; gap: 80px; width: max-content; animation: ticker 32s linear infinite; white-space: nowrap; }
.ticker-bar:hover .ticker-inner { animation-play-state: paused; }
.ticker-item { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-hi); display: flex; align-items: center; gap: 10px; }
.ticker-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent1); animation: pulse 2s infinite; flex-shrink: 0; }
.ticker-item .dot.blue { background: var(--accent2); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 40px)); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.stat { background: var(--surface); padding: 28px 24px; }
.stat-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 34px; line-height: 1; color: var(--accent1); margin-bottom: 8px; }
.stat-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-hi); }

/* about grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.about-cell { background: var(--surface); padding: 36px; position: relative; overflow: hidden; transition: background 0.3s; }
.about-cell:hover { background: var(--surface-hi); }
.about-cell::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--accent1); transition: height 0.35s ease; }
.about-cell:hover::before { height: 100%; }
.about-cell:nth-child(2)::before { background: var(--accent2); }
.about-cell:nth-child(3)::before { background: var(--accent3); }
.cell-label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-hi); margin-bottom: 16px; }
.cell-label::before { content: '// '; color: var(--accent2); }
.cell-value { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--text); margin-bottom: 10px; }
.cell-desc { font-size: 12px; color: var(--muted-hi); line-height: 1.8; }

/* services list */
.services-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.service-row { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 24px; padding: 28px 32px; background: var(--surface); color: inherit; text-decoration: none; transition: background 0.25s; }
a.service-row { cursor: pointer; }
.service-row:hover { background: var(--surface-hi); }
.service-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 32px; color: var(--border); line-height: 1; transition: color 0.25s; }
.service-row:hover .service-num { color: var(--accent1); }
.service-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.service-desc { font-size: 12px; color: var(--muted-hi); }
.service-badge { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 10px; border: 1px solid; white-space: nowrap; }
.badge-free { color: var(--green); border-color: rgba(95,207,106,0.3); }
.badge-live { color: var(--accent2); border-color: rgba(77,184,212,0.3); }
.badge-wip { color: var(--accent3); border-color: rgba(196,169,122,0.3); }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); padding: 28px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: var(--accent2); transform: translateY(-3px); }
.card h3 { font-family: 'Syne', sans-serif; font-size: 16px; margin-bottom: 8px; }
.card p { color: var(--muted-hi); font-size: 12px; line-height: 1.8; }
.card .cell-label { margin-bottom: 12px; }
.spec { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.spec li { font-size: 11px; color: var(--muted-hi); display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border); padding-bottom: 6px; }
.spec li b { color: var(--accent3); font-weight: 400; }

/* links grid */
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.link-card { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: inherit; transition: border-color 0.2s, background 0.2s, transform 0.2s; position: relative; overflow: hidden; }
.link-card::after { content: '↗'; position: absolute; top: 16px; right: 16px; font-size: 14px; color: var(--muted-hi); transition: color 0.2s, transform 0.2s; }
.link-card:hover { border-color: var(--accent2); background: #0f1520; transform: translateY(-3px); }
.link-card:hover::after { color: var(--accent2); transform: translate(2px, -2px); }
.link-card-label { font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-hi); }
.link-card-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; color: var(--text); padding-right: 20px; }
.link-card-url { font-size: 10px; color: var(--muted-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* glitch */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.glitch::before { color: var(--accent2); animation: glitch1 4s infinite; clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); }
.glitch::after { color: var(--accent1); animation: glitch2 4s infinite; clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); }
@keyframes glitch1 { 0%, 94%, 100% { transform: translateX(0); opacity: 0; } 95% { transform: translateX(-3px); opacity: 0.8; } 97% { transform: translateX(3px); opacity: 0.8; } 99% { transform: translateX(0); opacity: 0; } }
@keyframes glitch2 { 0%, 96%, 100% { transform: translateX(0); opacity: 0; } 97% { transform: translateX(3px); opacity: 0.7; } 99% { transform: translateX(-3px); opacity: 0.7; } }

/* CTA */
.cta-section { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 80% 50%, var(--glow-orange), transparent); pointer-events: none; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 46px); line-height: 1.1; margin-bottom: 20px; }
.cta-body { color: var(--muted-hi); font-size: 13px; line-height: 1.9; margin-bottom: 32px; }
.cta-body a { color: var(--accent2); text-decoration: none; border-bottom: 1px solid rgba(77,184,212,0.3); }
.cta-body a:hover { border-color: var(--accent2); }
.cta-card { background: var(--surface); border: 1px solid var(--border); padding: 36px; }
.cta-card-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 20px; color: var(--accent3); }
.cta-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.cta-list li { font-size: 12px; color: var(--muted-hi); display: flex; gap: 10px; align-items: flex-start; }
.cta-list li::before { content: '→'; color: var(--accent1); flex-shrink: 0; margin-top: 1px; }

/* prose */
.prose { max-width: 720px; }
.prose p { color: var(--muted-hi); font-size: 13px; line-height: 2; margin-bottom: 20px; }
.prose p strong { color: var(--accent3); font-weight: 400; }
.prose h2 { font-family: 'Syne', sans-serif; font-size: 24px; margin: 40px 0 16px; }
.prose a { color: var(--accent2); }

/* timeline */
.timeline { position: relative; border-left: 1px solid var(--border); margin-left: 8px; padding-left: 32px; display: flex; flex-direction: column; gap: 32px; }
.tl-item { position: relative; }
.tl-item::before { content: ''; position: absolute; left: -38px; top: 6px; width: 11px; height: 11px; background: var(--bg); border: 1px solid var(--accent1); border-radius: 50%; }
.tl-item.done::before { background: var(--accent1); }
.tl-item.now::before { background: var(--accent2); border-color: var(--accent2); animation: pulse 2s infinite; }
.tl-date { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent2); }
.tl-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; margin: 2px 0 4px; }
.tl-desc { font-size: 12px; color: var(--muted-hi); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); padding: 28px; counter-increment: step; }
.step::before { content: '0' counter(step); font-family: 'Syne', sans-serif; font-weight: 800; font-size: 34px; color: var(--accent1); display: block; margin-bottom: 10px; line-height: 1; }
.step h3 { font-family: 'Syne', sans-serif; font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 12px; color: var(--muted-hi); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); max-width: 820px; }
.faq details { background: var(--surface); }
.faq summary { padding: 20px 24px; cursor: pointer; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent1); font-family: 'IBM Plex Mono', monospace; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { color: var(--accent2); }
.faq .answer { padding: 0 24px 22px; color: var(--muted-hi); font-size: 12px; line-height: 1.9; }

/* forms */
.form { background: var(--surface); border: 1px solid var(--border); padding: 36px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-hi); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; padding: 12px 14px; width: 100%;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent2); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.form-note { font-size: 11px; color: var(--muted-hi); }
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }

/* status */
.status-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.status-row { display: grid; grid-template-columns: 20px 1fr auto auto; gap: 20px; align-items: center; padding: 22px 28px; background: var(--surface); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status-dot.up { background: var(--green); box-shadow: 0 0 10px rgba(95,207,106,0.6); }
.status-dot.down { background: #e0432a; box-shadow: 0 0 10px rgba(224,67,42,0.6); }
.status-dot.slow { background: var(--accent3); box-shadow: 0 0 10px rgba(196,169,122,0.6); }
.status-dot.checking { background: var(--accent3); animation: pulse 1s infinite; }
.status-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; }
.status-host { font-size: 11px; color: var(--muted-hi); }
.status-latency { font-size: 11px; color: var(--accent3); min-width: 70px; text-align: right; }
.status-text { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-hi); min-width: 110px; text-align: right; }
.status-meta { margin-top: 16px; font-size: 11px; color: var(--muted-hi); }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 120px 40px 80px; }
.notfound .code { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(100px, 22vw, 260px); line-height: 0.85; color: transparent; -webkit-text-stroke: 2px var(--accent1); margin-bottom: 24px; }
.notfound p { color: var(--muted-hi); max-width: 440px; margin-bottom: 32px; }

/* footer */
footer.site-footer { border-top: 1px solid var(--border); background: rgba(8,10,15,0.9); padding: 56px 40px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent1); margin-bottom: 12px; }
.footer-blurb { font-size: 11px; color: var(--muted-hi); max-width: 300px; line-height: 1.8; }
.footer-col h4 { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-hi); margin-bottom: 14px; font-weight: 400; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text); text-decoration: none; font-size: 12px; }
.footer-col a:hover { color: var(--accent2); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 10px; color: var(--muted-hi); letter-spacing: 0.1em; }
.footer-bottom span { color: var(--accent3); }

/* scroll reveal (only hide when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* custom cursor (mouse devices only) */
#cursor-dot, #cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor { cursor: crosshair; }
  body.has-cursor #cursor-dot, body.has-cursor #cursor-ring { display: block; }
  #cursor-dot { position: fixed; width: 6px; height: 6px; background: var(--accent1); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s; mix-blend-mode: screen; }
  #cursor-ring { position: fixed; width: 28px; height: 28px; border: 1px solid rgba(224,92,42,0.4); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, border-color 0.3s; }
}

/* responsive */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav.site-nav { padding: 14px 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,10,15,0.98); border-bottom: 1px solid var(--border); padding: 8px 20px 20px;
  }
  nav.site-nav.open .nav-links { display: flex; }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links a.nav-cta { text-align: center; margin-top: 12px; }
  .hero, section, .page-header { padding-left: 20px; padding-right: 20px; }
  .accent-rule { margin: 0 20px; }
  .about-grid, .cta-inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .hero-coords { right: 20px; }
  .hero-line { left: 20px; }
  footer.site-footer { padding: 40px 20px 24px; }
  .status-row { grid-template-columns: 16px 1fr auto; }
  .status-latency { display: none; }
  .notfound { padding: 100px 20px 60px; }
}
@media (max-width: 520px) {
  .service-row { grid-template-columns: 40px 1fr; padding: 22px 20px; }
  .service-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-eyebrow, .hero-title, .hero-subtitle, .hero-actions, .hero-coords, .hero-line { opacity: 1 !important; }
  .hero-title .line2::after { clip-path: inset(0 0 0 0) !important; }
  .js .reveal { opacity: 1; transform: none; }
}
