/*
Theme Name: CompareWegovyPrices
Theme URI: https://comparewegovyprices.co.uk
Author: CompareWegovyPrices
Description: Custom theme for comparewegovyprices.co.uk — tracking oral Wegovy pill prices in the UK.
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: cwp
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */

:root {
  /* Colours */
  --color-primary: #4F46E5;
  --color-primary-hover: #4338CA;
  --color-primary-light: #EEF2FF;
  --color-accent: #D85A30;
  --color-accent-light: #FFF0EC;
  --color-surface: #FAFAF8;
  --color-card: #FFFFFF;
  --color-text: #1A1A2E;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-success: #059669;
  --color-success-light: #ECFDF5;
  --color-warning: #92400E;
  --color-warning-light: #FEF3C7;

  /* Typography */
  --font-family-base: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.25rem;
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --line-height-base: 1.6;
  --line-height-tight: 1.15;
  --line-height-relaxed: 1.7;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 4px 20px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-speed: 0.2s;
  --transition-ease: ease;
  --transition-base: var(--transition-speed) var(--transition-ease);
}

/* =========================================================
   CSS RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* =========================================================
   BASE TYPOGRAPHY
   ========================================================= */

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-lg);
}

h4 {
  font-size: var(--font-size-base);
}

h5 {
  font-size: var(--font-size-sm);
}

h6 {
  font-size: var(--font-size-xs);
}

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary-hover);
}

ul,
ol {
  list-style: none;
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.section-padding {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {
  position: sticky;
  top: 0;
  background-color: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav-logo-text {
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  font-size: 1.1rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.btn-alert {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: background-color var(--transition-base);
  white-space: nowrap;
}

.btn-alert:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
}

/* Mobile hamburger — pure CSS, no JS */
#nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger span {
  margin: 5px auto;
}

.hamburger::before,
.hamburger::after {
  position: absolute;
  left: 9px;
}

.hamburger::before {
  top: 11px;
}

.hamburger::after {
  bottom: 11px;
}

#nav-toggle:checked ~ .nav-inner label.hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

#nav-toggle:checked ~ .nav-inner label.hamburger span {
  opacity: 0;
}

#nav-toggle:checked ~ .nav-inner label.hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background-color: var(--color-card);
  flex-direction: column;
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  z-index: 99;
  gap: var(--space-4);
}

#nav-toggle:checked ~ .mobile-menu {
  display: flex;
}

.mobile-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-base);
}

.mobile-menu a:hover {
  color: var(--color-primary);
}

.mobile-menu .btn-alert {
  display: inline-flex;
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* =========================================================
   EMAIL MODAL
   ========================================================= */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 46, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--space-6);
}

.modal-overlay:not([hidden]) {
  display: flex;
}

.modal-box {
  background-color: var(--color-card);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-secondary);
  padding: var(--space-1);
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.modal-form input[type="email"] {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.modal-form input[type="email"]:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.modal-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}

.modal-sub {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin-top: var(--space-2);
}

.modal-form-row {
  display: flex;
  gap: var(--space-2);
}

.modal-form-row input[type="email"] {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: inherit;
}

.modal-form-row input[type="email"]:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.modal-privacy {
  font-size: var(--font-size-xs, 0.75rem);
  color: var(--color-text-secondary);
}

#modal-message {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  min-height: 1.25em;
}

/* =========================================================
   HERO
   ========================================================= */

.hero-section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
  background-color: var(--color-surface);
}

.hero-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: var(--line-height-base);
}

.hero-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  color: var(--color-text);
  background-color: var(--color-card);
  transition: border-color var(--transition-base), outline var(--transition-base);
  outline: none;
}

.hero-form input[type="email"]:focus {
  border-color: var(--color-primary);
  outline: 2px solid var(--color-primary-light);
  outline-offset: 0;
}

.hero-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.hero-form button {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition-base);
  font-family: var(--font-family-base);
}

.hero-form button:hover {
  background-color: var(--color-primary-hover);
}

.hero-trust {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-lifestyle-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-xl);
}

/* =========================================================
   LIFESTYLE STRIP
   ========================================================= */

.lifestyle-strip {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: var(--space-12) 0;
}

.lifestyle-strip-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.lifestyle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.lifestyle-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lifestyle-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 0;
}

/* =========================================================
   STATS BAR
   ========================================================= */

