/* baj999 — IPL Fantasy Cricket Authority
   Color System 165: TEAL SCOREBOARD
   Layout 079: Editorial Longform Hub
   Typography 020: DM Sans + Noto Sans Devanagari
   CTA Variant 004: trusted primary niche
*/

:root {
  --primary: #2FD4C0;
  --primary-dark: #25A596;
  --primary-soft: rgba(47, 212, 192, 0.12);
  --accent: #F97418;
  --accent-soft: rgba(249, 116, 24, 0.14);
  --background: #021C1E;
  --surface: #083033;
  --surface-2: #10464A;
  --surface-3: #0B3A3D;
  --text: #F8FAFC;
  --muted: #CBD5E1;
  --muted-2: #94A3B8;
  --border: rgba(255, 255, 255, 0.14);
  --soft-border: rgba(255, 255, 255, 0.08);
  --gold: #F5C453;
  --danger: #F87171;
  --gradient: linear-gradient(135deg, #021C1E 0%, #083033 48%, #10464A 100%);
  --gradient-band: linear-gradient(180deg, #021C1E 0%, #083033 100%);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.55);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --max: 1240px;
  --max-narrow: 880px;
  --header-h: 68px;
  --font-en: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-hi: 'Noto Sans Devanagari', var(--font-en);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--background);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-en);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--text);
  letter-spacing: -0.012em;
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(21px, 2.4vw, 26px);
}

h4 {
  font-size: clamp(18px, 1.8vw, 20px);
}

p {
  margin: 0 0 1.1em;
}

ul, ol {
  padding-left: 1.2em;
  margin: 0 0 1.1em;
}

li {
  margin-bottom: 0.4em;
}

hr {
  border: none;
  border-top: 1px solid var(--soft-border);
  margin: 2.4em 0;
}

::selection {
  background: var(--primary);
  color: var(--background);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--primary);
  color: var(--background);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 9999;
}

/* ---------- LAYOUT SHELL ---------- */

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.container-narrow {
  width: min(100% - 32px, var(--max-narrow));
  margin: 0 auto;
}

main {
  min-height: 60vh;
}

section {
  padding: 64px 0;
  position: relative;
}

section + section {
  border-top: 1px solid var(--soft-border);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- HEADER / NAV ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: rgba(2, 28, 30, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--soft-border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: grid;
  place-items: center;
  color: var(--background);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.04em;
  box-shadow: 0 6px 16px rgba(47, 212, 192, 0.3);
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--background);
  box-shadow: 0 6px 18px rgba(47, 212, 192, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--background);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: #1A0F00;
}

.btn-accent:hover {
  background: #E0630A;
  color: #1A0F00;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 300;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 4px auto;
  transition: transform 200ms ease, opacity 200ms ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--background);
  z-index: 200;
  padding: 24px 16px 80px;
  transform: translateX(100%);
  transition: transform 260ms ease;
  overflow-y: auto;
  border-top: 1px solid var(--soft-border);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer a {
  display: block;
  padding: 14px 12px;
  color: var(--text);
  font-weight: 500;
  font-size: 17px;
  border-bottom: 1px solid var(--soft-border);
}

.mobile-drawer .btn {
  width: 100%;
  margin-top: 14px;
}

@media (max-width: 940px) {
  .main-nav,
  .header-cta .btn-ghost {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

@media (max-width: 520px) {
  .brand-tag {
    display: none;
  }
  .header-cta .btn-primary {
    padding: 9px 14px;
    font-size: 13px;
  }
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  background: var(--gradient);
  padding: 80px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--soft-border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 75% 10%, rgba(47, 212, 192, 0.12), transparent 60%),
    radial-gradient(700px 400px at 12% 90%, rgba(249, 116, 24, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(47, 212, 192, 0.25);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero-meta::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 212, 192, 0.2);
}

.hero h1 {
  margin: 0 0 18px;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero .lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 56ch;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 460px;
}

.hero-trust-item {
  background: rgba(8, 48, 51, 0.55);
  border: 1px solid var(--soft-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.hero-trust-item strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 2px;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(2, 28, 30, 0.78);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  backdrop-filter: blur(6px);
}

.hero-image-caption strong {
  color: var(--primary);
}

@media (max-width: 900px) {
  .hero {
    padding: 56px 0 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-image {
    order: -1;
    aspect-ratio: 16 / 11;
  }
  .hero-trust {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 40px 0 32px;
  }
  .hero-trust {
    grid-template-columns: 1fr;
  }
}

/* ---------- BAND / STRIP ---------- */

.band {
  background: var(--surface);
  border-top: 1px solid var(--soft-border);
  border-bottom: 1px solid var(--soft-border);
}

.band-2 {
  background: var(--surface-2);
}

.band-3 {
  background: var(--surface-3);
}

.compliance-strip {
  background: var(--surface-2);
  border-top: 1px solid var(--soft-border);
  border-bottom: 1px solid var(--soft-border);
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.compliance-strip strong {
  color: var(--text);
  letter-spacing: 0.04em;
}

.compliance-strip .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-2);
  opacity: 0.5;
}

/* ---------- SECTIONS / HEADERS ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  max-width: 28ch;
}

.section-head .lede {
  margin: 6px 0 0;
  max-width: 50ch;
}

.section-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--primary-dark);
}

/* ---------- CARDS / GRIDS ---------- */

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 940px) {
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card:hover {
  border-color: rgba(47, 212, 192, 0.35);
}

.card-figure {
  margin: -24px -24px 8px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}

.card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid rgba(47, 212, 192, 0.25);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

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

.card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.card-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-2);
}

.card-foot a {
  color: var(--primary);
  font-weight: 600;
}

.hub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(47, 212, 192, 0.06) 100%);
  pointer-events: none;
}

