/* ============================================================
   Phantom Hosting — styles.css
   Design system: "Spectre" 
   Spectral red = the machine. Warm ember = human action.
   Type: Archivo (display) / IBM Plex Sans (body) / IBM Plex Mono (data)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --ink: #0b0d12;
  --ink-2: #10131b;
  --ink-3: #161a25;
  --line: #232936;
  --line-soft: #1a1f2b;

  /* text */
  --text: #e9edf5;
  --dim: #9aa3b5;
  --faint: #626b7e;

  /* cold accent — the machine */
  --ghost: #ff5c5c;
  --ghost-deep: #e04545;
  --ghost-glow: rgba(255, 92, 92, 0.14);

  /* warm accent — human action */
  --ember: #ff9457;
  --ember-bright: #ffb07f;
  --ember-ink: #221007;

  /* semantic */
  --ok: #6fe3a5;

  /* type */
  --font-display: "Archivo", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* rhythm */
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(84px, 11vw, 150px);
  --radius: 14px;
  --radius-lg: 22px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.9, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ember);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--ember-bright);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(255, 148, 87, 0.28);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
}

.h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
}

.h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.012em;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: var(--dim);
  max-width: 56ch;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ghost);
  opacity: 0.7;
}

.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--dim);
}

/* ---------- Layout ---------- */
.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
  position: relative;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head .lede {
  margin-top: 18px;
}

.grid {
  display: grid;
  gap: 20px;
}

/* ---------- Trace divider (signature motif) ---------- */
.trace-divider {
  width: 100%;
  height: 42px;
  overflow: hidden;
  color: var(--ghost);
  opacity: 0.35;
}

.trace-divider svg {
  width: 100%;
  height: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.18s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--ember);
  color: var(--ember-ink);
  box-shadow: 0 0 0 0 rgba(255, 148, 87, 0);
}

.btn-primary:hover {
  background: var(--ember-bright);
  color: var(--ember-ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px -8px rgba(255, 148, 87, 0.5);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--ghost-deep);
  background: rgba(255, 92, 92, 0.05);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.86rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.02rem;
  border-radius: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.93rem;
}

.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding-block: 14px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-head.scrolled {
  background: rgba(11, 13, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  padding-block: 10px;
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand span {
  color: var(--ghost);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.site-nav a {
  color: var(--dim);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 92, 92, 0.07);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--dim);
  padding: 7px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.015);
}

.status-pill:hover {
  color: var(--text);
  border-color: var(--line);
}

.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(111, 227, 165, 0.8);
  animation: pulse-dot 2.4s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  place-items: center;
  position: relative;
  z-index: 70;
}

.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  display: block;
  width: 17px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  position: relative;
}

.nav-toggle .bars::before {
  position: absolute;
  top: -5.5px;
}

.nav-toggle .bars::after {
  position: absolute;
  top: 5.5px;
}

body.nav-open .nav-toggle .bars {
  transform: rotate(45deg);
}

body.nav-open .nav-toggle .bars::before {
  transform: rotate(90deg);
  top: 0;
}

body.nav-open .nav-toggle .bars::after {
  opacity: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(150px, 20vh, 210px);
  padding-bottom: clamp(70px, 9vw, 120px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 480px at 78% 12%, rgba(224, 69, 69, 0.10), transparent 65%),
    radial-gradient(700px 500px at 8% 90%, rgba(255, 148, 87, 0.05), transparent 60%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
  opacity: 0.5;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .ghost-word {
  color: var(--ghost);
  position: relative;
  white-space: nowrap;
}

.hero .lede {
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--faint);
  letter-spacing: 0.03em;
}

.hero-note b {
  color: var(--dim);
  font-weight: 500;
}

/* terminal card */
.term {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 26, 37, 0.9), rgba(16, 19, 27, 0.9));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.term-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.term-bar i:first-child {
  background: rgba(255, 148, 87, 0.55);
}

.term-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--faint);
  letter-spacing: 0.05em;
}

.term-body {
  padding: 20px 20px 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.9;
  min-height: 214px;
}

.term-body .cmd {
  color: var(--text);
}

.term-body .cmd::before {
  content: "phantom@edge:~$ ";
  color: var(--ghost);
}

.term-line {
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term-line .ms {
  color: var(--ok);
}

.term-canvas-wrap {
  padding: 4px 12px 14px;
}

.term-canvas-wrap canvas {
  width: 100%;
  height: 74px;
}

/* hero stats strip */
.hero-stats {
  margin-top: clamp(56px, 8vw, 88px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line-soft);
}

.hero-stat {
  padding: 26px 26px 26px 0;
}

.hero-stat + .hero-stat {
  padding-left: 26px;
  border-left: 1px solid var(--line-soft);
}

.hero-stat .num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-stat .num em {
  font-style: normal;
  color: var(--ghost);
}

.hero-stat .label {
  font-size: 0.84rem;
  color: var(--faint);
  margin-top: 4px;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  padding: 30px 28px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    var(--ghost-glow),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(255, 92, 92, 0.30);
  transform: translateY(-3px);
}

.card:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 92, 92, 0.07);
  border: 1px solid rgba(255, 92, 92, 0.18);
  color: var(--ghost);
  margin-bottom: 22px;
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--dim);
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-wrap: pretty;
}

