/* ==========================================================================
   Audience Monetize Design System (am-theme.css)
   4-layer blueprint canvas, Inter Tight + Instrument Serif italic typography,
   lit-stage cobalt panels, 3D system books, and split 2-shape CTA buttons
   across all 47 pages of audiencemonetize.com.
   ========================================================================== */

:root {
  /* Core Canvas & Panels */
  --bg: #0C1016;
  --bg-deep: #0A1A34;
  --bg-vignette: #04060A;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-hover: rgba(255, 255, 255, 0.068);

  /* Cobalt & Periwinkle Accents */
  --blue: #1A4283;
  --blue-hot: #2A5BB0;
  --blue-ink: #8FB0F4;
  --blue-glow: rgba(43, 91, 176, 0.35);
  --blue-glow-strong: rgba(79, 123, 224, 0.45);
  --lit-base: linear-gradient(165deg, #10203C, #0A1324);

  /* Text Hierarchy */
  --white: #FFFFFF;
  --dim: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.56);

  /* Hairline Borders */
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.09);
  --line-blue: rgba(143, 176, 244, 0.35);
  --line-featured: rgba(79, 123, 224, 0.55);

  /* Font Stacks */
  --sans: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Inter Tight', system-ui, -apple-system, sans-serif;

  /* Type Scale Tokens */
  --fs-label: 11px;
  --fs-label-lg: 12px;
  --fs-small: 14px;
  --fs-body: 16px;
  --fs-lead: 18px;
  --track: 0.16em;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quint: cubic-bezier(0.22, 1, 0.36, 1);

  /* Fractal Noise Grain */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ==========================================================================
   1. Reset & 4-Layer Atmospheric Blueprint Canvas
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: transparent;
  color: var(--dim);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Layer 1: Midnight Navy Base + Radial Cobalt Glow */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle farthest-corner at 50% 45%,
      rgba(12, 16, 22, 0.10) 0%,
      rgba(26, 66, 131, 0.12) 28%,
      rgba(75, 129, 219, 0.11) 50%,
      rgba(26, 66, 131, 0.10) 71%,
      rgba(12, 16, 22, 0.10) 100%),
    linear-gradient(180deg, #0C1016 0%, #0A1A34 50%, #0C1016 100%);
}

/* Layer 2: "Kyle's Light" — Screen-Blended Volumetric Elliptical Beams */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.25;
  mix-blend-mode: screen;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 810' preserveAspectRatio='none'><defs><radialGradient id='g' cx='50%25' cy='50%25' r='50%25'><stop offset='0%25' stop-color='%23fff' stop-opacity='.9'/><stop offset='55%25' stop-color='%238FB0F4' stop-opacity='.35'/><stop offset='100%25' stop-color='%230C1016' stop-opacity='0'/></radialGradient><filter id='b' x='-30%25' y='-30%25' width='160%25' height='160%25'><feGaussianBlur stdDeviation='30'/></filter></defs><g filter='url(%23b)'><ellipse cx='320' cy='210' rx='520' ry='140' transform='rotate(-24 320 210)' fill='url(%23g)'/><ellipse cx='740' cy='360' rx='620' ry='160' transform='rotate(-24 740 360)' fill='url(%23g)' opacity='.65'/><ellipse cx='1120' cy='180' rx='460' ry='120' transform='rotate(-24 1120 180)' fill='url(%23g)' opacity='.45'/></g></svg>") center / cover no-repeat;
}

/* Layer 3: Fractal Noise Film Grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.035;
}

/* Layer 4: 94x94 Dashed Architectural Blueprint Grid + Corner Crosshairs + Edge Vignette */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 6, 10, 0) 52%, rgba(4, 6, 10, 0.90) 80%, #04060A 100%),
    radial-gradient(ellipse 58% 95% at 50% 40%, rgba(4, 6, 10, 0) 30%, rgba(4, 6, 10, 0.84) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='94' height='94' viewBox='0 0 94 94'><path d='M94 0H0v94' fill='none' stroke='%23fff' stroke-opacity='.023' stroke-dasharray='4 2'/><path d='M0 3V0h3M91 0h3v3M0 91v3h3' fill='none' stroke='%23fff' stroke-opacity='.08'/></svg>") 23px 0 / 94px 94px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* Reading Progress Bar for Articles */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: var(--scroll-pct, 0%);
  background: linear-gradient(90deg, var(--blue-hot), var(--blue-ink));
  z-index: 100;
  box-shadow: 0 0 12px var(--blue-ink);
  pointer-events: none;
}

