@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800;900&display=swap');

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

:root {
  /* Premium-professional palette: deep navy + champagne gold + white. */
  --bg-body:        #ffffff;
  --bg-surface:     #f8fafc;             /* very pale slate for section tints */
  --bg-card:        #ffffff;
  --bg-card-hover:  #f8fafc;
  --primary:        #0a2540;             /* deep navy, matches logo */
  --primary-dark:   #061a2e;
  --primary-light:  #1e3a5f;
  --accent:         #c9a961;             /* champagne gold */
  --accent-light:   #e8c976;
  --accent-dark:    #a8843b;
  /* Tier colors: Pro = navy (foundation), AH = gold (featured), Business = navy-light */
  --pro-color:      #0a2540;
  --ah-color:       #c9a961;
  --full-color:     #1e3a5f;
  --text-main:      #0a2540;             /* navy on white */
  --text-secondary: #334155;             /* slate-700 */
  --text-muted:     #64748b;             /* slate-500 */
  --font-sans:    'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --glass-border:  1px solid rgba(10, 37, 64, 0.08);
  --shadow-glow:   0 0 40px rgba(201, 169, 97, 0.18);   /* subtle gold glow */
  --shadow-md:     0 10px 30px -10px rgba(10, 37, 64, 0.15);
  --shadow-card:   0 1px 3px rgba(10, 37, 64, 0.04), 0 4px 16px rgba(10, 37, 64, 0.06);
}

html {
  scroll-behavior: smooth; color-scheme: light; font-size: 17px;
  /* Prevent any element from causing horizontal page scroll / mobile zoom */
  max-width: 100%; overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.75;
  /* Double-safety overflow guard — paired with html above */
  max-width: 100%; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
}

/* Responsive media — nothing can exceed its container on any viewport */
img, svg, video, canvas, iframe {
  max-width: 100%; height: auto;
}

/* Long code, URLs, email addresses, and carrier dial strings must wrap
   rather than force horizontal scroll on narrow phones */
