/* MSQTO System Stylesheet — Warm Light Rebrand
 * Soft, trustworthy, non-offensive aesthetic with generous whitespace and rounded corners.
 * System font stack, zero CDNs, fully accessible AA contrast.
 */
:root {
  /* Warm Light Trustworthy Palette */
  --bg-color: #FBF7F1;
  --surface-1: #FFFDF9;
  --surface-2: #F5EFEB;
  --surface-3: #ECE4DA;
  --surface-card: #FFFFFF;

  --border-subtle: #E7DFD3;
  --border-medium: #D9CEBF;
  --border-strong: #BDB09E;

  --text-primary: #2E2A26;
  --text-secondary: #6B6259;
  --text-muted: #8A8177;

  /* Primary Accent: Sage */
  --accent-sage: #5E8B6A;
  --accent-sage-hover: #4E7658;
  --accent-sage-active: #3F6147;
  --accent-sage-subtle: rgba(94, 139, 106, 0.12);
  --accent-sage-border: rgba(94, 139, 106, 0.32);

  /* Primary accent alias */
  --accent-primary: #5E8B6A;
  --accent-orange: #5E8B6A; /* Maps legacy class references cleanly to sage */
  --accent-orange-hover: #4E7658;
  --accent-orange-active: #3F6147;
  --accent-orange-subtle: rgba(94, 139, 106, 0.12);
  --accent-orange-border: rgba(94, 139, 106, 0.32);

  /* Secondary Accent: Soft Amber (use sparingly) */
  --accent-amber: #D98E32;
  --accent-amber-hover: #C57D25;
  --accent-amber-subtle: rgba(217, 142, 50, 0.12);
  --accent-amber-border: rgba(217, 142, 50, 0.32);

  /* Muted Alert: Terracotta / Rust */
  --alert-muted: #B4633A;
  --alert-muted-subtle: rgba(180, 99, 58, 0.12);
  --alert-muted-border: rgba(180, 99, 58, 0.32);

  /* Success & Verified */
  --success-teal: #457B5A;
  --success-bg: rgba(69, 123, 90, 0.12);
  --success-border: rgba(69, 123, 90, 0.32);

  /* Typography */
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;

  /* Rounded Corners: 12-16px */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Soft Shadows */
  --shadow-sm: 0 2px 8px rgba(46, 42, 38, 0.04);
  --shadow-md: 0 6px 20px rgba(46, 42, 38, 0.06), 0 2px 6px rgba(46, 42, 38, 0.03);
  --shadow-lg: 0 12px 36px rgba(46, 42, 38, 0.08), 0 4px 12px rgba(46, 42, 38, 0.04);

  --container-max: 1160px;
  --container-prose: min(740px, 72ch);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px; /* Senior-usable base font: 18px */
  background-color: var(--bg-color);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-system);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-color);
  color: var(--text-primary);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-sage);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: 1rem;
}

/* Containers & Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-prose {
  width: 100%;
  max-width: var(--container-prose);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

p strong {
  color: var(--text-primary);
}

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

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(251, 247, 241, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-wordmark {
  font-family: var(--font-system);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.brand-wordmark-svg {
  height: 26px;
  width: auto;
  display: block;
}

.brand-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.brand-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: var(--accent-sage);
  border-radius: 50%;
  margin-left: 1px;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 0.25rem;
  padding: 0.2rem 0.45rem;
  background-color: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  position: relative;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-desktop .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-sage);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-desktop .nav-link:hover::after,
.nav-desktop .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-cta {
  background-color: var(--accent-sage);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background-color: var(--accent-sage-hover);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.nav-toggle-btn {
  display: none;
  background: var(--surface-1);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

.nav-toggle-btn svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--surface-1);
  border-bottom: 1px solid var(--border-medium);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 1.1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* Section Common Styling */
.section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-hero {
  padding: 5.5rem 0 4.75rem 0;
}

