@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3efe7;
  --paper-bright: #fbf9f4;
  --ink: #19211e;
  --ink-soft: #4c5652;
  --forest: #173d36;
  --forest-deep: #0f2e29;
  --mint: #b9dfd2;
  --mint-light: #e5f1ec;
  --clay: #bd654b;
  --rule: #cfc8bc;
  --rule-dark: rgba(243, 239, 231, 0.24);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1280px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p, ol, ul, figure { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { color: var(--paper-bright); background: var(--forest); }

:where(a, button, summary):focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 14px;
  color: #fff;
  background: var(--forest);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.section-shell {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.kicker {
  margin-bottom: 20px;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}
.kicker.light { color: var(--mint); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button-dark { color: #fff; background: var(--forest); }
.button-dark:hover { background: var(--forest-deep); }
.button-outline { color: var(--forest); border-color: var(--forest); background: transparent; }
.button-outline:hover { color: #fff; background: var(--forest); }
.button-light { color: var(--forest-deep); background: var(--paper-bright); }
.button-light:hover { background: var(--mint-light); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translate(2px, -2px); }
.light-link { color: var(--paper-bright); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(100%, var(--max-width));
  min-height: 76px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.brand { display: block; width: 156px; }
.brand img { width: 100%; height: auto; }

.primary-nav { display: flex; justify-content: flex-end; gap: 28px; }
.primary-nav a {
  color: #303936;
  font-size: 0.88rem;
  font-weight: 620;
  text-decoration: none;
}
.primary-nav a:hover { color: var(--clay); }

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding-inline: 16px;
  border: 1px solid var(--forest);
  border-radius: 3px;
  color: #fff;
  background: var(--forest);
  font-size: 0.84rem;
  font-weight: 720;
  text-decoration: none;
}
.nav-cta:hover { background: var(--forest-deep); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--forest);
  border-radius: 2px;
  color: var(--forest);
  background: transparent;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: clamp(46px, 7vw, 104px);
  min-height: 780px;
  padding-top: clamp(72px, 9vw, 124px);
  padding-bottom: clamp(72px, 9vw, 124px);
}

.hero-copy { max-width: 690px; }
.hero h1 {
  max-width: 730px;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(4rem, 6.45vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.95;
}
.hero-lead {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.65vw, 1.34rem);
  line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.plain-proof {
  max-width: 610px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: #5b625f;
  font-size: 0.83rem;
}

.patient-example {
  margin: 0;
  border: 1px solid #0e2a25;
  background: var(--forest);
}
.example-topline {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--rule-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 680;
}
.after-hours { color: var(--mint); font-weight: 620; }
.example-body { padding: clamp(22px, 3.6vw, 38px); background: var(--paper-bright); }
.example-label {
  margin-bottom: 30px;
  color: #747b77;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.message-row { display: grid; grid-template-columns: 102px minmax(0, 1fr); gap: 20px; padding-block: 22px; border-top: 1px solid var(--rule); }
.message-row span { color: #68716d; font-size: 0.75rem; font-weight: 700; }
.message-row p { margin: 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.4vw, 1.26rem); line-height: 1.45; }
.concierge-message { margin-inline: calc(clamp(22px, 3.6vw, 38px) * -1); padding-inline: clamp(22px, 3.6vw, 38px); background: var(--mint-light); }
.concierge-message span { color: var(--forest); }
.request-capture { display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.request-capture div { display: grid; grid-template-columns: 102px minmax(0, 1fr); gap: 20px; }
.request-capture span { color: #68716d; font-size: 0.72rem; font-weight: 700; }
.request-capture strong { color: var(--forest); font-size: 0.82rem; font-weight: 720; }
.patient-example figcaption { margin: 0; padding: 12px 18px; color: rgba(255, 255, 255, 0.68); font-size: 0.68rem; line-height: 1.45; }

/* Problem */
.friction-section { padding-block: clamp(82px, 10vw, 138px); border-block: 1px solid var(--rule); background: var(--paper-bright); }
.section-intro { max-width: 850px; margin-bottom: clamp(48px, 7vw, 86px); }
.section-intro.narrow { max-width: 740px; }
.section-intro h2,
.launch-copy h2,
.boundaries-copy h2,
.closing-inner h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.2vw, 5.35rem);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 0.98;
}
.section-intro > p:last-child { max-width: 660px; margin-bottom: 0; color: var(--ink-soft); font-size: 1.08rem; }
.friction-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.friction-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 24px 30px 8px 0; }
.friction-list li + li { padding-left: 30px; border-left: 1px solid var(--rule); }
.friction-list > li > span { color: var(--clay); font-size: 0.76rem; font-weight: 760; }
.friction-list h3 { margin-bottom: 10px; font-size: 1rem; line-height: 1.25; }
.friction-list p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* Workflow */
.workflow-section { padding-top: clamp(94px, 12vw, 164px); padding-bottom: clamp(94px, 12vw, 164px); }
.workflow-list { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.workflow-list li {
  display: grid;
  grid-template-columns: 84px minmax(220px, 0.72fr) minmax(260px, 1fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: baseline;
  padding-block: 30px;
  border-bottom: 1px solid var(--rule);
}
.workflow-number { color: var(--clay); font-size: 0.75rem; font-weight: 760; }
.workflow-list h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.55rem, 2.4vw, 2.2rem); font-weight: 500; line-height: 1.08; }
.workflow-list p { max-width: 560px; margin: 0; color: var(--ink-soft); }
.workflow-cta { display: flex; align-items: center; gap: 24px; margin-top: 42px; }
.workflow-cta p { margin: 0; color: #68716d; font-size: 0.8rem; }

/* Boundaries */
.boundaries-section { padding-block: clamp(94px, 11vw, 154px); color: #f8f6f0; background: var(--forest); }
.boundaries-grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr); gap: clamp(60px, 9vw, 132px); }
.boundaries-copy h2 { color: #fff; font-size: clamp(3.15rem, 5.4vw, 5.6rem); }
.boundaries-copy > p:last-child { max-width: 620px; margin-bottom: 0; color: rgba(248, 246, 240, 0.72); font-size: 1.02rem; }
.boundary-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-self: end; }
.boundary-columns section { padding-top: 22px; border-top: 1px solid var(--rule-dark); }
.boundary-columns h3 { margin-bottom: 22px; color: var(--mint); font-size: 0.84rem; letter-spacing: 0.08em; text-transform: uppercase; }
.boundary-columns ul { margin: 0; padding: 0; list-style: none; }
.boundary-columns li { padding-block: 14px; border-bottom: 1px solid var(--rule-dark); color: rgba(248, 246, 240, 0.84); font-size: 0.9rem; }

/* Launch */
.launch-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(54px, 9vw, 132px);
  align-items: center;
  padding-top: clamp(94px, 12vw, 164px);
  padding-bottom: clamp(94px, 12vw, 164px);
}
.launch-copy > p:nth-of-type(2) { max-width: 650px; color: var(--ink-soft); font-size: 1.06rem; }
.launch-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.launch-steps li { padding: 18px 22px 0 0; }
.launch-steps li + li { padding-left: 22px; border-left: 1px solid var(--rule); }
.launch-steps span, .launch-steps strong { display: block; }
.launch-steps span { margin-bottom: 9px; color: var(--clay); font-size: 0.72rem; font-weight: 750; text-transform: uppercase; }
.launch-steps strong { font-size: 0.9rem; line-height: 1.3; }
.offer-panel { margin: 0; padding: clamp(34px, 5vw, 56px); color: #fff; background: var(--forest); }
.offer-panel > p:first-child { margin-bottom: 36px; color: var(--mint); font-size: 0.72rem; font-weight: 760; letter-spacing: 0.13em; text-transform: uppercase; }
.offer-panel > strong { display: block; margin-bottom: 4px; font-size: 1rem; font-weight: 620; }
.offer-panel > strong span { font-family: var(--serif); font-size: clamp(4.6rem, 7vw, 6.8rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.9; }
.offer-panel > strong + p { margin-bottom: 32px; color: rgba(255, 255, 255, 0.7); }
.offer-panel ul { margin: 0 0 32px; padding: 0; border-top: 1px solid var(--rule-dark); list-style: none; }
.offer-panel li { padding-block: 12px; border-bottom: 1px solid var(--rule-dark); font-size: 0.86rem; }
.offer-panel .button { width: 100%; }

/* FAQ */
.faq-section { padding-bottom: clamp(94px, 12vw, 164px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  position: relative;
  padding: 26px 54px 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 24px; color: var(--clay); font-family: var(--sans); font-weight: 420; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; margin: -6px 0 28px; color: var(--ink-soft); }

/* Closing and footer */
.closing-section { padding-block: clamp(94px, 11vw, 154px); color: #fff; background: var(--forest-deep); }
.closing-inner { max-width: 980px; margin-inline: auto; text-align: center; }
.closing-inner h2 { color: #fff; font-size: clamp(3.4rem, 6.8vw, 6.9rem); }
.closing-inner > p:nth-of-type(2) { max-width: 580px; margin: 0 auto 32px; color: rgba(255, 255, 255, 0.72); font-size: 1.08rem; }
.closing-actions { display: flex; justify-content: center; align-items: center; gap: 24px; }

.site-footer { padding-block: 56px 34px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #fff; background: var(--forest-deep); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.65fr 1fr; gap: 48px; }
.footer-brand img { width: 150px; filter: brightness(0) invert(1); }
.footer-brand p, .footer-contact address { margin: 16px 0 0; color: rgba(255, 255, 255, 0.58); font-size: 0.78rem; font-style: normal; }
.footer-grid nav { display: grid; align-content: start; gap: 10px; }
.footer-grid nav a, .footer-contact > a { color: rgba(255, 255, 255, 0.84); font-size: 0.8rem; text-underline-offset: 4px; }
.footer-legal { grid-column: 1 / -1; margin: 22px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.48); font-size: 0.7rem; }

@media (max-width: 1040px) {
  .primary-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: 820px; }
  .patient-example { width: min(100%, 720px); }
  .boundaries-grid { grid-template-columns: 1fr; }
  .launch-section { grid-template-columns: 1fr; }
  .offer-panel { width: min(100%, 600px); }
}

@media (max-width: 820px) {
  .nav-shell { grid-template-columns: auto 1fr auto; gap: 14px; }
  .primary-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding-block: 10px; border-bottom: 1px solid var(--rule); }
  .nav-cta { justify-self: end; }
  .nav-toggle { display: grid; }
  .friction-list { grid-template-columns: 1fr; }
  .friction-list li, .friction-list li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .workflow-list li { grid-template-columns: 56px minmax(0, 1fr); gap: 12px 24px; }
  .workflow-list p { grid-column: 2; }
  .boundary-columns { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-header { background: var(--paper); }
  .nav-shell { min-height: 68px; padding-inline: 18px; }
  .brand { width: 132px; }
  .nav-cta { display: none; }
  .nav-toggle { grid-column: 3; }
  .primary-nav { top: 68px; }
  .hero { gap: 46px; padding-top: 60px; padding-bottom: 66px; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(3.05rem, 14.1vw, 4.2rem); line-height: 0.96; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .plain-proof { font-size: 0.76rem; }
  .example-topline { align-items: flex-start; flex-direction: column; gap: 4px; }
  .message-row { grid-template-columns: 1fr; gap: 8px; }
  .message-row p { font-size: 1.12rem; }
  .request-capture div { grid-template-columns: 1fr; gap: 4px; }
  .section-intro h2, .launch-copy h2, .boundaries-copy h2, .closing-inner h2 { font-size: clamp(2.75rem, 12.3vw, 4rem); }
  .workflow-list li { grid-template-columns: 42px minmax(0, 1fr); padding-block: 24px; }
  .workflow-list h3 { font-size: 1.5rem; }
  .workflow-cta { align-items: flex-start; flex-direction: column; }
  .launch-steps { grid-template-columns: 1fr; }
  .launch-steps li, .launch-steps li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .offer-panel > strong span { font-size: 4.8rem; }
  .closing-actions { align-items: stretch; flex-direction: column; }
  .closing-actions .text-link { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .nav-toggle { position: static; }
  .primary-nav, .nav-cta { display: none !important; }
  body { background: #fff; }
}