code, kbd, samp, pre {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Generic safeguard for any text content — forces ugly-but-bounded
   wrapping before allowing a word to break the layout */
p, li, td, h1, h2, h3, h4, div {
  overflow-wrap: anywhere;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  max-width: 100vw;
  /* Subtle pale slate radial — keeps content interesting without competing with the logo. */
  background: radial-gradient(circle at top center, #f8fafc 0%, #ffffff 50%);
  z-index: -9999;
  pointer-events: none;
}

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; }

/* ── CANVAS BACKGROUND ── */
/* Hero canvas particle effect was designed for dark theme. Hidden on light theme. */
#heroCanvas { display: none; }

/* ── PROMO BANNER ─────────────────────────────────────────────────────── */
:root { --banner-h: 38px; }
@media (max-width: 520px) { :root { --banner-h: 36px; } }

.promo-banner {
  background: linear-gradient(90deg, #c9a961 0%, #e8c976 50%, #c9a961 100%);
  color: #0a2540;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  overflow: hidden;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  border-bottom: 1px solid rgba(10, 37, 64, 0.15);
}
/* Reserve space for the fixed banner so page content doesn't underlap. */
body { padding-top: var(--banner-h, 38px); }
.promo-banner-inner {
  display: block;
  padding: 8px 0;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.promo-banner-inner:hover { background: rgba(255,255,255,0.08); }
.promo-banner-track {
  display: inline-flex;
  white-space: nowrap;
  animation: promo-marquee 28s linear infinite;
  will-change: transform;
}
.promo-banner-text {
  display: inline-block;
  padding: 0 16px;
}
.promo-banner-text strong { font-weight: 800; letter-spacing: 0.5px; }
@keyframes promo-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-banner-track { animation: none; transform: translateX(-2%); }
}
@media (max-width: 520px) {
  .promo-banner { font-size: 13px; }
  .promo-banner-inner { padding: 7px 0; }
}

/* ── NAV ── */
nav {
  position: sticky; top: var(--banner-h, 0); z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
  transition: all .3s;
}
.logo {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
}
.logo-shield {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 18px rgba(10, 37, 64,0.45);
}
.logo-meta { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 1.1rem; font-weight: 800; }
.logo-by { font-size: 11px; font-weight: 600; color: var(--text-muted);
           letter-spacing: 1.2px; text-transform: uppercase; }
.nav-cta {
  background: var(--primary); color: #fff; border: 1px solid var(--primary);
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  text-decoration: none; transition: .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-dark); border-color: var(--primary-dark);
                 box-shadow: 0 0 20px rgba(10, 37, 64,0.4); }

/* ── HERO ── */
.hero {
  min-height: 92vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 24px 80px; position: relative;
  overflow: hidden;
}
/* Logo watermark — large, faded, centered behind hero text. Decorative only;
   the actual logo lives in the nav. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/logo-vettedcalls-hero.png') center 45% / min(900px, 90vw) auto no-repeat;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner { max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(10, 37, 64,0.1); border: 1px solid rgba(10, 37, 64,0.25);
  color: var(--primary-light); font-size: 14px; font-weight: 600;
  padding: 8px 20px; border-radius: 100px; margin-bottom: 36px;
  letter-spacing: 0.3px;
}
.badge-dot {
  width: 8px; height: 8px; background: var(--primary-light); border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 900; margin-bottom: 28px; letter-spacing: -2px;
}
.hero-sub {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--text-secondary); max-width: 620px; margin: 0 auto 56px;
  line-height: 1.75; font-weight: 500;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 17px 36px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; transition: .2s;
}
.btn-primary {
  background: var(--ah-color); color: #0a2540;
  border: 1px solid var(--ah-color);
}
.btn-primary:hover {
  background: #e8c976; border-color: #e8c976;
  box-shadow: 0 0 28px rgba(201, 169, 97,0.45); transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--text-main);
  border: 1px solid rgba(10, 37, 64,0.2);
}
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); }

/* ── STATS ── */
.stats-row {
  display: flex; justify-content: center; gap: 0;
  border-top: 1px solid rgba(10, 37, 64,0.06);
  border-bottom: 1px solid rgba(10, 37, 64,0.06);
  background: rgba(248,250,252,0.5);
}
.stat {
  flex: 1; max-width: 260px; text-align: center; padding: 36px 20px;
  border-right: 1px solid rgba(10, 37, 64,0.06);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display); font-size: 40px; font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 8px;
}
.stat-label { font-size: 15px; font-weight: 600; color: var(--text-secondary); }

/* ── SECTION WRAPPER ── */
.section { padding: 100px 24px; position: relative; }
/* Light hairline at the boundary between adjacent sections — gives visual
   structure on the all-white theme without heavy backgrounds. */