/* ==========================================================================
   2. Containers & Section Spacing
   ========================================================================== */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.wrap.narrow {
  max-width: 780px;
}

.wrap.article-wrap {
  max-width: 820px;
}

section {
  padding: 108px 0;
  border-top: 1px solid var(--line-soft);
  position: relative;
}

section.hero {
  padding: 92px 0 84px;
  border-top: none;
}

section.center .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   3. Typography Hierarchy (Inter Tight + Italic Instrument Serif)
   ========================================================================== */
h1, h2, h3, h4 {
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  max-width: 1020px;
}

h2.big {
  font-size: clamp(30px, 4.2vw, 54px);
  max-width: 900px;
}

.rw, .serif-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: 0;
  line-height: 0.96;
  color: var(--white);
}

.rw.blue, i.blue {
  color: var(--blue-ink);
}

.sub {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.58;
  color: var(--dim);
  max-width: 660px;
  margin-top: 20px;
}

.letter {
  font-size: var(--fs-lead);
  line-height: 1.78;
  color: var(--dim);
  max-width: 680px;
  text-align: left;
  margin-top: 40px;
}

.letter p + p {
  margin-top: 24px;
}

.letter strong, p strong, li strong {
  color: var(--white);
  font-weight: 600;
}

/* Kicker Pill & Monospace Labels */
.kick {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-ink);
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(143, 176, 244, 0.28);
  background: rgba(26, 66, 131, 0.22);
  margin-bottom: 24px;
}

.kick::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-ink);
  box-shadow: 0 0 10px var(--blue-ink);
}

.mono {
  font-family: var(--mono);
  font-size: var(--fs-label-lg);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

/* ==========================================================================
   4. Sticky Frosted Glass Header (header.am-nav)
   ========================================================================== */
header.am-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 66px;
  background: rgba(12, 16, 22, 0.38);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}

header.am-nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.am-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.am-brand img {
  width: 34px;
  height: 23px;
  object-fit: contain;
}

.am-brand i {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  color: var(--white);
}

.am-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.am-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dim);
  letter-spacing: -0.01em;
  padding: 6px 2px;
  position: relative;
}

.am-links a:hover,
.am-links a.active {
  color: var(--white);
}

.am-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--blue-ink);
  box-shadow: 0 0 8px var(--blue-ink);
}

/* ==========================================================================
   5. Split Two-Shape Hardware Button (.btn)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: stretch;
  gap: 3px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  border: none;
  background: transparent;
}

.btn > span,
.btn > .arw {
  background: var(--blue);
  border-radius: 4px;
  box-shadow: 0 8px 28px var(--blue-glow);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn > span {
  padding: 18px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn > .arw {
  width: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}

.btn > .arw svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.25s var(--ease-quint);
}

.btn:hover > span,
.btn:hover > .arw {
  background: var(--blue-hot);
}

.btn:hover > .arw svg {
  transform: translate(1.5px, -1.5px);
}

/* Compact Header Button */
header.am-nav .btn {
  font-size: 11.5px;
}
header.am-nav .btn > span {
  padding: 11px 16px;
}
header.am-nav .btn > .arw {
  width: 36px;
}

/* Ghost Variant */
.btn.ghost > span,
.btn.ghost > .arw {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover > span,
.btn.ghost:hover > .arw {
  border-color: rgba(143, 176, 244, 0.45);
  background: rgba(42, 91, 176, 0.16);
}

/* ==========================================================================
   6. Translucent Panels & Lit-Stage Spotlight Cards (.panel, .panel.lit)
   ========================================================================== */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}

