:root {
  --bg: #f1f3f5;
  --surface: #ffffff;
  --surface-2: #e4e8ec;
  --text: #0d0f11;
  --muted: #4a525b;
  --line: rgba(13, 15, 17, .12);
  --accent: #768d9f;
  --accent-strong: #43566a;
  --accent-soft: rgba(118, 141, 159, .16);
  --button-bg: #0d0f11;
  --button-text: #f1f3f5;
  --shadow: 0 22px 60px rgba(13, 15, 17, .10);
  --glass-bg: rgba(255, 255, 255, .4);
  --glass-bg-strong: rgba(255, 255, 255, .62);
  --glass-border: rgba(255, 255, 255, .78);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 34px rgba(13, 15, 17, .07);
  --glass-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, .95), 0 18px 48px rgba(13, 15, 17, .12);
  --glass-blur: blur(22px) saturate(170%);
  --blob-1: rgba(143, 163, 181, .5);
  --blob-2: rgba(170, 190, 212, .6);
  --blob-3: rgba(118, 141, 159, .38);
  --blob-4: rgba(205, 214, 226, .9);

  --font: "Inter", Arial, sans-serif;
  --fs-display: clamp(52px, 7vw, 100px);
  --fs-h2: clamp(34px, 4.2vw, 56px);
  --fs-h3: 20px;
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-micro: 12px;

  --radius: 24px;
  --radius-sm: 12px;
  --section-space: 112px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

.is-stealth {
  --bg: #0d0f11;
  --surface: #191c20;
  --surface-2: #21252a;
  --text: #f1f3f5;
  --muted: #a3abb4;
  --line: rgba(146, 154, 163, .24);
  --accent: #8fa3b5;
  --accent-strong: #9fb2c3;
  --accent-soft: rgba(143, 163, 181, .14);
  --button-bg: #8fa3b5;
  --button-text: #0d0f11;
  --shadow: 0 22px 70px rgba(0, 0, 0, .44);
  --glass-bg: rgba(33, 37, 42, .38);
  --glass-bg-strong: rgba(33, 37, 42, .6);
  --glass-border: rgba(255, 255, 255, .08);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 10px 34px rgba(0, 0, 0, .35);
  --glass-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 48px rgba(0, 0, 0, .5);
  --blob-1: rgba(143, 163, 181, .22);
  --blob-2: rgba(80, 98, 116, .4);
  --blob-3: rgba(118, 141, 159, .24);
  --blob-4: rgba(52, 62, 74, .55);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--bg);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  transition: color .6s ease, background-color .6s ease;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(34% 30% at 10% 12%, var(--blob-1), transparent 70%),
    radial-gradient(30% 36% at 90% 22%, var(--blob-2), transparent 70%),
    radial-gradient(28% 26% at 52% 50%, var(--blob-4), transparent 70%),
    radial-gradient(36% 32% at 22% 84%, var(--blob-3), transparent 70%),
    radial-gradient(32% 30% at 84% 86%, var(--blob-1), transparent 70%);
  filter: blur(24px);
}
a { color: inherit; }
button { color: inherit; font: inherit; }
p a { color: var(--accent-strong); font-weight: 600; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-sm); }
[tabindex="-1"]:focus { outline: none; }

.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

h1, h2, h3 { margin: 0; font-weight: 800; }
h1 { font-size: var(--fs-display); line-height: 1; letter-spacing: -.04em; }
h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.035em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }


/* Header */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.brand { display: inline-flex; align-items: center; gap: 10px; padding-left: 4px; font-weight: 800; font-size: var(--fs-h3); letter-spacing: -.02em; text-decoration: none; }
.brand-muted { color: var(--muted); font-weight: 600; }
nav { display: flex; gap: 32px; }
nav a { color: var(--muted); font-size: var(--fs-small); font-weight: 400; text-decoration: none; transition: color .2s ease; }
nav a:hover { color: var(--text); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--button-bg);
  border-radius: var(--radius-sm);
  color: var(--button-text);
  background: var(--button-bg);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .6s ease, color .6s ease, border-color .6s ease, box-shadow .2s ease;
}
.button:hover { box-shadow: 0 10px 24px rgba(13, 15, 17, .18); }
.button-small { min-height: 42px; padding-inline: 18px; }
.button-outline { color: var(--text); background: transparent; border-color: var(--line); }
.button-outline:hover { border-color: var(--accent); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 680px; padding-block: 64px 80px; }
.hero-copy { position: relative; z-index: 4; max-width: 560px; }
.hero h1 { min-height: 2em; }
.hero h1 em { color: var(--muted); font-style: normal; transition: color .45s ease; }
.hero-lead { margin: 26px 0 32px; color: var(--muted); font-size: var(--fs-body); }