.section + .section { border-top: 1px solid rgba(10, 37, 64, 0.06); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--primary-light);
  margin-bottom: 16px; text-align: center;
}
.section-title { text-align: center; margin-bottom: 64px; }
.section-title h2 {
  font-size: clamp(32px, 4vw, 50px); font-weight: 900;
  letter-spacing: -1px; margin-bottom: 18px;
}
.section-title p { color: var(--text-secondary); font-size: 18px; font-weight: 500; max-width: 620px; margin: 0 auto; }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 2px;
  background: rgba(10, 37, 64,0.04); border: var(--glass-border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.step-card {
  background: var(--bg-card); padding: 40px 32px;
  backdrop-filter: blur(12px); transition: .2s;
}
.step-card:hover { background: var(--bg-card-hover); }
.step-icon {
  width: 50px; height: 50px; border-radius: var(--radius-sm);
  background: rgba(10, 37, 64,0.12); border: 1px solid rgba(10, 37, 64,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-family: var(--font-display); font-size: 16px; font-weight: 900;
  color: var(--primary-light); letter-spacing: 0;
}
.step-num {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary-light);
  margin-bottom: 12px;
}
.step-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.step-card p { font-size: 16px; font-weight: 500; color: var(--text-secondary); line-height: 1.7; }

/* ── PRICING ── */
.pricing-wrap { background: rgba(248,250,252,0.35); border-top: var(--glass-border); border-bottom: var(--glass-border); }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: stretch; }
@media(max-width:960px){ .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--bg-card); border: var(--glass-border);
  border-radius: var(--radius-lg); padding: 40px 32px;
  backdrop-filter: blur(16px); position: relative; transition: .25s;
  display: flex; flex-direction: column;
}
.plan-card:hover { background: var(--bg-card-hover); transform: translateY(-3px); }
.plan-card.featured {
  border-color: rgba(201, 169, 97,0.4);
  box-shadow: 0 0 60px rgba(201, 169, 97,0.14), inset 0 1px 0 rgba(201, 169, 97,0.12);
  transform: translateY(-4px);
}
@media(max-width:960px){ .plan-card.featured { transform: none; } }
.plan-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 700;
  padding: 6px 20px; border-radius: 100px; letter-spacing: 1px; white-space: nowrap;
}
.plan-tier {
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.plan-card.tier-pro      .plan-tier { color: var(--pro-color); }
.plan-card.tier-ah       .plan-tier { color: var(--ah-color); }
.plan-card.tier-full     .plan-tier { color: var(--full-color); }
.plan-card.tier-business .plan-tier { color: var(--full-color); }
.plan-tag { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 24px; }
.plan-price {
  font-family: var(--font-display); font-size: 52px; font-weight: 900;
  line-height: 1; margin-bottom: 8px;
}
.plan-price sup { font-size: 22px; vertical-align: super; }
.plan-price sub { font-size: 20px; font-weight: 600; color: var(--text-muted); }
.plan-period { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 32px; }
.plan-features { list-style: none; margin-bottom: 32px; flex: 1; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(10, 37, 64,0.05);
  font-size: 15px; font-weight: 500; color: var(--text-secondary); line-height: 1.55;
}
.plan-features li:last-child { border-bottom: none; }
.feat-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800;
}
.plan-card.tier-pro      .feat-check { background: rgba(10, 37, 64,.15); color: var(--pro-color); }
.plan-card.tier-ah       .feat-check { background: rgba(201, 169, 97,.15); color: var(--ah-color); }
.plan-card.tier-full     .feat-check { background: rgba(30, 58, 95,.15); color: var(--full-color); }
.plan-card.tier-business .feat-check { background: rgba(30, 58, 95,.15); color: var(--full-color); }
.btn-plan {
  display: block; width: 100%; text-align: center; padding: 16px;
  border-radius: var(--radius-sm); font-family: var(--font-display);
  font-size: 16px; font-weight: 700; text-decoration: none;
  border: none; cursor: pointer; transition: .2s;
}
.btn-pro  { background: var(--pro-color);  color: #fff; }
.btn-pro:hover  { background: #061a2e; box-shadow: 0 0 24px rgba(10, 37, 64,0.4); }
.btn-ah   { background: var(--ah-color);   color: #0a2540; }
.btn-ah:hover   { background: #e8c976; box-shadow: 0 0 24px rgba(201, 169, 97,0.4); }
.btn-full { background: var(--full-color); color: #fff; }
.btn-full:hover { background: #061a2e; box-shadow: 0 0 24px rgba(30, 58, 95,0.4); }
.btn-business { background: var(--full-color); color: #fff; }
.btn-business:hover { background: #061a2e; box-shadow: 0 0 24px rgba(30, 58, 95,0.4); }

/* Trade-card links */
.trade-card {
  display: block;
  background: var(--bg-card); border: var(--glass-border);
  border-radius: var(--radius-md); padding: 28px 24px;
  text-decoration: none; transition: .2s;
  backdrop-filter: blur(12px);
}
.trade-card:hover {
  background: var(--bg-card-hover); transform: translateY(-2px);
  border-color: rgba(10, 37, 64,0.25);
}
.trade-icon {
  width: 56px; height: 56px; margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10, 37, 64,0.15), rgba(201, 169, 97,0.08));
  border: 1px solid rgba(10, 37, 64,0.22);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary-light);
}
.trade-icon svg { display: block; }
.trade-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 10px; color: var(--text-main); }
.trade-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.trade-cta { color: var(--primary-light); font-weight: 700; font-size: 14px; }

/* ── TESTIMONIALS ──────────────────────────────────────────────────────── */

.testimonials-section {
  background: rgba(248,250,252,0.25);
  border-top: var(--glass-border);
  border-bottom: var(--glass-border);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}
.testimonial-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  margin: 0;
  position: relative;
  transition: .2s;
}
.testimonial-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.testimonial-quote-mark {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  color: rgba(10, 37, 64,0.35);
}
.testimonial-card blockquote {
  font-size: 17px; line-height: 1.7;
  color: var(--text-main); font-weight: 500;
  margin: 0 0 24px;
  quotes: none;
}
.testimonial-card blockquote::before,
.testimonial-card blockquote::after { content: none; }
.testimonial-attrib {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 37, 64,0.06);
}
.testimonial-photo {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 1px solid rgba(10, 37, 64,0.08);
}
.testimonial-photo-fallback {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  background: linear-gradient(135deg, rgba(10, 37, 64,0.2), rgba(201, 169, 97,0.1));
  color: var(--primary-light);
  letter-spacing: -0.5px;
}
.testimonial-name {
  font-weight: 700; color: var(--text-main); font-size: 14px;
  line-height: 1.3;
}
.testimonial-role {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}
.testimonial-source {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent);
  margin-top: 4px;
}

@media (max-width: 520px) {
  .testimonial-card { padding: 26px 22px; }
  .testimonial-card blockquote { font-size: 16px; }
}

/* ── COMPARE TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th {
  padding: 18px 18px; text-align: center; font-family: var(--font-display);
  font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(248,250,252,0.8); border: 1px solid rgba(10, 37, 64,0.06);
}
.compare-table th:first-child { text-align: left; }
.compare-table td {
  padding: 14px 18px; border: 1px solid rgba(10, 37, 64,0.05);
  color: var(--text-secondary); font-weight: 500;
}
.compare-table td:first-child { font-weight: 700; color: var(--text-main); }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:nth-child(even) td { background: rgba(248,250,252,0.3); }
.yes-pro  { color: var(--pro-color);  font-size: 19px; }
.yes-ah   { color: var(--ah-color);   font-size: 19px; }
.yes-full { color: var(--full-color); font-size: 19px; }
.no       { color: #334155; font-size: 19px; }

/* ── SIGNUP FORM ── */
.signup-wrap { max-width: 660px; margin: 0 auto; padding: 0 24px; }
.signup-card {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.10);
  border-radius: var(--radius-lg); padding: 52px 48px;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.05), 0 12px 40px rgba(10, 37, 64, 0.08);
}
.signup-card h2 { font-size: 30px; font-weight: 900; margin-bottom: 10px; }
.signup-card .sub { font-size: 17px; font-weight: 500; color: var(--text-secondary); margin-bottom: 36px; }
.error-banner {
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3);
  color: #f87171; padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; margin-bottom: 24px;
}
.tier-toggle { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 32px; }
@media(max-width:520px){ .tier-toggle { grid-template-columns: 1fr; } }
.tier-opt { position: relative; }
.tier-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.tier-opt label {
  display: block; padding: 18px 10px; border: 1px solid rgba(10, 37, 64,0.12);
  border-radius: var(--radius-md); cursor: pointer; transition: .2s; text-align: center;
  backdrop-filter: blur(8px); height: 100%;
}
.tier-opt label .tier-name { font-family: var(--font-display); font-size: 15px; font-weight: 800; display: block; margin-bottom: 4px; }
.tier-opt label .tier-price { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.tier-opt input:checked + label.lbl-pro  { border-color: var(--pro-color);  background: rgba(10, 37, 64,.08); }
.tier-opt input:checked + label.lbl-pro  .tier-name { color: var(--pro-color); }
.tier-opt input:checked + label.lbl-ah   { border-color: var(--ah-color);   background: rgba(201, 169, 97,.08); }
.tier-opt input:checked + label.lbl-ah   .tier-name { color: var(--ah-color); }
.tier-opt input:checked + label.lbl-full { border-color: var(--full-color); background: rgba(30, 58, 95,.08); }
.tier-opt input:checked + label.lbl-full .tier-name { color: var(--full-color); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field.no-mb { margin-bottom: 0; }
.field label {
  font-size: 13px; font-weight: 700; color: var(--text-secondary);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.field input, .field select {
  background: #ffffff; border: 1.5px solid rgba(10, 37, 64, 0.18);
  border-radius: var(--radius-sm); color: var(--text-main);
  font-family: var(--font-sans); font-size: 16px; font-weight: 500;
  padding: 15px 17px; outline: none; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input::placeholder { color: var(--text-muted); font-weight: 400; }
.field input:hover, .field select:hover { border-color: rgba(10, 37, 64, 0.32); }
.field input:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.22); }
.field select option { background: #f8fafc; }
.field small { font-size: 13px; font-weight: 500; color: var(--text-muted); margin-top: 2px; }
.field-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; line-height: 1.5; }
.btn-submit {
  display: block; width: 100%; padding: 20px;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  transition: .2s; margin-top: 12px; letter-spacing: 0.3px;
}
.btn-submit.sub-pro  { background: var(--pro-color);  color: #fff; }
.btn-submit.sub-pro:hover  { background: #061a2e; box-shadow: 0 0 28px rgba(10, 37, 64,0.4); }
.btn-submit.sub-ah   { background: var(--ah-color);   color: #0a2540; }
.btn-submit.sub-ah:hover   { background: #e8c976; box-shadow: 0 0 28px rgba(201, 169, 97,0.4); }
.btn-submit.sub-full { background: var(--full-color); color: #fff; }
.btn-submit.sub-full:hover { background: #061a2e; box-shadow: 0 0 28px rgba(30, 58, 95,0.4); }
.form-fine { font-size: 14px; font-weight: 500; color: var(--text-muted); text-align: center; margin-top: 18px; line-height: 1.7; }

/* Newsletter opt-in checkbox on signup form */
.newsletter-optin {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; margin: 18px 0 6px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(10, 37, 64,0.08);
  border-radius: var(--radius-sm);
  cursor: pointer; transition: .15s;
}
.newsletter-optin:hover { border-color: rgba(10, 37, 64,0.35); }
.newsletter-optin input[type="checkbox"] {
  width: 18px; height: 18px; margin: 0; flex-shrink: 0;
  accent-color: var(--ah-color); cursor: pointer; margin-top: 2px;
}
.newsletter-optin span {
  color: var(--text-secondary); font-size: 14px; line-height: 1.55; font-weight: 500;
}

/* Footer newsletter widget */
.footer-newsletter {
  max-width: 520px; margin: 28px auto 16px;
  padding: 20px 20px;
  background: rgba(248,250,252,0.4);
  border: 1px solid rgba(10, 37, 64,0.08);
  border-radius: var(--radius-md);
}
.footer-newsletter h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-main); margin-bottom: 8px;
}
.footer-newsletter p { color: var(--text-muted); font-size: 13px; margin-bottom: 14px; line-height: 1.5; }
.footer-newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-newsletter input[type="email"] {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,0.7); border: 1px solid rgba(10, 37, 64,0.12);
  border-radius: var(--radius-sm); color: var(--text-main);
  padding: 11px 14px; font-family: var(--font-sans); font-size: 14px; outline: none;
}
.footer-newsletter button {
  background: var(--ah-color); color: #0a2540; border: none;
  border-radius: var(--radius-sm); padding: 11px 20px;
  font-family: var(--font-display); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: .15s;
}
.footer-newsletter button:hover { background: #e8c976; }
.footer-newsletter .msg { font-size: 12px; color: var(--accent); margin-top: 8px; }

/* ── BILLING TOGGLE ── */
.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 52px; flex-wrap: wrap;
}
.billing-label { font-size: 16px; font-weight: 700; color: var(--text-muted); cursor: pointer; transition: .2s; }
.billing-label.active { color: var(--text-main); }
.toggle-track {
  width: 56px; height: 30px; background: rgba(10, 37, 64,0.2);
  border: 1px solid rgba(10, 37, 64,0.35); border-radius: 100px;
  position: relative; cursor: pointer; transition: .3s;
}
.toggle-track.annual { background: rgba(201, 169, 97,0.2); border-color: rgba(201, 169, 97,0.4); }
.toggle-thumb {
  width: 22px; height: 22px; background: var(--primary);
  border-radius: 50%; position: absolute; top: 3px; left: 4px;
  transition: .3s; box-shadow: 0 0 8px rgba(10, 37, 64,0.5);
}
.toggle-track.annual .toggle-thumb {
  left: 29px; background: var(--accent);
  box-shadow: 0 0 8px rgba(201, 169, 97,0.5);
}
.save-badge {
  font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  background: rgba(201, 169, 97,0.12); border: 1px solid rgba(201, 169, 97,0.3);
  color: var(--accent); padding: 4px 12px; border-radius: 100px;
  opacity: 0; transition: opacity .2s;
}
.save-badge.visible { opacity: 1; }

/* ── COUPON FIELD ── */
.coupon-row { display: flex; gap: 10px; }
.coupon-row input {
  flex: 1; background: rgba(255,255,255,0.7); border: 1px solid rgba(10, 37, 64,0.12);
  border-radius: var(--radius-sm); color: var(--text-main); font-family: var(--font-sans);
  font-size: 15px; font-weight: 600; padding: 14px 16px; outline: none; letter-spacing: 1.5px;
  text-transform: uppercase; transition: border-color .15s;
}
.coupon-row input::placeholder { text-transform: none; letter-spacing: 0; color: var(--text-muted); font-weight: 400; }
.coupon-row input:focus { border-color: var(--primary); }
.coupon-apply {
  background: rgba(248,250,252,0.8); border: 1px solid rgba(10, 37, 64,0.12);
  color: var(--text-main); border-radius: var(--radius-sm);
  padding: 14px 22px; font-size: 15px; font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: .2s;
}
.coupon-apply:hover { border-color: var(--primary); color: var(--primary-light); }
.coupon-msg { font-size: 14px; margin-top: 8px; font-weight: 700; }
.coupon-ok  { color: var(--accent); }
.coupon-err { color: #f87171; }

/* ── FAQ ── */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(10, 37, 64,0.07);
  padding: 30px 0;
}
.faq-q { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.faq-a { font-size: 17px; font-weight: 500; color: var(--text-secondary); line-height: 1.8; }

/* ── FOOTER ── */
footer {
  background: rgba(255,255,255,0.9); border-top: var(--glass-border);
  text-align: center; padding: 40px 24px;
  color: var(--text-muted); font-size: 15px; font-weight: 500;
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--primary-light); }
.footer-links { margin-top: 12px; font-size: 13px; }
.footer-links a { margin: 0 8px; }

/* ── TWO LAYERS BLOCK ─────────────────────────────────────────────────── */
.two-layers-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  align-items: stretch;
}
@media(max-width: 760px) { .two-layers-grid { grid-template-columns: 1fr; gap: 16px; } }
.layer-card {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.10);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04), 0 4px 16px rgba(10, 37, 64, 0.05);
}
.layer-card-featured {
  border-color: rgba(201, 169, 97, 0.45);
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04), 0 0 36px rgba(201, 169, 97, 0.18);
}
.layer-card h3 {
  font-size: 22px; font-weight: 800; line-height: 1.3;
  margin-bottom: 14px; color: var(--text-main);
}
.layer-card p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.layer-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 18px;
}
.layer-tag-navy { background: rgba(10, 37, 64, 0.08); color: var(--primary); }
.layer-tag-gold { background: rgba(201, 169, 97, 0.14); color: var(--accent-dark); }

