:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --sunken: #efeae3;
  --border: #e4ddd4;
  --text: #1c1917;
  --muted: #5c564e;
  --faint: #8a8278;
  --accent: #8c4518;
  --accent-soft: rgba(140, 69, 24, 0.1);
  --on-accent: #fff8f3;
  --danger: #c45c4a;
  --shadow: 0 16px 40px rgba(42, 28, 18, 0.08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}
a { color: inherit; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
}
.skip:focus { top: 0.5rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.logo {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
}
.menu-btn {
  min-height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0 1rem;
  font: inherit;
}
.nav-links {
  display: none;
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  top: 4rem;
  padding: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.nav-links.open { display: grid; gap: 0.25rem; }
.nav-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  text-decoration: none;
  border-radius: 12px;
}
.nav-cta {
  background: var(--accent);
  color: var(--on-accent);
  justify-content: center;
  font-weight: 600;
}

main { width: min(72rem, calc(100% - 1.5rem)); margin: 0 auto; }
section { padding: 3.2rem 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }
h1 { margin: 0.4rem 0 0; font-size: clamp(2.5rem, 10vw, 4.6rem); line-height: 1.02; }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.08; }
h3 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sub, .section-lead, .fine, .card p, .steps p, .who li { color: var(--muted); }
.sub { font-size: 1.15rem; margin: 1rem 0 0; }
.fine { font-size: 0.92rem; }
.hero { display: grid; gap: 1.8rem; padding-top: 1.4rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.3rem 0 0.8rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  border: 0;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn:hover, button[type="submit"]:hover { filter: brightness(1.05); }
.phone, .card, .wait-card, .career-card, details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.phone { padding: 1rem 1rem 1.1rem; }
.phone-bar { height: 8px; display: flex; justify-content: center; margin-bottom: 0.8rem; }
.phone-bar span { width: 64px; height: 6px; border-radius: 99px; background: var(--sunken); }
.phone-kicker { margin: 0; color: var(--accent); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.phone-title { margin: 0.25rem 0 0.7rem; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.fake-search, .mini-card, .chip, .ask {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
}
.fake-search { color: var(--faint); padding: 0.75rem 0.9rem; margin-bottom: 0.6rem; }
.mini-card, .split div { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.75rem 0.85rem; margin-top: 0.45rem; }
.mini-card span, .split span, .career-card b { font-weight: 600; color: var(--accent); }
.career-card span { color: var(--faint); }
.accent-card { background: var(--accent-soft); border-color: transparent; }
.grid { display: grid; gap: 0.8rem; }
.card, .wait-card { padding: 1.1rem 1rem 1.15rem; }
.card p, .steps p { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; }
.steps span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.closer { margin: 1.2rem 0 0; font-size: 1.15rem; }
.demo-tabs { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.4rem; }
.demo-tabs button, .career-card, .concerns button, .menu-btn, button[type="submit"] {
  font: inherit;
  cursor: pointer;
}
.demo-tabs button {
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 0.9rem;
  white-space: nowrap;
}
.demo-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.stage { margin-top: 0.9rem; }
.blurb { color: var(--muted); margin: 0.4rem 0 0; }
.facts { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-top: 1px solid var(--border); }
.facts em { color: var(--faint); font-style: normal; }
.chip, .ask { display: inline-block; margin-top: 0.8rem; padding: 0.55rem 0.8rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.career-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 78%); gap: 0.7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.4rem; }
.career-card {
  scroll-snap-align: start;
  text-align: left;
  padding: 1rem;
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.career-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.career-detail { min-height: 3.2rem; }
.path-steps { list-style: none; display: flex; gap: 0.55rem; overflow-x: auto; margin: 0.8rem 0; padding: 0; }
.path-steps li { min-width: 9.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0.75rem 0.8rem; }
.path-steps span { display: block; color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.path-steps strong { display: block; margin-top: 0.25rem; font-weight: 560; }
.who ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.who li { padding-left: 1rem; border-left: 3px solid var(--accent); }
.wait-card label { display: block; margin: 0.8rem 0 0.3rem; font-weight: 500; }
.wait-card label span { color: var(--faint); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--text);
}
input:focus, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.check { display: flex !important; gap: 0.65rem; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--accent); }
.hp, [hidden] { display: none !important; }
.error { color: var(--danger); }
button[type="submit"] {
  width: 100%;
  min-height: 52px;
  margin-top: 0.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
button:disabled { opacity: 0.65; cursor: progress; }
fieldset { border: 0; margin: 1.2rem 0 0; padding: 0; }
legend { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 0.7rem; }
.concerns { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.concerns button {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 999px;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  text-align: left;
}
.concerns button.selected { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
details { padding: 0.2rem 1rem; margin-bottom: 0.6rem; }
summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
.final { text-align: left; }
.site-footer { padding: 0 0 2.5rem; color: var(--faint); }
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .stage-phone { animation: rise 0.35s ease; }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (min-width: 800px) {
  .menu-btn { display: none; }
  .nav { padding-inline: 1.5rem; }
  .nav-links {
    display: flex;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    align-items: center;
    gap: 0.3rem;
  }
  .nav-cta { padding-inline: 1rem; }
  .hero { grid-template-columns: 1.2fr 0.8fr; align-items: center; padding-top: 3rem; }
  .grid.four { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .demo-layout { display: grid; grid-template-columns: 16rem 1fr; gap: 1.2rem; align-items: start; }
  .demo-tabs { flex-direction: column; overflow: visible; }
  .demo-tabs button { text-align: left; }
  .career-row { grid-auto-flow: unset; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .final { text-align: center; padding-bottom: 1rem; }
  .site-footer { text-align: center; }
}

@media (min-width: 1100px) {
  main { width: min(76rem, calc(100% - 3rem)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
