/* Rumble Rummy — main stylesheet
   Design system: soft-green / white editorial + coral energy accent.
   Architecture: native CSS variables, mobile-first, no framework.
*/

:root {
  --primary: #FF5C3A;          /* coral — primary CTA */
  --primary-press: #E14A28;
  --ink: #0E1B14;              /* dark readable type */
  --ink-2: #1A3A2A;            /* secondary ink */
  --muted: #5A6B62;            /* body muted */
  --paper: #FFFFFF;            /* white surface */
  --field: #F2F8F4;            /* soft-green page field */
  --band: #E7F1EA;             /* slightly stronger band */
  --border: rgba(14, 27, 20, 0.10);
  --border-strong: rgba(14, 27, 20, 0.18);
  --gold: #C99A2E;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 20, 0.06);
  --shadow-md: 0 6px 18px rgba(14, 27, 20, 0.08);
  --shadow-lg: 0 12px 32px rgba(14, 27, 20, 0.10);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --max-w: 1200px;
  --content-w: 920px;
  --header-h: 64px;
  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--field);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 var(--space-4);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 800;
}
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: clamp(20px, 2.4vw, 24px); }
h4 { font-size: 18px; }
p { margin: 0 0 var(--space-4); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  background: rgba(255, 92, 58, 0.10);
  padding: 6px 10px;
  border-radius: 999px;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.section {
  padding: var(--space-8) 0;
}
.section-tight {
  padding: var(--space-7) 0;
}
.section-band {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-field { background: var(--field); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-tag {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.main-nav {
  display: none;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--field); text-decoration: none; }
.main-nav a.active { background: var(--ink); color: #fff; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(255, 92, 58, 0.32);
}
.header-cta:hover { background: var(--primary-press); text-decoration: none; }

.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  position: relative;
  z-index: 90;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.15s ease;
}
.hamburger span {
  position: relative;
}
.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: var(--paper);
  border-left: 1px solid var(--border);
  box-shadow: -16px 0 32px rgba(14, 27, 20, 0.18);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  z-index: 65;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 24px;
  overflow-y: auto;
}
.mobile-drawer[data-open="true"] { transform: translateX(0); }
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-drawer nav a {
  display: block;
  padding: 14px 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.mobile-drawer nav a:hover { background: var(--field); }
.mobile-drawer .drawer-cta {
  margin-top: 16px;
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 27, 20, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 64;
}
.drawer-overlay[data-open="true"] { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }

@media (min-width: 920px) {
  .main-nav { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-drawer { display: none; }
}

/* Brand app profile block (homepage first block) */
.brand-app-profile {
  background: linear-gradient(180deg, var(--field) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--border);
}
.brand-app-profile > .container:not(.brand-app-gallery-wrap) {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-top: var(--space-7);
  padding-bottom: var(--space-8);
  align-items: center;
}
@media (min-width: 880px) {
  .brand-app-profile > .container:not(.brand-app-gallery-wrap) {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-8);
  }
}

.brand-app-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: var(--space-4);
}
.brand-app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: var(--shadow-md);
  background: var(--ink);
}
.brand-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.brand-app-meta { display: flex; flex-direction: column; gap: 4px; }
.brand-app-meta .cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.brand-app-meta h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  margin: 0;
}

.brand-app-value {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 var(--space-5);
}

