/* ============================================================
   calculateyourcarbon.com — Global Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Colors */
  --color-bg:        #FAFAF8;
  --color-surface:   #FFFFFF;
  --color-border:    #E8E8E4;
  --color-text:      #1A1A1A;
  --color-muted:     #6B6B6B;
  --color-accent:    #2D6A4F;
  --color-accent-lt: #52B788;
  --color-warn:      #E76F51;
  --color-ok:        #52B788;
  --color-mid:       #F4A261;
  --color-overlay:   rgba(26,26,26,0.04);

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Layout */
  --max-width: 1120px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }

/* ── Skip Link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 500;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: var(--space-4); }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: 64px;
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.15s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile Nav Overlay */
.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-surface);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.nav__mobile-overlay.open {
  display: flex;
}

.nav__mobile-overlay .nav__link {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
}

.nav__mobile-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  background: none;
  border: none;
  font-size: var(--text-2xl);
  cursor: pointer;
  color: var(--color-text);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: #245a43;
  box-shadow: 0 4px 16px rgba(45,106,79,0.25);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-overlay);
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-lg);
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.card-hover {
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ── Form Elements ───────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-top: var(--space-1);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(45,106,79,0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Radio / Checkbox groups */
.radio-group, .check-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.radio-option, .check-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.radio-option:hover, .check-option:hover {
  background: var(--color-overlay);
}

.radio-option input[type="radio"],
.check-option input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
}

.radio-option.selected, .check-option.selected {
  border-color: var(--color-accent);
  background: rgba(45,106,79,0.04);
}

/* ── Sections ─────────────────────────────────────────────────── */
.section {
  padding: var(--space-24) 0;
}

.section-sm {
  padding: var(--space-16) 0;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section-subheading {
  font-size: var(--text-lg);
  color: var(--color-muted);
  font-weight: 300;
  max-width: 560px;
}

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

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

/* ── Grid Layouts ─────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* ── KPI Cards ─────────────────────────────────────────────────── */
.kpi-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.kpi-label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-2);
}

.kpi-source {
  font-size: var(--text-xs);
  color: var(--color-muted);
  opacity: 0.7;
}

/* ── Result Display ─────────────────────────────────────────────── */
.result-hero {
  text-align: center;
  padding: var(--space-12);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.result-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.result-unit {
  font-size: var(--text-xl);
  color: var(--color-muted);
  font-weight: 300;
}

.result-context {
  font-size: var(--text-base);
  color: var(--color-muted);
  margin-top: var(--space-4);
}

.result-ok    { color: var(--color-ok); }
.result-mid   { color: var(--color-mid); }
.result-warn  { color: var(--color-warn); }

/* ── Progress Bar ─────────────────────────────────────────────── */
.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-12);
  overflow-x: auto;
  padding-bottom: var(--space-2);
}

.progress-step {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
}

.progress-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-right: var(--space-2);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.progress-step__label {
  color: var(--color-muted);
  transition: color 0.2s;
}

.progress-step.active .progress-step__num {
  background: var(--color-accent);
  color: #fff;
}

.progress-step.active .progress-step__label {
  color: var(--color-text);
}

.progress-step.done .progress-step__num {
  background: var(--color-ok);
  color: #fff;
}

.progress-step.done .progress-step__label {
  color: var(--color-muted);
}

.progress-step__divider {
  width: 32px;
  height: 1px;
  background: var(--color-border);
  margin: 0 var(--space-2);
  flex-shrink: 0;
}

/* ── Comparison Bar ──────────────────────────────────────────────── */
.compare-bar {
  background: var(--color-bg);
  border-radius: 100px;
  height: 10px;
  overflow: hidden;
  margin: var(--space-2) 0;
}

.compare-bar__fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.6s ease;
}

.compare-bar__fill-ok   { background: var(--color-ok); }
.compare-bar__fill-mid  { background: var(--color-mid); }
.compare-bar__fill-warn { background: var(--color-warn); }

/* ── Tables ──────────────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

th {
  text-align: left;
  font-weight: 600;
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid var(--color-border);
  color: var(--color-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

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

tr:hover td {
  background: var(--color-overlay);
}

/* ── Source Tag ──────────────────────────────────────────────────── */
.source-tag {
  font-size: var(--text-xs);
  color: var(--color-muted);
  opacity: 0.7;
  margin-top: var(--space-1);
}

/* ── Pill / Badge ─────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
}

.badge-ok   { background: rgba(82,183,136,0.12); color: #1a7a4a; }
.badge-mid  { background: rgba(244,162,97,0.15); color: #b56a1e; }
.badge-warn { background: rgba(231,111,81,0.12); color: #c04a23; }

/* ── Divider ─────────────────────────────────────────────────────── */
hr, .divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}

