/* ==========================================================================
   CUSTOM PROPERTIES
   ========================================================================== */
:root {
  --page-950: #090B11;
  --page-900: #0F121A;
  --surface-850: #151923;
  --surface-800: #1C2130;
  --line-700: #2B3142;
  --brand-500: #6C5CE7;
  --brand-400: #8174F2;
  --brand-300: #A59CFF;
  --success-500: #25D17F;
  --text-100: #F7F8FC;
  --text-300: #D5D9E4;
  --text-500: #9AA3B5;
  --warning-500: #F2B84B;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, 'Cascadia Code', 'Fira Code', monospace;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.3), 0 0 0 1px rgba(108,92,231,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.4), 0 0 0 1px rgba(108,92,231,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(108,92,231,.1);

  --container-max: 1120px;
  --header-h: 68px;
  --transition-base: 0.25s cubic-bezier(.4,0,.2,1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-300);
  background: var(--page-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-300);
  text-decoration: none;
  transition: color var(--transition-base);
}
a:hover {
  color: var(--brand-400);
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 4px;
}

code {
  font-family: var(--font-mono);
}

h1, h2, h3, h4 {
  color: var(--text-100);
  line-height: 1.25;
  font-weight: 700;
}

ul, ol {
  padding-left: 1.5em;
}

/* ==========================================================================
   SKIP LINK
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--brand-500);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus {
  top: 12px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(9,11,17,.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base), border-color var(--transition-base);
}
.site-header.scrolled {
  background: rgba(15,18,26,.92);
  border-bottom-color: var(--line-700);
}

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

.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-img {
  width: 120px;
  height: auto;
}

.main-nav { flex: 1; }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  justify-content: center;
}
.nav-link {
  color: var(--text-500);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-100);
  background: rgba(108,92,231,.1);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-300);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--page-900);
    border-bottom: 1px solid var(--line-700);
    padding: 16px 20px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-link {
    padding: 12px 16px;
    font-size: 15px;
  }
  .header-cta {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 3px;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 2px 12px rgba(108,92,231,.35);
}
.btn-primary:hover {
  background: var(--brand-400);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,92,231,.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-100);
  border: 1px solid var(--line-700);
}
.btn-outline:hover {
  border-color: var(--brand-500);
  color: var(--brand-300);
  background: rgba(108,92,231,.06);
}

.btn-sm {
  font-size: 13px;
  padding: 10px 18px;
}

@media (max-width: 520px) {
  .btn { width: 100%; font-size: 14px; padding: 14px 20px; }
  .btn-sm { width: auto; }
}

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--surface-800);
  color: var(--text-100);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-700);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-base), opacity var(--transition-base);
  white-space: nowrap;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(108,92,231,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(129,116,242,.1) 0%, transparent 60%),
    linear-gradient(180deg, var(--page-950) 0%, var(--page-900) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,49,66,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,49,66,.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 750;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-500);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-micro {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-500);
  opacity: .8;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .hero { padding: 88px 0 60px; min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual { order: -1; }
  .hero-img { max-width: 480px; }
}

/* ==========================================================================
   CODE CARD
   ========================================================================== */
.code-card {
  background: var(--surface-850);
  border: 1px solid var(--line-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.code-card:hover {
  border-color: rgba(108,92,231,.3);
  box-shadow: 0 0 24px rgba(108,92,231,.08);
}

.code-card--hero {
  max-width: 460px;
  border-color: var(--brand-500);
  box-shadow: 0 0 20px rgba(108,92,231,.15);
}
.code-card--featured {
  border-color: var(--brand-500);
  box-shadow: 0 0 20px rgba(108,92,231,.12);
}

.code-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-700);
}

.code-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-300);
}

.code-status {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.code-status--neutral {
  background: rgba(154,163,181,.12);
  color: var(--text-500);
}

.code-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
}

.code-value {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: 0.04em;
  background: none;
  user-select: all;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-800);
  color: var(--text-300);
  border: 1px solid var(--line-700);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}
