/* ============================================================
   DMARCify – Holding Page Styles
   Brand palette: #1769E8 (Blue) -> #09BFD8 (Teal) | Accent: #18D99A
   ============================================================ */

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

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:          #080d18;
  --surface:     rgba(10, 20, 45, 0.72);
  --surface-hi:  rgba(14, 28, 58, 0.88);
  --surface-card: rgba(12, 23, 50, 0.65);
  --border:      rgba(23, 105, 232, 0.22);
  --border-hi:   rgba(9, 191, 216, 0.4);
  --brand-1:     #1769E8;   /* Logo blue */
  --brand-2:     #09BFD8;   /* Logo teal */
  --brand-grad:  linear-gradient(130deg, var(--brand-1) 0%, var(--brand-2) 100%);
  --text:        #e8edf5;
  --text-muted:  #8da0bb;
  --text-faint:  #475874;
  --green:       #18D99A;   /* Shield checkmark */
  --green-glow:  rgba(24, 217, 154, 0.25);
  --amber:       #f59e0b;
  --amber-glow:  rgba(245, 158, 11, 0.25);
  --red:         #f87171;
  --red-glow:    rgba(248, 113, 113, 0.25);
  --f-body:      'Inter', system-ui, -apple-system, sans-serif;
  --f-display:   'Space Grotesk', 'Inter', system-ui, sans-serif;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Base ───────────────────────────────────────────────────── */
html {
  font-size: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: transparent;
  min-height: 100dvh;
}

img, svg { display: block; }

/* ── Accessibility ──────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Layout Container ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 48rem) {
  .container { padding-inline: 2rem; }
}

/* ── Canvas background ─────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Grid overlay ───────────────────────────────────────────── */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23,105,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,105,232,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 10%, black 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 10%, black 20%, transparent 90%);
}

/* ── Content layers ─────────────────────────────────────────── */
main, .nav, .footer {
  position: relative;
  z-index: 2;
}

/* ── Fixed Nav ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 1rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, backdrop-filter 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-scrolled {
  border-color: var(--border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(8, 13, 24, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.9; }
.logo:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 4px; border-radius: 4px; }
.logo__icon { width: 32px; height: 32px; flex-shrink: 0; }
.logo__text {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.025em;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__link:hover {
  color: #ffffff;
}
.nav__link:focus-visible {
  outline: 2px solid var(--brand-1);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Free Tools Nav Button ──────────────────────────────────── */
.nav-tools-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  background: rgba(14, 28, 58, 0.65);
  border: 1px solid rgba(23, 105, 232, 0.4);
  border-radius: 0.65rem;
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 16px rgba(23, 105, 232, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.25s var(--ease-out);
}
.nav-tools-btn:hover {
  background: linear-gradient(135deg, rgba(23, 105, 232, 0.25) 0%, rgba(9, 191, 216, 0.35) 100%);
  border-color: var(--brand-2);
  color: #ffffff;
  box-shadow: 0 0 24px rgba(9, 191, 216, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}
.nav-tools-btn:active {
  transform: translateY(0);
}
.nav-tools-btn:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}
.nav-tools-btn__icon {
  color: var(--brand-2);
  filter: drop-shadow(0 0 6px rgba(9, 191, 216, 0.7));
  flex-shrink: 0;
}

/* ── High-Contrast Animated Private Beta Button (Nav) ──────── */
.beta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 1.05rem;
  background: linear-gradient(135deg, rgba(23, 105, 232, 0.2) 0%, rgba(9, 191, 216, 0.3) 100%);
  border: 1px solid rgba(9, 191, 216, 0.55);
  border-radius: 0.65rem;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 20px rgba(9, 191, 216, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.25s var(--ease-out);
}
.beta-btn:hover {
  background: linear-gradient(135deg, rgba(23, 105, 232, 0.35) 0%, rgba(9, 191, 216, 0.5) 100%);
  border-color: var(--brand-2);
  box-shadow:
    0 0 28px rgba(9, 191, 216, 0.45),
    0 6px 16px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}
.beta-btn:active {
  transform: translateY(0);
}
.beta-btn:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}