.card .spec {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--faint);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card .spec li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.card .spec li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--ghost-deep);
  transform: rotate(45deg);
  flex: none;
}

.card .price-from {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--faint);
  margin-bottom: 16px;
}

.card .price-from b {
  color: var(--text);
  font-weight: 500;
  font-size: 1.05rem;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-wide {
  grid-column: span 3;
}

/* ---------- Difference / pillars ---------- */
.pillars {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
}

.pillar {
  padding: clamp(30px, 4vw, 46px);
}

.pillar + .pillar {
  border-left: 1px solid var(--line-soft);
}

.pillar .k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-bottom: 18px;
}

.pillar h3 {
  margin-bottom: 12px;
}

.pillar p {
  color: var(--dim);
  font-size: 0.95rem;
}

/* ---------- Network section ---------- */
.network {
  background: var(--ink-2);
  border-block: 1px solid var(--line-soft);
}

.network-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.stat-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--ink);
}

.stat-box .num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.stat-box .num em {
  font-style: normal;
  color: var(--ghost);
  font-size: 1.1rem;
}

.stat-box .label {
  font-size: 0.84rem;
  color: var(--faint);
  margin-top: 4px;
}

.pop-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
}

.pop-table header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.pop-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 13px 22px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.15s var(--ease);
}

.pop-row:last-child {
  border-bottom: 0;
}

.pop-row:hover {
  background: rgba(255, 92, 92, 0.03);
}

.pop-row .code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ghost);
}

.pop-row .city {
  color: var(--text);
  font-weight: 500;
}

.pop-row .city small {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--faint);
}

.pop-row .cap {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--faint);
}

.pop-row .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ok);
}

.pop-row .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

/* ---------- Game spotlight ---------- */
.spotlight {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(224, 69, 69, 0.1), transparent 60%),
    var(--ink-2);
  padding: clamp(36px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  overflow: hidden;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--dim);
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--ink);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--ghost-deep);
  color: var(--ghost);
  transform: translateY(-2px);
}

.chip.more {
  color: var(--faint);
  border-style: dashed;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 32px;
  display: grid;
  gap: 13px;
}

.feature-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--dim);
  font-size: 0.96rem;
}

.feature-list li svg {
  width: 18px;
  height: 18px;
  color: var(--ok);
  flex: none;
  margin-top: 3px;
}

.feature-list li b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Steps (real sequence) ---------- */
.steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  background: var(--ink-2);
  position: relative;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ghost);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--dim);
  font-size: 0.94rem;
}

.step .t {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--faint);
}

.step .t b {
  color: var(--ok);
  font-weight: 500;
}

/* ---------- Quotes ---------- */
.quotes {
  grid-template-columns: repeat(3, 1fr);
}

.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.quote p {
  color: var(--dim);
  font-size: 0.97rem;
  text-wrap: pretty;
}

.quote p::before {
  content: "“";
  color: var(--ghost);
  font-family: var(--font-display);
  font-size: 1.4em;
  line-height: 0;
  margin-right: 2px;
}

.quote footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 13px;
}

.quote .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ghost);
  background: rgba(255, 92, 92, 0.08);
  border: 1px solid rgba(255, 92, 92, 0.2);
}

.quote .who b {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.quote .who span {
  font-size: 0.78rem;
  color: var(--faint);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 8px);
  background:
    radial-gradient(600px 300px at 20% 120%, rgba(255, 148, 87, 0.1), transparent 60%),
    radial-gradient(700px 320px at 85% -30%, rgba(224, 69, 69, 0.12), transparent 60%),
    var(--ink-2);
  padding: clamp(48px, 7vw, 90px) clamp(28px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
}

.cta-band h2 {
  margin-bottom: 16px;
}

.cta-band .lede {
  margin-inline: auto;
  margin-bottom: 36px;
}

.cta-band .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding-top: clamp(140px, 18vh, 190px);
  padding-bottom: clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}

.page-hero .lede {
  margin-top: 20px;
}

/* ---------- Service detail blocks ---------- */
.svc-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
  padding-block: clamp(48px, 7vw, 84px);
  border-top: 1px solid var(--line-soft);
}

.svc-block:first-of-type {
  border-top: 0;
}

.svc-block.flip > .svc-media {
  order: -1;
}

.svc-copy .eyebrow {
  margin-bottom: 14px;
}

.svc-copy h2 {
  margin-bottom: 16px;
}

.svc-copy p {
  color: var(--dim);
  margin-bottom: 16px;
  text-wrap: pretty;
}