.stats-bar {
  background-color: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  padding: var(--space-8) 0;
}

.stats-bar-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================================
   EXPLAINER SECTION
   ========================================================= */

.explainer-section {
  padding: var(--space-20) 0;
  background-color: var(--color-surface);
}

.explainer-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.explainer-text h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1.25rem;
}

.explainer-text p {
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-4);
}

.explainer-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.explainer-icon-card {
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.explainer-icon-card .icon {
  font-size: 1.5rem;
  line-height: 1;
}

.explainer-icon-card h4 {
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0;
}

.explainer-icon-card p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* =========================================================
   LAUNCH RADAR SECTION
   ========================================================= */

.launch-radar-section {
  padding: var(--space-20) 0;
  background-color: var(--color-surface);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-2);
}

.section-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.tier-label {
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-border);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* =========================================================
   PROVIDER CARDS
   ========================================================= */

.provider-card {
  background-color: var(--color-card);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition-base);
}

.provider-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.provider-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.provider-logo-wrap {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.provider-logo {
  max-width: 120px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.provider-logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.provider-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.provider-name {
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0;
}

/* Single provider logo */
.provider-single-logo {
  margin-bottom: 1rem;
}

.provider-logo-large {
  max-width: 200px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.provider-price {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  line-height: 1;
}

.provider-price-tbc {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  font-style: italic;
}

.provider-detail {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.provider-cta {
  display: block;
  text-align: center;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: 0.875rem;
  margin-top: auto;
  transition: background-color var(--transition-base);
  border: 1.5px solid transparent;
}

.provider-cta:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
}

.provider-cta.cta-outline {
  background-color: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.provider-cta.cta-outline:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.provider-cta.cta-muted {
  background-color: var(--color-border);
  color: var(--color-text-muted);
  border-color: transparent;
}

.provider-cta.cta-muted:hover {
  background-color: var(--color-border);
  color: var(--color-text-muted);
}

.provider-footer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  margin-top: auto;
  margin-bottom: 0;
}

/* =========================================================
   STATUS BADGES
   ========================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  line-height: 1.4;
}

.badge::before {
  content: '●';
  font-size: 0.5rem;
  line-height: 1;
}

.badge-pre-order-live {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

.badge-price-found {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

.badge-coming-soon {
  background-color: var(--color-warning-light);
  color: var(--color-warning);
}

.badge-waiting-list {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.badge-watching {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.badge-out-of-stock {
  background-color: #F3F4F6;
  color: #6B7280;
}

.badge-approved {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

/* =========================================================
   GLP-1 TRACKER SECTION
   ========================================================= */

.glp1-tracker-section {
  padding: var(--space-20) 0;
  background-color: var(--color-card);
}

.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  color: var(--color-text-muted);
  font-family: var(--font-family-base);
  transition: color var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--color-primary);
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.glp1-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.glp1-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
}

.glp1-card h3 {
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.25rem;
}

.glp1-card-company {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.glp1-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.glp1-meta-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  font-size: 0.875rem;
  align-items: start;
}

.glp1-meta-label {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* =========================================================
   LIFESTYLE TRIO
   ========================================================= */

.lifestyle-trio-section {
  padding: var(--space-20) 0;
  background-color: var(--color-surface);
}

.lifestyle-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.lifestyle-quote-card {
  background-color: var(--color-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.lifestyle-trio-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.lifestyle-quote-card .quote-text,
.lifestyle-quote-card .quote-body {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.lifestyle-quote-card .quote-text {
  padding-top: 1.25rem;
}

.lifestyle-quote-card .quote-text {
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.lifestyle-quote-card .quote-body {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
  margin-bottom: 0;
  padding-bottom: 1.75rem;
}

/* Accordion */
details {
  border-bottom: 1px solid var(--color-border);
}

details summary {
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: var(--font-weight-semibold);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
  user-select: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: var(--font-weight-normal);
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

details[open] summary::after {
  content: '−';
}

details p {
  padding: 0 0 1.25rem;
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* =========================================================
   PRICE BOARD
   ========================================================= */

.price-board-section {
  padding: var(--space-20) 0;
  background-color: var(--color-card);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.price-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  border-bottom: 2px solid var(--color-border);
  font-weight: var(--font-weight-semibold);
}

.price-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  color: var(--color-text);
}

.price-table tr:hover td {
  background-color: #F9FAFB;
}

.price-cell {
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  font-size: var(--font-size-base);
}

.price-table .table-cta {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: background-color var(--transition-base);
}

.price-table .table-cta:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
}

/* =========================================================
   CALCULATOR SECTION
   ========================================================= */

.calculator-section {
  padding: var(--space-20) 0;
  background-color: var(--color-surface);
}

.calculator-inner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  background-color: var(--color-card);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}

.calc-form label {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

select,
.calc-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-family-base);
  background-color: var(--color-card);
  color: var(--color-text);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  transition: border-color var(--transition-base);
  outline: none;
}

select:focus,
.calc-select:focus {
  border-color: var(--color-primary);
  outline: 2px solid var(--color-primary-light);
  outline-offset: 0;
}

.calc-btn {
  grid-column: 1 / -1;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.875rem;
  border-radius: var(--radius-md);
  border: none;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.calc-btn:hover {
  background-color: var(--color-primary-hover);
}

#calc-results {
  background-color: var(--color-card);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 2px solid var(--color-primary-light);
  display: none;
}

#calc-results.visible {
  display: block;
}

.calc-breakdown {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.calc-line:last-child {
  border-bottom: none;
}

.calc-line.total {
  font-weight: var(--font-weight-semibold);
  font-size: 1.1rem;
  border-top: 2px solid var(--color-border);
  border-bottom: none;
  color: var(--color-primary);
  padding-top: var(--space-4);
}

.calc-line.deduction .calc-value {
  color: var(--color-success);
}

.calc-annual-box {
  margin-top: var(--space-6);
  padding: 1.25rem;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-lg);
}

.calc-annual-total {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  line-height: 1;
}

/* =========================================================
   CODES SECTION
   ========================================================= */

.codes-section {
  padding: var(--space-20) 0;
  background-color: var(--color-card);
}

.code-empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.code-empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.code-empty-state h3 {
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.75rem;
}

.code-empty-state p {
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto var(--space-6);
}

.code-card {
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem var(--space-6);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.code-value {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
}

.copy-btn {
  background: none;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
  font-family: var(--font-family-base);
  cursor: pointer;
  color: var(--color-text-muted);
  transition: border-color var(--transition-base), color var(--transition-base);
}

.copy-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* =========================================================
   TRUST BAR
   ========================================================= */

.trust-bar-section {
  padding: var(--space-12) 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.trust-bar-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.provider-pill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.provider-pill {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.trust-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.trust-signal-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
  line-height: 1;
}

.trust-signal h4 {
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.25rem;
}

.trust-signal p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background-color: #1A1A2E;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: var(--line-height-base);
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-base);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1200px;
  margin: var(--space-12) auto 0;
  padding: var(--space-8) var(--space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-compliance,
.footer-affiliate,
.footer-gphc {
  font-size: 0.75rem;
  line-height: var(--line-height-base);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--space-2);
  margin-bottom: 0;
}

/* =========================================================
   PROVIDER SINGLE PAGE
   ========================================================= */

.provider-single {
  padding: var(--space-12) 0 var(--space-20);
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  display: flex;
  gap: var(--space-2);
  align-items: center;
  list-style: none;
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.provider-hero {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.provider-hero h1 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.75rem;
}

.provider-trust-signals {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.trust-chip {
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

.provider-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-8);
  align-items: start;
}

.status-card,
.price-truth-card,
.provider-cta-box,
.dose-timeline-card {
  background-color: var(--color-card);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
}

.price-truth-breakdown {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.price-truth-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.price-truth-line:last-child {
  border-bottom: none;
}

.price-truth-line.addition .pbl-value {
  color: var(--color-accent);
}

.price-truth-line.total {
  font-weight: var(--font-weight-semibold);
  font-size: 1.1rem;
  color: var(--color-primary);
  border-top: 2px solid var(--color-border);
  border-bottom: none;
  padding-top: 0.875rem;
}

.price-truth-line.deduction .pbl-value {
  color: var(--color-success);
}

blockquote.site-quote {
  border-left: 4px solid var(--color-primary);
  padding: var(--space-4) var(--space-6);
  background-color: var(--color-primary-light);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  margin: var(--space-8) 0;
  color: var(--color-text);
}

blockquote.site-quote p {
  margin-bottom: 0;
}

.dose-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dose-step {
  display: flex;
  gap: var(--space-4);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}

.dose-step:last-child {
  border-bottom: none;
}

.dose-bullet {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  flex-shrink: 0;
}

/* =========================================================
   ARCHIVE PAGE
   ========================================================= */

.providers-archive {
  padding: var(--space-12) 0 var(--space-20);
}

.archive-header {
  margin-bottom: 2.5rem;
}

.filter-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color var(--transition-base), border-color var(--transition-base);
  display: inline-flex;
  align-items: center;
}

.filter-tab:hover {
  color: var(--color-primary);
}

.filter-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.filter-tab .tab-count {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  background-color: var(--color-border);
  color: var(--color-text-muted);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.results-count {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.tier-divider {
  grid-column: 1 / -1;
  padding: var(--space-4) 0;
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  margin: var(--space-4) 0;
}

/* =========================================================
   METHODOLOGY PAGE
   ========================================================= */

.methodology-page {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-12) var(--space-6) var(--space-20);
}

.methodology-page h1 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.75rem;
}

.methodology-page .page-intro {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
  line-height: var(--line-height-base);
}

.method-section {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-border);
}

.method-section:last-of-type {
  border-bottom: none;
}

.method-section h2 {
  font-size: 1.35rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.numbered-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-semibold);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.375rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

/* =========================================================
   UTILITY CLASSES
   ========================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-muted);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* =========================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ========================================================= */

@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: none;
  }

  .btn-alert {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  /* Lifestyle strip */
  .lifestyle-strip-inner {
    grid-template-columns: 1fr;
  }

  /* Stats bar */
  .stats-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  /* Explainer */
  .explainer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Provider grid */
  .provider-grid {
    grid-template-columns: 1fr;
  }

  /* GLP-1 cards */
  .glp1-card-grid {
    grid-template-columns: 1fr;
  }

  /* Lifestyle trio */
  .lifestyle-trio-grid {
    grid-template-columns: 1fr;
  }

  /* Calc form */
  .calc-form {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  /* Provider single layout */
  .provider-layout {
    grid-template-columns: 1fr;
  }

  /* Trust signals */
  .trust-signals {
    grid-template-columns: 1fr;
  }

  /* Explainer icon grid */
  .explainer-icon-grid {
    grid-template-columns: 1fr;
  }

  /* GLP-1 meta item */
  .glp1-meta-item {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  /* Footer brand takes full width */
  .footer-inner .footer-brand {
    grid-column: 1 / -1;
  }

  /* Section padding reduce */
  .section-padding {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .hero-section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-8);
  }
}

/* =========================================================
   RESPONSIVE — TABLET (769px – 1023px)
   ========================================================= */

@media (min-width: 769px) and (max-width: 1023px) {
  /* Provider grid: 2 columns on tablet */
  .provider-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats bar: keep 4 cols */
  .stats-bar-inner {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Lifestyle trio: 2 cols */
  .lifestyle-trio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer: 3 cols */
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* Footer brand takes full width */
  .footer-inner .footer-brand {
    grid-column: 1 / -1;
  }

  /* Explainer: stack on tablet */
  .explainer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* GLP-1 cards: keep 2 cols but narrower */
  .glp1-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Provider layout: stack sidebar */
  .provider-layout {
    grid-template-columns: 1fr;
  }

  /* Alert CTA: stack on tablet */
  .alert-cta-inner {
    grid-template-columns: 1fr;
  }

  /* Archive header: stack on tablet */
  .archive-header-inner {
    grid-template-columns: 1fr;
  }
  .archive-hero-img {
    width: 100%;
    max-width: 400px;
  }
}

/* =============================================================
   IMAGE INTEGRATION — new sections (v1.0.4)
   ============================================================= */

/* Full-bleed coastal walk break image between lifestyle strip and stats */
.lifestyle-break {
  overflow: hidden;
  line-height: 0;
}
.lifestyle-break-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Price alert CTA section */
.alert-cta-section {
  padding: var(--space-16) 0;
  background-color: var(--color-bg);
}
.alert-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.alert-cta-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-xl);
  display: block;
}
.alert-cta-text h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.alert-cta-text p {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

/* Explainer visual: image above icon grid in right column */
.explainer-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.explainer-lifestyle-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-xl);
  display: block;
}

/* Archive header with side image */
.archive-header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-6);
}
.archive-hero-img {
  width: 300px;
  height: auto;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  display: block;
}

