/* ============================================================
   Signalst — Global Stylesheet
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --navy:        #0F2D5E;
  --blue:        #1B5FAD;
  --light-blue:  #E8F0FB;
  --off-white:   #F7F9FC;
  --white:       #FFFFFF;
  --mid-grey:    #666666;
  --dark:        #1A1A1A;
  --accent:      #E8A020;

  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --text-xs:   0.8125rem;
  --text-sm:   0.875rem;
  --text-base: 1.0625rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.75rem;
  --text-4xl:  3.5rem;

  --leading-tight:  1.15;
  --leading-normal: 1.7;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-blue: 0 8px 32px rgba(27,95,173,0.18);

  --max-width:      1200px;
  --max-width-text: 720px;
  --nav-height:     68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll { overflow: hidden; }

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* --- Layout ----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5.5rem 0; }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-base);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease,
              color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 0.6rem 1.2rem; font-size: var(--text-sm); }

.btn--accent {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: #d4921c;
  border-color: #d4921c;
  box-shadow: 0 4px 20px rgba(232,160,32,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(15,45,94,0.35);
}
.btn--ghost-dark:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* --- Navigation ------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(15,45,94,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s ease;
}

.nav--scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.nav__logo:hover { text-decoration: none; opacity: 0.9; color: var(--white); }

.nav__logo-icon { flex-shrink: 0; color: var(--white); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__link {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}
.nav__link:hover { color: var(--white); text-decoration: none; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu .btn { width: 260px; }

/* --- Section utilities ------------------------------------ */
.section--navy      { background: var(--navy);       color: var(--white); }
.section--white     { background: var(--white); }
.section--off-white { background: var(--off-white); }
.section--light-blue { background: var(--light-blue); }

.section__header { text-align: center; margin-bottom: 3.5rem; }

.section__header p {
  font-size: var(--text-lg);
  color: var(--mid-grey);
  max-width: 540px;
  margin: 1rem auto 0;
}

.section--navy .section__header p { color: rgba(255,255,255,0.6); }

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--navy);
  /* Dot grid + radial blue glow at top — the Linear/Vercel move */
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(27,95,173,0.5) 0%, transparent 65%),
    radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  background-position: center top, 0 0;
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  text-align: center;
}

/* Subtle bottom fade into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(15,45,94,0.15));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
}

/* Badge pill above headline */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
  padding: 0.4rem 1.1rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  max-width: 840px;
  margin: 0 auto 1.5rem;
  color: var(--white);
  letter-spacing: -0.035em;
}