.panel.lit {
  --blue-glow: rgba(79, 123, 224, 0.45);
  background:
    radial-gradient(ellipse 75% 55% at 28% 30%, rgba(79, 123, 224, 0.22), transparent 70%),
    var(--lit-base);
  background-blend-mode: screen, normal;
  border-color: rgba(143, 176, 244, 0.22);
}

.panel.featured {
  border-color: var(--line-featured);
  box-shadow: 0 0 44px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   7. Full-Bleed Cobalt Ticker (.ticker)
   ========================================================================== */
.ticker {
  background: var(--blue);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  background: var(--bg);
  padding: 14px 22px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--line);
}

.ticker-label em {
  font-style: normal;
  color: var(--blue-ink);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 14px 28px;
  white-space: nowrap;
  animation: amTick 55s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--white);
  font-weight: 500;
}

.ticker-item b {
  color: var(--blue-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@keyframes amTick {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   8. Stat Grid, Checklist Panel, 2x2 Matrix (.quad), & Problem/Fix Ledger (.fix)
   ========================================================================== */
.statgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 960px;
  margin: 56px auto 0;
  padding: 28px 34px;
}

.stat b {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--blue-ink);
}

/* "Is this you?" Checklist Card */
.check-panel {
  max-width: 880px;
  width: 100%;
  margin: 56px auto 0;
  padding: 44px 48px;
  text-align: left;
}

.check-panel h3 {
  font-size: 28px;
  margin-bottom: 28px;
  text-align: center;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: flex-start;
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--dim);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.check-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.check-list li .chk {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(143, 176, 244, 0.14);
  border: 1px solid rgba(143, 176, 244, 0.35);
  color: var(--blue-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.check-list li em {
  font-family: var(--sans);
  font-style: italic;
  font-size: inherit;
  color: var(--white);
}

/* 3-Column Problem -> Solution Ledger (.fix) */
.fix.panel {
  max-width: 860px;
  width: 100%;
  margin: 52px auto 0;
  text-align: left;
  overflow: hidden;
}

.fix .fh,
.fix .frow {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 44px minmax(0, 1.05fr);
  align-items: center;
}

.fix .fh {
  padding: 15px 30px;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-label-lg);
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--faint);
  background: rgba(255, 255, 255, 0.02);
}

.fix .fh span:last-child {
  color: var(--blue-ink);
}

.fix .frow {
  padding: 24px 30px;
  border-bottom: 1px solid var(--line-soft);
}

.fix .frow:last-child {
  border-bottom: none;
}

.fix .fp p {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--white);
}

.fix .farr {
  display: flex;
  justify-content: center;
  color: var(--blue-ink);
  font-weight: 700;
}

.fix .fs p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--dim);
}

/* 2x2 Matrix (.quad) */
.quad.panel {
  max-width: 860px;
  width: 100%;
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  overflow: hidden;
}

.quad .q {
  padding: 34px 36px;
}

.quad .q:nth-child(odd) {
  border-right: 1px solid var(--line-soft);
}

.quad .q:nth-child(-n+2) {
  border-bottom: 1px solid var(--line-soft);
}

.quad .qi {
  width: 30px;
  height: 30px;
  color: var(--blue-ink);
  filter: drop-shadow(0 0 10px var(--blue-glow));
  margin-bottom: 16px;
}

.quad h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.quad p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dim);
}

/* ==========================================================================
   9. 3-Column Pillar Cards (.trio) & 3D System Book Rows (.reveal, .rev, .book)
   ========================================================================== */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 52px;
  text-align: left;
}

.tcard.panel {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s var(--ease-quint), border-color 0.35s ease;
}

.tcard.panel:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 176, 244, 0.42);
}

.tcard .t-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(143, 176, 244, 0.12);
  border: 1px solid rgba(143, 176, 244, 0.3);
  color: var(--blue-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tcard .t-icon svg {
  width: 22px;
  height: 22px;
}

.tcard h3 {
  font-size: 23px;
  line-height: 1.15;
}

.tcard p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--dim);
}

