:root {
  --ink: #07060a;
  --ink-2: #0e0c12;
  --pearl: #f4efe6;
  --mute: #a89f93;
  --gold: #d4b896;
  --gold-2: #b89262;
  --line: rgba(212, 184, 150, 0.16);
  --glass: rgba(18, 16, 22, 0.55);
  --danger: #e8a0a0;
  --ok: #9dcb9a;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--pearl);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(700px 500px at var(--mx, 50%) var(--my, 0%), rgba(212, 184, 150, 0.09), transparent 55%),
    radial-gradient(900px 520px at 18% -10%, rgba(212, 184, 150, 0.16), transparent 60%),
    radial-gradient(700px 480px at 92% 8%, rgba(90, 70, 50, 0.22), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.aurora { display: none; }

.wrap { position: relative; z-index: 2; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--pearl); }

.glass,
.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 80px rgba(0, 0, 0, 0.35);
}

.site-header {
  position: sticky;
  top: 1.1rem;
  z-index: 20;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 0.85rem 0.7rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 999px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--pearl);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-size: 0.95rem;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 9px;
  background: #000;
  display: block;
  flex: none;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(145deg, #ead9c0, #c4a574);
  color: #1a1612;
  font-size: 0.78rem;
  font-weight: 600;
}

svg.logo-mark { background: none; padding: 0; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.86rem;
}

.site-header nav > a { color: var(--mute); }
.site-header nav > a:hover { color: var(--pearl); }