.brand-app-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin-bottom: var(--space-5);
}
.brand-app-fact {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.brand-app-fact .k {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 2px;
}
.brand-app-fact .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

@media (min-width: 720px) {
  .brand-app-facts { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.brand-app-download {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  padding: 16px 26px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 92, 58, 0.34);
  border: none;
  white-space: nowrap;
  min-height: 56px;
}
.btn-primary:hover { background: var(--primary-press); text-decoration: none; }
.btn-primary svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover { background: var(--field); text-decoration: none; }

.brand-app-trustline {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* Right visual: card stack illustration */
.brand-app-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}
.brand-app-visual .stack {
  position: relative;
  width: 280px;
  height: 280px;
}
.brand-app-visual .stack .card {
  position: absolute;
  width: 200px;
  height: 280px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(14, 27, 20, 0.06);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  overflow: hidden;
}
.brand-app-visual .stack .card.c1 {
  background: linear-gradient(160deg, #FF5C3A 0%, #E14A28 100%);
  transform: rotate(-9deg) translate(-50px, -10px);
  z-index: 3;
}
.brand-app-visual .stack .card.c2 {
  background: linear-gradient(160deg, #1A3A2A 0%, #0E1B14 100%);
  transform: rotate(2deg) translate(50px, 0px);
  z-index: 2;
}
.brand-app-visual .stack .card.c3 {
  background: linear-gradient(160deg, #C99A2E 0%, #9A7520 100%);
  transform: rotate(10deg) translate(0px, 20px);
  z-index: 1;
}
.brand-app-visual .stack .card .suit {
  font-size: 36px;
  margin-bottom: 8px;
}
.brand-app-visual .stack .card .glyph {
  font-size: 80px;
  line-height: 1;
}

/* Gallery wrap (homepage brand-app profile second container) */
.brand-app-gallery-wrap {
  display: block;
  width: 100%;
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}
.brand-app-gallery-wrap > .section-head { margin-bottom: var(--space-4); }

/* Gallery grid (brand-app product profile) — responsive grid so every image element is visible/real in viewport */
.gallery-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-3) 0 var(--space-5);
}
.gallery-rail > figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16/10;
  border: 1px solid var(--border);
  position: relative;
}
.gallery-rail > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-rail > figure .gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(14,27,20,0) 0%, rgba(14,27,20,0.78) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gallery-rail > figure .gallery-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gallery-rail > figure .gallery-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.86);
}
@media (min-width: 560px) {
  .gallery-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .gallery-rail { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Tabbed evidence desk */
.evidence-desk {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.evidence-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.evidence-tabs::-webkit-scrollbar { display: none; }
.evidence-tab {
  flex: 1 0 auto;
  background: transparent;
  border: none;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  min-width: 120px;
}
.evidence-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--primary);
  background: rgba(255, 92, 58, 0.04);
}
.evidence-panels { padding: var(--space-5); }
.evidence-panel { display: none; }
.evidence-panel[data-active="true"] { display: block; }

/* Section header */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.section-head .title-block { max-width: 60ch; }
.section-head h2 { margin: 4px 0 6px; }
.section-head p { margin: 0; color: var(--muted); }
.section-head .head-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.section-head .head-link:hover { color: var(--primary); }

/* HOT row */
.hot-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: var(--space-3);
}
.hot-row > a {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-height: 180px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.hot-row > a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.hot-row .hot-art {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  flex: 0 0 auto;
  background: var(--field);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  line-height: 1;
  overflow: hidden;
}
.hot-row .hot-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hot-row .hot-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}
.hot-row .hot-intent {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  flex: 1 1 auto;
}
.hot-row .hot-open {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}
@media (max-width: 720px) {
  .hot-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .hot-row > a {
    flex: 0 0 64%;
    scroll-snap-align: start;
  }
}

