:root {
  --bg: #faf8f4;
  --bg-elevated: #ffffff;
  --bg-subtle: #f3efe7;
  --bg-sage: #edf5f3;
  --bg-amber: #fef8ee;
  --ink: #1a2421;
  --ink-body: #34423e;
  --ink-muted: #5b6b66;
  --border: #e4dfd5;
  --border-strong: #cfc8ba;
  --primary: #0f5c52;
  --primary-hover: #0a453e;
  --primary-soft: #d9ece8;
  --accent: #b45309;
  --accent-hover: #92400e;
  --accent-soft: #fdecd2;
  --shadow-sm: 0 1px 2px rgba(26, 36, 33, 0.05), 0 1px 3px rgba(26, 36, 33, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 36, 33, 0.07), 0 2px 6px rgba(26, 36, 33, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-hover);
}

:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 999;
}

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

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
  padding-block: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: block;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--ink-muted);
  display: block;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-body);
  padding: 0.35rem 0.25rem;
  transition: color 0.16s ease;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary);
  color: #ffffff !important;
  padding: 0.5rem 0.95rem !important;
  border-radius: 999px;
  font-size: 0.88rem !important;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background 0.16s ease, transform 0.16s ease;
}

.nav-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Announcement Strip */
.trial-strip {
  background: var(--bg-sage);
  border-bottom: 1px solid #d2e4df;
  font-size: 0.88rem;
  color: var(--ink);
}

.trial-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding-block: 0.55rem;
  text-align: center;
}

.trial-strip a {
  font-weight: 700;
  color: var(--primary);
}

/* Hero */
.hero {
  padding-block: 3.25rem 2.25rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 85% 15%, #e8f3f0 0%, rgba(250, 248, 244, 0) 55%),
    var(--bg);
}

.hero-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  margin: 0 0 0.7rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 1rem;
  max-width: 19ch;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-body);
  max-width: 64ch;
  margin: 0 0 1.5rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
}

.hero-metrics strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.78rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-amber {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-amber:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  color: var(--ink);
}

/* Vault Controls (Search + Filter Pills) */
.vault-controls {
  padding-block: 1.75rem 1rem;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.search-box {
  position: relative;
  flex: 1 1 320px;
}

.search-box input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem 2.8rem 0.85rem 2.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 92, 82, 0.14);
}

.search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-subtle);
  border: none;
  color: var(--ink-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
}

.search-clear.is-visible {
  display: inline-flex;
}

.result-count {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin: 0 0 0.55rem;
}

.pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.pill {
  appearance: none;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-body);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-sage);
}

.pill.is-active,
.pill[aria-pressed='true'] {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.pill-count {
  opacity: 0.78;
  font-weight: 500;
  margin-left: 0.25rem;
}

.symptom-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.symptom-chip {
  appearance: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.26rem 0.62rem;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.symptom-chip:hover {
  background: var(--primary-soft);
  color: var(--primary-hover);
  border-color: #b7dad3;
}

/* Remedy Cards Grid */
.remedy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
  padding-bottom: 3rem;
}

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

.remedy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #c2d9d4;
}

.remedy-card[hidden] {
  display: none;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  background: #ffffff;
}

.card-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, #edf5f3 0%, #f7f2e7 100%);
  color: var(--primary);
}

.card-media-placeholder .monogram {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.card-media-placeholder .placeholder-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.cat-tag {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-sage);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 0.55rem;
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--primary);
}

.card-summary {
  font-size: 0.92rem;
  color: var(--ink-body);
  margin: 0 0 1rem;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
}

.card-read-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
}

.card-read-link:hover {
  text-decoration: underline;
}

.card-price {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: right;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.empty-state h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  color: var(--ink);
}

/* Detail Page */
.breadcrumbs {
  padding-block: 1.25rem 0.5rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.4rem;
  color: var(--border-strong);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2.25rem;
  padding-block: 1rem 3rem;
  align-items: start;
}

.detail-header {
  margin-bottom: 1.5rem;
}

.detail-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0.65rem 0 0.85rem;
}

.detail-summary {
  font-size: 1.08rem;
  color: var(--ink-body);
  margin: 0;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.9rem;
}

.detail-image-frame {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
}

.detail-image-frame img {
  max-height: 360px;
  width: auto;
  object-fit: contain;
}

.content-section {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.65rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.content-section h2 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--ink);
  margin: 0 0 0.65rem;
}

.content-section p {
  margin: 0 0 0.75rem;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.safety-box {
  background: var(--bg-amber);
  border: 1.5px solid #ecc68c;
  border-radius: var(--radius-md);
  padding: 1.45rem 1.6rem;
  margin-bottom: 1.5rem;
}

.safety-box h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #7c3706;
  margin: 0 0 0.7rem;
}