.hero-panel { display: grid; gap: 12px; max-width: 440px; text-align: left; }
.stealth-switch {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: border-color .3s ease, background-color .6s ease, transform .2s var(--ease);
}
.stealth-switch:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.switch-track { position: relative; flex: 0 0 56px; width: 56px; height: 32px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .35s ease; }
.switch-thumb { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0, 0, 0, .25); transition: transform .35s var(--ease), background-color .35s ease; }
.switch-copy { display: grid; gap: 2px; }
.switch-copy strong { font-size: var(--fs-body); font-weight: 600; line-height: 1.3; }
.switch-copy small { color: var(--muted); font-size: var(--fs-small); }

.ip-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: background-color .6s ease, border-color .6s ease;
}
.ip-main { display: grid; gap: 4px; min-width: 0; }
.ip-label { color: var(--muted); font-size: var(--fs-small); font-weight: 600; }
#ip-value { font-size: var(--fs-h3); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; overflow-wrap: anywhere; }
.ip-card.is-loading #ip-value { color: var(--muted); animation: pulse 1.6s ease-in-out infinite; }
.status { display: inline-flex; flex: none; align-items: center; gap: 8px; color: var(--muted); font-size: var(--fs-small); font-weight: 600; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #d9534f; box-shadow: 0 0 0 4px rgba(217, 83, 79, .14); transition: background-color .3s ease, box-shadow .3s ease; }
.ip-card.is-loading .status i, .ip-card.is-error .status i { background: var(--muted); box-shadow: 0 0 0 4px var(--accent-soft); }
.microcopy { max-width: 440px; margin: 12px 0 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }

/* Mascot */
.mascot-stage { position: relative; display: grid; place-items: center; min-height: 580px; }
.mascot { position: relative; z-index: 3; width: min(460px, 42vw); padding: 0; border: 0; border-radius: var(--radius); background: none; cursor: pointer; }
.mascot-frame { position: relative; display: block; width: 100%; aspect-ratio: 1792 / 2400; filter: drop-shadow(0 28px 30px rgba(13, 15, 17, .16)); transition: filter .6s ease, opacity .6s ease; }
.mascot img, .eyes-layer { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.mascot img { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 99%); mask-image: linear-gradient(to bottom, #000 82%, transparent 99%); }
.eyes-layer { overflow: visible; }
.pupil { transform-box: view-box; transition: opacity .6s ease; }
.mascot-glow { position: absolute; z-index: -1; inset: 8% -8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .95) 0 40%, rgba(143, 163, 181, .22) 60%, transparent 72%); filter: blur(3px); transition: opacity .6s ease; }

/* Trust strip */

.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; width: fit-content; max-width: calc(100% - 32px); margin-inline: auto; padding: 14px 32px; border: 1px solid var(--line); border-radius: 999px; }
.trust-strip p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: var(--fs-body); white-space: nowrap; }
.trust-strip strong { color: var(--text); font-size: var(--fs-h3); font-weight: 800; line-height: 1; }
.trust-strip strong.symbol { font-size: 28px; }

/* Sections */
.section { padding-block: var(--section-space) 0; }
.section-heading { display: grid; gap: 16px; margin-bottom: 40px; }
.section-heading > p { max-width: 560px; margin: 0; color: var(--muted); }
.section-heading-stacked { align-content: start; margin-bottom: 0; }


.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; gap: 32px 64px; }
.split-layout h2 { font-size: clamp(34px, 3.4vw, 44px); }
.split-layout > .section-heading { position: sticky; top: 112px; }

.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(200px, auto); gap: 16px; }
.tile { display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: 8px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.servers { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 16px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.servers h3 { font-size: var(--fs-body); font-weight: 600; }
.server-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.server-list li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: var(--fs-small); background: var(--glass-bg); }

.tile .row-icon { margin-bottom: 24px; }
.tile h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
.tile p { margin: 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.tile-hero { grid-row: span 2; grid-template-rows: auto 1fr auto; padding: 34px; }
.tile-hero h3 { align-self: end; }
.tile-hero .row-icon { width: 72px; height: 72px; border-radius: 20px; }
.tile-hero .row-icon svg { width: 34px; }
.tile-hero h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.tile-hero p { max-width: 34ch; font-size: var(--fs-body); }

.row-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); color: var(--button-text); background: var(--button-bg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); transition: background-color .6s ease, color .6s ease; }
.row-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.steps li:not(:last-child)::before { content: ""; position: absolute; top: 20px; right: -4px; left: 52px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line)); }
.step-card { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; background: var(--surface); text-decoration: none; transition: transform .25s var(--ease), background-color .6s ease, border-color .6s ease, box-shadow .25s ease; }
.step-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.step-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); font-size: var(--fs-small); font-weight: 600; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.step-card:hover .step-link { border-color: var(--button-bg); color: var(--button-text); background: var(--button-bg); }
.steps p { margin: 0; color: var(--muted); }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--accent-soft); border-radius: 50%; color: var(--button-text); background: var(--button-bg); font-weight: 800; transition: background-color .6s ease, color .6s ease; }