.nav-actions { display: flex; align-items: center; gap: 0.45rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-gold {
  background: linear-gradient(180deg, #ead9c0, var(--gold-2));
  color: #1a1612;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-gold:hover { color: #1a1612; filter: brightness(1.06); }

.btn-ghost {
  background: transparent;
  color: var(--pearl);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: rgba(212, 184, 150, 0.4); color: var(--pearl); }

.btn-lg { padding: 0.85rem 1.45rem; font-size: 0.95rem; }

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 2.5rem;
  text-align: center;
}

.hero h1,
.section-head h2,
.finale h2,
.security-sheet h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.lead, .section-head p {
  color: var(--mute);
  font-size: 1.08rem;
  font-weight: 300;
  max-width: 36rem;
}

.hero .lead { margin: 0 auto 2rem; }

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.hero-trust { color: var(--mute); font-size: 0.82rem; }

.hero-stage {
  max-width: 920px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.stage-window { border-radius: 24px; overflow: hidden; }

.stage-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dots {
  width: 42px;
  height: 10px;
  background: radial-gradient(circle closest-side, #c9a882 90%, transparent 91%) 0/14px,
    radial-gradient(circle closest-side, #6a645c 90%, transparent 91%) 14px/14px,
    radial-gradient(circle closest-side, #4a4540 90%, transparent 91%) 28px/14px;
}

.live-pill {
  color: var(--ok);
  border: 1px solid rgba(157, 203, 154, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
}

.stage-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.stage-stats div {
  padding: 1.15rem 1.2rem;
  border-right: 1px solid var(--line);
}

.stage-stats div:last-child { border-right: none; }

.stage-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.stage-stats small { color: var(--mute); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.stage-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }

.stage-table th, .stage-table td {
  padding: 0.85rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.stage-table th { color: var(--mute); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }

.stage-table code, .dash-table code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.78rem;
  color: var(--gold);
}

.chip {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.chip.ok { color: var(--ok); border-color: rgba(157, 203, 154, 0.35); }
.chip.mute { color: var(--mute); }

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 1rem 0;
  animation: drift 42s linear infinite;
  color: var(--mute);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@keyframes drift {
  to { transform: translateX(-50%); }
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-head { margin-bottom: 2.5rem; max-width: 640px; }

.section-head h2, .security-sheet h2, .finale h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0.75rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bento .glass-panel {
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}

.bento-lg { grid-column: span 2; }

.bento h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.bento p { color: var(--mute); font-size: 0.95rem; font-weight: 300; }

.key-strip {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.key-strip code { color: var(--gold); letter-spacing: 0.08em; }
.key-strip span { color: var(--mute); font-size: 0.75rem; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps .glass-panel {
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}

.steps span {
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.steps h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0.7rem 0 0.4rem;
}

.steps p { color: var(--mute); font-weight: 300; }

.security-sheet {
  border-radius: 28px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.fine-list {
  list-style: none;
}

.fine-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  padding-left: 1.3rem;
  position: relative;
}

.fine-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 1.2rem;
}

.compare-rows { border-radius: var(--radius); overflow: hidden; }

.compare-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.compare-row:last-child { border-bottom: none; }
.compare-row span { color: var(--mute); }
.compare-row b { font-weight: 500; text-align: right; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: rgba(212, 184, 150, 0.45);
  box-shadow: 0 0 0 1px rgba(212, 184, 150, 0.18), 0 40px 90px rgba(0, 0, 0, 0.4);
}

.ribbon {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1612;
  background: var(--gold);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.price-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.price-card .price {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 1rem 0 1.2rem;
}

.price-card .price span {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--mute);
  font-style: normal;
}

.price-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 1.4rem;
  color: var(--mute);
  font-size: 0.92rem;
}

.price-card li { padding: 0.35rem 0; }

.finale {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.finale h2 { margin-bottom: 1.5rem; }

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.85rem;
}

.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { color: var(--mute); }

/* Auth */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  padding: 1.5rem 1.75rem 1.85rem;
  background: rgba(14, 14, 16, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mute);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.auth-back:hover { color: var(--pearl); }

.auth-mark {
  display: flex;
  justify-content: center;
  margin: 0.2rem 0 0.85rem;
}

.auth-mark img {
  width: 42px;
  height: 42px;
}

.auth-card h1 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  margin: 0 0 0.3rem;
  text-align: center;
}

.auth-card .sub {
  color: var(--mute);
  margin-bottom: 1.35rem;
  font-weight: 300;
  text-align: center;
}

.account-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.account-switch button {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mute);
  padding: 0.7rem 0.6rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.account-switch button.active {
  background: rgba(212, 184, 150, 0.16);
  border-color: rgba(212, 184, 150, 0.55);
  color: var(--pearl);
}

.field { margin-bottom: 1rem; }

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.4rem;
}

.field-input {
  position: relative;
}

.field-input .ico {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mute);
  pointer-events: none;
  display: flex;
}

.field input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--pearl);
  font: inherit;
}

.field-input input { padding-left: 2.45rem; }

.field input:focus {
  outline: none;
  border-color: rgba(212, 184, 150, 0.55);
  box-shadow: 0 0 0 4px rgba(212, 184, 150, 0.1);
}

.auth-card .btn { width: 100%; margin-top: 0.55rem; }

.auth-footer { text-align: center; margin-top: 1.25rem; color: var(--mute); font-size: 0.88rem; }

.form-error {
  display: none;
  background: rgba(232, 160, 160, 0.1);
  border: 1px solid rgba(232, 160, 160, 0.35);
  color: var(--danger);
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.form-error.visible { display: block; }

.form-ok {
  background: rgba(157, 203, 154, 0.12);
  border: 1px solid rgba(157, 203, 154, 0.35);
  color: var(--ok);
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.verify-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.verify-actions .btn { width: auto; margin-top: 0; }

.linkish {
  background: none;
  border: 0;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.mute { color: var(--mute); font-size: 0.85rem; }

#cf-slot { min-height: 0; }
#cf-slot:not(:empty) { margin: 0.2rem 0 0.8rem; }

@media (max-width: 900px) {
  .site-header nav > a { display: none; }
  .bento, .steps, .pricing-grid, .security-sheet, .stage-stats { grid-template-columns: 1fr; }
  .bento-lg { grid-row: auto; }
  .stage-stats div { border-right: none; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