/* Moving shimmer beam */
.beta-btn__shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: btn-shimmer-sweep 3.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shimmer-sweep {
  0%       { left: -100%; }
  25%, 100% { left: 200%; }
}

.beta-btn__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.beta-btn__icon {
  color: var(--brand-2);
  filter: drop-shadow(0 0 6px rgba(9, 191, 216, 0.8));
  flex-shrink: 0;
}

.beta-btn__text {
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  white-space: nowrap;
}

/* ── Floating Security Badges (Desktop Hero) ────────────────── */
.hero-floating-badge {
  display: none;
  position: absolute;
  top: 18%;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(14, 28, 58, 0.75);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
  pointer-events: none;
  z-index: 10;
}
@media (min-width: 62rem) {
  .hero-floating-badge { display: flex; }
  .hero-floating-badge--left {
    left: 0;
    animation: float-badge-left 4.5s ease-in-out infinite;
  }
  .hero-floating-badge--right {
    right: 0;
    top: 24%;
    animation: float-badge-right 5.2s ease-in-out infinite;
  }
}

@keyframes float-badge-left {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes float-badge-right {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(1.5deg); }
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.badge-icon--green {
  background: rgba(24, 217, 154, 0.15);
  color: var(--green);
  border: 1px solid rgba(24, 217, 154, 0.3);
}
.badge-icon--blue {
  background: rgba(23, 105, 232, 0.15);
  color: var(--brand-2);
  border: 1px solid rgba(23, 105, 232, 0.3);
}
.badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.badge-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.badge-sub {
  font-size: 0.68rem;
  color: var(--brand-2);
  font-weight: 600;
}

/* ── Section Shared Styles ──────────────────────────────────── */
.section {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-block: 6rem 5rem;
  box-sizing: border-box;
}
.section__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.35rem;
  width: 100%;
}

.section-heading {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text);
}

.section-sub {
  max-width: 52ch;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Section 1: Hero ────────────────────────────────────────── */
.section--hero {
  padding-top: 7.5rem;
  padding-bottom: 5.5rem;
  justify-content: center;
}

.hero__heading {
  font-family: var(--f-display);
  font-size: clamp(3.25rem, 8.5vw, 5.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero__heading-line  { display: block; color: var(--text); }
.hero__heading-accent {
  display: block;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  max-width: 48ch;
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA Form ───────────────────────────────────────────────── */
.cta-form {
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
}

.cta-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

@media (min-width: 32rem) {
  .cta-form__row {
    flex-direction: row;
    gap: 0;
    background: var(--surface-hi);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    padding: 0.35rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
      0 0 0 1px rgba(23,105,232,0.07),
      0 24px 56px rgba(0,0,0,0.5);
  }
}

.cta-form__input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1.1rem;
  background: transparent;
  border: none;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: var(--text);
  border-radius: 0.5rem;
  outline: none;
}
@media (max-width: 31.9375rem) {
  .cta-form__input {
    background: var(--surface-hi);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    width: 100%;
  }
}
.cta-form__input::placeholder { color: var(--text-faint); }
.cta-form__input:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 2px; border-radius: 0.5rem; }

.cta-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  background: var(--brand-grad);
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.15s var(--ease-spring), opacity 0.2s;
  box-shadow: 0 4px 18px rgba(23,105,232,0.4);
  min-height: 2.85rem;
}
@media (max-width: 31.9375rem) {
  .cta-form__btn {
    border-radius: 0.75rem;
    width: 100%;
    min-height: 3rem;
  }
}
.cta-form__btn:hover  { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(23,105,232,0.55); }
.cta-form__btn:active { transform: translateY(0); }
.cta-form__btn:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }
.cta-form__btn svg { transition: transform 0.2s var(--ease-spring); }
.cta-form__btn:hover svg { transform: translateX(3px); }
.cta-form__btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.cta-form__hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
}

.cta-form__message {
  min-height: 1.25rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}
.cta-form__message--ok  { color: var(--green); }
.cta-form__message--err { color: var(--red); }

