/* styles.css */

@import url("https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,400;0,500;1,400&family=Fraunces:ital,wght@0,300;0,600;1,300&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap");

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

:root {
  --primary: #1a5276;
  --primary-light: #397998;
  --primary-dark: #0d3b5a;
  --text-muted: #565656;
  --background: #ffffff;
  --border: #454441;
  --text-primary: #5a5959;
  --text-secondary: #7a7165;
  --text-dark: #1a1a1a;
  --accent: #c0392b;
  --accent-warm: #daa520;
  --accent-warmer: #efdbaa;

  --info: #008080;
  --warning: #ffd700;
  --success: #37c6ea;
  --muted: #312402;

  --card-bg: #e0ddd3;
  --card-bg-light: #eceae523;
  --cream-bg: #f0efdc;

  --success-bg: #d5f1df;
  --warning-bg: #ffde21;
  --warm-bg: #f7f2dc37;
  --lightblue-bg: #e8f0fb;
  --error-bg: #fdecea;

  --green: #2c7a4b;
  --green-bg: rgba(44, 122, 75, 0.2);

  /* ─────────────────────────────────────────
   Fluid Typography Scale
   Balanced for mobile portrait → desktop
───────────────────────────────────────── */

  --fs-xxs: clamp(0.6rem, 0.9vw, 0.72rem); /* ~10px → 11.5px */
  --fs-xs: clamp(0.68rem, 1vw, 0.82rem); /* ~11px → 13px */

  --fs-sm: clamp(0.82rem, 1.2vw, 0.95rem); /* ~13px → 15px */
  --fs-base: clamp(0.95rem, 1.5vw, 1.1rem); /* ~15px → 17.5px */

  --fs-md: clamp(1.1rem, 1.9vw, 1.28rem); /* ~17.5px → 20.5px */
  --fs-lg: clamp(1.28rem, 2.4vw, 1.55rem); /* ~20.5px → 25px */

  --fs-xl: clamp(1.55rem, 3vw, 1.95rem); /* ~25px → 31px */
  --fs-2xl: clamp(1.95rem, 3.8vw, 2.45rem); /* ~31px → 39px */

  --fs-3xl: clamp(2.45rem, 4.8vw, 3.1rem); /* ~39px → 50px */
  --fs-4xl: clamp(3.1rem, 6vw, 3.9rem); /* ~50px → 62px */

  --fs-5xl: clamp(3.9rem, 7.8vw, 5rem); /* ~62px → 80px */

  --fs-10xl: clamp(5rem, 10vw, 7rem); /* ~80px → 112px */

  --fs-xxl: clamp(6.5rem, 13vw, 10rem); /* decorative hero */

  --fs-huge: clamp(8rem, 18vw, 14rem); /* watermark / background */

  /* Letter spacing */
  /* Tight (for headings, large text) */
  --ls-tightest: -0.04em;
  --ls-tighter: -0.02em;
  --ls-tight: -0.01em;

  /* Normal (for body, default) */
  --ls-normal: 0em;

  /* Slightly wide (small text, labels) */
  --ls-wide: 0.02em;
  --ls-wider: 0.05em;
  --ls-widest: 0.1em;

  /* Extreme wide (special UI, hero text) */
  --ls-huge: 0.2em;
  --ls-huger: 0.3em;
  --ls-massive: 0.46em;

  /* ─────────────────────────────────────────
   Box shadows
───────────────────────────────────────── */
  --bs-thin: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --bs-medium:
    0 4px 6px -2px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --bs-heavy:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --bs-veryheavy:
    0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Also show in very small screens regardless of orientation */
@media (max-width: 480px) {
  .orientation-notice {
    display: block;
  }
}

/* ─────────────────────────────────────────
   BASE
───────────────────────────────────────── */
body {
  font-family: "Source Sans Pro", sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Shake animation */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

header {
  color: var(--paper);
  padding: 1rem 3rem 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  background-color: color-mix(in srgb, var(--lightblue-bg) 50%, transparent);
}

.header-logo-img {
  height: 84px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.header-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

header::before {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Fraunces", serif;
  font-size: var(--fs-xxl);
  font-weight: 600;
  color: rgba(133, 191, 207, 0.1);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-warm);
  opacity: 0.1;
}
header h1 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: var(--fs-xl);
  letter-spacing: var(--ls-tighter);
  margin-bottom: 0.5rem;
  position: relative;
}
header h1 span {
  color: var(--accent-warm);
}
header p {
  color: var(--text-primary);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  position: relative;
  padding-left: 1.5rem;
}
header p::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-light);
}

