/* ==========================================================================
   Coffe2Break — Dark Luxury Tech Studio Stylesheet
   Deep Obsidian (#080B12), Smoked Glass Cards, Champagne Gold Accents
   ========================================================================== */

:root {
  --bg-950: #080B12;
  --bg-900: #0C111D;
  --bg-850: #111827;
  --glass-bg: rgba(15, 22, 36, 0.72);
  --glass-bg-strong: rgba(17, 24, 39, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(245, 158, 11, 0.45);

  --text-ivory: #F8FAFC;
  --text-light: #E2E8F0;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;

  --gold-300: #FDE68A;
  --gold-400: #FBBF24;
  --gold-500: #F59E0B;
  --gold-600: #D97706;
  --gold-glow: rgba(245, 158, 11, 0.16);

  --teal-400: #2DD4BF;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 20px 50px rgba(245, 158, 11, 0.12);
  --max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-950);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(245, 158, 11, 0.08), transparent 36%),
    radial-gradient(circle at 85% 18%, rgba(180, 83, 9, 0.08), transparent 42%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--gold-300);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text-ivory);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 1rem;
}

ul, ol {
  margin: 0 0 1.2rem;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.45rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.07);
  color: var(--gold-300);
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-500);
  color: var(--bg-950);
  font-weight: 700;
  padding: 0.65rem 1.05rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.35rem;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-ivory);
  letter-spacing: -0.02em;
}

.brand-link:hover {
  color: var(--gold-300);
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.25));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-ivory);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.nav-cta {
  margin-left: 0.5rem;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--bg-950);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.nav-links a.nav-cta:hover {
  filter: brightness(1.08);
  color: var(--bg-950);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  color: var(--text-ivory);
  cursor: pointer;
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(11, 15, 24, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 1.35rem 1.25rem;
    box-shadow: var(--shadow-card);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0.9rem;
  }

  .nav-links a.nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 65% 35%, rgba(0, 0, 0, 0.85), transparent 76%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-300);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 10px var(--gold-400);
}

.hero h1 {
  font-size: clamp(2.15rem, 4.3vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.15rem;
}

.text-gold-gradient {
  background: linear-gradient(125deg, #FEF3C7 0%, #FBBF24 50%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.075rem;
  color: var(--text-body);
  max-width: 58ch;
  margin-bottom: 1.85rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.45rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--bg-950);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
  color: var(--bg-950);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-ivory);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text-ivory);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-ivory);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-aura {
  position: absolute;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.26) 0%, rgba(180, 83, 9, 0.08) 48%, transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}

.hero-art {
  position: relative;
  width: min(460px, 100%);
  height: auto;
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.65));
  animation: floatHero 6.5s ease-in-out infinite;
}

@keyframes floatHero {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 920px) {
  .hero {
    padding: 3.25rem 0 3rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-art {
    width: min(360px, 88%);
  }
}

/* ---------- Sections & Bento Cards ---------- */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 22, 36, 0.65) 0%, rgba(8, 11, 18, 0.9) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 68ch;
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 0.55rem;
}

.section-header h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.section-header p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem;
}

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

.app-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.05rem;
}

.app-badge-group {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.app-icon-img {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.app-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.app-package {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}

.pill-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-300);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.app-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--border-subtle);
}

.app-platform {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bg-950);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
}

.play-link:hover {
  filter: brightness(1.08);
  color: var(--bg-950);
  transform: translateX(2px);
}

/* ---------- 3-Column Bento Pillars & Legal Cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

@media (max-width: 880px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--gold-400);
  margin-bottom: 1.05rem;
}

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.legal-card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  color: inherit;
  box-shadow: var(--shadow-card);
}

.legal-card-link:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.legal-card-link h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

.legal-card-link p {
  color: var(--text-muted);
  font-size: 0.935rem;
  margin-bottom: 1.15rem;
}

.read-more {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-400);
}

/* ---------- Contact Box ---------- */
.contact-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(24, 32, 48, 0.95), rgba(12, 17, 29, 0.98));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.contact-box h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.45rem;
}

.contact-box p {
  color: var(--text-body);
  max-width: 56ch;
  margin: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

/* ---------- Legal Document Pages ---------- */
.page-banner {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.72) 0%, rgba(8, 11, 18, 0.95) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3.25rem 0 2.6rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

.breadcrumb a:hover {
  color: var(--gold-300);
}

.page-banner h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-meta strong {
  color: var(--text-light);
}

.legal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 2.75rem;
  padding: 3.25rem 0 4.75rem;
  align-items: start;
}

.toc-sidebar {
  position: sticky;
  top: 94px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.toc-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-400);
  margin-bottom: 0.85rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.25rem;
}

.toc-list a {
  display: block;
  padding: 0.42rem 0.65rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
}

.toc-list a:hover,
.toc-list a.is-active {
  color: var(--text-ivory);
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--gold-400);
  font-weight: 600;
}

@media (max-width: 920px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.25rem 0 3.75rem;
  }

  .toc-sidebar {
    position: static;
  }
}

.prose {
  min-width: 0;
  background: rgba(12, 17, 29, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

@media (max-width: 640px) {
  .prose {
    padding: 1.35rem;
  }
}

.prose section {
  padding-top: 0.5rem;
  margin-bottom: 2.35rem;
  scroll-margin-top: 94px;
}

.prose section:last-child {
  margin-bottom: 0;
}

.prose h2 {
  font-size: 1.38rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.prose h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gold-300);
  margin: 1.35rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--text-body);
}

.prose strong {
  color: var(--text-ivory);
}

.callout {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-left: 4px solid var(--gold-400);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin: 0 0 2rem;
}

.callout-amber {
  background: rgba(217, 119, 6, 0.11);
  border-color: rgba(245, 158, 11, 0.35);
  border-left-color: var(--gold-400);
}

.callout-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--gold-300);
  margin-bottom: 0.35rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.25rem 0 1.45rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: rgba(8, 11, 18, 0.7);
}

.policy-table th,
.policy-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.policy-table th {
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-300);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-art {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #05070C;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 3.5rem 0 2.25rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-ivory);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 0.8rem;
}

.footer-note {
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0;
}

.footer-col h3 {
  color: var(--text-ivory);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

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

.footer-links li {
  margin-bottom: 0.48rem;
}

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

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.55rem;
  font-size: 0.85rem;
  color: #64748B;
}

/* ---------- Print Support for Legal / Appeal PDF Exports ---------- */
@media print {
  html {
    color-scheme: light;
  }

  body {
    background: #FFFFFF !important;
    color: #111827 !important;
    font-size: 11pt;
  }

  .site-header,
  .toc-sidebar,
  .site-footer,
  .btn-group {
    display: none !important;
  }

  .page-banner,
  .prose,
  .callout,
  .policy-table,
  .policy-table th {
    background: #FFFFFF !important;
    color: #111827 !important;
    border-color: #CBD5E1 !important;
  }

  .legal-layout {
    display: block;
    padding: 0;
  }

  h1, h2, h3, strong, .callout-title, .prose p, .prose li {
    color: #111827 !important;
  }

  a {
    color: #0F172A !important;
    text-decoration: underline;
  }
}
