/* ══════════════════════════════════════════════════════════════════════════
   Clearbay Digital — homepage styles.

   Only the homepage loads this. Everything shared with the other pages — the
   font, reset, tokens, section vocabulary, buttons, brand lockup and small
   footer — lives in /styles.css, which loads first.
   ══════════════════════════════════════════════════════════════════════════ */

/* The homepage sets a wider column than the document pages' reading measure. */
:root { --container-max: 1100px; }

/* overflow-x is a homepage concern: the hero and photo blocks bleed wider than
   the column on some widths. */
body { overflow-x: hidden; }

/* Keep anchored section headings clear of the fixed navbar */
section[id], footer { scroll-margin-top: 80px; }

/* On the dark blocks, the bolded skim phrase has to go white or it drops to
   near-invisible against the navy. */
.hero-sub strong, .cta-banner-text p strong,
.founding-offer p strong, .lead-copy p strong { color: var(--white); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 37, 69, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.25s, background 0.25s;
}
nav.scrolled {
  background: rgba(9, 30, 56, 0.98);
  box-shadow: 0 8px 30px rgba(0,0,0,0.22);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.nav-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}
.nav-name span { color: var(--gold); }
.nav-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.nav-phone:hover { color: var(--gold); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
#hero {
  background: var(--navy);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,109,196,0.18) 0%, transparent 70%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(233,160,32,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { container: hero-copy / inline-size; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233,160,32,0.15);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(233,160,32,0.25);
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-heading {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
/* Three items: one line, or one per line -- never an uneven 2 + 1.
   The three labels plus their gaps need ~380px; the desktop hero copy
   column is 427px, so 419px is the switch point, with room to spare. It
   catches both narrow cases: the cramped two-column hero around 920-1080px,
   and phones under about 460px. Re-check this if the trust labels change. */
@container hero-copy (max-width: 419px) {
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.trust-check {
  width: 18px; height: 18px;
  background: rgba(233,160,32,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-check svg { width: 10px; height: 10px; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ── PROBLEM ── */
#problem {
  background: var(--surface);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.problem-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.problem-icon {
  width: 36px; height: 36px;
  background: rgba(233,160,32,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.problem-icon svg { width: 18px; height: 18px; color: var(--gold); }
.problem-text > strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.problem-text span {
  font-size: 14px;
  color: var(--text-muted);
}
.problem-text span strong { font-weight: 600; color: var(--text); }
.problem-kicker {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
/* Photo cards. No text is overlaid on the images, so contrast never
   depends on whatever pixels happen to fall behind it. */
.hero-photo, .problem-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}
.hero-photo img, .problem-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--navy-light);
}
.hero-photo {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
/* A 16:9 device mockup now, not the 3:2 photo it replaced. Its own paper is
   the placeholder tint so it does not flash navy while loading. */
.hero-photo img { aspect-ratio: 16 / 9; background: #FBFCFC; }
.problem-photo {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(11,37,69,0.10);
}
.problem-photo img { aspect-ratio: 3 / 5; object-position: 44% 50%; }

/* ── SERVICES ── */
#services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  scroll-margin-top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  border-color: var(--blue);
  /* lift and a touch of scale; the shadow keeps the grow from reading as a
     rendering glitch on the flat surface colour */
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(11,37,69,0.10);
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--sky);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; color: var(--blue); }
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
#how { background: var(--sky); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: var(--border);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  border: 4px solid var(--sky);
}
.step:nth-child(2) .step-num { background: var(--gold); color: var(--navy); }
.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PRICING ── */
#pricing { background: var(--surface); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  transform: scale(1.03);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.plan-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.plan-card.featured .plan-name { color: rgba(255,255,255,0.5); }
.plan-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.5;
  min-height: 4.5em; /* three lines at line-height 1.5 */
}
.plan-card.featured .plan-desc { color: rgba(255,255,255,0.55); }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.plan-price-num {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.plan-card.featured .plan-price-num { color: var(--white); }
.plan-price-label {
  font-size: 13px;
  color: var(--text-muted);
}
.plan-card.featured .plan-price-label { color: rgba(255,255,255,0.55); }
.plan-monthly {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 24px;
}
.plan-card.featured .plan-monthly { color: var(--gold); }
/* Standard price, struck through, shown beside the founding price. */
.plan-price-was {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.plan-card.featured .plan-price-was { color: rgba(255,255,255,0.58); }
/* Founding-spot counter above the plan grid. */
.spots-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 9px 17px;
  border: 1px solid var(--gold);
  background: rgba(233,160,32,0.1);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--navy);
}
.spots-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── ONE-TIME ADD-ON BAND ──
   Deliberately NOT a fourth plan card. It sits below the grid as a single
   full-width row with no elevation, so it reads as a side door for people
   who won't take a monthly — not as a cheaper option competing with the
   three plans. It also lives outside both pricing blocks, so the founding
   and standard swap never has to touch it. */
.addon-band {
  margin-top: 34px;
  padding: 26px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 36px;
  align-items: center;
}
.addon-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 9px;
}
.addon-band h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.015em; }
.addon-band p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.addon-note { margin-top: 10px; font-size: 13.5px; color: var(--text-light); }
.addon-buy { text-align: center; }
.addon-price { font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.addon-price-label { display: block; font-size: 13px; color: var(--text-light); margin: 7px 0 15px; }
@media (max-width: 760px) {
  .addon-band { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .addon-buy { text-align: left; }
  .addon-buy .btn { width: 100%; justify-content: center; }
}
/* Keeps [hidden] winning over any display rule on the swappable blocks. */
[hidden] { display: none !important; }
.plan-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 22px;
}
.plan-card.featured .plan-divider { background: rgba(255,255,255,0.12); }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.plan-card.featured .plan-features li { color: rgba(255,255,255,0.8); }
.check-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon svg { width: 10px; height: 10px; color: var(--blue); }
.plan-card.featured .check-icon { background: rgba(233,160,32,0.2); }
.plan-card.featured .check-icon svg { color: var(--gold); }
.plan-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ── CONTACT ── */
#contact { background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 40px; height: 40px;
  background: var(--sky);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; color: var(--blue); }
.contact-item-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-item-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
a.contact-item-val:hover { color: var(--blue); }
/* ── CONTACT: booking card ── */
/* Replaces the quote form in the right-hand column, so the section keeps its
   two-column balance while offering one action instead of two. */
.contact-book {
  background: var(--navy);
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
}
.contact-book .tag {
  display: inline-block;
  background: rgba(233,160,32,0.15);
  color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 18px;
  border: 1px solid rgba(233,160,32,0.25);
}
.contact-book h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.contact-book > p { font-size: 15px; color: rgba(255,255,255,0.72); margin-bottom: 22px; }
.contact-book-list { list-style: none; }
.contact-book-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,0.9); margin-bottom: 12px;
}
/* Gold on navy, matching the founding card — the default is blue on white. */
.contact-book-list .check-icon { background: rgba(233,160,32,0.2); flex-shrink: 0; }
.contact-book-list .check-icon svg { color: var(--gold); }
.contact-book-alt {
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin-top: 20px; line-height: 1.6;
}
.contact-book-alt a { color: rgba(255,255,255,0.85); text-decoration: underline; }

