/* ==========================================================================
   THE EUROPEAN COIN COLLECTOR ATLAS - SOFT MODERN STYLESHEET
   Brand: socialsprsortboard.asia
   Palette: Aged metal + Museum paper + Oxidized copper + Archival slate
   ========================================================================== */

:root {
  /* Core Color System */
  --obsidian: #202426;
  --deep-graphite: #2E3436;
  --museum-slate: #465052;
  --steel-grey: #697476;
  --coin-mist: #C7CECC;
  --silver-paper: #D9DEDA;
  --warm-archive: #E7E0D2;
  --collector-cream: #F3EEE4;
  --paper-white: #FBFAF6;
  --oxidized-teal: #527C7B;
  --collector-sage: #839B8D;
  --patina-mint: #AFC5B9;
  --european-blue-grey: #668594;
  --muted-cobalt: #607F91;
  --copper-accent: #A96F57;
  --burnished-copper: #BD8466;
  --antique-gold: #B89A55;
  --brass-highlight: #C7AA68;
  --archive-plum: #765F6A;

  /* Semantic Variables */
  --bg-primary: #FBFAF6;
  --bg-secondary: #F3EEE4;
  --bg-card: #FFFFFF;
  --border-subtle: #D9DEDA;
  --border-strong: #C7CECC;
  --text-main: #202426;
  --text-muted: #465052;
  --text-light: #697476;
  --accent-cta: #A96F57;
  --accent-hover: #BD8466;

  /* Controlled Spacing System: 4 / 8 / 16 / 24 / 40 / 64px */
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-40: 40px;
  --space-64: 64px;

  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-soft: 0 4px 16px rgba(32, 36, 38, 0.05);
  --shadow-hover: 0 8px 24px rgba(32, 36, 38, 0.09);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-primary);
  font-family: var(--font-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Responsive & Word Wrap Guardrails */
h1, h2, h3, h4, h5, h6,
.brand-text,
.footer-domain,
.nav-link,
a {
  overflow-wrap: anywhere;
}

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

a {
  color: var(--oxidized-teal);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-cta);
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--accent-cta);
  outline-offset: 3px;
}

/* Layout Container */
.site-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-24);
  padding-right: var(--space-24);
}

/* Header (Non-sticky as mandated) */
.site-header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  height: 64px;
  position: static;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--obsidian);
  min-width: 0;
}

.brand-mark {
  flex-shrink: 0;
}

.brand-text {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: var(--space-8);
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--obsidian);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-24);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--deep-graphite);
  padding: var(--space-4) 0;
  position: relative;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--oxidized-teal);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--oxidized-teal);
}

.nav-btn {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--paper-white);
  background-color: var(--oxidized-teal);
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
}

.nav-btn:hover {
  background-color: var(--museum-slate);
  color: var(--paper-white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px var(--space-24);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  min-height: 46px;
}

.btn-primary {
  background-color: var(--accent-cta);
  color: var(--paper-white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--paper-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--deep-graphite);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--warm-archive);
  border-color: var(--museum-slate);
  color: var(--obsidian);
}

.btn-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-cta);
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}

.btn-text:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Typography Hierarchy */
.kicker {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--oxidized-teal);
  margin-bottom: var(--space-8);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--obsidian);
  margin-bottom: var(--space-16);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
}

/* Hero Section (IMAGE -> GAP -> CONTENT or CONTENT -> GAP -> VISUAL strictly separate) */
.hero-section {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-split {
  display: flex;
  align-items: center;
  gap: var(--space-40);
}

.hero-content {
  flex: 1 1 52%;
  min-width: 0;
}

.hero-visual {
  flex: 1 1 48%;
  min-width: 0;
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--obsidian);
  margin-bottom: var(--space-16);
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--museum-slate);
  margin-bottom: var(--space-24);
}

.hero-actions {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.hero-image {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--warm-archive);
  box-shadow: var(--shadow-soft);
}

/* Featured Entries Section */
.featured-section {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  background-color: var(--bg-secondary);
}

.section-header {
  margin-bottom: var(--space-40);
}

.cards-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}

/* MANDATORY HORIZONTAL SPLIT CARD ARCHITECTURE */
.split-card {
  display: flex;
  align-items: stretch;
  gap: var(--space-32, 32px);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.split-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.split-card-media {
  flex: 0 0 46%;
  min-width: 0;
  background-color: var(--warm-archive);
}

.split-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-card-content {
  flex: 0 0 54%;
  min-width: 0;
  padding: var(--space-32, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-bottom: var(--space-8);
}

.meta-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--oxidized-teal);
  letter-spacing: 0.05em;
}

.meta-region {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--steel-grey);
}

.card-title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--obsidian);
  margin-bottom: var(--space-8);
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--museum-slate);
  margin-bottom: var(--space-16);
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  font-size: 0.8rem;
  color: var(--steel-grey);
  font-weight: 600;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
  margin-bottom: var(--space-16);
}

/* Systematic Protocol Section */
.methodology-section {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.method-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-16);
}

.method-step {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
}