.hero__sub {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero__ctas .btn { padding: 1rem 2rem; font-size: var(--text-lg); }

.hero__proof {
  display: inline-block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  font-family: var(--font-mono);
}

/* --- Problem cards ---------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.problem-card__number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.problem-card h3 {
  margin-bottom: 0.75rem;
  color: var(--dark);
  font-size: var(--text-xl);
}
.problem-card p { color: var(--mid-grey); }

/* --- Solution split --------------------------------------- */
.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.solution__text h2 { margin-bottom: 1.25rem; }
.solution__text p {
  color: var(--mid-grey);
  font-size: var(--text-lg);
  line-height: 1.7;
}

.solution__docs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doc-card {
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.doc-card__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--light-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
  font-family: var(--font-mono);
  border: 1px solid rgba(27,95,173,0.15);
}
.doc-card--excel .doc-card__icon {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: rgba(46,125,50,0.15);
}

.doc-card__label {
  font-size: var(--text-xs);
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.doc-card__title {
  font-weight: 600;
  color: var(--dark);
  font-size: var(--text-base);
}

/* --- How it works ----------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  left: calc(33.333% + 0.5rem);
  right: calc(33.333% + 0.5rem);
  height: 1px;
  background: var(--blue);
  opacity: 0.2;
  pointer-events: none;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step__number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(27,95,173,0.15);
}

.step__content { width: 100%; }
.step h3 { margin-bottom: 0.75rem; font-size: var(--text-lg); }
.step p { color: var(--mid-grey); }
.section--light-blue .step p { color: #4a5568; }

/* --- Kit contents ----------------------------------------- */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.kit-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.kit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.kit-card__badge {
  display: inline-flex;
  align-items: center;
  background: var(--light-blue);
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.kit-card__badge--excel { background: #e8f5e9; color: #2e7d32; }

.kit-card h3 { margin-bottom: 0.75rem; font-size: var(--text-xl); }
.kit-card p { color: var(--mid-grey); }

/* --- Proof ------------------------------------------------- */
.proof__body {
  max-width: 620px;
  margin: 0 auto 3.5rem;
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: var(--text-lg);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.proof-stat {
  background: rgba(255,255,255,0.03);
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat__number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.stat__label { color: rgba(255,255,255,0.6); font-size: var(--text-base); }

.proof__small {
  text-align: center;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
}

/* --- Pricing ---------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
  transform: translateY(-10px);
}

/* Gradient top stripe on featured card */
.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #4a90d9);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.3rem 1.1rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.pricing-card__tier {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid-grey);
  margin-bottom: 0.35rem;
}

.pricing-card__seats {
  font-size: var(--text-sm);
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
}

.pricing-card__price {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.pricing-card__includes {
  font-size: var(--text-sm);
  color: var(--mid-grey);
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  line-height: 1.55;
}

.pricing-card .btn { width: 100%; }

.pricing__footer {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--mid-grey);
}
.pricing__footer a { color: var(--blue); }

/* --- FAQ -------------------------------------------------- */
.faq-list { max-width: 700px; margin: 0 auto; }

.accordion-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.accordion-item:first-child { border-top: 1px solid rgba(0,0,0,0.08); }

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.375rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-base);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--dark);
  transition: color 0.15s;
}
.accordion-header:hover { color: var(--blue); }

.accordion-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--mid-grey);
  transition: transform 0.25s ease;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.accordion-item.open .accordion-body { max-height: 500px; }

.accordion-body__inner { padding-bottom: 1.5rem; }
.accordion-body p { color: var(--mid-grey); line-height: var(--leading-normal); }

/* --- Final CTA -------------------------------------------- */
.final-cta { text-align: center; padding: 6rem 0; }

.final-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  margin-bottom: 2.25rem;
  color: var(--white);
}

.final-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.footer__logo:hover { text-decoration: none; color: var(--white); opacity: 0.9; }
.footer__logo-icon { flex-shrink: 0; }

.footer__brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
}

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}
.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--white); text-decoration: none; }

.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* --- Scroll animations ------------------------------------ */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate.visible { opacity: 1; transform: translateY(0); }
.animate--delay-1 { transition-delay: 0.1s; }
.animate--delay-2 { transition-delay: 0.2s; }
.animate--delay-3 { transition-delay: 0.3s; }

/* --- Page hero (inner pages) ------------------------------ */
.page-hero {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(27,95,173,0.4) 0%, transparent 65%),
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  color: var(--white);
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto;
}

/* --- Diagnostic form -------------------------------------- */
.form-section { padding: 5rem 0; }

.form-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: var(--text-2xl); margin-bottom: 0.5rem; }
.form-card .lead { color: var(--mid-grey); margin-bottom: 2rem; }

.form-placeholder {
  background: var(--off-white);
  border: 2px dashed rgba(0,0,0,0.12);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  color: var(--mid-grey);
}
.form-placeholder strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.form-placeholder p { font-size: var(--text-sm); margin-top: 0.75rem; }
.form__note { text-align: center; font-size: var(--text-sm); color: var(--mid-grey); margin-top: 1.5rem; }

/* --- About page ------------------------------------------- */
.about-content { max-width: 720px; margin: 0 auto; padding: 5rem 1.5rem; }

.about-content .lead {
  font-size: var(--text-xl);
  color: var(--mid-grey);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.about-content h2 { font-size: var(--text-2xl); margin: 2.5rem 0 1rem; }
.about-content p { color: #444; margin-bottom: 1.5rem; }

.about__cta {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.09);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Blog list -------------------------------------------- */
.blog-list { max-width: 720px; margin: 0 auto; padding: 5rem 1.5rem; }
.blog-list h2 { margin-bottom: 0.5rem; }
.blog-list .lead { color: var(--mid-grey); margin-bottom: 3rem; }

.blog-card { padding: 2rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.blog-card:first-of-type { border-top: 1px solid rgba(0,0,0,0.08); }

.blog-card__meta {
  font-size: var(--text-sm);
  color: var(--mid-grey);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}
.blog-card h3 { margin-bottom: 0.75rem; font-size: var(--text-xl); }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--blue); text-decoration: none; }
.blog-card p { color: var(--mid-grey); margin-bottom: 1.25rem; }

/* --- Article ---------------------------------------------- */
.article-wrapper { max-width: 720px; margin: 0 auto; padding: 5rem 1.5rem 6rem; }

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mid-grey);
  font-size: var(--text-sm);
  margin-bottom: 2.5rem;
  transition: color 0.15s;
}
.article__back:hover { color: var(--blue); text-decoration: none; }

