/* ============================================================
   Strategeasy — landing page styles
   Colours come from the logo (public/logo.svg): navy and teal.
   Written mobile-first: base rules are for phones, and the
   @media (min-width) blocks add columns on larger screens.
   Design tokens live in :root — change those, not the rules.
   ============================================================ */

:root {
  /* Palette — from the logo */
  --navy:       #073B70;   /* logo "Strateg" */
  --navy-dk:    #052A52;
  --teal:       #079A9A;   /* logo "easy" + arrow: large type and accents only */
  --teal-dk:    #067F80;   /* same teal, deep enough for small text and buttons (4.8:1 on white) */
  --teal-lt:    #5FD3CF;   /* teal for use on navy backgrounds */
  --teal-bg:    #E6F5F5;

  --paper:      #FFFFFF;
  --paper-alt:  #F3F7FA;
  --ink:        #10233A;
  --ink-soft:   #3F5368;
  --ink-faint:  #5E6F80;
  --rule:       #D6E2EC;
  --on-dark:    #F3F7FA;
  --on-dark-sf: #B5CBE0;

  /* Type */
  --display: "Source Serif 4", Cambria, Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Space */
  --wrap: 1140px;
  --gutter: 16px;
  --section-y: 56px;
  --radius: 12px;
  --radius-lg: 18px;
}
@media (min-width: 700px) {
  :root { --gutter: 24px; --section-y: clamp(72px, 9vw, 112px); }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
@media (min-width: 700px) { body { font-size: 17px; line-height: 1.65; } }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 1.1em; }
img { max-width: 100%; height: auto; display: block; }
sup { font-size: .65em; line-height: 0; color: var(--ink-faint); }