.hero-tagline {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: var(--primary-light);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  border-top: 1px solid rgba(232, 200, 154, 0.2);
  padding-top: 1rem;
  flex-wrap: wrap;
}
.hero-tagline span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-tagline span::before {
  content: "▶";
  font-size: var(--fs-xs);
  opacity: 0.6;
}

/* ─────────────────────────────────────────
   CONTAINER
───────────────────────────────────────── */
.container {
  max-width: 900px;
  width: 95%;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
  flex: 1;
}

/* ─────────────────────────────────────────
       CENTREPIECE — FINAL TEACHING LINE
    ───────────────────────────────────────── */
.centrepiece {
  background: var(--lightblue-bg);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--bs-heavy);
}
.centrepiece::before {
  content: "←";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Fraunces", serif;
  font-size: var(--fs-huge);
  font-weight: 600;
  color: rgba(232, 200, 154, 0.03);
  pointer-events: none;
  line-height: 1;
}
.centrepiece .cp-label {
  font-size: var(--fs-base);
  letter-spacing: var(--ls-huge);
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1.2rem;
}
.centrepiece blockquote {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-xl);
  line-height: 1.55;
  color: var(--paper);
  max-width: 640px;
  margin: 0 auto 1rem;
}
.centrepiece blockquote em {
  color: var(--primary-light);
}
.centrepiece p {
  font-size: var(--fs-sm);
  color: var(--text-primary);
  line-height: 1.7;
}
/* ─────────────────────────────────────────
   REMINDER BOX
───────────────────────────────────────── */
.reminder-box {
  background: color-mix(in srgb, var(--lightblue-bg) 90%, transparent);
  color: var(--paper);
  border-radius: 16px;
  padding: 2.5rem 2.5rem 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--bs-heavy);
}
.reminder-box::before {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  font-family: "Fraunces", serif;
  font-size: var(--fs-10xl); /* The shadow text at the bottom */
  font-weight: 600;
  color: #94b3f12a;
  pointer-events: none;
  line-height: 1;
}
.reminder-label {
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: var(--ls-huge);
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}
.reminder-box h2 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: var(--fs-xl);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.reminder-box h2 em {
  font-style: italic;
  color: var(--primary-light);
}
.reminder-pills {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.reminder-pill {
  background: var(--card-bg-light);
  box-shadow: var(--bs-heavy);
  border-radius: 12px;
  padding: 1rem 1.4rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
  flex: 1;
  min-width: 180px;
}
.reminder-pill strong {
  display: block;
  color: var(--primary-light);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

/* ─────────────────────────────────────────
   SECTION HEADINGS
───────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top: 3rem;
}
.section-label .num {
  background: var(--primary);
  color: var(--background);
  font-size: var(--fs-xs);
  padding: 0.3rem 0.7rem;
  border-radius: 10px;
  letter-spacing: var(--ls-widest);
}
.section-label h3 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: var(--fs-xl);
  letter-spacing: var(--ls-tight);
}
.section-label h3 em {
  font-style: italic;
  color: var(--muted);
  font-size: var(--fs-md);
}

/* ─────────────────────────────────────────
   ACCORDION
───────────────────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.acc-item {
  box-shadow: var(--bs-medium);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.acc-item:hover {
  box-shadow: var(--bs-heavy);
}
.acc-item.open {
  box-shadow: var(--bs-heavy);
}

.acc-trigger {
  width: 100%;
  background: var(--cream-bg);
  border: none;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: "Source Sans Pro", sans-serif;
  font-size: var(--fs-sm);
  text-align: left;
  transition: background 0.2s;
}
.acc-trigger:hover {
  background: #e5dfc9;
}
.acc-item.open .acc-trigger {
  background: var(--ink);
  color: var(--paper);
}

.acc-badge {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
  flex-shrink: 0;
}
.badge-raw {
  background: var(--yellow-bg);
  color: var(--primary-dark);
  border: 1px solid #e6c96e;
}
.badge-factory {
  background: var(--error-bg);
  color: var(--accent);
  border: 1px solid #e8bbb8;
}
.badge-loss {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid #a8d8b8;
}

.acc-item.open .badge-raw {
  background: rgba(254, 249, 231, 0.15);
  color: var(--primary-light);
  border-color: rgba(232, 200, 154, 0.3);
}
.acc-item.open .badge-factory {
  background: rgba(192, 57, 43, 0.2);
  color: var(--primary-dark);
  border-color: rgba(192, 57, 43, 0.3);
}
.acc-item.open .badge-loss {
  background: rgba(44, 122, 75, 0.2);
  color: var(--success);
  border-color: rgba(44, 122, 75, 0.3);
}

.acc-title {
  flex: 1;
  font-weight: 500;
}
.acc-arrow {
  font-size: var(--fs-sm);
  transition: transform 0.3s;
  opacity: 0.5;
  margin-left: auto;
}
.acc-item.open .acc-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.acc-body {
  display: none;
  padding: 1.4rem;
  background: #fff;

  animation: slideDown 0.25s ease;
}
.acc-item.open .acc-body {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────
   CONDITION LIST (inside accordion body)
───────────────────────────────────────── */
.condition-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.condition-item {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: var(--fs-sm);
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0ebe0;
}
.condition-item:last-child {
  border-bottom: none;
}

.condition-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.dot-raw {
  background: #c9a227;
}
.dot-factory {
  background: var(--accent);
}
.dot-loss {
  background: var(--green);
}

/* ─────────────────────────────────────────
   CLUE BOX  (grey aside inside accordion)
───────────────────────────────────────── */
.clue-box {
  background: var(--cream-bg);
  border-left: 3px solid var(--border);
  border-radius: 0 6px 6px 0;
  padding: 0.7rem 1rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 0.8rem;
  line-height: 1.6;
}
.clue-box strong {
  color: var(--ink);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.3rem;
}

/* ============================================
   COMPARISON TABLE - UNIFIED STYLES
   ============================================ */

.compare-table-block {
  box-shadow: var(--bs-medium);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.ctb-head {
  background: var(--cream-bg);
  padding: 1.2rem 1.8rem;
}

.ctb-head .ch-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.ctb-head h3 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: var(--fs-lg);
  margin: 0;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table thead tr {
  background: var(--ink);
}

.compare-table thead th {
  font-family: "Source Sans Pro", sans-serif;
  padding: 0.8rem 1.2rem;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  font-weight: 800;
  text-align: center;
  color: var(--primary-dark);
}

.compare-table tbody tr:hover {
  background: var(--cream-bg);
}

.compare-table td {
  padding: 0.9rem 1.2rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  vertical-align: top;
}

.compare-table td:first-child {
  font-weight: 400;
  color: var(--blue);
  white-space: nowrap;
}

.compare-table td:nth-child(2) {
  color: var(--muted);
  font-style: italic;
}

.compare-table td:nth-child(3) {
  color: var(--ink);
  font-weight: 500;
}

.compare-table td:nth-child(4) {
  color: var(--muted);
}

.compare-table-note {
  background: var(--cream-bg);
  padding: 0.85rem 1.4rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
}

.compare-table-note strong {
  color: var(--ink);
}

/* ─────────────────────────────────────────
   REMINDER CALLOUT  (dark inline banner)
───────────────────────────────────────── */
.reminder-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--warning-bg);
  color: var(--paper);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-top: 0.8rem;
}

/* ─────────────────────────────────────────
   SUMMARY SECTION  
───────────────────────────────────────── */
.summary-section {
  margin-top: 3rem;
  background: var(--primary-light);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.summary-section::before {
  content: "∑";
  position: absolute;
  right: 2rem;
  bottom: -1rem;
  font-family: "Fraunces", serif;
  font-size: var(--fs-huge);
  font-weight: 600;
  color: rgba(232, 200, 154, 0.05);
  pointer-events: none;
  line-height: 1;
}
.summary-section h3 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: var(--fs-xl);
  margin-bottom: 0.4rem;
  color: var(--primary-light);
}
.summary-section > p {
  color: var(--text-primary);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.summary-col {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 200, 154, 0.12);
  border-radius: 10px;
  padding: 1.2rem;
}
.summary-col h4 {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.summary-col h4.raw {
  color: var(--primary-light);
}
.summary-col h4.factory {
  color: salmon;
}
.summary-col h4.loss {
  color: var(--success);
}
.summary-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.summary-col li {
  font-size: var(--fs-xs);
  color: var(--text-primary);
  line-height: 1.5;
  padding-left: 0.8rem;
  position: relative;
}
.summary-col li::before {
  content: "—";
  position: absolute;
  left: 0;
  opacity: 0.4;
}

.summary-question {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(232, 200, 154, 0.15);
  padding-top: 1.2rem;
  font-size: var(--fs-sm);
  color: var(--text-primary);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.summary-question strong {
  color: var(--primary-light);
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* ─────────────────────────────────────────
       ERRORS BLOCK
    ───────────────────────────────────────── */
.errors-block {
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-top: 3rem;
  box-shadow: var(--bs-heavy);
}
.errors-block .eb-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-huge);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-weight: 800;
}
.errors-block h3 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: var(--fs-xl);
  margin-bottom: 1.2rem;
  color: var(--ink);
}
.errors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.error-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  padding: 0.7rem 0.9rem;
  background: var(--cream-bg);
  border-radius: 6px;
  box-shadow: var(--bs-medium);
}
.error-item::before {
  content: "✘";
  color: var(--accent);
  font-size: var(--fs-xs);
  flex-shrink: 0;
  margin-top: 1px;
}
.error-item .ei-note {
  font-size: var(--fs-xs);
  color: var(--accent);
  display: block;
  margin-top: 0.2rem;
  opacity: 0.8;
}

