/* Well Met — one stylesheet for every page. No framework, no build step. */

:root {
  color-scheme: light;

  --ink: #0f172a;        /* slate-900: headings */
  --text: #334155;       /* slate-700: body, 10.3:1 on white */
  --muted: #64748b;      /* slate-500: secondary, 4.8:1 on white */
  --line: #e2e8f0;       /* slate-200 */
  --surface: #f8fafc;    /* slate-50: section bands */
  --paper: #ffffff;

  --teal: #0f766e;       /* teal-700: links, buttons, 5.5:1 on white */
  --teal-deep: #115e59;  /* teal-800: hover */
  --teal-wash: #f0fdfa;  /* teal-50 */

  /* Warm orange is used once: the flagged line in the review mock. */
  --signal-text: #9a3412; /* orange-800, 7.3:1 on --signal-wash */
  --signal-wash: #fff7ed; /* orange-50 */
  --signal-line: #ea580c; /* orange-600, decorative rule only */

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Rounded where the platform has it (Safari: SF Rounded); system sans elsewhere. */
  --font-head: ui-rounded, var(--font-body);

  --measure: 40rem;
  --page: 70rem;
  --gutter: 1rem;
}

@media (min-width: 40em) {
  :root { --gutter: 2rem; }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.5rem); line-height: 1.05; }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.1875rem; line-height: 1.3; margin-bottom: 0.35em; }

p, ul, ol, dl { margin: 0 0 1em; }

a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 10;
}
.skip:focus { top: 0.75rem; color: var(--paper); }

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.prose { max-width: var(--measure); }
/* A .wrap that is also a text column keeps the page's left edge; only its
   children are held to the reading measure. */
.wrap.prose, .wrap.faq { max-width: var(--page); }
.wrap.prose > *, .wrap.faq > * { max-width: var(--measure); }

/* ─── Header / footer ─────────────────────────────────────────────── */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 1.75rem; height: 1.75rem; flex: none; }

.header-cta { font-weight: 600; white-space: nowrap; font-size: 0.9375rem; }
@media (min-width: 40em) { .header-cta { font-size: 1rem; } }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 5rem;
  padding: 2.5rem 0 3rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.site-footer p { margin-bottom: 0.5rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

/* ─── Buttons ─────────────────────────────────────────────────────── */

.button {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
}
.button:hover { background: var(--teal-deep); color: #fff; }

/* ─── Home: hero ──────────────────────────────────────────────────── */

.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.hero h1 span { display: block; }
.hero .lede { font-size: 1.1875rem; max-width: 34rem; }
.hero .note { font-size: 0.9375rem; color: var(--muted); margin-top: 0.85rem; }

.meeting {
  width: 100%;
  max-width: 26rem;
  height: auto;
  justify-self: center;
  font-family: var(--font-head);
}

@media (min-width: 56em) {
  .hero {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    padding-top: 4.5rem;
    padding-bottom: 6rem;
  }
}

/* ─── Home: sections ──────────────────────────────────────────────── */

.section { padding: 4rem 0; }
.section.band { background: var(--surface); }
.section .intro { max-width: var(--measure); margin-bottom: 2.5rem; }

/* Steps: a real sequence, so the numbers carry meaning. */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2.25rem 3rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.3rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid var(--teal);
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.steps p { margin: 0; }

@media (min-width: 48em) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* Review gate: copy beside a mock of the review screen. */
.review {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 60em) {
  .review { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.checks { padding-left: 1.25rem; }
.checks li { margin-bottom: 0.4rem; }
.checks li::marker { color: var(--teal); }

.mock {
  margin: 0;
}
.mock-screen {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px -12px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.mock-bar strong { color: var(--ink); font-weight: 600; }
.mock-body { padding: 1.25rem; }
.mock-body p { font-size: 1rem; }
.mock-body mark {
  background: var(--signal-wash);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--signal-line);
  padding: 0 0.1em;
}
.flag {
  background: var(--signal-wash);
  border-left: 3px solid var(--signal-line);
  border-radius: 0 8px 8px 0;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
}
.flag strong { display: block; color: var(--signal-text); }
.flag p { margin: 0.25rem 0 0; font-size: 0.9375rem; color: var(--text); }
.mock-actions { display: flex; justify-content: flex-end; gap: 0.75rem; }
.mock-actions span {
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.mock-actions .primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.mock figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 0.85rem; }

/* AI use: plain statements, one per line. */
.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--measure);
}
.facts li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-top: 1px solid var(--line);
}
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.45rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--teal);
}

/* Niches as a flowing list. */
.niches {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
}
.niches li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  color: var(--ink);
  background: var(--paper);
}

/* FAQ with native disclosure — no script. */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.95rem;
  color: var(--teal);
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.25rem; }

.closing { text-align: left; }

/* ─── Legal pages ─────────────────────────────────────────────────── */

.doc { padding-top: 2.5rem; }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.doc h2 { font-size: 1.375rem; margin-top: 2.25rem; }
.updated { color: var(--muted); font-size: 0.9375rem; }
.summary-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}
.summary-note p:last-child { margin-bottom: 0; }

/* ─── 404 ─────────────────────────────────────────────────────────── */

.notfound { padding-top: 4rem; min-height: 50vh; }