a { color: var(--teal-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, #fff 94%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.wordmark { display: block; flex: none; }
.wordmark img { width: 120px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 500; }
.site-nav a:not(.nav-cta) { display: none; color: var(--ink-soft); text-decoration: none; }
.site-nav a:not(.nav-cta):hover { color: var(--navy); }
.site-nav .nav-cta {
  color: #fff; background: var(--teal-dk); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav .nav-cta:hover { background: var(--navy); color: #fff; }
@media (min-width: 820px) {
  .header-inner { min-height: 72px; }
  .wordmark img { width: 150px; }
  .site-nav a:not(.nav-cta) { display: inline; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1.2 var(--body); text-decoration: none; text-align: center;
  min-height: 50px; padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-accent { background: var(--teal-dk); color: #fff; }
.btn-primary { background: var(--teal-dk); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-accent:hover { background: #fff; color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(700px 420px at 90% 110%, rgba(7,154,154,.35), transparent 65%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dk) 100%);
  color: var(--on-dark);
  padding-block: 44px 52px;
  overflow: hidden;
}
.hero-copy { max-width: 820px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600;
  color: var(--teal-lt); margin-bottom: 14px;
}
.hero-title { font-size: clamp(2.1rem, 8.5vw, 3.9rem); color: #fff; margin-bottom: 18px; }
.hero-title em { color: var(--teal-lt); white-space: nowrap; }
.hero-lede { font-size: 1.05rem; color: var(--on-dark-sf); max-width: 40rem; margin-bottom: 28px; }
.hero-ctas { display: grid; gap: 12px; }
@media (min-width: 480px) { .hero-ctas { display: flex; flex-wrap: wrap; } }
@media (min-width: 920px) {
  .hero { padding-block: clamp(72px, 9vw, 112px); }
  .hero-lede { font-size: 1.2rem; }
}

/* ---------------- Imagine strip ---------------- */
.imagine { background: var(--teal-bg); padding-block: 36px; }
.imagine p { max-width: 46rem; margin-inline: auto; text-align: center; font-family: var(--display); font-size: clamp(1.1rem, 4.4vw, 1.4rem); line-height: 1.45; }
.imagine-lead { color: var(--ink-soft); margin-bottom: .5em; }
.imagine-turn { margin-bottom: 0; color: var(--navy); }

/* ---------------- Sections ---------------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--paper-alt); }
.section-kicker {
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600;
  color: var(--teal-dk); margin-bottom: 10px;
}
.kicker-light { color: var(--teal-lt); }
.section-title { font-size: clamp(1.65rem, 6vw, 2.6rem); max-width: 44rem; margin-bottom: 28px; color: var(--navy); }
.section-title em { color: var(--teal); }
.mini-heading { font-size: 1.15rem; color: var(--navy); margin-bottom: 14px; }
@media (min-width: 700px) { .section-title { margin-bottom: 40px; } }

/* Grids: one column on phones, more as space allows */
.stats, .steps, .audiences, .bottom-line { display: grid; gap: 14px; }
@media (min-width: 560px) {
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .stats-2 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .audiences, .bottom-line { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .bottom-line { gap: 32px; }
}

/* Stats */
.stat { background: var(--paper-alt); border-radius: var(--radius); padding: 18px 20px; border-top: 4px solid var(--teal); }
.stat-num { display: block; font: 700 clamp(1.7rem, 7vw, 2.3rem)/1.1 var(--display); color: var(--navy); margin-bottom: 8px; white-space: nowrap; }
.stat p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.callout {
  margin: 22px 0 44px; padding: 18px 20px; background: var(--teal-bg); border-radius: var(--radius);
  font-family: var(--display); font-style: italic; font-size: 1.08rem; color: var(--ink);
}
.callout strong { color: var(--teal-dk); font-style: normal; }
.split-problem { display: grid; gap: 36px; }
@media (min-width: 900px) { .split-problem { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.costs { list-style: none; padding: 0; margin: 0; }
.costs li { padding: 14px 16px 14px 18px; border-left: 3px solid var(--teal); margin-bottom: 12px; background: var(--paper-alt); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-soft); }
.costs strong { color: var(--navy); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--rule); }
.steps li:first-child { background: var(--teal-bg); border-color: transparent; }
.step-n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.steps li:first-child .step-n { background: var(--teal-dk); }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--navy); }
.steps p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Audiences + bottom line */
.audience { background: var(--paper-alt); border-radius: var(--radius); padding: 20px; border-left: 4px solid var(--teal); display: flex; flex-direction: column; }
.audience h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 6px; }
.audience p { color: var(--ink-soft); margin: 0 0 14px; flex: 1; }
.audience-link { font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
.audience-link:hover { text-decoration: underline; }
.bottom-line-heading { margin-top: 48px; }
.bottom-line-cta { margin-top: 28px; }
@media (min-width: 700px) { .bottom-line-heading { margin-top: 64px; } }
.bottom-line h4 { font-size: 1.1rem; color: var(--teal-dk); margin-bottom: 6px; }
.bottom-line p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* About */
.about { display: grid; gap: 24px; align-items: start; }
.portrait { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; max-width: 220px; }
.about .section-title { margin-bottom: 6px; }
.credentials { color: var(--ink-faint); font-weight: 500; margin-bottom: 18px; }
.about p { color: var(--ink-soft); max-width: 40rem; }
@media (min-width: 760px) { .about { grid-template-columns: 300px 1fr; gap: 56px; } .portrait { max-width: none; } }

/* ---------------- Closer + form ---------------- */
.closer { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dk) 100%); color: var(--on-dark); padding-block: var(--section-y); }
.closer-inner { display: grid; gap: 28px; align-items: start; }
.closer-title { font-size: clamp(1.9rem, 7vw, 2.8rem); color: #fff; margin-bottom: 18px; }
.closer-title em { color: var(--teal-lt); }
.ways { list-style: none; padding: 0; margin: 0 0 18px; }
.ways li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: var(--on-dark-sf); }
.ways strong { color: #fff; }
.closer-note { color: var(--on-dark-sf); font-size: .9rem; margin: 0; }
@media (min-width: 900px) { .closer-inner { grid-template-columns: .9fr 1.1fr; gap: 56px; } }

.signup-form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 20px 16px; margin-inline: calc(var(--gutter) * -0.5); }
@media (min-width: 560px) { .signup-form { padding: 32px; margin-inline: 0; } }

.choice { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.choice legend { font-weight: 600; font-size: .95rem; margin-bottom: 10px; padding: 0; }
.choice-options { display: grid; gap: 8px; }
.choice-3 { grid-template-columns: repeat(3, 1fr); }  /* I'm with a: 3 across */
.choice-4 { grid-template-columns: repeat(2, 1fr); }  /* I'd like to: 2 x 2, so no label wraps */
.chip { position: relative; cursor: pointer; display: block; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--rule);
  font-size: .9rem; font-weight: 500; line-height: 1.25; color: var(--ink-soft); transition: all .15s;
}
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice.is-invalid .chip span { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: .85rem; margin: 8px 0 0; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.req { color: var(--teal-dk); }
.field input {
  width: 100%; font: inherit; font-size: 16px; /* 16px stops iOS zooming in on focus */
  color: var(--ink); min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--rule); border-radius: 10px; background: #fff;
}
.field input:focus { border-color: var(--teal-dk); outline: none; box-shadow: 0 0 0 3px rgba(7,154,154,.2); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.hint { font-size: .82rem; color: var(--ink-faint); margin: 10px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit { width: 100%; background: var(--teal-dk); color: #fff; margin-top: 4px; }
.btn-submit:hover { background: var(--navy); }
.btn-submit:disabled { opacity: .7; cursor: wait; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; display: none; animation: spin .8s linear infinite; }
.btn-submit.is-busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin: 12px 0 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B3261E; }
.form-status.is-success { color: var(--teal-dk); font-weight: 600; font-size: 1.05rem; margin: 0; }
.signup-form.is-done > :not(.form-status) { display: none; }

/* ---------------- Sources + footer ---------------- */
.sources { padding-block: 36px; border-top: 1px solid var(--rule); }
.sources h2 { font-family: var(--body); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin-bottom: 12px; }
.sources ol { margin: 0; padding-left: 1.2em; font-size: .8rem; color: var(--ink-faint); line-height: 1.55; }
.sources li { margin-bottom: 6px; }

.site-footer { background: var(--navy-dk); color: var(--on-dark-sf); padding-block: 24px; font-size: .9rem; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer a { color: var(--on-dark); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 700px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------------- Privacy + unsubscribe pages ---------------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--teal-dk); border-bottom: 2px solid var(--teal-dk); transform: rotate(-45deg); }
.btn-ghost { color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* Second line of the hero headline: a touch smaller, always on its own line */
.hero-title-sub { display: block; font-size: .72em; margin-top: .3em; }