/* 3D System Book Rows */
.reveal {
  max-width: 1020px;
  width: 100%;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
  text-align: left;
}

.rev {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 56px;
  align-items: center;
}

.rev:nth-child(even) {
  grid-template-columns: 1fr 230px;
}

.rev:nth-child(even) .book {
  order: 2;
}

.book {
  width: 230px;
  aspect-ratio: 386 / 542;
  border-radius: 3px 9px 9px 3px;
  padding: 24px 20px 20px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.10) 0%,
      rgba(255, 255, 255, 0.02) 3%,
      rgba(0, 0, 0, 0.35) 5.5%,
      rgba(255, 255, 255, 0.04) 7%,
      transparent 12%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 26px),
    linear-gradient(160deg, #242528 0%, #151618 100%);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.book .b-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.book .b-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 3px 7px;
  border-radius: 3px;
}

.book .b-brand {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.book .b-title {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
}

.book .b-title small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}

.book .b-title i {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.92em;
  color: #3B6FC9;
  margin-top: 2px;
}

.book .b-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 10px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--dim);
}

.rev h3 {
  font-size: clamp(26px, 2.5vw, 35px);
  margin-bottom: 14px;
}

.rev p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--dim);
  margin-bottom: 18px;
}

.chipl {
  display: block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 11px;
  color: var(--white);
  border: 1px solid var(--line-blue);
  border-radius: 4px;
  background: rgba(79, 123, 224, 0.08);
}

/* ==========================================================================
   10. Interactive 3-Step Switcher Stage (.steps-stage)
   ========================================================================== */
.steps-stage.panel {
  max-width: 1020px;
  width: 100%;
  margin: 56px auto 0;
  padding: 28px;
  text-align: left;
}

.steps-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.step-tab {
  position: relative;
  height: 46px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.step-tab.active {
  border-color: rgba(143, 176, 244, 0.5);
  color: var(--white);
  background: rgba(26, 66, 131, 0.32);
  box-shadow: 0 0 24px rgba(43, 91, 176, 0.25);
}

.step-tab-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0%;
  background: var(--blue-ink);
}

.step-tab.active .step-tab-progress {
  width: var(--progress, 100%);
}

.step-panel {
  display: none;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 12px;
}

.step-panel.active {
  display: grid;
  animation: amFadeIn 0.4s var(--ease-out) both;
}

.step-visual {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080C12;
  aspect-ratio: 4 / 3;
}

.step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   11. Lit-Stage FAQ Accordion (.faq-stack)
   ========================================================================== */
.faq-stack {
  max-width: 820px;
  width: 100%;
  margin: 52px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.faq-card.panel {
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-card.open {
  border-color: rgba(143, 176, 244, 0.45);
  background: rgba(26, 66, 131, 0.16);
}

.faq-q {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--blue-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.faq-card.open .faq-icon {
  background: var(--blue);
  border-color: var(--blue-ink);
  color: var(--white);
}

.faq-a {
  display: none;
  padding: 0 26px 24px;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--dim);
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.faq-card.open .faq-a {
  display: block;
}

/* ==========================================================================
   12. About Split Panel (.about-stage)
   ========================================================================== */
.about-stage.panel {
  max-width: 1060px;
  width: 100%;
  margin: 72px auto 0;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.15fr 380px;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.laurel-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
}

.laurel-row img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.laurel-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.laurel-stars {
  color: var(--blue-ink);
  font-size: 13px;
  letter-spacing: 2px;
}

.laurel-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.about-portrait-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-blue);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  aspect-ratio: 476 / 504;
}

.about-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   13. Interactive Calculators (ROI & Skool Churn)
   ========================================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  width: 100%;
  max-width: 1040px;
  margin: 48px auto 0;
  text-align: left;
}

.calc-inputs.panel,
.calc-results.panel {
  padding: 36px;
}

.calc-field {
  margin-bottom: 26px;
}