.article__header {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.09);
}
.article__meta {
  font-size: var(--text-sm);
  color: var(--mid-grey);
  font-family: var(--font-mono);
  margin-bottom: 1.25rem;
}
.article__header h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 1.25rem; }
.article__intro { font-size: var(--text-xl); color: var(--mid-grey); line-height: 1.6; }

.article__body h2 { font-size: var(--text-2xl); margin: 2.75rem 0 1rem; }
.article__body h3 { font-size: var(--text-xl); margin: 2rem 0 0.75rem; }
.article__body p { color: #333; margin-bottom: 1.5rem; }
.article__body ul, .article__body ol { margin: 0 0 1.5rem 1.5rem; color: #333; }
.article__body li { margin-bottom: 0.5rem; line-height: 1.7; }

.article__cta-block {
  background: var(--light-blue);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.75rem 2rem;
  margin: 3rem 0;
}
.article__cta-block p { color: var(--dark); font-size: var(--text-lg); margin-bottom: 1.25rem; }

/* Calculation / callout box inside articles */
.calc-box {
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.calc-box__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-grey);
  margin-bottom: 1rem;
}

.calc-box__formula {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.calc-box__example {
  font-size: var(--text-sm);
  color: var(--mid-grey);
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  line-height: 1.65;
}

.calc-box__result {
  font-weight: 700;
  color: var(--dark);
}

/* Pull stat inside articles */
.article__pull {
  border-top: 2px solid var(--accent);
  padding: 1.5rem 0 0;
  margin: 2.5rem 0;
}

.article__pull p {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  font-family: var(--font-mono);
}

/* --- Thanks page ------------------------------------------ */
.thanks-content { max-width: 620px; margin: 0 auto; padding: 5rem 1.5rem 6rem; text-align: center; }
.thanks-content h1 { margin-bottom: 1rem; }
.thanks-content .lead { font-size: var(--text-lg); color: var(--mid-grey); margin-bottom: 3rem; }

.thanks-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  margin-bottom: 3rem;
}

.thanks-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.06);
}

.thanks-step__number {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.thanks-step h3 { font-size: var(--text-base); margin-bottom: 0.3rem; }
.thanks-step p { font-size: var(--text-sm); color: var(--mid-grey); }

/* --- Pilot card (pricing) --------------------------------- */
.pilot-card {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.pilot-card__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pilot-card__left { flex: 1; min-width: 240px; }

.pilot-card__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid-grey);
  margin-bottom: 0.5rem;
}

.pilot-card__price {
  font-size: var(--text-2xl);
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pilot-card__seats {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--mid-grey);
  font-family: var(--font-base);
  letter-spacing: 0;
}

.pilot-card p {
  color: var(--mid-grey);
  font-size: var(--text-sm);
  max-width: 440px;
  margin-bottom: 0;
  margin-top: 0.5rem;
}

/* --- Gap tracker ------------------------------------------ */
.gap-tracker {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.07);
}

.gap-tracker__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}

.gap-tracker__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.gap-tracker__dot--pending      { background: rgba(0,0,0,0.15); }
.gap-tracker__dot--gap          { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.4); }
.gap-tracker__dot--partial      { background: #f59e0b; }
.gap-tracker__dot--ok           { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.3); }

.gap-tracker__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mid-grey);
}

.gap-tracker__status {
  font-size: 10px;
  color: var(--mid-grey);
  text-align: center;
  line-height: 1.3;
  min-height: 13px;
}

/* --- Diagnostic quiz -------------------------------------- */
.quiz-wrap { max-width: 600px; margin: 0 auto; }