.svc-copy .hero-ctas {
  margin-top: 28px;
  margin-bottom: 0;
}

.svc-media .term {
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.65);
}

.spec-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
}

.spec-table .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
}

.spec-table .row:last-child {
  border-bottom: 0;
}

.spec-table .row span:first-child {
  color: var(--faint);
}

.spec-table .row span:last-child {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  text-align: right;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 0.2s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--ghost);
  font-size: 1.1rem;
  transition: transform 0.25s var(--ease);
  flex: none;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--dim);
  font-size: 0.94rem;
}

/* ---------- Timeline (about) ---------- */
.timeline {
  position: relative;
  max-width: 720px;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--ghost-deep), var(--line) 80%);
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -31.5px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--ghost);
  box-shadow: 0 0 12px rgba(255, 92, 92, 0.5);
}

.timeline-item .year {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--ghost);
  margin-bottom: 8px;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--dim);
  font-size: 0.95rem;
  max-width: 58ch;
}

/* ---------- Values ---------- */
.values {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.contact-channels {
  display: grid;
  gap: 14px;
}

.channel {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  padding: 22px;
  transition: border-color 0.2s var(--ease);
}

.channel:hover {
  border-color: rgba(255, 92, 92, 0.3);
}

.channel .card-icon {
  margin-bottom: 0;
  width: 40px;
  height: 40px;
  flex: none;
}

.channel h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.channel p {
  color: var(--dim);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.channel .mono {
  font-size: 0.8rem;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  padding: clamp(26px, 4vw, 40px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ghost-deep);
  box-shadow: 0 0 0 3px rgba(224, 69, 69, 0.15);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #e0705c;
}

.form-note {
  font-size: 0.8rem;
  color: var(--faint);
  margin-top: 16px;
}

.form-success {
  display: none;
  border: 1px solid rgba(111, 227, 165, 0.35);
  background: rgba(111, 227, 165, 0.07);
  color: var(--ok);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.92rem;
  margin-top: 18px;
}

.form-success.show {
  display: block;
}

/* ---------- Footer ---------- */
.site-foot {
  border-top: 1px solid var(--line-soft);
  padding: clamp(56px, 8vw, 90px) 0 40px;
  background: var(--ink-2);
  margin-top: var(--section);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(30px, 5vw, 70px);
  margin-bottom: 56px;
}

.foot-brand p {
  color: var(--dim);
  font-size: 0.92rem;
  max-width: 34ch;
  margin: 18px 0 22px;
}

.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}

.foot-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 11px;
}

.foot-col a {
  color: var(--dim);
  font-size: 0.92rem;
}

.foot-col a:hover {
  color: var(--text);
}

.foot-base {
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--faint);
}

.foot-base .mono {
  font-size: 0.72rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-term {
    max-width: 620px;
  }

  .services-grid,
  .quotes {
    grid-template-columns: 1fr 1fr;
  }

  .card-wide {
    grid-column: span 1;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar + .pillar {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .network-inner,
  .spotlight,
  .svc-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .svc-block.flip > .svc-media {
    order: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 65;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: rgba(11, 13, 18, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    font-size: 1.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    padding: 12px 20px;
  }

  .nav-toggle {
    display: grid;
  }

  .status-pill {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 700px) {
  .hero h1 .ghost-word {
    white-space: normal;
  }

  .hero-term {
    max-width: 100%;
  }

  .term-body {
    padding: 16px 14px 6px;
    font-size: 0.7rem;
    line-height: 1.85;
    min-height: 184px;
  }

  .term-canvas-wrap {
    padding: 2px 10px 12px;
  }

  .term-canvas-wrap canvas {
    height: 58px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat {
    padding: 20px 16px 20px 0;
  }

  .hero-stat + .hero-stat {
    padding-left: 16px;
  }

  .hero-stat:nth-child(3) {
    border-top: 1px solid var(--line-soft);
  }

  .hero-stat:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }

  .hero-stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .services-grid,
  .quotes,
  .stat-grid,
  .values,
  .form-row {
    grid-template-columns: 1fr;
  }

  .pop-row {
    grid-template-columns: 40px 1fr auto;
  }

  .pop-row .cap {
    display: none;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-ctas .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Stat rows (subpages) ---------- */
.stat-row {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1020px) {
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Game panel feature grid ---------- */
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 6px 0 26px;
}

.panel-item {
  background: var(--ink-2);
  padding: 15px 17px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.panel-item b {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ghost);
}

.panel-item span {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--dim);
}

@media (max-width: 520px) {
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Payment methods strip ---------- */
.foot-pay {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 30px;
  margin-top: 44px;
  margin-bottom: 26px;
  border-top: 1px solid var(--line-soft);
}

.foot-pay .pay-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.foot-pay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.foot-pay li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--dim);
}

.foot-pay li svg {
  width: 15px;
  height: 15px;
  color: var(--faint);
}
