:root {
  --bg: #050608;
  --bg-2: #0a0c10;
  --text: #f5f6f8;
  --muted: #8d93a0;
  --dim: #5b616d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.035);
  --blue: #3d8bff;
  --blue-2: #7cc4ff;
  --ice: #c9f1ff;
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(61, 139, 255, 0.35); }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 10px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 40px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.brand-mark { width: 26px; height: 26px; color: #fff; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-primary {
  background: #fff;
  color: #07080a;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.4), 0 10px 40px -10px rgba(124, 196, 255, 0.55);
}
.btn-primary:hover { box-shadow: 0 0 0 1px #fff, 0 14px 50px -8px rgba(124, 196, 255, 0.8); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 20px 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(61, 139, 255, 0.18), transparent 70%),
    radial-gradient(30% 25% at 50% 62%, rgba(201, 241, 255, 0.12), transparent 70%);
  filter: blur(10px);
}
.road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  z-index: -1;
}
.road-surface { fill: rgba(255,255,255,0.018); }
.road-edge { stroke: rgba(255, 255, 255, 0.22); stroke-width: 2; fill: none; }
.lane {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 34 46;
  animation: lane 1.6s linear infinite;
}
.carpet { fill: url(#carpet); animation: breathe 5s ease-in-out infinite; }
.spine { stroke: url(#spine); stroke-width: 5; fill: none; stroke-linecap: round; }
.pulse {
  stroke: #fff;
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 70 1400;
  stroke-dashoffset: 0;
  opacity: 0.9;
  animation: pulse 3.2s var(--ease) infinite;
}
@keyframes lane { to { stroke-dashoffset: -80; } }
@keyframes breathe { 50% { opacity: 0.7; } }
@keyframes pulse {
  0% { stroke-dashoffset: 0; opacity: 0; }
  10% { opacity: 0.9; }
  100% { stroke-dashoffset: -760; opacity: 0; }
}

.hero-inner {
  position: relative;
  width: min(880px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: ping 2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

h1, h2, h3 { margin: 0; letter-spacing: -0.045em; font-weight: 600; }
h1 {
  font-size: clamp(46px, 8.6vw, 112px);
  line-height: 0.95;
}
h2 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1;
}
h3 { font-size: 21px; letter-spacing: -0.025em; }
.grad {
  background: linear-gradient(180deg, #fff 10%, #a9d8ff 55%, #4f9dff 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dim { color: var(--dim); }
.lead {
  max-width: 600px;
  margin: 26px auto 40px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.muted { color: var(--muted); font-size: 17px; max-width: 420px; }
.fine { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }
.fine.left { text-align: left; }
.fine a { color: var(--text); }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-radius: var(--radius);
}
.glass-strong {
  position: relative;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(61, 139, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #0d1016, #080a0d);
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -40px rgba(61, 139, 255, 0.35);
}

/* ---------- Claim card ---------- */
.claim {
  width: min(460px, 100%);
  padding: 28px;
  min-height: 140px;
  display: grid;
  transition: height 0.4s var(--ease);
}
.claim-state { display: none; grid-area: 1 / 1; animation: rise 0.5s var(--ease); }
.claim[data-state="idle"] [data-for="idle"],
.claim[data-state="loading"] [data-for="loading"],
.claim[data-state="revealed"] [data-for="revealed"],
.claim[data-state="empty"] [data-for="empty"],
.claim[data-state="error"] [data-for="error"] { display: block; }
.claim[data-state="idle"] { padding: 22px; min-height: 0; }
.claim [data-for="idle"] .btn { width: 100%; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.spinner {
  width: 30px;
  height: 30px;
  margin: 18px auto 0;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.12);
  border-top-color: var(--blue-2);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ref-head { display: flex; align-items: center; gap: 14px; text-align: left; margin-bottom: 18px; }
.avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 19px;
  color: #07080a;
  background: linear-gradient(140deg, #fff, #9fd2ff);
  box-shadow: 0 0 0 4px rgba(124, 196, 255, 0.14);
}
.ref-kicker { margin: 0; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.ref-title { margin: 2px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.ref-url {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ref-url code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ice);
}
.icon-btn {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background 0.2s;
}
.icon-btn:hover { background: rgba(255,255,255,0.12); }
.icon-btn svg { width: 18px; height: 18px; }

.feedback, .feedback-done {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.feedback-q { margin: 0 0 12px; font-size: 14px; font-weight: 500; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.chip:hover { background: rgba(255,255,255,0.1); }
.chip:active { transform: scale(0.96); }
.chip-good { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.45); color: #b9f5dc; }
.chip-good:hover { background: rgba(52, 211, 153, 0.12); }
.feedback-done p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.empty-title { margin: 6px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-label { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(90px, 13vw, 160px) 0 0;
}
.kicker {
  margin: 0 0 18px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.step {
  padding: 30px 28px 34px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(61,139,255,0.35); }
.step-num {
  display: inline-block;
  margin-bottom: 56px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue-2);
}
.step p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.split h2 { margin-bottom: 22px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  letter-spacing: -0.01em;
}
.checklist li:first-child { border-top: 1px solid var(--line); }
.tick {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(61, 139, 255, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' stroke='%237cc4ff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(124, 196, 255, 0.3);
}

/* ---------- Owners ---------- */
.owner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  padding: clamp(32px, 5vw, 64px);
}
.owner h2 { margin-bottom: 30px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.perks li { color: var(--muted); font-size: 15.5px; padding-left: 18px; position: relative; }
.perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-2);
}
.perks strong { color: var(--text); font-weight: 600; }
.owner-form { align-self: center; }
.owner-form label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.input-wrap {
  border-radius: 16px;
  background: rgba(0,0,0,0.4);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow 0.2s;
}
.input-wrap:focus-within { box-shadow: inset 0 0 0 1px var(--blue-2), 0 0 0 4px rgba(124, 196, 255, 0.15); }
.owner-form input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  outline: none;
}
.owner-form input::placeholder { color: var(--dim); }
.hint { margin: 10px 0 20px; color: var(--muted); font-size: 13px; }
.hint em { font-style: normal; color: var(--text); }

.share-result:empty { display: none; }
.share-result { margin-top: 18px; animation: rise 0.5s var(--ease); }
.notice {
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 14.5px;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.notice strong { display: block; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 2px; }
.notice p { margin: 0; color: var(--muted); }
.notice.good { background: rgba(52, 211, 153, 0.08); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.3); }
.notice.bad { background: rgba(248, 113, 113, 0.08); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.3); }

.report { padding: 20px; border-radius: 18px; background: rgba(0,0,0,0.35); box-shadow: inset 0 0 0 1px var(--line-2); }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.report-head strong { font-size: 16px; letter-spacing: -0.01em; }
.report-sub { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; }
.pill {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill.active { color: #b9f5dc; background: rgba(52, 211, 153, 0.12); }
.pill.exhausted, .pill.paused { color: #fde68a; background: rgba(251, 191, 36, 0.12); }
.pill.invalid { color: #fecaca; background: rgba(248, 113, 113, 0.12); }
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.report-tile { padding: 12px; border-radius: 12px; background: rgba(255,255,255,0.04); }
.report-tile b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.report-tile span { color: var(--muted); font-size: 12px; }
.meter { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.07); overflow: hidden; margin: 2px 0 6px; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transition: width 1s var(--ease); }
.meter-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow: auto; }
.timeline li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.timeline time { color: var(--text); font-variant-numeric: tabular-nums; }
.timeline .tag { color: var(--muted); font-size: 12.5px; }
.timeline .tag.good { color: var(--good); }
.timeline .tag.warn { color: var(--warn); }
.timeline-empty { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center/14px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.6px 14px no-repeat;
  color: var(--muted);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 26px; max-width: 720px; color: var(--muted); font-size: 16px; }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(100px, 14vw, 180px); border-top: 1px solid var(--line); }
.footer-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 56px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer p { margin: 0; max-width: 620px; color: var(--dim); font-size: 13px; }

/* ---------- Overlays ---------- */
.captcha-dialog {
  border: 0;
  padding: 26px;
  width: min(420px, calc(100% - 32px));
  border-radius: 24px;
  background: #0d1015;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px rgba(0,0,0,0.7);
}
.captcha-dialog::backdrop { background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); }
.captcha-title { margin: 0; font-size: 19px; font-weight: 600; }
#captchaBox { margin-top: 16px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: #07080a;
  font-size: 14px;
  font-weight: 600;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.24s; }
.steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step-num { margin-bottom: 28px; }
  .split, .owner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { flex-direction: column; gap: 16px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 104px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 28px 20px; }
  .claim { padding: 22px; }
  .report-grid { grid-template-columns: 1fr 1fr 1fr; }
  .report-tile b { font-size: 20px; }
}
