/* =========================================================================
   AI Maskman · funnel system (system B)
   His own world: near-black, electric blue neon, thumbnail yellow for the
   one highlighted phrase. Heavy italic display (his wordmark) + Inter.
   Shared by register / thank-you / replay / emails / ad scripts / ads.
   ========================================================================= */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-italic-var.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #05060f;
  --surface: #0c0e1c;
  --surface-2: #121530;
  --line: rgba(120, 150, 255, 0.14);
  --line-soft: rgba(120, 150, 255, 0.08);
  --text: #f3f5ff;
  --text-2: #a8b0cc;
  --text-3: #8790b0;
  --accent: #1d63f5;
  --accent-2: #4d8dff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(29, 99, 245, 0.16);
  --accent-glow: rgba(42, 125, 255, 0.45);
  --neon: #4d8dff;
  --violet: #8a2be2;
  --hl: #ffd400;
  --radius: 16px;
  --maxw: 1120px;
  --display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* mobile hardening (mobile.md) */
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe, svg { max-width: 100%; }
h1, h2, h3 { overflow-wrap: break-word; }

/* single continuous canvas: sections stay transparent, no seams */
body { background:
  radial-gradient(70% 40% at 50% -8%, rgba(29, 99, 245, 0.28), transparent 70%),
  radial-gradient(40% 30% at 100% 30%, rgba(138, 43, 226, 0.10), transparent 70%),
  radial-gradient(45% 30% at 0% 70%, rgba(29, 99, 245, 0.10), transparent 70%),
  var(--bg); background-attachment: scroll; }

/* the wordmark: his "AI ◉ MASKMAN" neon sign, rebuilt in type */
.wm { display: inline-flex; align-items: center; gap: .32em; font-family: var(--display); font-style: italic; font-weight: 900;
  text-transform: uppercase; letter-spacing: .01em; color: #fff; line-height: 1;
  text-shadow: 0 0 18px rgba(77, 141, 255, 0.55); }
.wm img { width: 1.35em; height: 1.35em; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 16px rgba(77, 141, 255, .8); }

/* footer: branding-only banner, 1.5× the wordmark height, centred */
.foot { display: flex; align-items: center; justify-content: center; height: 54px; border-top: 1px solid var(--line); background: rgba(12, 14, 28, 0.8); }
.foot .wm { font-size: 22px; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
html:not(.js) .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------------- specimen pages (emails, ad scripts) ---------------- */
.doc { font-family: var(--font); color: var(--text); margin: 0; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.doc a { color: inherit; }
.doc__wrap { max-width: 760px; margin: 0 auto; padding: clamp(56px, 9vh, 96px) 22px 80px; }
.doc__intro { text-align: center; margin-bottom: 56px; }
.doc__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--neon); margin: 0 0 16px; }
.doc__title { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(32px, 5vw, 48px); line-height: 1.05; letter-spacing: -.01em; margin: 0; text-transform: uppercase; }
.doc__meta { margin: 16px auto 0; color: var(--text-2); font-size: 15px; max-width: 54ch; }
.email { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 18px; padding: 30px clamp(20px, 4vw, 36px) 28px; margin: 0 0 22px; }
.email::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--neon), transparent); opacity: .6; }
.email__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.email__tag { color: var(--neon); }
.email__sl { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.email__subject { font-family: var(--font); font-size: 21px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; letter-spacing: -.01em; }
.email__pv { font-size: 14px; color: var(--text-3); margin: 0 0 20px; }
.email__pv b { font-weight: 600; color: var(--text-2); }
.email__body p { margin: 0 0 14px; color: #dfe3f5; font-size: 16px; }
.email__sign { margin: 18px 0 0; font-weight: 600; }
.email__ps { margin: 14px 0 0; color: var(--text-2); font-size: 15px; }
.tok { color: var(--hl); font-weight: 600; white-space: nowrap; }
.lnk { color: var(--neon); font-weight: 600; border-bottom: 1px dashed currentColor; }
.phase { display: flex; align-items: center; gap: 14px; margin: 44px 0 20px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.phase::before, .phase::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
