@font-face {
  font-family: AdMRI-DM;
  src: url("/static/fonts/admri-dm/admri-dm-light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: AdMRI-DM;
  src: url("/static/fonts/admri-dm/admri-dm-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: AdMRI-DM;
  src: url("/static/fonts/admri-dm/admri-dm-medium.ttf") format("truetype");
  font-weight: 500 900;
  font-display: swap;
}

/* Live admri.tech space theme tokens (from space-theme.css, fetched 2026-11-15). */
:root {
  --ink: #edf1fa;
  --blue: #93bcff;
  --cyan: #8ddde8;
  --brand: #a5c5ff;
  --paper: #04060b;
  --panel: rgba(16,20,31,.84);
  --drop: #ffa99b;
  --space-panel: rgba(16,20,31,.84);
  --space-border: rgba(187,206,246,.16);
  --space-muted: #a9b2c6;
  --space-ease: cubic-bezier(.22,1,.36,1);
  --font: AdMRI-DM, Arial, sans-serif;
  --tight: AdMRI-DM, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #03050a; }
html, body { margin: 0; padding: 0; }
body {
  position: relative;
  isolation: isolate;
  font-family: var(--font);
  background: transparent;
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before, body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  inset: -70px -25px;
}
body::before {
  background-image:
    radial-gradient(circle at 19px 32px,#e4eeffb8 .8px,transparent 1.5px),
    radial-gradient(circle at 110px 73px,#b8d5ff8c 1.15px,transparent 2px),
    radial-gradient(circle at 55px 155px,#dceaff70 .65px,transparent 1.4px),
    radial-gradient(circle at 173px 45px,#bdd3fb54 .9px,transparent 1.7px),
    radial-gradient(circle at 7px 9px,#88a7da18 .8px,transparent 1.2px);
  background-size: 237px 251px,401px 337px,181px 307px,523px 461px,38px 38px;
  opacity: .75;
}
body::after {
  background:
    radial-gradient(ellipse at 76% 13%,#2d497f2b,transparent 48%),
    radial-gradient(ellipse at 10% 74%,#38265820,transparent 48%),
    radial-gradient(ellipse at 65% 87%,#14394a20,transparent 45%);
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
::selection { background: #385984; color: #fff; }

.local-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #12141a;
  color: #edf1fa;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #aac9ff15;
  background: #070a11c9;
  backdrop-filter: blur(22px);
}
.bar {
  max-width: 72rem;
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
}
@media (min-width: 768px) { .bar { padding: 0 32px; } }
.logo img { height: 36px; width: auto; display: block; }
.primary { display: none; align-items: center; gap: 28px; }
.primary a {
  font-size: 14px;
  color: #c2cbdf;
  text-decoration: none;
}
.primary a:hover { color: #fff; }
@media (min-width: 768px) { .primary { display: flex; } }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

h1, h2, .font-serif {
  font-family: var(--tight);
  letter-spacing: -0.045em;
  font-weight: 300;
  color: #f1f4fc;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.08; margin: 0 0 16px; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin: 0 0 10px; }

.lede { font-size: 1.05rem; line-height: 1.65; color: #bdc6d9; margin: 0 0 12px; }
.fine { font-size: 13px; color: var(--space-muted); line-height: 1.5; }
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 8px;
  font-weight: 500;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #101522;
  text-decoration: none;
  background: #eef3ff;
  box-shadow: 0 0 0 1px #c4dcff08, 0 6px 28px #a4c7ff0b;
  border: 1px solid #fff9;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.025em;
  font-family: var(--font);
  transition: transform .2s var(--space-ease), filter .2s;
}
.btn-brand.sm { padding: 8px 16px; font-size: 14px; }
.btn-brand:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-brand:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #162033eb;
  color: #dfeaff;
  border: 1px solid #a2c6ff38;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost:hover { border-color: #a5c9ff70; color: #fff; }
.hide-sm { display: none; }
@media (min-width: 768px) { .hide-sm { display: inline-flex; } }

.panel {
  background: linear-gradient(135deg,#171e2ad9,#090d16e6);
  border: 1px solid var(--space-border);
  box-shadow: inset 0 1px 0 #e2eeff09, 0 24px 80px #0005;
  backdrop-filter: blur(18px);
  border-radius: 32px;
  padding: 28px;
}
@media (min-width: 768px) { .panel { padding: 40px; } }

.field {
  color: #edf1fa;
  background: #0c1220;
  border: 1px solid var(--space-border);
  border-radius: 14px;
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: inset 0 1px #e2eeff09;
}
.field:focus {
  outline: none;
  border-color: #93bcff;
  box-shadow: 0 0 0 3px rgba(147,188,255,0.18);
}
.field::placeholder { color: #7e8ba3; }
input[type="file"].field {
  padding: 14px;
  background: #0a101c;
  border-style: dashed;
  cursor: pointer;
}
.label { display: block; margin-bottom: 8px; font-size: 14px; color: #bdc6d9; }
.block { display: block; margin-bottom: 18px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #bdc6d9;
  margin: 8px 0 16px;
}
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: #93bcff; flex: none; }
.optional { color: #98a7c0; font-style: normal; }
.honey { position: absolute; left: -9999px; }

.hero { position: relative; isolation: isolate; padding: 72px 0 96px; overflow: hidden; }
.hero-bg { display: none; }
.hero-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-error { color: var(--drop); font-size: 14px; margin: 12px 0 0; }
.placeholder-note {
  font-size: 12px;
  color: var(--space-muted);
  background: #0c1220;
  border: 1px dashed var(--space-border);
  border-radius: 12px;
  padding: 10px 12px;
}
.turnstile-slot { margin: 8px 0 18px; }

.scan-page { padding: 48px 0 96px; }
.scan-card { max-width: 720px; margin: 0 auto; }
.live-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: #8ddde8;
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(141,221,232,0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(141,221,232,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(141,221,232,0); }
  100% { box-shadow: 0 0 0 0 rgba(141,221,232,0); }
}
.scan-keep-open {
  font-family: var(--tight);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.scan-timer {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 20px 0 0;
  font-variant-numeric: tabular-nums;
}
#scan-elapsed {
  font-family: var(--tight);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #f1f4fc;
}
.scan-timer-meta {
  font-size: 14px;
  color: var(--space-muted);
}
.scan-bar {
  height: 4px;
  background: #ffffff14;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 18px;
}
.scan-bar span {
  display: block; height: 100%; width: 5%;
  background: linear-gradient(102deg, #8ddde8, #93bcff);
  transition: width 0.6s ease;
}
.scan-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.scan-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 15px;
  color: #7e8ba3;
}
.scan-steps li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff22;
  flex: 0 0 8px;
}
.scan-steps li.is-done { color: #bdc6d9; }
.scan-steps li.is-done::before { background: var(--blue); }
.scan-steps li.is-current {
  color: #f1f4fc;
  font-weight: 500;
}
.scan-steps li.is-current::before {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(141,221,232,0.28);
}
.scan-email-fallback { margin: 22px 0 0; }

.mock-banner {
  background: #2a1f0c;
  border: 1px solid #e8b44a66;
  color: #f3d399;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.preview-head { margin: 0 0 28px; }
.preview-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
@media (min-width: 900px) {
  .preview-grid { grid-template-columns: 280px 1fr; }
}
.hook-score {
  font-family: var(--tight);
  font-size: 72px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 8px 0;
  color: var(--blue);
}
.hook-score small { font-size: 18px; font-weight: 400; color: var(--space-muted); margin-left: 6px; vertical-align: 18px; letter-spacing: 0; }
.chart { width: 100%; min-height: 200px; }
.chart svg { width: 100%; height: auto; display: block; }
.moments { margin: 0; padding-left: 20px; }
.moments li { margin: 0 0 12px; line-height: 1.5; }
.moments .time { color: var(--blue); font-weight: 500; }
.preview-split {
  display: grid;
  gap: 18px;
  margin: 18px 0;
}
@media (min-width: 800px) { .preview-split { grid-template-columns: 1fr 1fr; } }
.fix-panel { border-left: 4px solid var(--blue); }
.gate { margin-top: 8px; }
.unlocked { margin-top: 8px; }

.site-footer {
  border-top: 1px solid var(--space-border);
  background: #050810a6;
  backdrop-filter: blur(12px);
}
.foot-grid {
  max-width: 72rem;
  margin: 0 auto;
  padding: 64px 20px;
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) {
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; padding: 64px 32px; }
}
.foot-logo { height: 48px; width: auto; }
.site-footer h2 {
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
}
.site-footer a { text-decoration: none; color: #c2cbdf; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a {
  border: 1px solid var(--space-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: #c2cbdf;
}
.legal { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: #c2cbdf; }
.copy {
  border-top: 1px solid var(--space-border);
  text-align: center;
  font-size: 12px;
  color: #7e8ba3;
  padding: 20px;
  margin: 0;
}

.report-view { padding: 24px 0 64px; }
.report-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 16px;
}
.pdf-frame {
  width: 100%;
  height: 85vh;
  border: 1px solid var(--space-border);
  border-radius: 16px;
  background: #0c1220;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--space-border);
}
.mini-score {
  font-family: var(--tight);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--blue);
  margin: 0;
}