.hub-card .eyebrow {
  position: relative;
}

.hub-card h3 {
  position: relative;
  font-size: 22px;
  margin: 6px 0 12px;
}

.hub-card p {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.hub-card .section-link {
  position: relative;
}

.feature-card {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(249, 116, 24, 0.14);
  border: 1px solid rgba(249, 116, 24, 0.28);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.tactic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.tactic-num {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.tactic-card h3 {
  font-size: 19px;
  margin: 0 0 10px;
}

.tactic-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 12px;
}

.tactic-card ul {
  color: var(--muted);
  font-size: 14px;
  padding-left: 1.1em;
  margin: 0;
}

.tactic-card ul li {
  margin-bottom: 6px;
}

/* ---------- TWO-COL / SPLIT ---------- */

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.split-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.split-aside h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.split-aside .stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-border);
  font-size: 14px;
  color: var(--muted);
}

.split-aside .stat:last-child {
  border-bottom: none;
}

.split-aside .stat strong {
  color: var(--text);
  font-weight: 700;
}

/* ---------- INLINE IMAGE ROW ---------- */

.inline-image-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
  margin: 36px 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
}

.inline-image-row figcaption {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

.inline-image-row img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--soft-border);
}

.inline-image-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 760px) {
  .inline-image-row,
  .inline-image-row.reverse {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- TABLE ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 540px;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--soft-border);
}

.data-table th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 13px;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: rgba(47, 212, 192, 0.04);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table .num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--primary);
}

/* ---------- FACT BOX ---------- */

.fact-box {
  background: linear-gradient(135deg, rgba(47, 212, 192, 0.08) 0%, rgba(47, 212, 192, 0.02) 100%);
  border: 1px solid rgba(47, 212, 192, 0.3);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}

.fact-box-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.fact-box p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

.risk-box {
  background: rgba(249, 116, 24, 0.08);
  border: 1px solid rgba(249, 116, 24, 0.3);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}

.risk-box-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.risk-box p {
  margin: 0;
  color: var(--text);
}

/* ---------- STEPS ---------- */

.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  align-items: start;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid rgba(47, 212, 192, 0.3);
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- TESTIMONIAL / SOCIAL PROOF ---------- */

.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.quote-card .quote-mark {
  font-size: 36px;
  color: var(--primary);
  line-height: 0.4;
  margin-bottom: 8px;
  display: block;
}

.quote-card p {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.55;
}

.quote-card cite {
  font-style: normal;
  font-size: 13px;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 160ms ease;
}

.faq details[open] {
  border-color: rgba(47, 212, 192, 0.35);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--primary);
  transition: transform 200ms ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- CTA STRIP ---------- */

.cta-strip {
  background: var(--gradient);
  border: 1px solid rgba(47, 212, 192, 0.25);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  background: radial-gradient(closest-side, rgba(47, 212, 192, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-strip h2 {
  position: relative;
  margin: 0 0 12px;
}

.cta-strip p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.cta-strip-actions {
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .cta-strip {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .cta-strip-actions {
    justify-content: flex-start;
  }
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--soft-border);
  padding: 64px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin: 0 0 14px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-grid a {
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--primary);
}

.footer-about {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 12px 0 18px;
  max-width: 38ch;
}

.social-list {
  display: flex;
  gap: 10px;
}

.social-list a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: border-color 160ms ease, color 160ms ease;
}

.social-list a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.social-list svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--soft-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--muted-2);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- BREADCRUMBS ---------- */

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-2);
  padding: 18px 0 0;
  flex-wrap: wrap;
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--primary);
}

