/* Steward AI Coaching: shared styles.
   Shapes: buttons are pills, panels are 14px, inputs are 10px. */

:root {
  --bg: #F6F2EA;          /* Paper */
  --surface: #FCFAF5;
  --surface-2: #EFE8DC;
  --text: #22211F;        /* Charcoal */
  --muted: #57534C;
  --line: #DDD4C5;
  --accent: #B5543A;      /* Rust */
  --accent-text: #F6F2EA;
  --accent-soft: #F1DDD3;
  --focus: #B5543A;
  --shadow: 0 10px 30px rgb(80 50 30 / .08);
  --radius: 14px;
  --wrap: 1120px;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #22211F;
    --surface: #2B2926;
    --surface-2: #34312D;
    --text: #F6F2EA;
    --muted: #CBC3B6;
    --line: #45413B;
    --accent: #E07A5A;    /* Ember */
    --accent-text: #22211F;
    --accent-soft: #4A3229;
    --focus: #E07A5A;
    --shadow: 0 10px 30px rgb(0 0 0 / .3);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; }
h3, .h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.small { font-size: .925rem; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--line); }
.narrow { max-width: 68ch; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 14px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 1.05rem var(--head); white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav summary { display: block; padding: 8px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.nav > ul > li > a:hover, .nav summary:hover { background: var(--surface-2); }
.nav > ul > li > a[aria-current="page"], .nav summary.is-current { background: var(--accent-soft); font-weight: 600; }
.nav-cta { margin-left: 8px; }
.nav .nav-cta a.btn { display: inline-flex; color: var(--accent-text); padding: 8px 18px; min-height: 40px; }
.nav .nav-cta a.btn:hover, .nav .nav-cta a.btn[aria-current="page"] { background: var(--accent); color: var(--accent-text); }

/* "Guides & kits" dropdown */
.has-menu { position: relative; }
.has-menu summary { list-style: none; cursor: pointer; }
.has-menu summary::-webkit-details-marker { display: none; }
.has-menu summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); transition: transform .15s ease; }
.has-menu details[open] summary::after { transform: translateY(0) rotate(-135deg); }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 6; }
.submenu a { border-radius: 10px; padding: 10px 14px; white-space: normal; }
.submenu a:hover { background: var(--surface-2); }
.submenu a[aria-current="page"] { background: var(--accent-soft); }
.submenu strong { display: block; font-weight: 600; }
.submenu span { display: block; font-size: .85rem; color: var(--muted); }

/* Menu button (phones and small tablets) */
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--text); font: 600 .95rem var(--body); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease, background .2s ease; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0 12px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; flex-basis: 100%; padding: 8px 0 18px; }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a, .nav summary { padding: 12px 14px; font-size: 1.05rem; border-radius: 10px; }
  .submenu { position: static; box-shadow: none; border: 0; background: transparent; min-width: 0; padding: 0 0 0 12px; }
  .nav-cta { margin: 10px 0 0; }
  .nav .nav-cta a.btn { width: 100%; min-height: 48px; }
}
@media (min-width: 961px) {
  /* close the dropdown when the pointer leaves, via JS; keep it keyboard-friendly */
  .has-menu details:not([open]) .submenu { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-text);
  font: 600 1rem var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--line); }
.btn-quiet:hover { background: var(--surface-2); filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-mark {
  aspect-ratio: 1; border-radius: var(--radius); background: var(--surface-2);
  display: grid; place-items: center; padding: 18%;
}
.price-tag { font: 600 1.15rem var(--head); color: var(--accent); margin-bottom: .6em; }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
}

/* Ladder (home page path) */
.ladder { list-style: none; padding: 0; margin: 40px 0 0; position: relative; }
.ladder::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.ladder li { position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: start; padding: 18px 0; }
.rung-dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--line); font: 600 1.1rem var(--head); color: var(--text); position: relative;
}
.ladder li:first-child .rung-dot { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.rung-body h3 { margin-bottom: .2em; }
.rung-body h3 a { color: var(--text); text-decoration: none; }
.rung-body h3 a:hover { text-decoration: underline; }
.rung-body p { margin: 0; color: var(--muted); max-width: 56ch; }
.rung-price { font: 600 1.2rem var(--head); white-space: nowrap; padding-top: 4px; }
@media (max-width: 600px) {
  .ladder::before { left: 21px; }
  .ladder li { grid-template-columns: 44px 1fr; gap: 14px; }
  .rung-dot { width: 44px; height: 44px; font-size: 1rem; }
  .rung-price { grid-column: 2; padding: 0; }
}

/* Story */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.story blockquote { margin: 0; font: 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.35 var(--head); letter-spacing: -0.01em; }
.story blockquote footer { margin-top: 16px; font: 400 1rem var(--body); color: var(--muted); }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

/* Principles band */
.band { background: var(--surface-2); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; margin-top: 28px; }
.principles h3 { font-size: 1.05rem; }
.principles p { margin: 0; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: step; display: grid; gap: 4px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps li::before {
  content: counter(step); width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--text); font: 600 1rem var(--head);
}
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--muted); }