.btn-copy:hover {
  border-color: var(--brand-500);
  color: var(--text-100);
  background: rgba(108,92,231,.1);
}
.btn-copy:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
}
.btn-copy.copied {
  border-color: var(--success-500);
  color: var(--success-500);
  background: rgba(37,209,127,.08);
}

.code-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--line-700);
}
.code-desc {
  font-size: 13px;
  color: var(--text-500);
  flex: 1;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--page-900);
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.section-intro {
  color: var(--text-500);
  max-width: 680px;
  margin-bottom: 36px;
  font-size: 15px;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 28px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108,92,231,.12);
  border-radius: var(--radius-sm);
  color: var(--brand-300);
}

.step-body { flex: 1; }
.step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.step p {
  font-size: 14px;
  color: var(--text-500);
}
.step code {
  font-size: 13px;
  background: rgba(108,92,231,.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--brand-300);
}

.how-note {
  font-size: 13px;
  color: var(--warning-500);
  padding: 12px 16px;
  background: rgba(242,184,75,.06);
  border-left: 3px solid var(--warning-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
}

.how-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.how-img {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-700);
}

@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .how-visual { order: -1; }
  .how-img { max-width: 360px; }
}

/* ==========================================================================
   OFFER CARD
   ========================================================================== */
.offer-card {
  background: var(--surface-850);
  border: 1px solid var(--line-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.offer-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-700);
  background: linear-gradient(135deg, rgba(108,92,231,.08) 0%, transparent 60%);
}
.offer-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-300);
  background: rgba(108,92,231,.15);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.offer-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
}

.offer-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.offer-table {
  width: 100%;
  border-collapse: collapse;
}
.offer-table th,
.offer-table td {
  padding: 14px 28px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line-700);
}
.offer-table th {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-500);
  background: rgba(21,25,35,.5);
}
.offer-table td:first-child {
  color: var(--text-100);
  font-weight: 600;
  white-space: nowrap;
  width: 180px;
}
.offer-table tbody tr:last-child td {
  border-bottom: none;
}

.offer-example {
  padding: 20px 28px;
  border-top: 1px solid var(--line-700);
  background: rgba(242,184,75,.03);
}
.offer-example p {
  font-size: 13px;
  color: var(--text-500);
}

.offer-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border-top: 1px solid var(--line-700);
  flex-wrap: wrap;
}

@media (max-width: 520px) {
  .offer-table th,
  .offer-table td { padding: 12px 16px; }
  .offer-header { padding: 20px; }
  .offer-footer { padding: 16px 20px; }
  .offer-example { padding: 16px 20px; }
}

/* ==========================================================================
   CODES GRID
   ========================================================================== */
.codes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .codes-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ==========================================================================
   PLATFORM & FEATURES
   ========================================================================== */
.platform-content {
  max-width: 720px;
  margin-bottom: 40px;
}
.platform-content p {
  margin-bottom: 16px;
  font-size: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  background: var(--surface-850);
  border: 1px solid var(--line-700);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.feature-item:hover {
  border-color: rgba(108,92,231,.25);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108,92,231,.1);
  border-radius: var(--radius-sm);
  color: var(--brand-300);
  margin-bottom: 16px;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 13px;
  color: var(--text-500);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CHECKLIST
   ========================================================================== */
.checklist {
  list-style: none;
  padding: 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface-850);
  border: 1px solid var(--line-700);
  font-size: 14px;
  transition: border-color var(--transition-base);
}
.checklist-item:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.checklist-item:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.checklist-item:hover { border-color: rgba(108,92,231,.2); }

.checklist-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(108,92,231,.12);
  color: var(--brand-300);
  margin-top: 1px;
}

/* ==========================================================================
   SAFETY
   ========================================================================== */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.safety-block {
  background: var(--surface-850);
  border: 1px solid var(--line-700);
  border-radius: var(--radius-md);
  padding: 28px;
}
.safety-block h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.safety-block p {
  font-size: 14px;
  margin-bottom: 12px;
}
.safety-block p:last-child { margin-bottom: 0; }