/* ─────────────────────────────────────────
         CROSS-REFERENCE CALLOUT
───────────────────────────────────────── */
.xref-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 3rem;
}
.xref-item {
  box-shadow: var(--bs-medium);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.xref-item:hover {
  border-color: var(--ink);
  box-shadow: var(--bs-veryheavy);
}
.xref-item .xi-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.xref-item h4 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: var(--fs-base);
  color: var(--ink);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.xref-item p {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}

/* ─────────────────────────────────────────
         TAKE-HOME MESSAGE
───────────────────────────────────────── */
.final-message {
  margin-top: 3rem;
  text-align: center;
  padding: 2.5rem;
  background: var(--lightblue-bg);
  border-radius: 16px;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  box-shadow: var(--bs-heavy);
}
.final-message::before {
  content: "≠";
  position: absolute;
  left: 50%;
  bottom: -3rem;
  transform: translateX(-50%);
  font-family: "Fraunces", serif;
  font-size: var(--fs-huge);
  font-weight: 600;
  color: rgba(232, 200, 154, 0.04);
  pointer-events: none;
  line-height: 1;
}
.final-message .fm-label {
  font-size: var(--fs-md);
  letter-spacing: var(--ls-huge);
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1rem;
}
.final-message blockquote {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--primary-light);
  max-width: 580px;
  margin: 0 auto 1.5rem;
}
.final-message p {
  color: var(--text-primary);
  font-size: var(--fs-sm);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.fm-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.fm-pill {
  background: var(--primary);
  border: 1px solid rgba(232, 200, 154, 0.2);
  border-radius: 12px;
  padding: 0.5rem 1.1rem;
  font-size: var(--fs-xs);
  color: var(--background);
  letter-spacing: var(--ls-wider);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--card-bg);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--paper);
  padding: 1.5rem 3rem 1rem;
  width: 100%;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(232, 200, 154, 0.2);
}
footer p {
  color: var(--text-primary);
  font-size: var(--fs-xxs);
  text-align: center;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────
   FLOATING HOME BUTTON
───────────────────────────────────────── */
.home-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: var(--card-bg);
  color: var(--paper);
  text-decoration: none;
  font-family: "Source Sans Pro", sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  padding: 0.75rem 1.2rem;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--bs-veryheavy);
}
.home-btn::before {
  content: "←";
  color: var(--primary-light);
  font-size: var(--fs-sm);
}
.home-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--bs-veryheavy);
  background: var(--card-bg);
  color: var(--primary-light);
}
.home-btn:active {
  transform: translateY(0);
}

@media (max-width: 700px) {
  .home-btn {
    bottom: 1.2rem;
    right: 1.2rem;
    padding: 0.65rem 1rem;
  }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 700px) {
  header {
    padding: 1rem 1.5rem;
  }
  header h1 {
    font-size: var(--fs-3xl);
  }
  .hero-tagline {
    gap: 1rem;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .reminder-pills {
    flex-direction: column;
  }
}