/* ── DOLLAR IMPACT BLOCK ──────────────────────────────────────────────── */
.impact-card {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04), 0 8px 24px rgba(10, 37, 64, 0.06);
}
.impact-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.impact-table thead tr { background: rgba(10, 37, 64, 0.04); }
.impact-table th {
  padding: 18px 24px;
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-main);
  text-align: left;
}
.impact-table th:last-child { text-align: right; }
.impact-table td {
  padding: 16px 24px;
  border-top: 1px solid rgba(10, 37, 64, 0.06);
  color: var(--text-secondary);
}
.impact-table td:first-child { font-weight: 700; color: var(--text-main); }
.impact-table td:last-child { text-align: right; }
.impact-footer {
  text-align: center; margin-top: 24px;
  color: var(--text-muted); font-size: 15px; font-style: italic;
  line-height: 1.7;
}
@media(max-width: 600px) {
  .impact-table th, .impact-table td { padding: 14px 16px; font-size: 14px; }
  .impact-table th:first-child, .impact-table td:first-child { font-size: 14px; }
}

/* ── COMPARE WRAP ── */
/* Wrap is constrained to 100% of parent so the table's min-width scrolls
   INSIDE the container, not against the viewport edge. */
.compare-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
}
.compare-table { min-width: 640px; }

