/* AzerothAlpha front page. Self-contained: it shares only the fonts and the logo with the dashboard. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/cinzel-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0d0906;
  --bg-2: #130d08;
  --card: #1a120b;
  --card-2: #21170d;
  --ink: #f6ead6;
  --ink-2: #c9b596;
  --ink-3: #8f7c61;
  --gold: #e8b13a;
  --gold-2: #ffd98a;
  --gold-3: #9a6a12;
  --line: rgba(232, 177, 58, 0.16);
  --line-2: rgba(232, 177, 58, 0.34);
  --green: #3ddc9f;
  --red: #f2735c;
  --blue: #5aa7ff;
  --purple: #b98bff;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code { font: 500 0.9em var(--mono); color: var(--gold-2); background: rgba(232, 177, 58, 0.1); padding: 1px 6px; border-radius: 5px; }
q { quotes: none; font: 500 0.92em var(--mono); color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(860px + 2 * var(--gutter)); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #1a1006; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 11px; border: 1px solid transparent;
  font: 650 15.5px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn-gold {
  color: #1c1004; background: linear-gradient(180deg, #ffe09a 0%, #f0bb47 46%, #d99a22 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 -2px 0 rgba(120, 72, 0, 0.35) inset, 0 10px 30px -8px rgba(232, 177, 58, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 -2px 0 rgba(120, 72, 0, 0.35) inset, 0 16px 40px -8px rgba(232, 177, 58, 0.7); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: rgba(20, 13, 7, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(232, 177, 58, 0.12); }
.btn-wide { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.stuck { background: rgba(13, 9, 6, 0.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 700 17px/1 var(--display); letter-spacing: 0.14em; color: var(--gold-2); }
.brand img { filter: drop-shadow(0 2px 8px rgba(232, 177, 58, 0.45)); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--gold-2); }
.nav-cta { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; isolation: isolate; padding: 120px 0 clamp(40px, 7vh, 84px); }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #070503; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { animation: drift 24s ease-in-out infinite alternate; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.on { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 9, 6, 0.9) 0%, rgba(13, 9, 6, 0.62) 38%, rgba(13, 9, 6, 0.12) 72%, rgba(13, 9, 6, 0.3) 100%),
    linear-gradient(180deg, rgba(13, 9, 6, 0.55) 0%, rgba(13, 9, 6, 0) 24%, rgba(13, 9, 6, 0) 52%, var(--bg) 100%);
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.2%, -1%); } }

.hero-inner { position: relative; }
.kicker, .eyebrow {
  display: block; font: 650 12.5px/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.kicker { margin-bottom: 20px; }
.kicker::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; }
.hero h1 {
  font: 700 clamp(38px, 6.4vw, 86px) / 1.02 var(--display); letter-spacing: -0.012em; max-width: 13ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.65);
}
.hero h1 em, .band-quote em {
  font-style: normal;
  background: linear-gradient(180deg, #fff1c9 0%, #f3c452 45%, #c98a16 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 24px; max-width: 56ch; font-size: clamp(17px, 1.55vw, 20.5px); line-height: 1.55; color: #e7d7bd; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-cta.center { justify-content: center; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(36px, 6vh, 64px); max-width: 880px; border-top: 1px solid var(--line-2); }
.hero-facts li { padding: 18px 18px 0 0; }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts b { display: block; font: 700 clamp(24px, 2.6vw, 34px) / 1 var(--display); color: var(--gold-2); }
.hero-facts span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }

.reel-toggle {
  position: absolute; right: var(--gutter); bottom: 22px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(13, 9, 6, 0.6); color: var(--ink-2);
  font: 500 12.5px var(--sans); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.reel-toggle:hover { color: var(--gold-2); border-color: var(--gold); }
.reel-toggle .i-play { display: none; }
.reel-toggle[aria-pressed="true"] .i-play { display: block; }
.reel-toggle[aria-pressed="true"] .i-pause { display: none; }

/* ---------- live tape ---------- */
.tape { display: flex; align-items: stretch; border-block: 1px solid var(--line); background: linear-gradient(180deg, #170f08, #100a06); overflow: hidden; }
.tape-label { flex: none; display: flex; align-items: center; gap: 9px; padding: 0 18px 0 var(--gutter); font: 700 11.5px var(--sans); letter-spacing: 0.16em; color: var(--green); border-right: 1px solid var(--line); background: #130d08; z-index: 1; }
.tape-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 220, 159, 0.6); animation: pulse 1.8s ease-out infinite; }
.tape-label span { font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--ink-3); }
@keyframes pulse { to { box-shadow: 0 0 0 9px rgba(61, 220, 159, 0); } }
.tape-track { display: flex; min-width: 0; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent); }
.tape-track ul { display: flex; flex: none; gap: 0; animation: tape 46s linear infinite; }
.tape-track:hover ul { animation-play-state: paused; }
.tape-track li { display: flex; align-items: center; gap: 9px; padding: 13px 26px; font: 500 13.5px var(--mono); color: var(--ink-2); white-space: nowrap; border-right: 1px solid rgba(232, 177, 58, 0.08); }
.tape-track b { font: 600 14px var(--sans); }
.tape-track i { font-style: normal; }
@keyframes tape { to { transform: translateX(-100%); } }
.tag { font: 700 10.5px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; border: 1px solid currentColor; }
.tag.craft { color: var(--gold); } .tag.snipe { color: var(--blue); } .tag.sell { color: var(--green); } .tag.avoid { color: var(--red); } .tag.reset { color: var(--purple); }
.q-unc { color: #5fe36a; } .q-rare { color: #5aa7ff; } .q-epic { color: #c08bff; }
.up { color: var(--green); } .dn { color: var(--red); }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 136px); }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head h2, .closer h2 { margin-top: 14px; font: 700 clamp(28px, 3.8vw, 48px) / 1.12 var(--display); letter-spacing: -0.005em; text-wrap: balance; }
.section-head h2::after {
  content: ""; display: block; width: 180px; height: 12px; margin: 22px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 12'%3E%3Cpath d='M0 6h74M106 6h74' stroke='%23e8b13a' stroke-opacity='.55'/%3E%3Cpath d='M90 1l5 5-5 5-5-5z' fill='%23e8b13a'/%3E%3Ccircle cx='78' cy='6' r='1.5' fill='%23e8b13a'/%3E%3Ccircle cx='102' cy='6' r='1.5' fill='%23e8b13a'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sub { margin-top: 20px; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--ink-2); text-wrap: pretty; }

/* feature rows */
.feat { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feat + .feat { margin-top: clamp(64px, 9vw, 128px); }
.feat.flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); }
.feat.flip .feat-copy { order: 2; }
.feat h3 { margin-top: 12px; font: 700 clamp(23px, 2.6vw, 33px) / 1.16 var(--display); text-wrap: balance; }
.feat-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); }
.ticks { margin-top: 20px; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; color: #e2d2b8; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 1l8 8-8 8-8-8z' fill='none' stroke='%23e8b13a' stroke-opacity='.6'/%3E%3Cpath d='M5.6 9.2l2.3 2.3 4.5-4.8' fill='none' stroke='%23ffd98a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* browser frame around dashboard footage */
.frame {
  position: relative; border-radius: 16px; background: #0b0704; border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(232, 177, 58, 0.35);
  overflow: hidden; transform: perspective(1600px) rotateY(-3.5deg) rotateX(1.2deg); transform-origin: center; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feat.flip .frame { transform: perspective(1600px) rotateY(3.5deg) rotateX(1.2deg); }
.frame:hover, .feat.flip .frame:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.frame::before {
  content: attr(data-url); display: block; height: 34px; padding: 0 0 0 78px; font: 500 12px/34px var(--mono); color: var(--ink-3);
  background:
    radial-gradient(circle at 20px 17px, #f2735c 0 5px, transparent 6px),
    radial-gradient(circle at 38px 17px, #e8b13a 0 5px, transparent 6px),
    radial-gradient(circle at 56px 17px, #3ddc9f 0 5px, transparent 6px),
    linear-gradient(180deg, #1d140b, #150e08);
  border-bottom: 1px solid var(--line);
}
.frame video { width: 100%; aspect-ratio: 16 / 9; background: #120d09; }
.frame-open {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(13, 9, 6, 0.78); color: var(--ink);
  font: 600 12.5px var(--sans); cursor: zoom-in; opacity: 0; transition: opacity 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.frame:hover .frame-open, .frame-open:focus-visible { opacity: 1; }
.frame-open:hover { border-color: var(--gold); color: var(--gold-2); }
@media (hover: none) { .frame-open { opacity: 1; } }

.lightbox { width: min(96vw, 1400px); max-width: none; padding: 0; border: 1px solid var(--line-2); border-radius: 14px; background: #0b0704; color: var(--ink); overflow: hidden; box-shadow: 0 60px 160px -20px #000; }
.lightbox::backdrop { background: rgba(5, 3, 2, 0.86); backdrop-filter: blur(6px); }
.lightbox video { width: 100%; aspect-ratio: 16 / 9; background: #120d09; }
.lightbox form { position: absolute; top: 10px; right: 10px; margin: 0; }
.lightbox button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(13, 9, 6, 0.8); color: var(--ink); font: 400 22px/1 var(--sans); cursor: pointer; }
.lightbox button:hover { border-color: var(--gold); color: var(--gold-2); }

/* cinematic band */
.band, .pricing { position: relative; isolation: isolate; overflow: hidden; }
.band { padding-block: clamp(96px, 16vw, 210px); text-align: center; }
.band-media { position: absolute; inset: 0; z-index: -1; background: #070503; }
.band-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 9, 6, 0.5) 22%, rgba(13, 9, 6, 0.5) 78%, var(--bg) 100%); }
.band-shade.deep { background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 9, 6, 0.7) 20%, rgba(13, 9, 6, 0.78) 80%, var(--bg) 100%); }
.band-quote { font: 700 clamp(30px, 5.4vw, 72px) / 1.08 var(--display); text-shadow: 0 4px 50px rgba(0, 0, 0, 0.8); }
.band-sub { max-width: 60ch; margin: 26px auto 0; font-size: clamp(16px, 1.5vw, 19px); color: #e7d7bd; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.9); }

/* addon */
.addon-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.game-shot { position: relative; padding-bottom: 28px; }
.game-shot > img:first-child { width: 100%; border-radius: 10px; box-shadow: 0 40px 90px -30px #000, 0 0 80px -30px rgba(232, 177, 58, 0.4); }
.float-shot { position: absolute; right: -3%; bottom: 44px; width: 44%; border-radius: 10px; box-shadow: 0 24px 60px -12px #000, 0 0 0 1px var(--line-2); animation: bob 5s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.game-shot figcaption, .note, .plan-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.addon-list { display: grid; gap: 22px; }
.addon-list li { padding-left: 20px; border-left: 2px solid var(--line-2); transition: border-color 0.2s ease; }
.addon-list li:hover { border-left-color: var(--gold); }
.addon-list h3, .card h3, .steps h3 { font: 650 17.5px/1.3 var(--sans); color: var(--ink); }
.addon-list p, .card p, .steps p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* alerts */
.alerts-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.code-card { border-radius: 14px; border: 1px solid var(--line-2); background: #0f0a06; box-shadow: 0 30px 80px -30px #000; overflow: hidden; }
.code-head { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #17100a; }
.code-head i { width: 10px; height: 10px; border-radius: 50%; background: #3a2a1a; }
.code-head span { margin-left: 8px; font: 500 12.5px var(--mono); color: var(--ink-3); }
.code-card pre { margin: 0; padding: 22px 22px 26px; overflow-x: auto; }
.code-card code { display: block; padding: 0; background: none; font: 500 clamp(12px, 1.25vw, 14.5px) / 1.75 var(--mono); color: #e9dcc5; white-space: pre; }
.code-card .k { color: var(--gold); font-weight: 700; } .code-card .s { color: #8fdc9a; } .code-card .n { color: #7fc4ff; }
.alerts-side { display: grid; gap: 20px; }
.ping { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(180deg, #24190e, #1a120b); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px #000; }
.ping img { flex: none; }
.ping-from { font: 650 14px var(--sans); color: var(--gold-2); }
.ping-from span { margin-left: 8px; font-weight: 400; font-size: 12px; color: var(--ink-3); }
.ping-title { margin-top: 3px; font-weight: 650; font-size: 15.5px; }
.ping-body { margin-top: 3px; font-size: 14px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font: 550 13.5px var(--sans); color: var(--ink-2); background: rgba(232, 177, 58, 0.06); }

/* steps + grid */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 26px 22px 24px; border-radius: 14px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; font: 700 18px var(--display); color: #1c1004; background: linear-gradient(180deg, #ffe09a, #d99a22); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.card { padding: 24px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s ease, transform 0.2s ease; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }

/* pricing */
.pricing { padding-block: clamp(80px, 12vw, 150px); }
.plan {
  max-width: 480px; margin-inline: auto; padding: 36px clamp(22px, 4vw, 40px) 30px; border-radius: 20px; text-align: left;
  background: linear-gradient(180deg, rgba(36, 25, 14, 0.94), rgba(22, 15, 9, 0.96)); border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 50px 120px -30px #000, 0 0 120px -30px rgba(232, 177, 58, 0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.plan-trial { display: inline-block; padding: 6px 12px; border-radius: 999px; font: 700 12.5px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: #1c1004; background: linear-gradient(180deg, #ffe09a, #e0a52c); }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-price b { font: 700 clamp(48px, 7vw, 68px) / 1 var(--display); color: var(--gold-2); }
.plan-price span { color: var(--ink-2); font-size: 15.5px; }
.plan .ticks { margin: 24px 0 28px; }
.plan-note { text-align: center; }
.plan-note a { color: var(--gold-2); text-underline-offset: 3px; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 12px; border: 1px solid var(--line); background: var(--card); transition: border-color 0.2s ease; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font: 650 17px/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); font-size: 16px; }

/* closer + footer */
.closer { padding-block: clamp(40px, 6vw, 80px) clamp(80px, 11vw, 130px); text-align: center; }
.closer img { margin-inline: auto; filter: drop-shadow(0 6px 26px rgba(232, 177, 58, 0.55)); }
.closer p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.footer { border-top: 1px solid var(--line); background: #0a0704; padding-block: 36px 44px; }
.footer-inner { display: grid; gap: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer nav a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.footer nav a:hover { color: var(--gold-2); }
.legal { max-width: 92ch; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

/* sign-up and billing pages (lib/http/billing-pages.mjs): one card on the page's own backdrop */
.auth {
  min-height: 100vh; display: grid; place-items: center; padding-block: 108px 72px;
  background: radial-gradient(900px 520px at 50% 0%, rgba(232, 177, 58, 0.14), transparent 70%), var(--bg);
}
.auth-card { width: 100%; }
.auth-card h1 { margin-top: 18px; font: 700 clamp(26px, 3.4vw, 34px) / 1.15 var(--display); letter-spacing: -0.005em; text-wrap: balance; }
.auth-card .sub { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.auth-card a:not(.btn) { color: var(--gold-2); text-underline-offset: 3px; }
.auth-form { display: grid; gap: 16px; margin-top: 24px; }
.auth-form label { display: grid; gap: 7px; font: 600 12.5px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.auth-form input {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2);
  background: rgba(13, 9, 6, 0.7); color: var(--ink); font: 400 16px var(--sans); letter-spacing: 0; text-transform: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 177, 58, 0.22); }
.auth-form small { font: 400 13px/1.45 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.auth-form .btn { margin-top: 6px; }
.auth-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.auth-actions { display: grid; gap: 12px; margin-top: 24px; }
.auth-msg, .auth-ok { margin-top: 18px; padding: 11px 14px; border-radius: 10px; font-size: 14.5px; line-height: 1.45; }
.auth-msg { color: #ffc9bd; background: rgba(242, 115, 92, 0.12); border: 1px solid rgba(242, 115, 92, 0.45); }
.auth-ok { color: #c9f5e2; background: rgba(61, 220, 159, 0.1); border: 1px solid rgba(61, 220, 159, 0.4); }
.auth-steps { display: grid; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.auth-steps b { color: var(--ink); font-weight: 650; }
.auth-note { margin-top: 18px; font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.auth-alt { margin-top: 18px; text-align: center; font-size: 14.5px; color: var(--ink-2); }
.plan-terms { margin: -12px 0 24px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* reveal on scroll (only when the script is running) */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity 0.8s ease, translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease; }
.js .reveal.in { opacity: 1; translate: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .feat, .feat.flip, .addon-grid, .alerts-grid { grid-template-columns: minmax(0, 1fr); }
  .feat.flip .feat-copy { order: 0; }
  .frame, .feat.flip .frame { transform: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-shade { background: linear-gradient(180deg, rgba(13, 9, 6, 0.6) 0%, rgba(13, 9, 6, 0.35) 30%, rgba(13, 9, 6, 0.82) 70%, var(--bg) 100%); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding-top: 104px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts li { padding: 14px 12px 14px 0; }
  .hero-facts li + li { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .hero-facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hero-cta .btn { flex: 1 1 100%; }
  .steps, .grid { grid-template-columns: minmax(0, 1fr); }
  .tape-label span { display: none; }
  .reel-toggle span { display: none; }
  .game-shot { padding-bottom: 0; }
  .float-shot { position: static; width: 78%; margin: -26px 0 0 auto; animation: none; }
  .brand { font-size: 15px; letter-spacing: 0.1em; }
  .kicker::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-poster, .tape-track ul, .tape-label i, .float-shot { animation: none; }
  .tape-track { overflow-x: auto; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .frame, .feat.flip .frame, .btn, .card { transition: none; }
}
