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

:root {
  --bg:       #0a0e0f;
  --bg2:      #0f1517;
  --bg3:      #141c1e;
  --surface:  #1a2426;
  --border:   #1e2d30;
  --accent:   #00c4a7;
  --accent2:  #ff6b35;
  --dim:      #4a6568;
  --mid:      #7a9699;
  --text:     #d4e8ea;
  --head:     #eef6f7;
  --mono:     'DM Mono', monospace;
  --serif:    'DM Serif Display', serif;
  --sans:     'Instrument Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 999;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 64px;
  background: rgba(10,14,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-links .nav-cta {
  color: var(--accent);
  border: 1px solid rgba(0,196,167,0.4);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.nav-links .nav-cta:hover {
  background: var(--accent);
  color: #0a0e0f;
}

@media (max-width: 700px) {
  .nav-links { display: none; }
}

/* ── SECTIONS ── */
.section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 8vw, 8rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 60px;
  background: var(--accent);
  opacity: 0.4;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  color: var(--head);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h1 em { font-style: italic; color: var(--accent); }

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--head);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

h2 em { font-style: italic; color: var(--accent); }

h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--head);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text);
  margin-bottom: 1.2rem;
  max-width: 68ch;
}

a { color: var(--accent); }
a:hover { color: #00dfc0; }

strong { color: var(--head); font-weight: 600; }

/* ── HERO (HOME) ── */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px clamp(1.5rem, 8vw, 8rem) 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,196,167,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 860px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0,196,167,0.3);
  border-radius: 2px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.65;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: #0a0e0f;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: all 0.2s;
}

.hero-cta:hover {
  background: #00dfc0;
  color: #0a0e0f;
  transform: translateY(-1px);
}

.hero-cta svg { transition: transform 0.2s; }
.hero-cta:hover svg { transform: translateX(3px); }

/* ── STAT BAR ── */
.stat-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem clamp(1.5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.stat.visible { opacity: 1; transform: none; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── WHAT GRID ── */
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

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

.particle-diagram {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.particle-diagram svg {
  width: 100%;
  height: 100%;
  max-width: 320px;
}

.particle {
  animation: float var(--dur, 8s) var(--delay, 0s) infinite ease-in-out alternate;
}

@keyframes float {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(var(--tx, 8px), var(--ty, -12px)) rotate(var(--rot, 20deg)); }
}

/* ── TYPES GRID ── */
.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.type-card {
  background: var(--bg2);
  padding: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: background 0.2s, opacity 0.5s ease, transform 0.5s ease;
}

.type-card.visible { opacity: 1; transform: none; }
.type-card:hover { background: var(--bg3); }

.type-icon {
  width: 40px; height: 40px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.type-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.type-card p { font-size: 0.9rem; color: var(--mid); margin: 0; max-width: none; }

/* ── IMPACT SECTION ── */
.impact-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.impact-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.tab-btn {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: -1px;
}

.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-btn:hover { color: var(--text); }

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

@media (max-width: 768px) {
  .tab-panel.active { grid-template-columns: 1fr; }
}

.impact-text p { font-size: 1rem; }

.impact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.impact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.92rem;
  color: var(--text);
}

.impact-list li::before {
  content: '→';
  color: var(--accent2);
  font-family: var(--mono);
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── SIZE SCALE ── */
.size-scale {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 2px;
  margin-top: 2rem;
}

.size-scale-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.scale-items { display: flex; flex-direction: column; gap: 0.75rem; }

.scale-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.scale-bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
}

.scale-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  opacity: 0.7;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

.scale-row-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--mid);
  width: 120px;
  flex-shrink: 0;
}

.scale-val {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--dim);
  width: 60px;
  text-align: right;
  flex-shrink: 0;
}

/* ── SOURCES ── */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.source-card {
  border: 1px solid var(--border);
  padding: 1.75rem;
  background: var(--bg2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}

.source-card.visible { opacity: 1; transform: none; }
.source-card:hover { border-color: rgba(0,196,167,0.3); }

.source-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  opacity: 0.5;
}

.source-pct {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.source-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.source-card p { font-size: 0.875rem; color: var(--mid); margin: 0; max-width: none; }

/* ── ACTIONS ── */
.actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

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

.action-group h3 {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.action-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  padding: 1rem 1.25rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.2s, transform 0.2s;
}

.action-list li:hover {
  border-color: rgba(0,196,167,0.25);
  transform: translateX(3px);
}

.action-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.newsletter-inner {
  max-width: 580px;
  text-align: center;
  margin: 0 auto;
}

.newsletter-inner p { max-width: none; margin: 0 auto 2.5rem; }

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 240px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input::placeholder { color: var(--dim); }
.newsletter-form input:focus { border-color: var(--accent); }

.newsletter-form button {
  background: var(--accent);
  color: #0a0e0f;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.newsletter-form button:hover { background: #00dfc0; transform: translateY(-1px); }

.newsletter-note {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--dim);
  margin-top: 1rem !important;
  letter-spacing: 0.05em;
}

.gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem auto 0;
  font-size: 0.82rem;
  color: var(--mid);
  cursor: pointer;
  text-align: left;
  max-width: 480px;
}