/* Page hero and post hero with theme asset background */
.page-hero--has-image,
.post-hero--has-image {
  background-size: cover;
  background-position: center;
}

@media (max-width: 640px) {
  .lifestyle-break-img {
    height: 220px;
  }
  .alert-cta-inner {
    grid-template-columns: 1fr;
  }
  .alert-cta-image {
    order: -1;
  }
  .archive-header-inner {
    grid-template-columns: 1fr;
  }
  .archive-hero-img {
    width: 100%;
    max-width: none;
    height: 200px;
    object-fit: cover;
  }
}


/* ==========================================================
   DESIGN IMPROVEMENTS v1.1 — June 2026
   ========================================================== */

/* ── Hero: gradient background + stronger headline ───────── */
.hero-section {
  background: linear-gradient(160deg, #FAFAF8 0%, #EEF2FF 55%, #FAFAF8 100%);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
}

.hero-lifestyle-img {
  border-radius: 20px !important;
  box-shadow: 0 24px 64px rgba(79, 70, 229, 0.18), 0 4px 16px rgba(0,0,0,0.08) !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ── Stats numbers: more impact ──────────────────────────── */
.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.82;
}

/* ── Provider cards: depth + hover lift ──────────────────── */
.provider-card {
  border: 1px solid rgba(229, 231, 235, 0.7) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
}

.provider-card:hover {
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.12), 0 4px 12px rgba(0,0,0,0.06) !important;
  transform: translateY(-3px) !important;
}