.faq-list { align-self: start; padding: 4px 28px; border: 1px solid var(--line); border-radius: var(--radius); }
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: var(--fs-body); font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { flex: none; color: var(--accent-strong); font-size: var(--fs-h3); font-weight: 400; line-height: 1.2; transition: transform .25s ease; }
details[open] summary span { transform: rotate(45deg); }
details p { margin: -6px 48px 22px 0; color: var(--muted); }

.cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; margin-top: var(--section-space); padding: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transition: background-color .6s ease, border-color .6s ease; }
.cta h2 { margin-bottom: 12px; font-size: clamp(30px, 3.2vw, 40px); }
.cta p:last-child { margin: 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 48px; color: var(--muted); font-size: var(--fs-small); }
.site-footer a { text-decoration: none; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a:hover { color: var(--text); }

.not-found { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; gap: 48px; min-height: 100vh; padding-block: 48px; }
.not-found img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 99%); mask-image: linear-gradient(to bottom, #000 82%, transparent 99%); }
.not-found h1 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.035em; }
.not-found p { max-width: 46ch; margin: 18px 0 28px; color: var(--muted); }

.cursor-light { position: fixed; z-index: 50; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 163, 181, .10), transparent 72%); transition: opacity .6s ease; }

/* Glass surfaces */
.site-header,
.stealth-switch,
.ip-card,
.trust-strip,
.tile,
.servers,
.step-card,
.faq-list,
.cta,
.button-outline {
  border-color: var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition: background-color .6s ease, border-color .6s ease, box-shadow .3s ease;
}
.site-header, .cta { background: var(--glass-bg-strong); }
.stealth-switch:hover,
.step-card:hover,
.button-outline:hover { border-color: var(--glass-border); background: var(--glass-bg-strong); box-shadow: var(--glass-shadow-hover); }
.step-link { border-color: var(--line); background: var(--glass-bg); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .stealth-switch, .ip-card, .trust-strip, .tile, .servers, .step-card, .faq-list, .cta, .button-outline { background: var(--surface); }
}

/* Stealth state */
.is-stealth .cursor-light { opacity: 1; }
.is-stealth .hero h1 em { color: var(--accent); }
.is-stealth .switch-track { background: var(--accent); }
.is-stealth .switch-thumb { transform: translateX(24px); background: #0d0f11; }
.is-stealth .status i { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.is-stealth .pupil { opacity: 0; }
.is-stealth .mascot-glow { opacity: .06; }
.is-stealth .mascot-frame { opacity: .72; filter: brightness(.55) contrast(1.08) drop-shadow(0 28px 35px rgba(0, 0, 0, .5)); }
.is-stealth .button:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }


@keyframes pulse { 50% { opacity: .45; } }

@media (max-width: 900px) {
  :root { --section-space: 88px; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding-top: 32px; }
  .mascot-stage { grid-row: 1; min-height: 460px; }
  .mascot { width: min(400px, 72vw); }
  .hero-copy { max-width: 600px; margin-inline: auto; text-align: center; }
  .hero-panel, .microcopy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .split-layout { grid-template-columns: 1fr; }
  .split-layout > .section-heading { position: static; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .tile-hero { grid-column: span 2; grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .not-found { grid-template-columns: 1fr; justify-items: center; gap: 24px; text-align: center; }
  .not-found img { width: min(240px, 60vw); }
  .not-found-copy { min-width: 0; max-width: 100%; }
  .not-found h1 { font-size: clamp(28px, 8vw, 34px); overflow-wrap: break-word; }
  .steps li { grid-template-columns: 40px 1fr; grid-template-rows: none; }
  .steps li:not(:last-child)::before { top: 52px; right: auto; bottom: -4px; left: 20px; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line)); }
  .cta { grid-template-columns: 1fr; padding: 36px; }
}

@media (max-width: 620px) {
  :root { --fs-body: 16px; --section-space: 72px; }
  .shell { width: calc(100% - 32px); }
  .site-header { top: 10px; margin-top: 10px; padding-left: 12px; }
    .hero h1 { font-size: clamp(44px, 14vw, 64px); }
  .mascot-stage { min-height: 0; padding-block: 12px 24px; }
  .mascot { grid-row: 1; grid-column: 1; width: min(320px, 80vw); }
  .mascot-glow { inset: 8% 0 6%; }
  .ip-card { flex-wrap: wrap; }
  .cta { padding: 28px 22px; }
  .cta-actions .button { flex: 1 1 100%; }
  details p { margin-right: 0; }
  .bento { gap: 12px; }
  .tile { padding: 18px; }
  .tile .row-icon { margin-bottom: 16px; }
  .tile h3 { font-size: var(--fs-body); }
  .tile-hero { padding: 24px; }
  .tile-hero h3 { font-size: 26px; }
}

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