/* ── Live Email Stream Verification Simulator ───────────────── */
.email-stream {
  width: 100%;
  max-width: 36rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.email-stream__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.email-stream__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green);
}

.email-stream__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: radar-pulse 1.8s ease-in-out infinite;
}

@keyframes radar-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}

.email-stream__rate {
  color: var(--text-muted);
  font-weight: 600;
}

.email-stream__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  min-height: 3.5rem;
  display: flex;
  align-items: center;
}

.stream-event {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
}

.stream-event__sender {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.stream-event__icon {
  color: var(--brand-2);
  flex-shrink: 0;
}

.stream-event__checks {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stream-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
  letter-spacing: 0.02em;
}

.stream-pill--pass {
  background: rgba(24, 217, 154, 0.12);
  color: var(--green);
  border: 1px solid rgba(24, 217, 154, 0.28);
}

.stream-pill--fail {
  background: rgba(248, 113, 113, 0.12);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.28);
}

.stream-pill--dmarc {
  background: rgba(23, 105, 232, 0.15);
  color: var(--brand-2);
  border: 1px solid rgba(23, 105, 232, 0.32);
}

.stream-event__status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stream-event__status--pass {
  background: rgba(24, 217, 154, 0.18);
  color: var(--green);
  border: 1px solid rgba(24, 217, 154, 0.35);
  box-shadow: 0 0 10px var(--green-glow);
}

.stream-event__status--fail {
  background: rgba(248, 113, 113, 0.18);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.35);
  box-shadow: 0 0 10px var(--red-glow);
}

/* ── Scroll Indicator Button ────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  background: rgba(14, 28, 58, 0.7);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--brand-2);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  animation: scroll-bounce 2.2s ease-in-out infinite;
}
.scroll-indicator:hover {
  border-color: var(--brand-2);
  background: rgba(23, 105, 232, 0.2);
  color: #fff;
}
.scroll-indicator:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 4px;
}

@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-3px);
  }
}

/* ── Section 2: Preview Card ────────────────────────────────── */
.section--preview {
  padding-block: 6rem;
}

.preview-card {
  width: 100%;
  max-width: 46rem;
  margin-top: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.125rem;
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow:
    0 0 0 1px rgba(23,105,232,0.07),
    0 32px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);
  will-change: transform;
  transform-style: preserve-3d;
}