/* ── CTA BANNER ── */
#cta-banner {
  background: var(--navy);
  padding: 72px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner-text h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-banner-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
}
.cta-banner-btn { flex-shrink: 0; white-space: nowrap; }

/* ── FOOTER ── */
footer {
  background: #070F1E;
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-brand { max-width: 280px; }
.footer-logo { display: inline-flex; margin-bottom: 14px; }
.footer-logo-icon { width: 36px; height: 36px; margin-right: 10px; flex-shrink: 0; }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  line-height: 1.55;
}
.footer-links h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* The hours line is the one item with no link, so it would otherwise
   inherit the body's navy — invisible on this footer. */
.footer-links li {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.footer-links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { display: inline-block; padding: 4px 0; color: rgba(255,255,255,0.75); text-decoration: underline; }
.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
}
.footer-location svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; }

/* ── ABOUT / MEET MAT ── */
#about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 56px;
  align-items: start;
}
.founder-card {
  position: sticky;
  top: 92px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 26px 26px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(11,37,69,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founder-ring {
  width: 180px; height: 180px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--blue) 100%);
  box-shadow: 0 10px 28px rgba(11,37,69,0.18);
  margin-bottom: 18px;
}
.founder-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
  border: 4px solid var(--white);
}
.founder-name { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.founder-role { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.founder-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--sky);
  padding: 7px 14px;
  border-radius: 20px;
  line-height: 1.3;
}
.founder-chip svg { width: 13px; height: 13px; flex-shrink: 0; }
.founder-card .about-work { width: 100%; text-align: left; margin-top: 22px; }
.about-body p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.about-body p.lead { font-size: 18px; color: var(--text); }
.about-sign { font-weight: 700; color: var(--navy); margin-top: 4px; }
.about-sign span { display: block; font-weight: 500; font-size: 14px; color: var(--text-muted); }
.about-work {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.about-work:hover { border-color: var(--blue); transform: translateY(-2px); }
.about-work-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--sky); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.about-work-icon svg { width: 20px; height: 20px; color: var(--blue); }
.about-work-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.about-work-text span { font-size: 13px; color: var(--text-muted); }