.quiz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.quiz-meta__step {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quiz-progress {
  height: 3px;
  background: rgba(0,0,0,0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.quiz-progress__bar {
  height: 100%;
  background: var(--blue);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
  width: 0%;
}

.quiz-question { display: none; }
.quiz-question.active { display: block; }

.quiz-question h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  margin-bottom: 1.75rem;
  line-height: 1.45;
  color: var(--dark);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.quiz-option {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: var(--off-white);
  border: 1.5px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-md);
  text-align: left;
  font-family: var(--font-base);
  font-size: var(--text-base);
  color: var(--dark);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  line-height: 1.5;
}

.quiz-option:hover {
  border-color: var(--blue);
  background: var(--light-blue);
}

.quiz-option.selected {
  border-color: var(--blue);
  background: var(--light-blue);
  color: var(--navy);
  font-weight: 500;
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quiz-btn-next {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.quiz-btn-next.visible {
  opacity: 1;
  pointer-events: auto;
}

/* --- Diagnostic results ----------------------------------- */
.diagnostic-results { display: none; }
.diagnostic-results.visible { display: block; }

.diagnostic-results__header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.diagnostic-results__header h2 { margin-bottom: 0.75rem; font-size: var(--text-2xl); }
.diagnostic-results__header p { color: var(--mid-grey); font-size: var(--text-lg); }

.result-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.result-card {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1.5px solid;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.result-card--gap    { background: #fff5f5; border-color: #fecaca; }
.result-card--partial { background: #fffbeb; border-color: #fde68a; }
.result-card--ok     { background: #f0fdf4; border-color: #bbf7d0; }

.result-card__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.result-card--gap    .result-card__dot { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.4); }
.result-card--partial .result-card__dot { background: #f59e0b; }
.result-card--ok     .result-card__dot { background: #22c55e; }

.result-card__body { flex: 1; }

.result-card__status {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.result-card--gap    .result-card__status { color: #dc2626; }
.result-card--partial .result-card__status { color: #d97706; }
.result-card--ok     .result-card__status { color: #16a34a; }

.result-card h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.4rem;
  color: var(--dark);
}
.result-card p { font-size: var(--text-sm); color: var(--mid-grey); }

.diagnostic-summary {
  background: var(--light-blue);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--blue);
  margin-bottom: 2.5rem;
}

.diagnostic-summary p {
  color: var(--dark);
  font-size: var(--text-lg);
  line-height: 1.65;
}

.quiz-restart {
  background: none;
  border: none;
  color: var(--mid-grey);
  font-size: var(--text-sm);
  cursor: pointer;
  font-family: var(--font-base);
  text-decoration: underline;
  padding: 0;
  display: block;
  margin: 1.5rem auto 0;
}
.quiz-restart:hover { color: var(--blue); }

/* --- Privacy / generic ------------------------------------ */
.content-page { max-width: 720px; margin: 0 auto; padding: 5rem 1.5rem 6rem; }
.content-page h1 { margin-bottom: 2rem; }
.content-page h2 { font-size: var(--text-xl); margin: 2.5rem 0 0.75rem; }
.content-page p, .content-page li { color: #444; margin-bottom: 1rem; }
.content-page ul { margin: 0 0 1rem 1.5rem; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .problem-grid, .kit-grid { grid-template-columns: repeat(2, 1fr); }

  .solution { grid-template-columns: 1fr; gap: 2.5rem; }

  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .steps::before { display: none; }

  .step {
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255,255,255,0.55);
    border-radius: var(--radius-md);
  }
  .step__number { margin-bottom: 0; }

  .pricing-card--featured { transform: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  section { padding: 3.5rem 0; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .problem-grid, .kit-grid, .pricing-grid { grid-template-columns: 1fr; }

  .proof-stats { grid-template-columns: 1fr; }
  .proof-stat { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .proof-stat:last-child { border-bottom: none; }

  .footer__inner { flex-direction: column; gap: 1.5rem; }
  .footer__links { gap: 1rem 1.5rem; }

  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 320px; }

  .final-cta__buttons { flex-direction: column; align-items: center; }
  .final-cta__buttons .btn { width: 100%; max-width: 320px; }

  .form-card { padding: 2rem 1.5rem; }
  .about__cta { flex-direction: column; }
}

@media (max-width: 375px) {
  :root { --text-base: 1rem; }
  .container { padding: 0 1rem; }
}