.card-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: rgba(8,13,24,0.65);
  border-bottom: 1px solid var(--border);
}
.chrome-dots { display: flex; gap: 0.4rem; }
.chrome-dots span { width: 10px; height: 10px; border-radius: 50%; }
.chrome-dots span:nth-child(1) { background: #f87171; }
.chrome-dots span:nth-child(2) { background: #fbbf24; }
.chrome-dots span:nth-child(3) { background: var(--green); }
.chrome-title { font-size: 0.75rem; color: var(--text-faint); font-weight: 500; }

.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 36rem) {
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.875rem 1rem;
  background: rgba(8,13,24,0.55);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  text-align: left;
}
.metric__label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.metric__value {
  font-family: var(--f-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.metric__value--green { color: var(--green); }
.metric__value--red   { color: var(--red); }

.bar-chart {
  background: rgba(8,13,24,0.55);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.bar-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 5.5rem;
}
.bar {
  flex: 1;
  height: 0%;
  background: rgba(23,105,232,0.28);
  border-radius: 3px 3px 0 0;
  transition: height 0.7s var(--ease-spring);
}
.bar--highlight {
  background: linear-gradient(180deg, var(--brand-1) 0%, var(--brand-2) 100%);
  box-shadow: 0 0 14px rgba(9,191,216,0.45);
}
.bar-chart__label {
  font-size: 0.7rem;
  color: var(--text-faint);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section 3: Info Grid (DMARC / SPF / DKIM) ──────────────── */
.section--info {
  padding-block: 6rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  margin-top: 1rem;
  text-align: left;
}
@media (min-width: 48rem) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.info-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow: 0 20px 48px rgba(9,191,216,0.12);
}

.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  background: rgba(23,105,232,0.14);
  border: 1px solid rgba(23,105,232,0.35);
  border-radius: 0.75rem;
  color: var(--brand-2);
  margin-bottom: 1.25rem;
}

.info-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.info-card__title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.info-card__body {
  font-size: 0.8875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}
.info-card__body strong {
  color: var(--text);
  font-weight: 600;
}

.info-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23,105,232,0.15);
}
.info-card__list li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-card__list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(24, 217, 154, 0.15);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.info-stat {
  margin-top: 2rem;
  padding: 1rem 1.75rem;
  background: rgba(14, 28, 58, 0.5);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.info-stat strong {
  font-family: var(--f-display);
  color: var(--brand-2);
  font-size: 1.15rem;
  font-weight: 700;
  margin-right: 0.2rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
  background: rgba(8, 13, 24, 0.95);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer__copy { font-size: 0.8125rem; color: var(--text-faint); }
.footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__link:hover {
  color: #ffffff;
}
.footer__link:focus-visible {
  outline: 2px solid var(--brand-1);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 48rem) {
  .nav {
    padding: 0.75rem 0;
  }
  .nav.is-scrolled {
    padding: 0.6rem 0;
  }
  .nav__inner {
    padding: 0 1rem;
    gap: 0.5rem;
    justify-content: space-between;
  }
  .logo {
    gap: 0.45rem;
    flex-shrink: 0;
  }
  .logo__icon {
    width: 26px;
    height: 26px;
  }
  .logo__text {
    font-size: 1.05rem;
  }
  .nav__actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }
  .nav-tools-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    gap: 0.35rem;
  }
  .nav-tools-btn__icon {
    width: 12px;
    height: 12px;
  }
  .beta-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    gap: 0.35rem;
  }
  .beta-btn__label {
    font-size: 0.75rem;
  }
  .beta-btn__icon {
    width: 11px;
    height: 11px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .footer__links {
    justify-content: center;
    gap: 1rem 1.25rem;
  }
}

@media (max-width: 23.5rem) {
  .nav__inner {
    padding: 0 0.75rem;
  }
  .logo__text {
    font-size: 0.95rem;
  }
  .nav__actions {
    gap: 0.35rem;
  }
  .nav-tools-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }
  .beta-btn {
    padding: 0.3rem 0.55rem;
    font-size: 0.7rem;
  }
  .beta-btn__label {
    font-size: 0.7rem;
  }
}

/* ── Legal Pages (Privacy & Terms) ──────────────────────────── */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 6rem;
  position: relative;
  z-index: 1;
  min-height: 80vh;
}
.legal-container {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
}
.legal-header {
  margin-bottom: 2.5rem;
  text-align: left;
}
.legal-title {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.legal-subtitle {
  font-size: 0.875rem;
  color: var(--brand-2);
  font-weight: 600;
}
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  background: rgba(14, 28, 58, 0.45);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 3rem 3.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.legal-section h2 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.legal-section p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.legal-section ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.legal-section li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.legal-section li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--brand-2);
  font-weight: bold;
}
.legal-section a {
  color: var(--brand-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.legal-section a:hover {
  color: #ffffff;
}

.legal-section code {
  font-family: var(--f-mono, monospace);
  font-size: 0.8125rem;
  color: var(--brand-2);
  background: rgba(9, 191, 216, 0.1);
  border: 1px solid rgba(9, 191, 216, 0.2);
  border-radius: 0.35rem;
  padding: 0.15rem 0.4rem;
}

/* Legal Tables */
.legal-table-wrap {
  overflow-x: auto;
  margin-block: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(8, 13, 24, 0.6);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}
.legal-table th {
  padding: 0.85rem 1rem;
  background: rgba(14, 28, 58, 0.6);
  border-bottom: 1px solid var(--border);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  vertical-align: top;
  line-height: 1.5;
}
.legal-table tr:last-child td {
  border-bottom: none;
}
.legal-table tr:hover td {
  background: rgba(23, 105, 232, 0.05);
}

@media (max-width: 48rem) {
  .legal-content {
    padding: 1.5rem;
  }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-indicator, .hero-floating-badge {
    animation: none !important;
  }
}