.safety-box ul {
  margin: 0;
  padding-left: 1.25rem;
}

.safety-box li {
  margin-bottom: 0.5rem;
  color: #4a280a;
}

.safety-box li:last-child {
  margin-bottom: 0;
}

/* Sidebar */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h2,
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.affiliate-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.affiliate-disclosure {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0.75rem 0 0;
  line-height: 1.45;
}

.quick-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.quick-facts li {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.quick-facts li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.quick-facts strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.15rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tag-badge {
  font-size: 0.78rem;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  padding: 0.22rem 0.58rem;
  border-radius: 6px;
  text-decoration: none;
}

.tag-badge:hover {
  background: var(--primary-soft);
  color: var(--primary-hover);
}

/* Related Remedies */
.related-section {
  margin-top: 2rem;
}

.related-section h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  margin: 0 0 1rem;
}

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

.related-card {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
}

.related-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
  margin: 0.4rem 0 0;
}

/* Conversion CTA & Reply Hack */
.conversion-band {
  margin-block: 2.5rem;
  background: linear-gradient(135deg, #0f5c52 0%, #14433d 100%);
  color: #f4faf8;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.25rem;
  box-shadow: var(--shadow-md);
}

.conversion-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 0.75rem;
}

.conversion-band p {
  margin: 0 0 1.25rem;
  color: #dcece8;
  max-width: 64ch;
}

.conversion-pricing {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-on-dark {
  background: #ffffff;
  color: var(--primary) !important;
  font-weight: 700;
}

.btn-on-dark:hover {
  background: #edf5f3;
}

.btn-ghost-dark {
  background: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}

.reply-hack {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.8rem;
  margin-bottom: 3rem;
}

.reply-hack h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.55rem;
}

.reply-hack p {
  margin: 0;
  max-width: 70ch;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding-block: 2.5rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-body);
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.83rem;
}

@media (max-width: 920px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

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

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 0.75rem;
  }

  .hero {
    padding-block: 2.25rem 1.75rem;
  }

  .conversion-band {
    padding: 1.6rem 1.35rem;
  }

  .content-section {
    padding: 1.25rem;
  }
}

/* Priority 12 Full-Site Editorial Components */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-md);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111817;
  box-shadow: var(--shadow-md);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section-block {
  padding-block: 2.75rem;
}

.section-header {
  max-width: 68ch;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 0.55rem;
}

.section-header p {
  margin: 0;
  color: var(--ink-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0;
}

.feature-card p {
  margin: 0;
  font-size: 0.94rem;
}

.tour-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tour-item {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.75rem;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.tour-item.is-reversed .tour-media {
  order: -1;
}

.tour-media img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #ffffff;
}

.tour-text h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: var(--ink);
  margin: 0.35rem 0 0.65rem;
}

.tour-text ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.tour-text li {
  margin-bottom: 0.4rem;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.screenshot-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: var(--shadow-sm);
  margin: 0;
}

.screenshot-card img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.screenshot-card figcaption {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-top: 0.6rem;
  text-align: center;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}

.store-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.store-badge {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.store-badge-dark {
  background: #111817;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
}

.compare-table-wrap {
  overflow-x: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--bg-sage);
  color: var(--ink);
  font-weight: 700;
}

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

/* Native Expense Tracker Form */
.lead-form-card {
  background: var(--bg-elevated);
  border: 1.5px solid #b7dad3;
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-md);
}

.lead-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field input {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  padding: 0.78rem 0.9rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
}

.form-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 92, 82, 0.14);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Articles & Prose */
.prose-shell {
  max-width: 780px;
  margin-inline: auto;
  padding-block: 1.5rem 2.5rem;
}

.prose-body {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.prose-body h2 {
  font-family: var(--font-display);
  font-size: 1.48rem;
  color: var(--ink);
  margin: 1.75rem 0 0.65rem;
}

.prose-body h2:first-child {
  margin-top: 0;
}

.prose-body h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--ink);
  margin: 1.35rem 0 0.5rem;
}

.prose-body p {
  margin: 0 0 1rem;
}

.prose-body ul,
.prose-body ol {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
}

.prose-body li {
  margin-bottom: 0.45rem;
}

.article-figure {
  margin: 1.5rem 0;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
}

.article-figure img {
  margin-inline: auto;
  max-height: 480px;
  width: auto;
  border-radius: var(--radius-sm);
}

.social-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.15rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.social-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
}

.social-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (max-width: 920px) {
  .hero-split,
  .tour-item,
  .footer-grid-4 {
    grid-template-columns: 1fr;
  }

  .tour-item.is-reversed .tour-media {
    order: 0;
  }

  .prose-body {
    padding: 1.35rem;
  }
}