/* App row rail (YONO + directory) */
.app-rail {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.app-rail::-webkit-scrollbar { height: 6px; }
.app-rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.app-row {
  flex: 0 0 260px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  color: var(--ink);
  min-height: 88px;
}
.app-row:hover { text-decoration: none; border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.app-row .art {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--field);
}
.app-row .art img { width: 100%; height: 100%; object-fit: cover; }
.app-row .info { flex: 1 1 auto; min-width: 0; }
.app-row .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-row .meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-row .mini-cta {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

/* Directory list (horizontal full-width rows) */
.dir-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dir-list .dir-row {
  display: grid;
  grid-template-columns: 32px 80px 1fr auto;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  min-height: 76px;
}
.dir-list .dir-row .rank {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.dir-list .dir-row .art {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--field);
}
.dir-list .dir-row .art img { width: 100%; height: 100%; object-fit: cover; }
.dir-list .dir-row .info { min-width: 0; }
.dir-list .dir-row .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dir-list .dir-row .meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dir-list .dir-row .row-cta {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dir-list .dir-row .row-cta:hover { background: var(--primary-press); text-decoration: none; }
@media (max-width: 560px) {
  .dir-list .dir-row {
    grid-template-columns: 32px 64px 1fr;
    grid-template-rows: auto auto;
  }
  .dir-list .dir-row .row-cta {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: stretch;
    text-align: center;
  }
}

/* Hubs grid */
.hubs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 720px) {
  .hubs-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .hubs-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.hub-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
}
.hub-card:hover { text-decoration: none; border-color: var(--border-strong); }
.hub-card .hub-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--field);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hub-card h3 { font-size: 17px; margin: 0; }
.hub-card p { font-size: 14px; color: var(--muted); margin: 0; }
.hub-card .hub-arrow {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* News rail */
.news-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 720px) {
  .news-rail { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.news-card:hover { text-decoration: none; }
.news-card .news-art {
  aspect-ratio: 16/9;
  background: var(--field);
}
.news-card .news-art img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-body { padding: 14px 16px; }
.news-card .news-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.news-card h3 {
  font-size: 17px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-q::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex: 0 0 auto;
}
.faq-item[data-open="true"] .faq-q::after { transform: rotate(-135deg); }
.faq-a {
  padding: 0 18px 16px;
  display: none;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item[data-open="true"] .faq-a { display: block; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #E6EEEA;
  padding: var(--space-8) 0 var(--space-6);
  font-size: 14px;
}
.site-footer a { color: #E6EEEA; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-3);
  font-weight: 700;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
@media (min-width: 720px) {
  .site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.site-footer .footer-brand .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .legal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 12px;
  color: #95A8A0;
}
.site-footer .disclaimer {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.55;
  color: #B7C7C0;
}

/* Mobile sticky CTA */
.mobile-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(14, 27, 20, 0.32);
  border: 1px solid rgba(255,255,255,0.06);
}
.mobile-sticky .label {
  flex: 1 1 auto;
  font-size: 12px;
  line-height: 1.25;
}
.mobile-sticky .label .t1 { font-weight: 800; color: #fff; display: block; }
.mobile-sticky .label .t2 { color: #B7C7C0; }
.mobile-sticky a {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.mobile-sticky a:hover { background: var(--primary-press); text-decoration: none; }
@media (min-width: 720px) {
  .mobile-sticky { display: none; }
}

/* Quick stats */
.stat-band {
  background: var(--band);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 720px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--border);
}
.stat .v { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.stat .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

/* Page hero (subpages) */
.page-hero {
  background: linear-gradient(180deg, var(--field) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-7);
}
.page-hero .container { max-width: 920px; }
.route-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: var(--ink);
  border: 1px solid var(--border);
}
.route-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.route-hero .route-hero-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 27, 20, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(2px);
}
@media (max-width: 640px) {
  .route-hero { aspect-ratio: 16 / 11; }
}
.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--space-3);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.crumbs span.sep { margin: 0 6px; color: var(--border-strong); }

/* Article body */
.prose {
  max-width: var(--content-w);
  margin: 0 auto;
}
.prose p { font-size: 17px; line-height: 1.75; margin: 0 0 var(--space-4); }
.prose h2 { font-size: 26px; margin: var(--space-7) 0 var(--space-3); }
.prose h3 { font-size: 20px; margin: var(--space-5) 0 var(--space-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 var(--space-4); }
.prose li { margin-bottom: 6px; line-height: 1.7; }
.prose figure { margin: var(--space-6) 0; }
.prose figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--ink) 0%, #0A1410 100%);
  color: #fff;
  padding: var(--space-7) 0;
  text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-strip p { color: #B7C7C0; max-width: 56ch; margin: 0 auto var(--space-5); }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.card h3 { margin: 0 0 6px; }
.card p { color: var(--muted); margin: 0; }

/* Forms */
.form-row { margin-bottom: var(--space-4); }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 3px solid rgba(255, 92, 58, 0.32);
  outline-offset: 0;
}

/* Search input */
.search-input {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 4px 4px 4px 14px;
  gap: 8px;
  max-width: 480px;
}
.search-input input {
  flex: 1 1 auto;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 8px;
  font-size: 15px;
  min-width: 0;
}
.search-input svg { width: 18px; height: 18px; color: var(--muted); }

/* Provider tabs */
.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  background: #fff;
  border: 1px solid var(--border-strong);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  color: var(--ink);
  cursor: pointer;
}
.tab[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Tables */
.tbl {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.tbl th, .tbl td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.tbl th { background: var(--band); font-weight: 800; font-size: 13px; }
.tbl tr:last-child td { border-bottom: none; }

/* Mobile overflow guard */
img, video, iframe { max-width: 100%; }

/* Scroll-margin for sticky nav anchors */
section[id] { scroll-margin-top: 80px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -1000px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  font-size: 13px;
}
.skip-link:focus { left: 0; z-index: 100; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: 0.01s !important; transition-duration: 0.01s !important; }
}

/* Utility */
.no-wrap { white-space: nowrap; }
.center { text-align: center; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