/* ── PROMISE / GUARANTEE ── */
#promise { background: var(--sky); }
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.promise-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: border-color 0.2s, transform 0.25s ease, box-shadow 0.25s ease;
}
.promise-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(11,37,69,0.10);
}
.promise-icon {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  background: var(--sky);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.promise-icon svg { width: 22px; height: 22px; color: var(--blue); }
.promise-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.promise-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* A single link out of the pricing section, sat below the plans and the add-on
   rather than above them: it's for the reader who got to the bottom without
   picking one, not a detour offered before the decision. */
.pricing-compare {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}
.pricing-compare a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ── FOUNDING CLIENTS ── */
#founding { background: var(--surface); }
.founding-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.founding-offer {
  background: var(--navy);
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
}
.founding-offer .tag {
  display: inline-block;
  background: rgba(233,160,32,0.15);
  color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 18px;
  border: 1px solid rgba(233,160,32,0.25);
}
.founding-offer h3 { font-size: 26px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
.founding-offer p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.65; margin-bottom: 24px; }
.founding-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.founding-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.85); }
.founding-list .check-icon { background: rgba(233,160,32,0.2); }
.founding-list .check-icon svg { color: var(--gold); }

/* ── FAQ ── */
#faq { background: var(--white); }
.faq-list { margin-top: 40px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  transition: transform 0.25s;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: '';
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
}
.faq-item summary .plus::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq-item summary .plus::after { left: 10px; top: 3px; bottom: 3px; width: 2px; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
/* The row spans the container like every other section block, and the answer
   runs the full width of it: the right-hand gutter is the same 22px as the
   left, so the text wraps on the padding rather than well short of it. */
.faq-item .faq-answer { padding: 0 22px 20px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.faq-item .faq-answer a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ── LEAD MAGNET ── */
#leadmagnet { background: var(--navy); position: relative; overflow: hidden; }
#leadmagnet::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(26,109,196,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.lead-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.lead-copy .section-label { color: var(--gold); }
.lead-copy h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: var(--white); margin-bottom: 14px; }
.lead-copy p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 460px; }
.lead-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
}
.lead-form label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 6px; }
.lead-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.lead-form input::placeholder { color: rgba(255,255,255,0.55); }
.lead-form input:focus { border-color: var(--gold); }
.lead-form .btn { width: 100%; justify-content: center; }
.lead-form .fine { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 12px; text-align: center; }
.lead-form .fine a { color: rgba(255,255,255,0.75); }