.step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--antique-gold);
  line-height: 1;
  margin-bottom: var(--space-8);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--obsidian);
  margin-bottom: var(--space-8);
}

.step-text {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--museum-slate);
  flex-grow: 1;
  margin-bottom: var(--space-16);
}

.step-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--oxidized-teal);
  background-color: var(--silver-paper);
  padding: 4px var(--space-8);
  border-radius: 2px;
  align-self: flex-start;
}

/* Topic Page Structure */
.topic-page {
  padding-bottom: var(--space-64);
}

.topic-hero {
  padding-top: var(--space-40);
  padding-bottom: var(--space-40);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-40);
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-40);
}

.topic-main {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.article-section {
  margin-bottom: var(--space-40);
}

.article-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--obsidian);
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-subtle);
}

.article-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--obsidian);
  margin-bottom: var(--space-16);
}

.article-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--deep-graphite);
  margin-bottom: var(--space-16);
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
  margin-top: var(--space-16);
  margin-bottom: var(--space-16);
}

.term-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-16);
}

.term-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--oxidized-teal);
  margin-bottom: var(--space-8);
}

.term-card p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--museum-slate);
  margin-bottom: 0;
}

.specs-list {
  list-style: none;
  margin-top: var(--space-16);
  margin-bottom: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.specs-list li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--deep-graphite);
  padding-left: var(--space-16);
  position: relative;
}

.specs-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-cta);
  font-weight: 700;
}

.comparison-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-24);
  margin-top: var(--space-16);
  margin-bottom: var(--space-16);
}

.comp-col {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-24);
}

.comp-head {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid;
}

.comp-head.positive {
  color: var(--oxidized-teal);
  border-color: var(--oxidized-teal);
}

.comp-head.negative {
  color: var(--archive-plum);
  border-color: var(--archive-plum);
}

.comp-col ul {
  list-style: disc;
  padding-left: var(--space-16);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--museum-slate);
}

.insight-box {
  display: flex;
  background-color: var(--warm-archive);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-24);
  gap: var(--space-24);
  margin-top: var(--space-24);
  margin-bottom: var(--space-24);
}

.box-half {
  flex: 1;
}

.box-half h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--obsidian);
  margin-bottom: var(--space-8);
}

.box-half p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--deep-graphite);
  margin-bottom: 0;
}

.related-guides {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-24);
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
}

.guide-link-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-16);
  transition: border-color 0.15s ease;
}

.guide-link-card:hover {
  border-color: var(--accent-cta);
}

.guide-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--oxidized-teal);
  margin-bottom: var(--space-4);
}

.guide-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--obsidian);
  margin-bottom: var(--space-4);
}

.guide-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--steel-grey);
}

/* Legal Pages Architecture */
.legal-hero {
  padding-top: var(--space-40);
  padding-bottom: var(--space-24);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--obsidian);
  margin-bottom: var(--space-8);
}

.legal-effective {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-grey);
}

.legal-body {
  padding-top: var(--space-40);
  padding-bottom: var(--space-64);
}

.legal-layout {
  max-width: 860px;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--obsidian);
  margin-top: var(--space-24);
  margin-bottom: var(--space-8);
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--deep-graphite);
  margin-bottom: var(--space-16);
}

.legal-content ul {
  margin-left: var(--space-24);
  margin-bottom: var(--space-16);
  color: var(--deep-graphite);
  font-size: 0.95rem;
  line-height: 1.55;
}

.legal-content li {
  margin-bottom: var(--space-4);
}

/* Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: var(--space-16);
  margin-bottom: var(--space-24);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

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

.data-table th {
  background-color: var(--warm-archive);
  font-weight: 700;
  color: var(--obsidian);
}

.data-table code {
  background-color: var(--silver-paper);
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 0.8rem;
}

/* Contact Page Form & Panels */
.contact-section {
  padding-top: var(--space-40);
  padding-bottom: var(--space-64);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-40);
}

.contact-form-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-32, 32px);
  box-shadow: var(--shadow-soft);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--obsidian);
  margin-bottom: var(--space-8);
}

.form-intro {
  font-size: 0.9rem;
  color: var(--museum-slate);
  margin-bottom: var(--space-24);
}

.styled-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-graphite);
  margin-bottom: var(--space-4);
}

.req {
  color: var(--copper-accent);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: border-color 0.15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--oxidized-teal);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--copper-accent);
  background-color: #FFF6F4;
}

.form-error {
  display: none;
  font-size: 0.75rem;
  color: var(--copper-accent);
  margin-top: 4px;
}

.form-error.is-visible {
  display: block;
}

.btn-submit {
  align-self: flex-start;
  margin-top: var(--space-8);
}

.alert {
  padding: var(--space-16);
  border-radius: var(--radius-sm);
  margin-top: var(--space-24);
}

.alert h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.alert p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.alert-success {
  background-color: #EBF3EF;
  border: 1px solid var(--collector-sage);
  color: #274D38;
}

.alert-error {
  background-color: #FDF0EC;
  border: 1px solid var(--copper-accent);
  color: #7A3520;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.info-block {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-24);
}

