/* Colors match the KIS shirt and mug.
   Contrast rule: teal only on navy, or as a button background with navy text.
   Never teal text on cream. */
:root {
  --navy: #0B2A4A;
  --navy-2: #0d3560;
  --teal: #14B8A6;
  --cream: #F5F0E8;
  --cream-line: #E3DACB;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
.light :focus-visible { outline-color: var(--navy); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: var(--navy);
  padding: 0.75rem 1rem;
  font-weight: 700;
  z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* LAYOUT */
.section { padding: 4.5rem 1.25rem; }
.wrap { max-width: 1040px; margin: 0 auto; }
.wrap.narrow { max-width: 720px; }

.dark { background: var(--navy); color: var(--cream); }
.light { background: var(--cream); color: var(--navy); }

h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

p + p { margin-top: 1rem; }

/* HERO */
.hero { padding-top: 5rem; padding-bottom: 5.5rem; }

.eyebrow {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

h1 {
  font-weight: 900;
  font-size: clamp(2.25rem, 8vw, 4rem);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.accent { color: var(--teal); }

.lead {
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  max-width: 34ch;
}

/* BUTTONS */
.cta { margin-top: 2.25rem; }

.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 1.05rem 1.6rem;
  border-radius: 10px;
  min-height: 56px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }

.email-note {
  margin-top: 0.9rem;
  font-size: 1rem;
}
.email-text {
  font-weight: 700;
  user-select: all;
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .btn { display: block; width: 100%; }
}

/* SOUND FAMILIAR (on cream: navy accents only, never teal text) */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .pain-grid { grid-template-columns: 1fr 1fr; }
}
.pain-grid .pain {
  background: #fff;
  border: 1px solid var(--cream-line);
  border-left: 5px solid var(--navy);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.25rem 1.4rem;
}
.pain-problem {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.45;
}
.pain-relief {
  margin-top: 0.4rem !important;
  font-size: 1rem;
  line-height: 1.55;
}
.pain-close {
  margin-top: 1.75rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  line-height: 1.4;
}
.what { margin-top: 4rem; }
.what p { max-width: 720px; }

.card strong { color: var(--cream); }

/* EXAMPLES (on navy: teal labels allowed) */
.examples-heading { margin-top: 4rem; }
.examples {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .examples { grid-template-columns: 1fr 1fr; }
}
.examples li {
  background: var(--navy-2);
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  font-size: 1.05rem;
}
.ex-who { color: var(--teal); font-weight: 700; }

a.email-text { color: inherit; }

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--navy-2);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(245,240,232,0.12);
}
.card h3 { font-size: 1.3rem; margin: 0.9rem 0 0.6rem; }

.icon {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.after-cards {
  margin-top: 2rem;
  font-size: 1.1rem;
}

/* NUMBERED STEPS */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.75rem 0;
  display: grid;
  gap: 1.25rem;
}
.steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  padding: 1.25rem;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.steps p { margin: 0; }

.steps li::before {
  content: counter(step);
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal);
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps.on-dark li {
  background: var(--navy-2);
  border-color: rgba(245,240,232,0.12);
}
.steps.on-dark li::before { background: var(--teal); color: var(--navy); }
.dark .pull { border-left-color: var(--teal); }

.pull {
  margin-top: 1.75rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--navy);
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* MEET */
.meet {
  max-width: 880px;
  display: grid;
  gap: 2rem;
  align-items: center;
}
.headshot {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 8px 28px rgba(11,42,74,0.15);
}
@media (min-width: 720px) {
  .meet { grid-template-columns: 260px 1fr; }
  .headshot { width: 260px; height: 260px; }
}

/* FAQ (native details/summary: keyboard friendly with no script) */
.faq { display: grid; gap: 0.9rem; }
.faq details {
  background: var(--navy-2);
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  position: relative;
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}
.faq summary::after { transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.25rem; }

/* FINAL CTA */
.final { text-align: center; }
.final h2 { margin-bottom: 0.5rem; }

/* FOOTER */
footer { padding: 2.5rem 1.25rem; text-align: center; font-size: 0.95rem; }
footer .quiet { opacity: 0.75; font-size: 0.875rem; margin-top: 0.6rem; }
footer a { color: var(--cream); }

/* LEGAL PAGES (privacy.html, sms-terms.html) */
.legal-top { padding: 1.25rem; }
.legal-home { color: var(--cream); font-weight: 700; text-decoration: underline; }
.legal { padding-top: 3rem; }
.legal h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin-bottom: 0.5rem; }
.legal .updated { opacity: 0.8; margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--cream-line); }
.legal ul { margin: 0.75rem 0 0.75rem 1.25rem; display: grid; gap: 0.5rem; }
.legal ul + p { margin-top: 0.9rem; }
.legal a { color: var(--navy); font-weight: 600; }
footer .quiet a { color: var(--cream); }

/* HOMEPAGE UPDATE (2026-10-21) */
.nowrap { white-space: nowrap; }

.see-more { margin-top: 1.25rem; font-size: 1rem; }
.see-more a { color: var(--cream); font-weight: 700; text-underline-offset: 4px; }
.see-more a::after { content: " \2193"; }

/* Sections that now sit on cream keep their dark cards readable */
.card { color: var(--cream); }
.faq details { color: var(--cream); }

/* Industry examples on cream: white cards, navy labels (never teal text on cream) */
.light .examples li {
  background: #fff;
  border-color: var(--cream-line);
  color: var(--navy);
}
.light .ex-who { color: var(--navy); }

/* Footer sits right after a navy section, so give it the deeper navy */
footer.dark { background: var(--navy-2); }

/* Results section (hidden until SHOW_RESULTS is true) */
.result { margin: 1.25rem 0; padding: 1.25rem; background: #fff; border-left: 5px solid var(--navy); border-radius: 12px; }
.result-who { font-weight: 700; margin-top: 0.5rem; }

/* HERO PHOTO (2026-10-21) */
.hero-grid { display: grid; gap: 1.5rem; }
.hero-photo { margin: 0; }
@media (max-width: 899px) { .hero { padding-top: 1.75rem; } .hero h1 { margin-bottom: 1rem; } .hero .cta { margin-top: 1.5rem; } }
.hero-photo img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: 70% 30%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
@media (min-width: 900px) {
  .hero { padding-top: 5.5rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 3rem; }
  .hero-photo { order: 2; margin: 0; }
  .hero-photo img { height: auto; aspect-ratio: 4 / 5; object-position: 70% center; border-radius: 20px; }
}