.section-darker {
  background-color: var(--surface-2);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-sage);
  background-color: var(--accent-sage-subtle);
  border: 1px solid var(--accent-sage-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.section-header {
  margin-bottom: 3.25rem;
}

.section-header.text-center {
  text-align: center;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.65;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  min-height: 52px; /* Senior-usable standard: buttons >= 52px tall */
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  line-height: 1;
  font-family: var(--font-system);
}

.btn:active,
.nav-cta:active {
  transform: scale(0.97) translateY(1px);
  transition: transform 0.08s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background-color: var(--accent-sage);
  color: #FFFFFF;
  border-color: var(--accent-sage);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-sage-hover);
  border-color: var(--accent-sage-hover);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--surface-1);
  color: var(--text-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn:disabled,
.btn.is-submitted {
  background-color: var(--surface-3) !important;
  color: var(--text-muted) !important;
  border-color: var(--border-subtle) !important;
  cursor: not-allowed;
  box-shadow: none !important;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero Section */
.hero-content {
  max-width: 880px;
}

.hero-wordmark-lead {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent-sage);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-subhead {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 780px;
}

.hero-banner-ticker {
  margin-top: 3.5rem;
  background-color: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-sage);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.ticker-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ticker-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ticker-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ticker-value.highlight {
  color: var(--accent-sage);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

/* Card Styles */
.card {
  background-color: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-top {
  margin-bottom: 1.5rem;
}

.card-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card:hover .card-link-text {
  color: var(--accent-sage);
}

/* Radar Teaser & App Preview Mock */
.radar-preview-box {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.radar-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.radar-signal-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-sage);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.radar-blip {
  width: 8px;
  height: 8px;
  background-color: var(--accent-sage);
  border-radius: 50%;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.radar-grid-mock {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.radar-zone-item {
  background-color: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.radar-zone-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.radar-zone-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.risk-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.risk-high {
  background-color: var(--alert-muted-subtle);
  color: var(--alert-muted);
  border: 1px solid var(--alert-muted-border);
}

.risk-moderate {
  background-color: var(--accent-amber-subtle);
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber-border);
}

/* Service Comparison Table */
.comparison-box {
  background-color: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.comparison-table th {
  background-color: var(--surface-2);
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 25%;
}

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

/* Forms & Inputs */
.form-card {
  background-color: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background-color: var(--surface-1);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: var(--font-system);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-sage);
  outline: none;
  box-shadow: 0 0 0 3px rgba(94, 139, 106, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.inline-form .form-input {
  flex: 1;
  min-width: 240px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-family: var(--font-mono);
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-teal);
}

/* Article / Editorial Layout */
.article-header {
  padding: 4rem 0 2.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-sage);
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.article-back-link:hover {
  text-decoration: underline;
}

.article-meta-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.article-headline {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  color: var(--text-primary);
}

.article-deck {
  font-size: clamp(1.2rem, 1.15rem + 0.3vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 72ch;
}

.article-content {
  font-size: clamp(1.125rem, 1.08rem + 0.25vw, 1.25rem);
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

.article-content h2 {
  font-size: 1.85rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  max-width: 72ch;
}

.article-content h3 {
  font-size: 1.4rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  max-width: 72ch;
}

.article-content p {
  margin-bottom: 1.75rem;
  font-size: clamp(1.125rem, 1.08rem + 0.25vw, 1.25rem);
  line-height: 1.8;
  max-width: 72ch;
}

.article-content ul,
.article-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.article-content li strong {
  color: var(--text-primary);
}

.article-content blockquote {
  border-left: 3px solid var(--accent-sage);
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0;
  background-color: var(--surface-1);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.article-content blockquote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.callout-box {
  background-color: var(--surface-1);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--accent-sage);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-sm);
  margin: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.callout-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.sources-box {
  background-color: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.sources-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sage);
  margin-bottom: 1rem;
}

.sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sources-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sources-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sources-list a {
  color: var(--accent-sage);
  text-decoration: underline;
  word-break: break-all;
}

.sources-list a:hover {
  color: var(--accent-sage-hover);
}

/* Article Hero Image Wrap */
.article-hero-wrap {
  margin: 2rem 0 2.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  background-color: var(--surface-1);
}

.article-hero-wrap img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

/* Article Prev/Next Navigation */
.article-pagination {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.article-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.35rem;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  flex: 1 1 240px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.article-nav-btn:hover {
  border-color: var(--accent-sage);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.article-nav-btn.next {
  text-align: right;
  align-items: flex-end;
}

.article-nav-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sage);
  font-weight: 700;
}

.article-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.comparison-table.two-col th,
.comparison-table.two-col td {
  width: 50%;
}

/* Copy Swap Notice Bar */
.copy-swap-notice {
  background-color: var(--accent-sage-subtle);
  border: 1px dashed var(--accent-sage);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-sage);
}

/* Footer */
.site-footer {
  background-color: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem 0;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1fr 1.1fr;
  gap: 2.25rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-nav-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

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

.footer-nav-list a {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

.footer-nav-list a:hover {
  color: var(--accent-sage);
}

.footer-sources {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0.85rem 1.15rem;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-contact {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
}

.footer-contact a {
  color: var(--text-secondary);
}

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

.footer-disclaimer {
  line-height: 1.6;
  font-size: 0.775rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

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

@media (max-width: 768px) {
  .section {
    padding: 3.75rem 0;
  }
  .nav-desktop {
    display: none;
  }
  .nav-toggle-btn {
    display: block;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .radar-grid-mock {
    grid-template-columns: 1fr;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }
  .comparison-table td:first-child {
    width: 35%;
  }
  .inline-form {
    flex-direction: column;
  }
  .inline-form .form-input {
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
}

/* Form Honeypot Protection */
.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Legal Draft Badge */
.draft-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--accent-sage-subtle);
  color: var(--accent-sage);
  border: 1px solid var(--accent-sage-border);
  margin-bottom: 1.75rem;
}

/* Finder Embed Wrapper */
.finder-embed-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: var(--surface-1);
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.finder-embed-iframe {
  width: 100%;
  height: 112px;
  min-height: 0;
  border: 0;
  display: block;
  background: var(--surface-1);
}

/* Free vs Comfort Badges */
.badge-free {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--success-bg);
  color: var(--success-teal);
  border: 1px solid var(--success-border);
  font-weight: 600;
  text-transform: uppercase;
}

.badge-comfort {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--accent-amber-subtle);
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber-border);
  font-weight: 600;
  text-transform: uppercase;
}

/* Hotline & Phone Pills */
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-sage);
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  background: var(--surface-1);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.phone-pill:hover {
  border-color: var(--accent-sage);
  color: var(--accent-sage-hover);
  background: var(--surface-2);
}

/* Legal Documents Layout */
.legal-prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-section {
  margin-bottom: 2.75rem;
}

.legal-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.legal-section h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-section p,
.legal-section li {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Trust, Standards & Press Components */
.stat-grid-press {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
}

.stat-box {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.stat-box-num {
  font-family: var(--font-mono);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--accent-sage);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-box-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.stat-box-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.brand-asset-box {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.brand-preview-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3rem 1.5rem;
  margin-bottom: 1.5rem;
}

.color-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.color-swatch {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.color-swatch-chip {
  height: 48px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-subtle);
}

.color-swatch-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.color-swatch-hex {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--text-muted);
}

.trust-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  background: var(--surface-1);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.trust-pill.highlight {
  border-color: var(--accent-sage-border);
  color: var(--accent-sage);
  background: var(--accent-sage-subtle);
}

/* Progressive Disclosure Accordions */
details.accordion-item,
details.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details.accordion-item[open],
details.faq-item[open] {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

summary.accordion-summary,
summary.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease;
}

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

summary.accordion-summary::after,
summary.faq-question::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-sage);
  line-height: 1;
  margin-left: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

details[open] > summary.accordion-summary::after,
details[open] > summary.faq-question::after {
  content: "-";
}

summary.accordion-summary:hover,
summary.faq-question:hover {
  background: var(--surface-2);
}

summary.accordion-summary:focus-visible,
summary.faq-question:focus-visible {
  outline: 2px solid var(--accent-sage);
  outline-offset: -2px;
}

.accordion-body,
.faq-answer {
  padding: 0 1.35rem 1.25rem 1.35rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-body p:last-child,
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Hero Microcopy */
.hero-microcopy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: var(--accent-sage);
  background: var(--accent-sage-subtle);
  border: 1px solid var(--accent-sage-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* Hero Embedded Finder Wrapper */
.hero-finder-wrapper {
  max-width: 720px;
  margin: 1.5rem auto 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  background: var(--surface-1);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-finder-wrapper iframe {
  width: 100%;
  height: 112px;
  min-height: 0;
  border: 0;
  display: block;
  background: transparent;
}

@media (max-width: 600px) {
  .hero-finder-wrapper iframe {
    min-height: 0;
  }
}

/* 3 Benefit Cards */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0 3rem 0;
}

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

.benefit-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.benefit-card:hover {
  border-color: var(--border-medium);
}

.benefit-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.benefit-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   EDITIONS HOMEPAGE SYSTEM (v7.2)
   Shopify Editions-inspired layout language, senior-safe, AA+ contrast.
   ========================================================================== */

/* 1. Sticky Anchor Subnav Bar */
.sticky-anchor-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 85;
  background-color: rgba(251, 247, 241, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 0;
  transition: all 0.25s ease;
}

.sticky-anchor-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0.5rem;
  scrollbar-width: none;
}

.sticky-anchor-nav::-webkit-scrollbar {
  display: none;
}

.anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.15rem;
  min-height: 44px; /* Senior tap target >= 44px */
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all 0.18s ease;
  text-decoration: none;
}

.anchor-link:hover {
  color: var(--text-primary);
  background-color: var(--surface-2);
}

.anchor-link.active {
  color: var(--accent-sage);
  background-color: var(--accent-sage-subtle);
  border-color: var(--accent-sage-border);
  box-shadow: var(--shadow-sm);
}

/* 2. Editions Hero Section */
.hero-editions {
  position: relative;
  padding: 4.5rem 0 2rem 0;
  overflow: hidden;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: var(--surface-1);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-sage);
}

.hero-headline-editions {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  max-width: 920px;
  margin: 0 auto 1.25rem auto;
}

.hero-subhead-editions {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 700px;
  margin: 0 auto 2.25rem auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.hero-media-frame {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-medium);
  background-color: var(--surface-2);
}

.hero-media-inner {
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.01);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-media-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(46, 42, 38, 0) 55%, rgba(46, 42, 38, 0.55) 100%);
}

.hero-media-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.finder-section-anchor {
  padding-top: 2rem;
  margin-top: 1rem;
  scroll-margin-top: 130px;
}

/* 3. Three Alternating Feature Rows */
.feature-rows-section {
  padding: 4.5rem 0 3rem 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 120px;
}

.feature-row:last-child {
  border-bottom: none;
  padding-bottom: 2rem;
}

.feature-row.reverse .feature-media-col {
  order: -1;
}

.feature-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.feature-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 500px;
}

.feature-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-media-frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-media-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }
  .feature-row.reverse .feature-media-col {
    order: 0;
  }
  .feature-media-frame img {
    height: 250px;
  }
}

/* 4. Animated Stats Band */
.stats-band {
  background-color: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 4.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
}

.stat-number {
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--accent-sage);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-caption {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 280px;
}

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

/* 5. Latest Guides Rail */
.guides-section {
  padding: 4.5rem 0;
  scroll-margin-top: 120px;
}

.guides-rail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .guides-rail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.guide-rail-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.guide-rail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.guide-card-media {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--surface-2);
}

.guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.guide-rail-card:hover .guide-card-media img {
  transform: scale(1.03);
}

.guide-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 1rem;
}

.guide-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.guide-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.35rem;
}

.guide-card-action {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-sage);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* 6. Video Section (Explainer + Social Cutdowns Rail) */
.video-section {
  padding: 5rem 0;
  background-color: var(--surface-2);
  scroll-margin-top: 120px;
}

.main-video-wrapper {
  max-width: 860px;
  margin: 0 auto 3.5rem auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-medium);
  background: #000000;
}

.main-video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.social-rail-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.social-video-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .social-video-rail {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
}

.social-video-card {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.social-video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-video-card video {
  width: 100%;
  aspect-ratio: 9/16;
  display: block;
  background: #000000;
}

.social-video-card-desc {
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* 7. Full-Width CTA Band */
.cta-band-section {
  padding: 5rem 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 120px;
}

.cta-band-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* 8. Accessible Video Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(46, 42, 38, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 880px;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-backdrop.is-open .video-modal-dialog {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px; /* Senior tap target >= 44px */
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s ease;
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* 9. Motion System (Senior-Safe & Pretty) */
.reveal {
  opacity: 1; /* Rock-solid CSS fallback: elements are visible by default */
  transform: none;
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-motion .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.js-motion .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js-motion .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js-motion .reveal[data-delay="3"] { transition-delay: 0.24s; }

/* 10. Hero Ambience */
.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.95;
}

/* 11. "How it Works" Self-Playing Demo */
.demo-card-frame {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(46, 42, 38, 0.08);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-card-frame:focus-visible {
  outline: 2px solid var(--accent-sage);
  outline-offset: 2px;
}

.demo-topbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-medium);
}

.demo-topbar-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 0.4rem;
}

.demo-search-row {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-primary);
  min-height: 48px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.demo-input-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.demo-typed-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.demo-blinking-cursor {
  color: var(--accent-sage);
  font-weight: 700;
  animation: demoBlink 1s infinite;
}

@keyframes demoBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.demo-input-placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.demo-check-btn {
  background-color: var(--accent-sage);
  color: #FFFFFF;
  border: 1px solid var(--accent-sage);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 1.25rem;
  min-height: 48px;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.demo-check-btn.is-active,
.demo-check-btn:active {
  background-color: var(--accent-sage-hover);
  transform: scale(0.95);
}

.demo-card-stage {
  padding: 1.25rem;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-result-card {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--accent-sage-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.demo-result-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.demo-result-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-sage);
  background: var(--accent-sage-subtle);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.demo-result-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.demo-result-phone {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.demo-result-phone a {
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: none;
}

.demo-cta-pulse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  min-height: 48px;
  background: var(--accent-sage);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--accent-sage);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.demo-cta-pulse-btn:hover {
  background-color: var(--accent-sage-hover);
}

.demo-cta-pulse-btn.pulse-once {
  animation: demoPulseOnce 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes demoPulseOnce {
  0% { transform: scale(1); box-shadow: var(--shadow-sm); }
  50% { transform: translateY(-1px); box-shadow: var(--shadow-md); }
  100% { transform: scale(1); box-shadow: var(--shadow-sm); }
}

@media (max-width: 440px) {
  .demo-search-row {
    flex-direction: column;
  }
  .demo-check-btn {
    width: 100%;
  }
}

/* 12. Animated Map Block */
.animated-map-block {
  margin: 1.5rem auto 2.5rem;
  text-align: center;
  width: 100%;
  max-width: 860px;
}

.map-svg-container {
  position: relative;
  width: 100%;
  background: var(--surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(46, 42, 38, 0.05);
}

.us-vector-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-pin-pulse {
  animation: mapPinRipple 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  transform-origin: center;
  pointer-events: none;
}

.map-pin:nth-child(4n+1) .map-pin-pulse { animation-delay: 0.1s; }
.map-pin:nth-child(4n+2) .map-pin-pulse { animation-delay: 0.85s; }
.map-pin:nth-child(4n+3) .map-pin-pulse { animation-delay: 1.6s; }
.map-pin:nth-child(4n+4) .map-pin-pulse { animation-delay: 2.35s; }

@keyframes mapPinRipple {
  0% {
    r: 3px;
    opacity: 0.85;
    stroke-width: 2px;
  }
  65% {
    r: 14px;
    opacity: 0;
    stroke-width: 0.5px;
  }
  100% {
    r: 14px;
    opacity: 0;
    stroke-width: 0px;
  }
}

.map-caption {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.map-caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-sage);
}

/* 13. Lifecycle Mini-Animation */
.lifecycle-accordion {
  margin: 2rem 0;
}

.lifecycle-container {
  padding: 0.5rem 0 1rem;
}

.lifecycle-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.lifecycle-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  min-height: 48px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-system);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lifecycle-tab:hover {
  color: var(--text-primary);
  border-color: var(--color-border);
}

.lifecycle-tab.active {
  background: var(--accent-sage-subtle);
  border-color: var(--accent-sage-border);
  color: var(--accent-sage);
  font-weight: 700;
}

.lifecycle-tab .tab-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 0.8rem;
  font-weight: 700;
}

.lifecycle-tab.active .tab-index {
  background: var(--accent-sage);
  color: #FFFFFF;
}

.lifecycle-stage-viewport {
  position: relative;
  min-height: 240px;
}

.lifecycle-stage-card {
  display: none;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lifecycle-stage-card.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

.lifecycle-art-wrap {
  width: 100%;
  max-width: 200px;
}

.lifecycle-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.lifecycle-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-sage);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.lifecycle-stage-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.lifecycle-stage-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.lifecycle-target-note {
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--surface-2);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-sage);
}

.lifecycle-stepper-footer {
  margin-top: 1.25rem;
}

.lifecycle-meter-bar {
  width: 100%;
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.lifecycle-meter-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-sage);
  border-radius: 2px;
  transition: width 0.05s linear;
}