.info-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--obsidian);
  margin-bottom: var(--space-8);
}

.info-block p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--deep-graphite);
}

.company-name {
  font-weight: 600;
  color: var(--oxidized-teal);
}

.link-inline {
  color: var(--accent-cta);
  text-decoration: underline;
}

.notice-muted {
  font-size: 0.8rem;
  color: var(--steel-grey);
  margin-top: 4px;
}

/* IDENTICAL MANDATORY FOOTER (Across All 10 HTML Pages) */
.site-footer {
  background-color: var(--obsidian);
  color: var(--silver-paper);
  padding-top: var(--space-64);
  padding-bottom: var(--space-40);
  border-top: 2px solid var(--antique-gold);
  margin-top: auto;
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-40);
  margin-bottom: var(--space-40);
}

.footer-col {
  min-width: 0;
}

.footer-brand-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--paper-white);
  margin-bottom: var(--space-8);
  letter-spacing: -0.01em;
}

.footer-legal-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brass-highlight);
  margin-bottom: var(--space-8);
}

.footer-meta {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--coin-mist);
  margin-bottom: 6px;
}

.footer-email {
  color: var(--paper-white);
  text-decoration: underline;
}

.domain-wrap {
  margin-top: var(--space-8);
  font-weight: 600;
}

.footer-domain {
  color: var(--brass-highlight);
  text-decoration: underline;
  font-weight: 700;
}

.footer-domain:hover {
  color: var(--paper-white);
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--patina-mint);
  margin-bottom: var(--space-16);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--silver-paper);
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--paper-white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--deep-graphite);
  padding-top: var(--space-24);
  font-size: 0.8rem;
  color: var(--steel-grey);
}

/* MANDATORY FIXED COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--obsidian);
  color: var(--paper-white);
  border-top: 2px solid var(--oxidized-teal);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  padding: var(--space-16) var(--space-24);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.cookie-text-block {
  min-width: 0;
}

.cookie-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--patina-mint);
  margin-bottom: 4px;
}

.cookie-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--silver-paper);
}

.cookie-actions {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.btn-cookie {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px var(--space-16);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease;
}

.btn-accept {
  background-color: var(--oxidized-teal);
  color: var(--paper-white);
}

.btn-accept:hover {
  background-color: var(--collector-sage);
}

.btn-reject {
  background-color: transparent;
  border-color: var(--steel-grey);
  color: var(--coin-mist);
}

.btn-reject:hover {
  background-color: var(--deep-graphite);
  color: var(--paper-white);
}

.btn-prefs {
  background-color: transparent;
  color: var(--patina-mint);
  text-decoration: underline;
  border: none;
}

.btn-prefs:hover {
  color: var(--paper-white);
}

.cookie-pref-panel {
  background-color: var(--deep-graphite);
  border-radius: var(--radius-sm);
  padding: var(--space-16);
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.cookie-pref-item label {
  font-size: 0.8rem;
  color: var(--silver-paper);
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.btn-save-prefs {
  align-self: flex-start;
  background-color: var(--accent-cta);
  color: var(--paper-white);
  margin-top: var(--space-8);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   320px -> 375px -> 768px -> 1024px -> 1440px+
   Dedicated breakpoint below 400px
   ========================================================================== */

/* Tablet & Mobile Breakpoint (Below 1024px) */
@media (max-width: 1023px) {
  .method-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .method-step:last-child {
    grid-column: span 2;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }

  .brand-col {
    grid-column: span 2;
  }
}

/* Mobile Breakpoint (Below 768px) */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border-bottom: 2px solid var(--border-strong);
    padding: var(--space-24);
    box-shadow: var(--shadow-hover);
    z-index: 1000;
  }

  .nav-menu.is-active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-16);
  }

  .nav-btn {
    width: 100%;
    text-align: center;
  }

  /* CRITICAL IMAGE + TEXT SEPARATION RULE ON MOBILE:
     Cards stack naturally: IMAGE -> 24px GAP -> CONTENT */
  .hero-split {
    flex-direction: column;
    gap: var(--space-24);
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .split-card {
    flex-direction: column;
    gap: var(--space-24);
  }

  .split-card-media {
    flex: 1 1 100%;
    aspect-ratio: 16 / 10;
  }

  .split-card-content {
    flex: 1 1 100%;
    padding: 0 var(--space-24) var(--space-24) var(--space-24);
  }

  .term-grid,
  .comparison-block,
  .related-links-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .insight-box {
    flex-direction: column;
    gap: var(--space-16);
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .brand-col {
    grid-column: auto;
  }
}

/* Dedicated Narrow Viewport Breakpoint (Below 400px: 320px to 399px) */
@media (max-width: 399px) {
  .site-container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .split-card-content {
    padding: 0 var(--space-16) var(--space-16) var(--space-16);
  }

  .card-title {
    font-size: 1.25rem;
  }

  .method-flow {
    grid-template-columns: 1fr;
  }

  .method-step:last-child {
    grid-column: auto;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cookie {
    width: 100%;
    text-align: center;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}