.provider-card .provider-price,
.provider-card .card-price {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--color-primary) !important;
}

/* ── Calculator: dark violet editorial ───────────────────── */
.calculator-section {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%) !important;
  position: relative;
  overflow: hidden;
}

.calculator-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.calculator-section .section-headline,
.calculator-section h2 {
  color: #ffffff !important;
}

.calculator-section .section-sub,
.calculator-section > .calculator-inner > p {
  color: rgba(255,255,255,0.75) !important;
}

.calculator-section .calc-form {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
}

.calculator-section .calc-form label {
  color: rgba(255,255,255,0.9) !important;
}

.calculator-section select,
.calculator-section .calc-select {
  background-color: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.calculator-section select option {
  background-color: #312E81;
  color: #ffffff;
}

/* ── Section headings: editorial weight ──────────────────── */
.section-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
}

/* ── Lifestyle images: premium shadow ────────────────────── */
.lifestyle-strip-img {
  height: 280px !important;
  object-fit: cover;
  object-position: center 30%;
  width: 100%;
  display: block;
}

.explainer-img {
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
}

/* ── Trio cards: lift on hover ───────────────────────────── */
.trio-card {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  border-radius: 16px !important;
  overflow: hidden;
}

.trio-card:hover {
  box-shadow: 0 12px 40px rgba(79,70,229,0.12) !important;
  transform: translateY(-4px);
}