.gdpr-label input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 0.2em;
  cursor: pointer;
}

.gdpr-label a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.nl-message {
  font-family: var(--mono);
  font-size: 0.78rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
  letter-spacing: 0.04em;
  text-align: center;
}

.nl-message.success { color: var(--accent); }
.nl-message.error   { color: var(--accent2); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1.5rem, 8vw, 8rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--dim);
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--dim);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

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

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  border: 1px solid rgba(0,196,167,0.25);
  background: rgba(0,196,167,0.04);
  padding: 1.5rem 2rem;
  border-radius: 2px;
  margin: 2rem 0;
}

.highlight-box p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--head);
  margin: 0;
  max-width: none;
}

.highlight-box cite {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
  margin-top: 0.75rem;
  font-style: normal;
  letter-spacing: 0.05em;
}

/* ── INFO BOX (inner pages) ── */
.info-box {
  border-left: 3px solid var(--accent);
  background: rgba(0,196,167,0.04);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 2px 2px 0;
}

.info-box p { margin: 0; font-size: 0.92rem; color: var(--text); max-width: none; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 120px clamp(1.5rem, 8vw, 8rem) 5rem;
  max-width: 900px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.breadcrumb a { color: var(--dim); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--dim); }

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1.25rem;
}

.page-hero .lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--mid);
  line-height: 1.65;
  max-width: 65ch;
  margin-bottom: 0;
}

/* ── EXPLORE MORE (inner pages) ── */
.explore-more {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.explore-card {
  background: var(--bg2);
  padding: 1.75rem;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}

.explore-card:hover { background: var(--bg3); }

.explore-card-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.explore-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--head);
}

.explore-card p {
  font-size: 0.85rem;
  color: var(--mid);
  margin: 0;
  max-width: none;
}

.explore-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ── DATA TABLE (inner pages) ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
}

.data-table th {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg2);
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--border);
}

.data-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.data-table tr:nth-child(even) td { background: var(--bg2); }

/* ── FAQ ── */
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1px; }

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
}

.faq-question {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--head);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

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

.faq-question::after {
  content: '+';
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after { content: '−'; }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.faq-answer p { color: var(--mid); max-width: none; margin-bottom: 0.75rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ── LONG-FORM PAGES (.page layout) ── */
.page {
  max-width: 740px;
  margin: 0 auto;
  padding: 120px clamp(1.5rem, 6vw, 3rem) 80px;
}

.page-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.last-updated {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.page h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

.page p {
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.page footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Highlight box variant used in long-form pages */
.page .highlight-box {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--bg2);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 2px 2px 0;
}

.page .highlight-box p {
  margin-bottom: 0;
  font-size: 0.92rem;
  font-style: normal;
  color: var(--text);
}

/* Privacy policy */
.toc {
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-bottom: 3rem;
  overflow: hidden;
}

.toc summary {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  background: var(--bg2);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: '+'; font-size: 1rem; color: var(--dim); }
.toc[open] summary::after { content: '−'; }

.toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0.75rem 1.5rem 1rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.toc li {
  counter-increment: toc;
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.25rem 0;
}

.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--dim);
  flex-shrink: 0;
  margin-top: 0.25em;
}

.toc a { color: var(--mid); text-decoration: none; transition: color 0.2s; }
.toc a:hover { color: var(--accent); }

.policy-section { margin-bottom: 3rem; scroll-margin-top: 80px; }

.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

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

.right-item { background: var(--bg2); padding: 1.25rem; }

.right-name {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.right-desc { font-size: 0.85rem; color: var(--mid); line-height: 1.5; }

/* Transparency page */
.transp-section { margin-bottom: 3rem; }

.commitment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 1.25rem 0;
}

.commitment-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.5;
}

.commitment-list li span { color: var(--accent); flex-shrink: 0; }

.status-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.status-item {
  background: var(--bg2);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.status-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
  width: 140px;
}

.status-value {
  font-size: 0.875rem;
  color: var(--mid);
}

.badge-ara {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 0.15em 0.5em;
  border-radius: 2px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.badge-aviat {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--mid) 10%, transparent);
  color: var(--dim);
  border: 1px solid var(--border);
  padding: 0.15em 0.5em;
  border-radius: 2px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