.calc-field:last-child {
  margin-bottom: 0;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.calc-label-row label {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.calc-label-row output {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue-ink);
  font-variant-numeric: tabular-nums;
}

input[type="range"].am-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

input[type="range"].am-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--blue-ink);
  border: 2px solid var(--white);
  box-shadow: 0 0 14px var(--blue-ink);
  cursor: pointer;
}

input[type="number"].am-input,
input[type="email"].am-input,
input[type="text"].am-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(12, 16, 22, 0.65);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input.am-input:focus {
  border-color: var(--blue-ink);
  box-shadow: 0 0 0 3px rgba(143, 176, 244, 0.18);
}

.metric-box {
  padding: 20px 22px;
  border-radius: 10px;
  background: rgba(12, 16, 22, 0.45);
  border: 1px solid var(--line-soft);
  margin-bottom: 16px;
}

.metric-box:last-of-type {
  margin-bottom: 0;
}

.metric-box.highlight {
  background: rgba(26, 66, 131, 0.28);
  border-color: var(--line-featured);
  box-shadow: 0 0 32px rgba(43, 91, 176, 0.25);
}

.metric-box small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: 6px;
}

.metric-box b {
  display: block;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.metric-box span {
  display: block;
  font-size: 13px;
  color: var(--dim);
  margin-top: 4px;
}

/* ==========================================================================
   14. Blog Grid, Search Bar, & Editorial Article Styling
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  margin-top: 48px;
  text-align: left;
}

.blog-card.panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.3s var(--ease-quint), border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card.panel:hover {
  transform: translateY(-4px);
  border-color: var(--line-featured);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 28px rgba(43, 91, 176, 0.22);
}

.blog-card .bc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.blog-card h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 12px;
}

.blog-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--dim);
  margin-top: 10px;
}

.blog-card .bc-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.blog-card:hover .bc-read {
  color: var(--blue-ink);
}

/* Long-Form Editorial Article Body (.article-body) */
.article-header {
  padding: 84px 0 48px;
  border-bottom: 1px solid var(--line-soft);
}

.article-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: 22px;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--faint);
}

.article-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
}

.article-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-blue);
}

.article-body {
  padding: 56px 0 72px;
  font-size: 18px;
  line-height: 1.78;
  color: var(--dim);
}

.article-body h1,
.article-body h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin: 52px 0 18px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
}

.article-body h3 {
  font-size: clamp(21px, 2.2vw, 27px);
  margin: 40px 0 14px;
  line-height: 1.2;
  color: var(--white);
}

.article-body h4,
.article-body h5 {
  font-size: 19px;
  margin: 30px 0 12px;
  color: var(--blue-ink);
}

.article-body p {
  margin-bottom: 24px;
}

.article-body ul,
.article-body ol {
  margin: 20px 0 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-body li {
  padding-left: 6px;
}

.article-body li::marker {
  color: var(--blue-ink);
}

.article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--blue-ink);
  background: rgba(26, 66, 131, 0.16);
  border-radius: 0 12px 12px 0;
  font-family: var(--sans);
  font-style: normal;
  font-size: 19px;
  line-height: 1.55;
  color: var(--white);
}

/* ==========================================================================
   15. Architectural Footer (footer.am-footer)
   ========================================================================== */
footer.am-footer {
  padding: 72px 0 48px;
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 10, 0.55);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--dim);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ==========================================================================
   16. Animations & Responsive Breakpoints
   ========================================================================== */
@keyframes amFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rv {
  animation: amFadeIn 0.7s var(--ease-out) both;
}

@media (max-width: 980px) {
  .am-links {
    display: none;
  }
  .statgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trio,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .rev,
  .rev:nth-child(even),
  .step-panel,
  .about-stage.panel,
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .rev:nth-child(even) .book {
    order: 0;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }
  section {
    padding: 76px 0;
  }
  .quad.panel {
    grid-template-columns: 1fr;
  }
  .quad .q:nth-child(odd) {
    border-right: none;
  }
  .quad .q {
    border-bottom: 1px solid var(--line-soft);
  }
  .fix .fh {
    display: none;
  }
  .fix .frow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .check-panel,
  .about-stage.panel {
    padding: 32px 24px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