/* ── TABLET (≤768px) ─────────────────────────────────────────────────────── */
@media(max-width:768px){
  nav { padding: 12px 16px; gap: 10px; flex-wrap: nowrap; }
  nav > div:last-child { gap: 10px !important; flex-wrap: wrap; justify-content: flex-end; }
  .nav-cta { padding: 10px 18px; font-size: 14px; }
  .logo-shield { width: 36px; height: 36px; }
  .logo-name { font-size: 1rem; }

  .hero { min-height: auto; padding: 56px 20px 40px; }
  .hero-actions { flex-direction: column; gap: 12px; width: 100%; max-width: 340px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section { padding: 56px 20px; }
  .section-title { margin-bottom: 44px; }

  .form-grid { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; }
  .stat { min-width: 50%; max-width: none; padding: 28px 16px; border-right: none; border-bottom: 1px solid rgba(10, 37, 64,0.06); }
  .stat:nth-child(even) { border-right: none; }
  .stat-num { font-size: 32px; }

  .signup-card { padding: 32px 20px; }
  .signup-wrap { max-width: 100%; padding: 0 16px; }
  .plan-card { padding: 32px 22px; }
  .step-card { padding: 28px 22px; }

  .plan-price { font-size: 44px; }
  .plan-price sup { font-size: 18px; }

  .faq-wrap { padding: 0 4px; }
  .faq-q { font-size: 18px; }
  .faq-a { font-size: 16px; }

  /* Footer link list on tablet — keep flowing but tighten spacing */
  .footer-links a { padding: 2px 4px; display: inline-block; }
}

/* ── PHONE (≤520px) — iPhone SE, iPhone 13 mini, small Android ───────────── */
@media(max-width:520px){
  /* Nav on phones: hide About/Blog/Guides; keep Sign in visible alongside primary CTA */
  nav > div:last-child > a:not(.nav-cta):not([href="/dashboard"]) { display: none; }
  nav > div:last-child > a[href="/dashboard"] { font-size: 13px; color: var(--text-muted); padding: 6px 4px; }
  nav > div:last-child { gap: 12px !important; }
  .nav-cta { padding: 9px 16px; font-size: 13px; }

  .logo { gap: 10px; font-size: 1rem; }
  .logo-by { display: none; }

  .hero { padding: 44px 16px 32px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 24px; }
  .hero-sub { font-size: 16px !important; margin-bottom: 32px; }

  .section { padding: 44px 16px; }
  .section-title { margin-bottom: 36px; }
  .section-title p { font-size: 15px; }

  .steps-grid { grid-template-columns: 1fr; }
  .step-card { padding: 24px 20px; }

  .plan-card { padding: 28px 20px; }
  .plan-features li { font-size: 14px; padding: 8px 0; }

  .signup-card { padding: 28px 18px; }
  .signup-card h2 { font-size: 24px; }
  .signup-card .sub { font-size: 15px; margin-bottom: 28px; }

  .field input, .field select { padding: 13px 14px; font-size: 16px; /* 16px prevents iOS zoom on focus */ }
  .field label { font-size: 12px; }
  .btn-submit { padding: 17px; font-size: 16px; }

  .newsletter-optin { padding: 12px 14px; }
  .newsletter-optin span { font-size: 13px; }

  .footer-newsletter { padding: 18px 16px; }
  .footer-newsletter form { gap: 8px; }
  .footer-newsletter input[type="email"] { min-width: 100%; }
  .footer-newsletter button { width: 100%; }

  /* Billing toggle: compact labels */
  .billing-label { font-size: 14px; }

  /* Coupon row */
  .coupon-row { flex-direction: column; }
  .coupon-apply { width: 100%; }

  /* Hero H1 — let clamp handle, but nudge margin */
  h1 { margin-bottom: 22px !important; }
}

/* ── Prevent iOS input-zoom on focus across the app ─────────────────────── */
@media(max-width:820px){
  input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
  select, textarea {
    font-size: 16px !important;   /* iOS auto-zooms on <16px focus — this disables it */
  }
}
