/* =============================================
   HOA LedgerIQ — Marketing Site Styles
   V2 (2026-June) — clean, crisp, Apple-inspired
   ============================================= */

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

:root {
  /* V2 light palette */
  --ink:        #1d1d1f;
  --ink-soft:   #424245;
  --ink-muted:  #6e6e73;
  --paper:      #ffffff;
  --paper-alt:  #f5f5f7;
  --hairline:   #d2d2d7;
  --accent:     #2563eb;
  --accent-dark:#1d4ed8;
  --green:      #22c55e;
  --green-dark: #15803d;

  /* Dark showcase section */
  --dark-bg:    #0b0b0f;
  --dark-card:  #1c1c22;
  --dark-text:  #f5f5f7;
  --dark-muted: #a1a1a6;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.12);

  /* Legacy tokens (article pages + shared components) */
  --blue:      #2563eb;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(37, 99, 235, 0.25);
  --indigo:    #4f46e5;
  --teal:      #0ea5e9;
  --sky:       #0ea5e9;
  --amber:     #f59e0b;
  --red:       #ef4444;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-300:  #cbd5e1;
  --gray-400:  #94a3b8;
  --gray-500:  #64748b;
  --gray-600:  #475569;
  --gray-700:  #334155;
  --gray-800:  #1e293b;
  --gray-900:  #0f172a;
  --surface:   #ffffff;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}
.container--narrow { max-width: 760px; }

.hidden { display: none !important; }
.muted { color: var(--ink-muted); }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 2000;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---- Typography helpers ---- */
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow--center { text-align: center; }
.eyebrow--light { color: #7aa2ff; }

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-title--center { text-align: center; }
.section-title--light { color: var(--dark-text); }

.section-sub {
  text-align: center;
  color: var(--ink-muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 10px 22px;
  border-radius: 980px; /* Apple pill */
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid rgba(37,99,235,0.45); outline-offset: 2px; }

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

.btn-outline {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.btn-outline:hover { background: rgba(37,99,235,0.08); }

.btn-quiet {
  background: transparent;
  color: var(--ink-soft);
  padding: 10px 14px;
}
.btn-quiet:hover { color: var(--ink); }

.btn-link {
  background: none;
  color: var(--accent);
  padding: 10px 6px;
  border-radius: 8px;
}
.btn-link:hover { text-decoration: underline; }

.btn-lg { font-size: 17px; padding: 14px 30px; }
.btn-block { width: 100%; }

/* Legacy button aliases (article pages) */
.btn-ghost { background: none; color: var(--accent); }
.btn-ghost:hover { text-decoration: underline; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta .btn-primary { padding: 8px 18px; font-size: 14px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  padding: 84px 0 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 100%);
  overflow: hidden;
}
.hero-inner { text-align: center; max-width: 820px; }
.hero .eyebrow { text-align: center; }
.hero-headline {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-headline .accent {
  background: linear-gradient(90deg, var(--accent), #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-fineprint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-muted);
}

.hero-visual { margin-top: 56px; padding-bottom: 0; }
.device-frame {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--hairline);
  border-bottom: none;
  background: #fff;
}
.device-shot { width: 100%; height: auto; }

/* ---- Trust bar ---- */
.trustbar {
  background: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.trustbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 64px);
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.trust-icon { font-size: 16px; }

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section--light { background: var(--paper-alt); }
.section--dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}

/* ---- How it works ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.step {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.step p { font-size: 15px; color: var(--ink-muted); line-height: 1.6; }

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.feature-card {
  background: var(--paper-alt);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.feature-card p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.6; flex: 1; }
.feature-emoji { font-size: 28px; line-height: 1; }
.feature-link { font-size: 14px; font-weight: 600; color: var(--accent); }
.feature-card--featured {
  background: linear-gradient(135deg, #eef3ff 0%, #f6f0ff 100%);
}
.feature-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,99,235,0.1);
  padding: 4px 10px;
  border-radius: 99px;
}

/* ---- AI showcase (dark) ---- */
.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ai-sub { font-size: 17px; color: var(--dark-muted); margin-bottom: 26px; line-height: 1.6; }
.ai-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ai-bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  color: var(--dark-text);
}
.ai-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.ai-visual { display: flex; flex-direction: column; gap: 14px; }
.chat-bubble {
  border-radius: 18px;
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 92%;
}
.chat-bubble--user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}
.chat-bubble--ai {
  background: var(--dark-card);
  color: var(--dark-text);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  border: 1px solid rgba(255,255,255,0.09);
}
/* Legacy aliases used by article pages */
.user-bubble { background: var(--accent); color: #fff; align-self: flex-end; border-radius: 18px 18px 6px 18px; padding: 16px 20px; font-size: 14.5px; }
.ai-bubble { background: var(--dark-card); color: var(--dark-text); align-self: flex-start; border-radius: 18px 18px 18px 6px; padding: 16px 20px; font-size: 14.5px; border: 1px solid rgba(255,255,255,0.09); }
.ai-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fb0ff;
  margin-bottom: 7px;
}

/* ---- Pricing ---- */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  background: #e8e8ed;
  border-radius: 980px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 44px;
}
.billing-opt {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: 980px;
  padding: 8px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.billing-opt.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.save-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-dark);
  background: rgba(34,197,94,0.14);
  padding: 2px 8px;
  border-radius: 99px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.price-card--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}