.safety-block--warning {
  grid-column: 1 / -1;
  border-color: rgba(242,184,75,.25);
  background: rgba(242,184,75,.03);
}

.warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(242,184,75,.08);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid rgba(242,184,75,.15);
}
.warning-banner svg {
  flex-shrink: 0;
  color: var(--warning-500);
  margin-top: 2px;
}
.warning-banner p {
  font-size: 14px;
  color: var(--text-100);
  margin: 0;
}

.safety-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.safety-links a {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .safety-grid { grid-template-columns: 1fr; }
  .safety-block--warning { grid-column: auto; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 40px;
}

.faq-item {
  background: var(--surface-850);
  border: 1px solid var(--line-700);
  transition: border-color var(--transition-base);
}
.faq-item:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.faq-item:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.faq-item[open] { border-color: rgba(108,92,231,.2); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-100);
  cursor: pointer;
  list-style: none;
  user-select: none;
  min-height: 44px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%239AA3B5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--transition-base);
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-question:hover { color: var(--brand-300); }
.faq-question:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: -2px;
  border-radius: 4px;
}

.faq-answer {
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-500);
  line-height: 1.7;
}
.faq-answer code {
  font-size: 13px;
  background: rgba(108,92,231,.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--brand-300);
}

/* ==========================================================================
   FRESHNESS
   ========================================================================== */
.freshness {
  padding: 20px 24px;
  background: var(--surface-850);
  border: 1px solid var(--line-700);
  border-radius: var(--radius-md);
  max-width: 760px;
}
.freshness-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: 6px;
}
.freshness-line svg { color: var(--brand-300); }
.freshness-sources {
  font-size: 13px;
  color: var(--text-500);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--page-900);
  border-top: 1px solid var(--line-700);
  padding: 48px 0 32px;
}

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

.footer-logo {
  width: 100px;
  height: auto;
  margin-bottom: 12px;
  opacity: .7;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-500);
  max-width: 280px;
}

.footer-nav-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-500);
  margin-bottom: 14px;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--text-300);
}
.footer-nav a:hover {
  color: var(--brand-300);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-700);
}
.footer-disclaimer {
  font-size: 12px;
  color: var(--text-500);
  line-height: 1.65;
  margin-bottom: 10px;
  max-width: 800px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-500);
  opacity: .6;
}

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

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 13px;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: '/';
  color: var(--text-500);
  opacity: .5;
}
.breadcrumb a { color: var(--text-500); }
.breadcrumb a:hover { color: var(--brand-300); }
.breadcrumb [aria-current] { color: var(--text-300); }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-main {
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 80px;
  min-height: 60vh;
}
.legal-container { max-width: 760px; }

.legal-article h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 20px;
  margin-bottom: 8px;
}
.legal-updated {
  font-size: 13px;
  color: var(--text-500);
  margin-bottom: 32px;
}
.legal-article h2 {
  font-size: 1.15rem;
  margin-top: 36px;
  margin-bottom: 10px;
}
.legal-article p {
  margin-bottom: 14px;
  font-size: 15px;
}
.legal-article ul,
.legal-article ol {
  margin-bottom: 14px;
}
.legal-article li {
  font-size: 15px;
  margin-bottom: 6px;
}
.legal-note {
  font-size: 13px;
  color: var(--text-500);
  margin-top: 32px;
  padding: 16px;
  background: var(--surface-850);
  border: 1px solid var(--line-700);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-800);
  border: 1px solid var(--line-700);
  border-radius: 50%;
  color: var(--text-300);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base), background var(--transition-base);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--brand-500);
  color: #fff;
  border-color: var(--brand-500);
}
.scroll-top:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 3px;
}

/* ==========================================================================
   SCREEN READER ONLY
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
  white-space: nowrap;
}