.lifecycle-hint {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 640px) {
  .lifecycle-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .lifecycle-stage-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .lifecycle-art-wrap {
    max-width: 100%;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js-motion .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-media-inner {
    transform: none !important;
  }
  .hero-video-bg {
    display: none !important;
  }
  .hero-media-frame {
    background: var(--surface-2) !important;
  }
  .demo-result-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .demo-blinking-cursor {
    display: none !important;
    animation: none !important;
  }
  .demo-cta-pulse-btn.pulse-once {
    animation: none !important;
    transform: none !important;
  }
  .map-pin-pulse {
    display: none !important;
    animation: none !important;
  }
  .lifecycle-stage-card {
    transition: none !important;
    transform: none !important;
  }
  .lifecycle-meter-fill {
    display: none !important;
  }
  .nav-desktop .nav-link::after {
    transition: none !important;
  }
  .btn:active,
  .nav-cta:active,
  button:active {
    transform: none !important;
  }
}

/* Quiet stock footage, with a still fallback and a keyboard-accessible pause control. */
.hero-media-inner { aspect-ratio: 16 / 8; position: relative; }
.hero-video-poster, .hero-media-inner .hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-video-bg { opacity: 1; }
.hero-video-toggle {
  position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px;
  display: grid; place-items: center; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); background: rgba(28,34,25,.55);
  color: white; cursor: pointer; backdrop-filter: blur(6px);
}
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle:focus-visible { outline: 3px solid white; outline-offset: 3px; }
@media (max-width: 600px) { .hero-media-inner { aspect-ratio: 4 / 3; } }