.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}
.price-name { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.price-desc { font-size: 13.5px; color: var(--ink-muted); margin-top: 4px; }
.price-amount { display: flex; align-items: baseline; gap: 7px; }
.price-num {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price-per { font-size: 13.5px; color: var(--ink-muted); }
.price-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.price-feats li {
  position: relative;
  padding-left: 26px;
}
.price-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 700;
}
.price-feats .muted-feat { color: #b8b8bd; }
.price-feats .muted-feat::before { content: "—"; color: #c9c9ce; }

/* Comparison table */
.compare-wrap { margin-top: 72px; }
.compare-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 560px;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid #ececf0;
}
.compare-table thead th {
  font-weight: 700;
  color: var(--ink);
  background: var(--paper-alt);
}
.compare-table tbody th { font-weight: 600; color: var(--ink-soft); }
.compare-table td { color: var(--ink-muted); }
.th-highlight { color: var(--accent) !important; }
.cell-yes { color: var(--green-dark) !important; font-weight: 700; }

/* ---- FAQ ---- */
.faq { margin-top: 48px; display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 22px 44px 22px 4px;
  position: relative;
  color: var(--ink);
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink-muted);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p {
  padding: 0 4px 24px;
  font-size: 15.5px;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 660px;
}

/* ---- CTA section ---- */
.cta-section {
  background: var(--paper-alt);
  padding: 96px 0;
  text-align: center;
}
.cta-title {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 14px;
}
.cta-sub { font-size: 18px; color: var(--ink-muted); margin-bottom: 30px; }
.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.015em; }
.footer-tag { font-size: 13.5px; color: var(--ink-muted); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid #ececf0;
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* ---- Calculator Modal (V2 light) ---- */
.calc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.calc-overlay.open { opacity: 1; pointer-events: all; }
.calc-modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.calc-overlay.open .calc-modal { transform: translateY(0); }
.calc-close {
  position: absolute;
  top: 16px; right: 20px;
  background: var(--paper-alt);
  border: none;
  color: var(--ink-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}
.calc-close:hover { color: var(--ink); background: #e8e8ed; }
.calc-header { margin-bottom: 28px; }
.calc-header h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.calc-header p { font-size: 15px; color: var(--ink-muted); }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.calc-field input,
.calc-field select {
  background: var(--paper-alt);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}
.calc-field input:focus,
.calc-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.calc-field input::placeholder { color: #b0b0b6; }
.calc-field select {
  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='%236e6e73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.input-prefix-wrap { position: relative; }
.input-prefix {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 600;
  pointer-events: none;
}
.input-prefix-wrap input { padding-left: 28px; }
.calc-error { color: var(--red); font-size: 13px; margin: 8px 0; font-weight: 500; }
.calc-submit-btn { width: 100%; justify-content: center; margin-top: 16px; }
.calc-fine {
  font-size: 11px;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ── Results ── */
.result-highlight {
  background: linear-gradient(135deg, #eef3ff, #f0fdf4);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-bottom: 20px;
}
.result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 10px;
}
.result-amount {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green-dark);
  line-height: 1.1;
  margin-bottom: 12px;
}
.result-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-muted);
}
.result-badge {
  background: rgba(34,197,94,0.14);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green-dark);
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.result-breakdown {
  background: var(--paper-alt);
  border: 1px solid #ececf0;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--ink-muted);
}
.result-row-val { font-weight: 700; color: var(--ink); }
.calc-cta { text-align: center; }
.calc-cta > p { color: var(--ink-muted); font-size: 15px; margin-bottom: 16px; }
.calc-cta-btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.calc-recalc { font-size: 14px; color: var(--ink-muted); }
.calc-recalc:hover { color: var(--ink); }

/* ── Calc email + opt-in ── */
.calc-email-row { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.calc-field--full { grid-column: 1 / -1; }
.calc-optional { font-weight: 400; color: var(--ink-muted); font-size: 11px; }
.calc-optin-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--ink-soft); cursor: pointer; line-height: 1.5;
}
.calc-optin-label input[type="checkbox"] {
  margin-top: 2px; accent-color: var(--accent); flex-shrink: 0;
  width: 15px; height: 15px; cursor: pointer;
}
.calc-privacy {
  font-size: 11px; color: var(--ink-muted); line-height: 1.5;
  border-left: 2px solid #ececf0; padding-left: 10px; margin: 0;
}

/* ── Calc button spinner ── */
.calc-btn-loading { display: flex; align-items: center; gap: 8px; }
.calc-spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Results refinement blurb ── */
.calc-refine-blurb {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(14,165,233,0.06);
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.calc-refine-icon { font-size: 18px; color: var(--teal); flex-shrink: 0; margin-top: 1px; }
.calc-refine-blurb p { font-size: 12.5px; color: var(--ink-muted); line-height: 1.6; margin: 0; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-inner { grid-template-columns: 1fr; gap: 44px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
}

@media (max-width: 720px) {
  /* Mobile nav: hamburger + slide-down panel */
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-cta .btn-quiet { display: none; }
  .nav-inner { gap: 14px; }

  .nav-links {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 16px;
    border-bottom: 1px solid var(--hairline);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 4px;
    font-size: 17px;
    border-bottom: 1px solid #ececf0;
  }
  .nav-links a:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; max-width: 340px; }
  .features-grid { grid-template-columns: 1fr; }
  .trustbar-inner { gap: 16px 24px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; max-width: 340px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .calc-modal { padding: 32px 22px; }
  .calc-grid { grid-template-columns: 1fr; }
  .result-amount { font-size: 40px; }
  .compare-table th, .compare-table td { padding: 11px 12px; font-size: 13px; }
  .section { padding: 56px 0; }
  .device-frame { border-radius: 12px 12px 0 0; }
}

/* =============================================
   Legacy styles — Insights hub & article pages
   (V1 dark theme retained until those pages are migrated)
   ============================================= */

.insights-hub-hero {
  background: var(--gray-900);
  padding: 5rem 0 3.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.insights-hub-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.insights-hub-hero p {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.insights-grid-section { padding: 4rem 0 5rem; background: var(--gray-900); }

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.article-card {
  background: var(--gray-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  border-color: rgba(37,99,235,0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.article-card-tag {
  display: inline-block;
  background: rgba(79,70,229,0.15);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  width: fit-content;
}

.article-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}

.article-card-excerpt {
  font-size: 0.93rem;
  color: var(--gray-400);
  line-height: 1.7;
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  color: var(--gray-400);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.article-card-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-600);
  display: inline-block;
  flex-shrink: 0;
}

.article-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.15s;
}
.article-card-read-more:hover { gap: 0.6rem; }

.article-header {
  background: var(--gray-900);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.article-header .container { max-width: 800px; }

.article-breadcrumb { padding-bottom: 1.5rem; }
.article-breadcrumb a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.15s;
}
.article-breadcrumb a:hover { color: var(--blue); }

.article-tag {
  display: inline-block;
  background: rgba(79,70,229,0.15);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.article-title {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.article-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--gray-400);
  flex-wrap: wrap;
}
.article-meta-author { font-weight: 600; color: var(--gray-200); }
.article-meta-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-600);
  display: inline-block;
}

.article-body-section { padding: 3.5rem 0; background: var(--gray-900); }
.article-body-section .container { max-width: 800px; }

.article-prose { max-width: 720px; margin: 0 auto; }

.article-prose p {
  font-size: 1.05rem;
  color: var(--gray-200);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.article-prose h2 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 2.75rem 0 1.1rem;
  line-height: 1.3;
}

.article-prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 0.9rem;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 1.5rem 1.4rem;
  color: var(--gray-200);
}
.article-prose li {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 0.55rem;
}
.article-prose li::marker { color: var(--blue); }

.article-prose strong { color: #fff; }

.article-prose blockquote {
  border-left: 3px solid var(--blue);
  padding: 0.8rem 0 0.8rem 1.4rem;
  margin: 2rem 0;
  background: rgba(37,99,235,0.06);
  border-radius: 0 10px 10px 0;
}
.article-prose blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-200);
  margin: 0;
}

.article-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-prose a:hover { color: var(--teal); }

.article-cta-box {
  background: linear-gradient(135deg, rgba(79,70,229,0.14), rgba(14,165,233,0.1));
  border: 1px solid rgba(79,70,229,0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.75rem 0;
  text-align: center;
}
.article-cta-box h3 { margin-top: 0 !important; }
.article-cta-box p { font-size: 0.98rem; color: var(--gray-400); }
.article-cta-box .btn { margin-top: 0.75rem; }

.article-showcase {
  background: var(--gray-800);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Legacy nav/footer aliases used by article pages */
.nav-btn { margin-left: 16px; padding: 9px 20px; font-size: 14px; }
.nav-login { margin-left: 8px; }
.logo-img--footer { height: 32px; width: auto; }
.footer-logo p { font-size: 13.5px; color: var(--ink-muted); }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 8px;
}
.footer-links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .article-prose h2 { font-size: 1.3rem; margin-top: 2rem; }
  .article-prose p, .article-prose li { font-size: 1rem; }
  .article-meta { gap: 0.5rem; }
  .article-showcase { padding: 2.5rem 0; }
}