.trio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ── Footer: brand top border ────────────────────────────── */
.site-footer {
  border-top: 3px solid var(--color-primary) !important;
}

/* ── Primary buttons: gradient + shadow ──────────────────── */
.btn-primary,
.hero-form button,
.btn-alert {
  background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%) !important;
  box-shadow: 0 4px 14px rgba(79,70,229,0.3) !important;
}

.btn-primary:hover,
.hero-form button:hover,
.btn-alert:hover {
  background: linear-gradient(135deg, #4338CA 0%, #4F46E5 100%) !important;
  box-shadow: 0 6px 20px rgba(79,70,229,0.4) !important;
  transform: translateY(-1px);
}

/* ── Blockquotes: coral pull-quote style ─────────────────── */
blockquote {
  border-left: 4px solid var(--color-accent) !important;
  padding: 1rem 1.5rem !important;
  font-style: italic;
  background: rgba(216,90,48,0.04) !important;
  border-radius: 0 8px 8px 0 !important;
  margin: 2rem 0 !important;
}

/* ── Mobile refinements ──────────────────────────────────── */
@media (max-width: 768px) {
  .hero-lifestyle-img {
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(79,70,229,0.14) !important;
  }
  .hero-headline {
    font-size: clamp(1.875rem, 7vw, 2.5rem) !important;
  }
  .calculator-section {
    background: linear-gradient(160deg, #1E1B4B 0%, #312E81 100%) !important;
  }
}

/* === DESIGN IMPROVEMENTS v1.2 — 21 June 2026 === */

/* ── Hero section: warmer gradient, better proportion ── */
.hero-section {
  background: linear-gradient(160deg, #FAFAF8 0%, #EEF2FF 60%, #F5F3FF 100%) !important;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

/* ── Better trust signals below hero ── */
.trust-bar,
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid #E8E8F0;
  box-shadow: 0 1px 0 #E8E8F0;
}

/* ── Provider cards: richer look ── */
.provider-card {
  border: 1px solid #E8E8F0 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.provider-card:hover {
  border-color: #C7D2FE !important;
  box-shadow: 0 20px 60px rgba(79, 70, 229, 0.1), 0 4px 16px rgba(0,0,0,0.05) !important;
  transform: translateY(-4px) !important;
}

/* ── Tier 1 / pre-order card: highlighted ── */
.provider-card[data-tier="1"] {
  border-color: #C7D2FE !important;
  background: linear-gradient(135deg, #ffffff 0%, #F5F3FF 100%) !important;
}

/* ── Price display: bigger and bolder ── */
.provider-price,
.card-price,
.price-true {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #1A1A2E !important;
  letter-spacing: -0.02em !important;
}

/* ── Section headings: tighter tracking ── */
.section-headline,
h2.section-title {
  letter-spacing: -0.025em !important;
  font-weight: 700 !important;
}

/* ── Pull quotes / comparison callouts ── */
.comparison-callout,
.callout-box {
  border-left: 4px solid #D85A30 !important;
  background: #FFF7F5 !important;
  border-radius: 0 12px 12px 0 !important;
  padding: 1.25rem 1.5rem !important;
}

/* ── Guide grid (homepage internal links) ── */
.guides-grid-section {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, #F5F3FF 0%, #FAFAF8 100%);
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.guide-card-link {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  background: #ffffff;
  border: 1px solid #E8E8F0;
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.2s ease;
}
.guide-card-link:hover {
  border-color: #C7D2FE;
  box-shadow: 0 8px 24px rgba(79,70,229,0.1);
  transform: translateY(-2px);
  color: var(--color-text);
}
.guide-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.guide-card-text strong {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 2px;
}
.guide-card-text span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ── Footer: cleaner layout ── */
.site-footer {
  background: #1A1A2E !important;
  color: rgba(255,255,255,0.7) !important;
}
.site-footer a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
}
.site-footer a:hover {
  color: #ffffff !important;
}

/* ── Buttons: gradient + glow ── */
.btn-primary,
.btn-cta,
a.btn-primary {
  background: linear-gradient(135deg, #4F46E5, #6366F1) !important;
  box-shadow: 0 4px 15px rgba(79,70,229,0.35) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}
.btn-primary:hover,
.btn-cta:hover,
a.btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(79,70,229,0.45) !important;
}

/* ── Table: cleaner comparison ── */
.comparison-table th {
  background: #F5F3FF !important;
  color: #4F46E5 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
  padding: 0.875rem 1rem !important;
}
.comparison-table td {
  padding: 0.875rem 1rem !important;
  border-bottom: 1px solid #E8E8F0 !important;
}
.comparison-table tr:hover td {
  background: #F9F9FF !important;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .mobile-menu {
    background: #1A1A2E !important;
    padding: 1.5rem !important;
  }
  .mobile-nav-links a {
    color: rgba(255,255,255,0.85) !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 0 !important;
    display: block !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  .guides-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
}

/* v1.2 applied 21 June 2026 */

/* ── Task 10a: Hero lifestyle image — full-width, proper height ── */
.hero-lifestyle-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  display: block;
}
@media (max-width: 768px) {
  .hero-lifestyle-img {
    height: 260px;
    border-radius: 12px;
  }
}

/* ── Task 10b: Provider cards — "price pending" state ── */
.provider-card .price-pending {
  font-size: 0.95rem;
  color: #5C5C7A;
  font-style: italic;
  padding: 0.5rem 0;
}
.provider-card .badge--coming-soon,
.provider-card .badge--waitlist-open {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
}

/* ── Sister site cross-links in footer ── */
.footer-sister-sites {
  text-align: center;
  padding: 1rem 0 0.5rem;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-sister-sites a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
}
.footer-sister-sites a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}