.crumbs .sep {
  color: var(--muted-2);
  opacity: 0.5;
}

/* ---------- HERO BANNER (CHILD PAGES) ---------- */

.page-banner {
  background: var(--gradient);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--soft-border);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 20% 0%, rgba(47, 212, 192, 0.10), transparent 60%);
  pointer-events: none;
}

.page-banner .container {
  position: relative;
}

.page-banner h1 {
  margin: 0 0 16px;
  max-width: 24ch;
}

.page-banner .lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 56ch;
}

.page-banner .page-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted-2);
  flex-wrap: wrap;
}

.page-banner .page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-banner .page-meta strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- TOC ---------- */

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 32px;
}

.toc-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.toc ol {
  padding-left: 1.2em;
  margin: 0;
  color: var(--muted);
}

.toc li {
  margin-bottom: 6px;
  font-size: 15px;
}

.toc a {
  color: var(--muted);
}

.toc a:hover {
  color: var(--primary);
}

/* ---------- STICKY MOBILE CTA ---------- */

.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 220;
  background: rgba(2, 28, 30, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  gap: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 940px) {
  .sticky-mobile-cta {
    display: flex;
  }
}

/* ---------- AUTHOR BYLINE ---------- */

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--soft-border);
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--muted-2);
}

.byline .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1px solid rgba(47, 212, 192, 0.3);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.byline strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- PULL QUOTE ---------- */

.pull-quote {
  border-left: 4px solid var(--primary);
  padding: 14px 0 14px 22px;
  margin: 28px 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
  font-weight: 500;
}

/* ---------- GLOSSARY ---------- */

.glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.glossary-item {
  background: var(--surface);
  border: 1px solid var(--soft-border);
  border-radius: 12px;
  padding: 14px 16px;
}

.glossary-item dt {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.glossary-item dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .glossary {
    grid-template-columns: 1fr;
  }
}

/* ---------- PROSE (LONG BODY) ---------- */

.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.prose p {
  margin: 0 0 1.1em;
}

.prose h2 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  padding-top: 0.4em;
  font-size: clamp(24px, 2.6vw, 30px);
}

.prose h3 {
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  font-size: clamp(19px, 2vw, 22px);
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover {
  color: var(--primary-dark);
}

.prose img {
  border-radius: var(--radius);
  border: 1px solid var(--soft-border);
  margin: 24px 0;
}

.prose figure {
  margin: 28px 0;
}

.prose figcaption {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ---------- ANCHOR OFFSET ---------- */

:target {
  scroll-margin-top: 90px;
}

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- UTILITIES ---------- */

.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.mb-0 { margin-bottom: 0 !important; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.flex-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
/* News article presentation */
.article-container{max-width:860px;margin:0 auto}.article-intro{padding:48px 0 24px}.article-kicker{color:var(--accent,#e56b2f);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:12px}.article-intro h1{max-width:900px;font-size:clamp(36px,5vw,64px);line-height:1.04;margin:14px 0 18px}.article-dek{font-size:20px;line-height:1.55;max-width:760px;color:var(--muted,#a8b8d4)}.article-meta{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted,#a8b8d4);font-size:13px;margin:22px 0}.article-figure{margin:32px 0}.article-figure img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:14px}.article-figure figcaption{font-size:12px;color:var(--muted,#a8b8d4);margin-top:8px}.article-container>h2{font-size:clamp(28px,3.5vw,42px);margin:48px 0 16px}.article-container h3{font-size:20px}.article-container p{font-size:17px;line-height:1.78}.article-container a{text-decoration:underline;text-underline-offset:3px}.callout{border-left:4px solid var(--accent,#e56b2f);padding:18px 20px;background:rgba(229,107,47,.1);margin:28px 0}.metric-row,.check-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:28px 0}.check-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-row>div,.article-card{border:1px solid rgba(168,184,212,.25);border-radius:14px;padding:18px;background:rgba(255,255,255,.035)}.metric-row strong{display:block;font-size:26px;color:var(--accent,#e56b2f)}.metric-row span{display:block;font-size:12px;color:var(--muted,#a8b8d4);margin-top:5px}.image-text{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:28px;align-items:center;margin:36px 0}.image-text.reverse{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.image-text .article-figure{margin:0}.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:60px}.faq-grid .article-card{height:100%}@media(max-width:700px){.article-intro{padding-top:28px}.article-dek{font-size:17px}.article-container p{font-size:16px}.metric-row,.check-grid,.faq-grid,.image-text,.image-text.reverse{grid-template-columns:1fr}.article-intro h1{font-size:38px}.article-figure{margin:24px 0}}