/* Free lookup is the first action; footage supports the page below it. */
.hero-editions .finder-section-anchor { padding-top: 0; margin: 1.6rem auto 2.6rem; }
.hero-editions .hero-finder-wrapper { margin-top: .75rem; }

/* Homepage: transparent navigation over the stock-video hero. */
.home-page .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  transition: background-color .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.home-page:not(.header-scrolled) .site-header {
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none; border-color: transparent;
}
.home-page:not(.header-scrolled) .brand-logo-img { filter: brightness(0) invert(1); }
.home-page:not(.header-scrolled) .nav-desktop .nav-link { color: white; }
.home-page:not(.header-scrolled) .nav-toggle-btn { color: white; background: rgba(0,0,0,.12); border-color: rgba(255,255,255,.45); }
.home-page:not(.header-scrolled) .nav-toggle-btn svg { stroke: currentColor; }
.video-hero {
  min-height: min(860px, 100svh); padding: calc(var(--header-height) + 100px) 0 100px;
  display: flex; align-items: center; text-align: left; isolation: isolate; background: #283a2e;
}
.hero-background, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-background .hero-video-poster, .hero-background .hero-video-bg {
  position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; opacity: 1;
}
.hero-background .hero-video-bg[hidden] { display: none; }
.hero-shade { background: linear-gradient(90deg, rgba(12,26,18,.76), rgba(12,26,18,.50) 52%, rgba(12,26,18,.12)), linear-gradient(180deg,rgba(12,26,18,.24),transparent 45%); }
.hero-content { width: 100%; }
.hero-eyebrow { color: #f2f2e9; margin: 0 0 22px; font-size: .85rem; font-weight: 500; letter-spacing: .04em; }
.video-hero .hero-headline-editions { color: white; max-width: 760px; margin: 0 0 22px; font-weight: 700; font-size: clamp(2.7rem, 5.7vw, 4.9rem); line-height: 1.05; letter-spacing: -.055em; }
.video-hero .hero-subhead-editions { color: #f2f2e9; font-size: 1.1rem; margin: 0; max-width: 570px; }
.video-hero .finder-section-anchor { max-width: 640px; margin: 30px 0 0; }
.video-hero .hero-finder-wrapper { margin: 0; max-width: 100%; background: #FFFDF9; border-radius: 18px; box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.video-hero .hero-search-note { color: #f3f4ec; font-size: .78rem; margin: 14px 0 0 4px; }
.video-hero .hero-video-toggle { right: 28px; bottom: 28px; }
@media (max-width: 700px) {
  .video-hero { min-height: 740px; min-height: 100svh; padding: calc(var(--header-height) + 64px) 0 88px; }
  .hero-shade { background: linear-gradient(90deg,rgba(12,26,18,.72),rgba(12,26,18,.40)); }
  .video-hero .hero-headline-editions { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .video-hero .hero-subhead-editions { max-width: 330px; font-size: 1rem; }
  .hero-eyebrow { font-size: .76rem; margin-bottom: 18px; }
  .video-hero .hero-video-toggle { right: 20px; bottom: 20px; }
}

.home-shop-section { padding: 70px 0; background: #f4f0e9; }
.home-shop-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 30px; }
.home-shop-heading h2 { font-size: clamp(1.9rem,3.5vw,2.8rem); letter-spacing: -.04em; margin: 8px 0; }
.home-shop-heading p { margin: 0; }
.home-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-product { display: block; color: var(--text-primary); }
.home-product-image { background: white; border: 1px solid var(--border-subtle); border-radius: 18px; aspect-ratio: 1.2; padding: 28px; overflow: hidden; }
.home-product-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.home-product h3 { margin: 18px 0 6px; font-size: 1.05rem; }
.home-product p { font-size: .85rem; margin: 0 0 10px; }
.home-product > span { color: #4d7457; font-size: .85rem; font-weight: 600; }
.home-shop-note { font-size: .8rem; margin-top: 28px; }
.optional-care-note { border-top: 1px solid var(--border-subtle); margin: 30px 0 0; padding-top: 22px; font-size: .86rem; }
.optional-care-note a { color: #46694f; text-decoration: underline; }
@media(max-width:700px) {
  .home-shop-heading { display: block; }
  .home-shop-heading > a { margin-top: 18px; }
  .home-product-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-product-image { aspect-ratio: 1.4; }
}