/* ── FORM SUCCESS / ERROR STATES ── */
.form-success { text-align: center; padding: 28px 12px; }
.form-success .check {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(233,160,32,0.15);
  display: flex; align-items: center; justify-content: center;
}
.form-success h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--text-muted); }
.lead-form .form-success h3 { color: var(--white); }
.lead-form .form-success p { color: rgba(255,255,255,0.7); }
.form-error {
  display: none;
  background: #FDF0EF; border: 1px solid #E8B3AD; border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14px; color: #8C2F26; line-height: 1.5;
}
.form-error.show { display: block; }
.form-error a { color: inherit; font-weight: 600; }
.lead-form .form-error { background: rgba(220,80,70,0.15); border-color: rgba(220,80,70,0.4); color: #FFD9D4; margin-bottom: 14px; }

/* ── STAKES ──
   The failure/success beat: what doing nothing costs, and what changes.
   Two columns, one muted and one navy, so the eye reads the contrast before
   it reads a word. Sits between the promise and the price on purpose — it's
   what makes the price feel like a decision rather than a number. */
.stakes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}
.stakes-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.stakes-without { background: var(--surface); }
.stakes-with { background: var(--navy); border-color: var(--navy); }
.stakes-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.stakes-without h3 { color: var(--text-muted); }
.stakes-with h3 { color: var(--white); }
.stakes-card ul { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.stakes-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; }
.stakes-without li { color: var(--text-muted); }
.stakes-with li { color: rgba(255,255,255,0.92); }
.stakes-mark {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.stakes-without .stakes-mark { background: rgba(11,37,69,0.09); color: var(--text-light); }
.stakes-with .stakes-mark { background: var(--gold); color: var(--navy); }
.stakes-mark svg { width: 10px; height: 10px; }
@media (max-width: 760px) {
  .stakes-grid { grid-template-columns: 1fr; gap: 18px; }
  .stakes-card { padding: 26px 24px; }
}

/* ── SCROLL REVEAL ──
   The hidden state lives here rather than being written onto each element by
   JS: main.js only adds .js-anim to <html> and .in to each section as it
   scrolls into view, which keeps the work off the main thread at load.
   Without JS, .js-anim is never added and everything renders normally. */
/* .hero-photo is deliberately not in this list: it is the LCP image and is
   on screen at load, so hiding it until the observer fires only delays paint. */
.js-anim :is(.service-card, .step, .plan-card, .problem-item, .stakes-card,
             .problem-photo, .contact-item, .section-heading, .section-sub) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-anim section.in :is(.service-card, .step, .plan-card, .problem-item, .stakes-card,
                        .problem-photo, .contact-item, .section-heading, .section-sub) {
  opacity: 1;
  transform: none;
}
/* stagger cards within a row */
.js-anim :is(.services-grid, .steps, .pricing-grid, .promise-grid, .problem-list, .stakes-grid) > *:nth-child(2) { transition-delay: 70ms; }
.js-anim :is(.services-grid, .steps, .pricing-grid, .promise-grid, .problem-list, .stakes-grid) > *:nth-child(3) { transition-delay: 140ms; }
.js-anim :is(.services-grid, .steps, .pricing-grid, .promise-grid, .problem-list, .stakes-grid) > *:nth-child(4) { transition-delay: 210ms; }

/* ── STICKY MOBILE CTA ── */
.mobile-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(11,37,69,0.35);
  transform: translateY(140%);
  transition: transform 0.35s ease;
}
.mobile-cta.show { transform: none; }

/* Grid and flex children default to min-width:auto, so a child that can't shrink
   — a <select> whose longest option is wider than the phone, a long unbreakable
   string — forces its track, and then the whole page, wider than the viewport.
   This is what made the homepage scroll sideways on mobile. */
.hero-inner > *, .problem-inner > *, .about-inner > *, .founding-inner > *,
.lead-inner > *, .contact-inner > * { min-width: 0; }
/* Belt and braces: a control can never be wider than the column it sits in. */

/* ── RESPONSIVE ── */
@media (max-width: 1080px) and (min-width: 901px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .plan-desc { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-content: flex-start; }
  .hero-photo { max-width: 100%; }
  .problem-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: scale(1); }
  .contact-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .founder-card { position: static; top: auto; max-width: 380px; margin-left: auto; margin-right: auto; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .founding-inner { grid-template-columns: 1fr; gap: 36px; }
  .lead-inner { grid-template-columns: 1fr; gap: 32px; }
}
/* Collapse the nav into a hamburger before the links crowd the phone/CTA */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: #0B2545;
    padding: 20px 24px 26px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  }
  /* Block links with padding so the tap target is ~36px tall, not the 19px text line. */
  .nav-links.open a { display: block; font-size: 16px; padding: 8px 0; }
  .nav-hamburger { display: block; }
  /* With the links hidden, space-between left the phone and Call Now stranded
     mid-header. Pull them over to sit beside the hamburger instead. */
  .nav-cta { margin-left: auto; margin-right: 16px; }
}
@media (max-width: 640px) {
  .nav-cta .nav-phone { display: none; }
  .nav-cta .btn { display: none; }
  #hero { padding: 104px 0 64px; }
  .section { padding: 56px 0; }
  #problem { padding: 56px 0; }
  #cta-banner { padding: 52px 0; }
  .hero-trust { gap: 14px 20px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-inner .btn { width: 100%; justify-content: center; }
  .promise-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .founding-offer { padding: 28px; }
  .mobile-cta { display: flex; }
}
/* Below ~400px the two hero buttons no longer fit side by side. Left to
   wrap they stacked at their natural widths (128px above 210px), which
   reads as a ragged left column. Stack them deliberately, matched. */
@media (max-width: 400px) {
  .hero-btns, .section-cta { flex-direction: column; align-items: stretch; }
  .hero-btns .btn, .section-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 340px) {
  .hero-tag { padding-left: 10px; padding-right: 10px; gap: 6px; }
}