/* ── Icon Feature ────────────────────────────────────────────────── */
.icon-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.icon-feature__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45,106,79,0.08);
  border-radius: var(--radius-sm);
}

.icon-feature__text h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.icon-feature__text p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.5;
}

/* ── Collapsible ─────────────────────────────────────────────────── */
.collapsible {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.collapsible__trigger {
  width: 100%;
  text-align: left;
  background: var(--color-surface);
  padding: var(--space-4) var(--space-6);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}

.collapsible__trigger::after {
  content: '▾';
  font-size: var(--text-sm);
  color: var(--color-muted);
  transition: transform 0.2s;
}

.collapsible__trigger.open::after {
  transform: rotate(180deg);
}

.collapsible__body {
  display: none;
  padding: var(--space-4) var(--space-6) var(--space-6);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.collapsible__body.open {
  display: block;
}

/* ── Action Recommendation ───────────────────────────────────────── */
.action-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.action-card__rank {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  min-width: 40px;
  line-height: 1;
}

.action-card__body h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.action-card__savings {
  font-size: var(--text-sm);
  color: var(--color-ok);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.action-card__meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* ── Ad Unit ────────────────────────────────────────────────────── */
.ad-unit {
  margin: var(--space-8) auto;
  text-align: center;
}

.ad-label {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.footer__links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-muted);
  transition: color 0.15s;
}

.footer__link:hover {
  color: var(--color-text);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* ── Utilities ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--color-muted); }
.text-accent { color: var(--color-accent); }
.text-ok     { color: var(--color-ok); }
.text-mid    { color: var(--color-mid); }
.text-warn   { color: var(--color-warn); }

.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

.hidden { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Calculator-specific ─────────────────────────────────────────── */
.calc-step {
  display: none;
}
.calc-step.active {
  display: block;
}

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

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

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-4);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.category-card:hover,
.category-card.selected {
  border-color: var(--color-accent);
  background: rgba(45,106,79,0.04);
}

.category-card__icon {
  font-size: 2.25rem;
  line-height: 1;
}

.category-card__label {
  font-size: var(--text-sm);
  font-weight: 500;
}

/* Result slide-in */
.result-panel {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.result-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Comparison Layout (Explorer) ────────────────────────────────── */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-6);
  align-items: start;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-16);
  font-weight: 600;
  color: var(--color-muted);
}

.winner-card {
  border-color: var(--color-ok) !important;
  box-shadow: 0 0 0 2px rgba(82,183,136,0.2);
}

/* ── Range Input ──────────────────────────────────────────────────── */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--color-border);
  border-radius: 100px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: none;
}

/* ── Article (Learn) ──────────────────────────────────────────────── */
.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin: var(--space-8) 0 var(--space-4);
  line-height: 1.3;
}

.article-content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: var(--space-6) 0 var(--space-3);
}

.article-content p {
  margin-bottom: var(--space-4);
  line-height: 1.75;
}

.article-content ul, .article-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
}

.article-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-6);
  margin: var(--space-6) 0;
  color: var(--color-muted);
  font-size: var(--text-lg);
  font-style: italic;
}

.article-meta {
  font-size: var(--text-sm);
  color: var(--color-muted);
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

/* ── Tooltip ──────────────────────────────────────────────────────── */
.tooltip-wrap {
  position: relative;
  display: inline-flex;
}

.tooltip-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  margin-left: 4px;
}

.tooltip-box {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: #fff;
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  max-width: 220px;
  white-space: normal;
  line-height: 1.4;
}

.tooltip-wrap:hover .tooltip-box {
  display: block;
}

/* ── Notification / Alert ────────────────────────────────────────── */
.alert {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  border: 1px solid transparent;
  margin-bottom: var(--space-4);
}

.alert-ok {
  background: rgba(82,183,136,0.1);
  border-color: rgba(82,183,136,0.3);
  color: #1a7a4a;
}

.alert-mid {
  background: rgba(244,162,97,0.1);
  border-color: rgba(244,162,97,0.3);
  color: #b56a1e;
}

.alert-warn {
  background: rgba(231,111,81,0.1);
  border-color: rgba(231,111,81,0.3);
  color: #c04a23;
}

/* ── Share Card ──────────────────────────────────────────────────── */
.share-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --space-24: 4rem;
    --space-16: 3rem;
  }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .vs-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .vs-divider { padding-top: 0; }

  .btn-lg {
    padding: 14px 24px;
    font-size: var(--text-base);
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }

  .card { padding: var(--space-6); }

  .progress-steps {
    gap: 0;
  }

  .progress-step__label {
    display: none;
  }

  .progress-step.active .progress-step__label {
    display: inline;
  }
}

/* ── Print ───────────────────────────────────────────────────────── */
@media print {
  .nav, .ad-unit, .footer { display: none; }
  body { background: white; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