/* Two columns: who / need */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.panel ul { margin: 0; padding-left: 1.2em; }
.panel li + li { margin-top: .5em; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font: 600 1.08rem var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 8px; max-width: 64ch; }

/* Closing call to action */
.cta { text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
  background: var(--text); color: var(--bg); border-radius: 22px; padding: clamp(30px, 5vw, 60px); }
.cta h2 { margin-bottom: .2em; }
.cta p { margin: 0; opacity: .82; }
.cta a:not(.btn), .cta-band a:not(.btn) { color: inherit; font-weight: 600; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Form */
.signup { display: grid; gap: 20px; max-width: 460px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field textarea {
  min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid #8E867A;
  background: var(--surface); color: var(--text); font: inherit;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.check input[type="radio"] { min-height: 0; }
.hint { font-size: .9rem; color: var(--muted); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); }
.form-status { font-weight: 600; margin: 0; }
.form-status:empty { display: none; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px 48px; font-size: .95rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer p { margin: 0; }

/* ---- Home page refresh (11/19) ---- */
.eyebrow { font: 600 .82rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.tint { background: var(--surface-2); }
.section.tint, .section.tint + .section { border-top: 0; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

.assurances { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; }
.assurances li { display: flex; align-items: center; gap: 8px; }
.assurances li::before, .checklist li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--accent-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23B5543A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Hero example card */
.preview-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); }
.preview-card figcaption { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.preview-card figcaption em { font-style: normal; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; font-size: .75rem; }
.preview-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.preview-title { font: 600 1.35rem var(--head); margin: 10px 0 14px; }
.preview-card ul { list-style: none; margin: 0; padding: 0; }
.preview-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .97rem; line-height: 1.45; }
.tick { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--accent); margin-top: 1px; position: relative; }
.tick::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.preview-foot { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .hero .preview-card { display: block; } }

/* Path picker */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.path { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--text); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.path:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.path h3 { margin: 0; font-size: 1.15rem; }
.path p { margin: 0; color: var(--muted); font-size: .97rem; flex: 1; }
.path-tag { position: absolute; top: -12px; left: 18px; background: var(--accent); color: var(--accent-text); font: 600 .75rem var(--body); padding: 3px 10px; border-radius: 999px; }
.path-offer { display: flex; flex-direction: column; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; }
.path-offer span { font: 600 1.15rem var(--head); color: var(--accent); }
.path-more { font-weight: 600; color: var(--accent); }
.path-note { font-size: .85rem; color: var(--muted); margin-top: -4px; }
.followup { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.followup-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.followup-card .checklist { margin: 0 0 22px; }
.followup-card .checklist li + li { margin-top: .5em; }
@media (max-width: 760px) { .followup { grid-template-columns: 1fr; } }
.path-more::after { content: " \2192"; transition: margin .15s ease; }
.path:hover .path-more::after { margin-left: 4px; }
.also { margin-top: 28px; max-width: 72ch; }
.also p { margin: 0 0 .5em; }
@media (max-width: 1000px) { .paths { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .paths { grid-template-columns: 1fr; gap: 22px; } }

/* How it works */
.how { list-style: none; padding: 0; margin: 36px 0 0; counter-reset: how; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how li { counter-increment: how; border-top: 2px solid var(--accent); padding-top: 18px; }
.how li::before { content: "0" counter(how); display: block; font: 600 .95rem var(--head); color: var(--accent); margin-bottom: 8px; }
.how p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; gap: 24px; } }

/* Founder */
.founder { display: grid; gap: 22px; }
.founder-photo { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.monogram { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-text); font: 600 1.4rem var(--head); letter-spacing: .02em; }

/* Fit lists */
.checklist, .crosslist { list-style: none; padding: 0 !important; }
.checklist li, .crosslist li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; }
.checklist li::before { margin-top: 5px; }
.crosslist li::before { content: "\2013"; color: var(--muted); font-weight: 600; text-align: center; }

/* Closing band */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; background: var(--text); color: var(--bg);
  border-radius: 22px; padding: clamp(30px, 5vw, 60px); }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; opacity: .82; }
.cta-band .actions { margin: 0; }
.btn-light { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-ghost-light { background: transparent; border-color: color-mix(in srgb, var(--bg) 35%, transparent); color: var(--bg); }
.btn-ghost-light:hover { background: color-mix(in srgb, var(--bg) 10%, transparent); filter: none; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.finish { margin-top: 40px; }

.eyebrow.audience { text-transform: none; letter-spacing: 0; font-size: 1rem; line-height: 1.45; max-width: 52ch; }

/* Session: what you'll walk away with */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.outcome { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.outcome h3 { font-size: 1.1rem; margin: 14px 0 .4em; }
.outcome p { margin: 0; color: var(--muted); font-size: .97rem; }
.outcome-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-text); font: 600 1rem var(--head); }
.example { margin: 28px 0 0; padding: 22px 26px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; max-width: 72ch; }
.example figcaption { font: 600 .82rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.example p { margin: 0; font-size: 1.08rem; }
@media (max-width: 1000px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .outcomes { grid-template-columns: 1fr; } }
