:root {
  color-scheme: light;
  --background: #fff;
  --ink: #1d1d1f;
  --secondary: #6e6e73;
  --surface: #f5f5f7;
  --line: #e8e8ed;
  --accent: #e84e1b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #0071e3; outline-offset: 5px; }
[hidden] { display: none !important; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; z-index: 5; top: -80px; left: 20px; padding: 12px 20px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.back-navigation { width: min(100% - 48px, 860px); margin: 0 auto; padding-top: max(14px, env(safe-area-inset-top)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; min-width: 88px; padding: 0 4px; margin-left: -4px; color: var(--secondary); font-size: 14px; font-weight: 500; letter-spacing: -.015em; border-radius: 5px; }
.back-link:hover, .back-link:active { color: var(--ink); }
.book-link { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; min-height: 44px; font-size: 12px; line-height: 1.4; color: var(--secondary); text-align: right; }
.book-link strong { font-weight: 600; }
.book-link > span:last-child { flex-shrink: 0; }
.book-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
main { width: min(100% - 48px, 860px); margin: 0 auto; }
.intro { text-align: center; padding: 40px 0 44px; }
.tempo-icon { display: block; border-radius: 18px; margin: 0 auto 23px; width: 64px; height: 64px; }
h1 { font-size: clamp(42px, 5.2vw, 64px); line-height: 1.03; letter-spacing: -.048em; font-weight: 730; margin: 0; }
h1 span { color: var(--secondary); }
.intro > p { margin: 20px auto 0; font-size: 18px; line-height: 1.5; letter-spacing: -.025em; color: var(--secondary); }
.choices-label { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; font-weight: 400; color: var(--secondary); line-height: 1.5; margin: 0 0 19px; }
.choices-label img { border-radius: 4px; }
.protocol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.protocol { display: grid; grid-template-columns: 32px minmax(0, 1fr) 18px; gap: 20px; align-items: center; padding: 27px 24px; min-height: 116px; background: var(--surface); border-radius: 22px; transition: background-color 160ms ease, transform 160ms cubic-bezier(.25,1,.5,1); }
.protocol svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topic-icon { width: 32px; height: 32px; color: #424245; }
.protocol-copy h3 { font-size: 18px; font-weight: 650; line-height: 1.25; letter-spacing: -.022em; margin: 0; }
.protocol-copy p { color: var(--secondary); font-size: 13px; line-height: 1.45; letter-spacing: -.012em; margin: 6px 0 0; }
.row-arrow { height: 18px; width: 18px; color: #85858a; }
a.protocol:active { transform: scale(.985); background: #e9e9ed; }
.protocol.selected { outline: 2px solid #9b9ba0; outline-offset: 2px; }
.custom-protocol { background: transparent; border: 1px solid var(--line); padding: 26px 23px; }
.custom-protocol .topic-icon { width: 27px; height: 27px; margin: auto; }
.how-it-works { text-align: center; padding: 86px 0 79px; }
.eyebrow { font-size: 12px; color: var(--secondary); margin: 0 0 16px; }
.how-it-works h2 { font-size: 34px; font-weight: 650; letter-spacing: -.038em; line-height: 1.12; margin: 0; }
.how-intro { color: var(--secondary); margin: 17px 0 0; font-size: 15px; line-height: 1.5; letter-spacing: -.012em; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; text-align: left; margin: 43px 0 0; }
.step-number { display: grid; width: 26px; height: 26px; background: #ededf0; border-radius: 50%; place-items: center; font-size: 12px; font-weight: 550; margin-bottom: 14px; }
.steps h3 { font-size: 14px; letter-spacing: -.015em; margin: 0; font-weight: 600; }
.steps p { color: var(--secondary); font-size: 13px; line-height: 1.6; margin: 6px 0 0; }
footer { width: min(100% - 80px, 1040px); margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 25px 0 max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 11px; color: var(--secondary); }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 650; letter-spacing: -.6px; color: var(--ink); }
.footer-brand img { display: block; flex: 0 0 28px; border-radius: 8px; }
.footer-identity p { margin: 10px 0 0; font-size: 12px; line-height: 1.5; }
.footer-identity .affiliation-note { margin-top: 8px; font-size: 11px; max-width: 440px; }
.footer-links { display: flex; gap: 18px; margin-left: auto; }
footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.handoff { padding: 22px 24px; background: var(--surface); border-radius: 20px; margin: 0 0 28px; scroll-margin-top: 20px; }
.handoff-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.handoff h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; line-height: 1.25; }
.handoff > p { color: var(--secondary); font-size: 14px; line-height: 1.5; margin: 10px 0; }
.dismiss { border: 0; background: #e4e4e8; color: #58585c; border-radius: 50%; min-width: 36px; height: 36px; font-size: 23px; }
.handoff .draft { padding: 14px 16px; background: #fff; border-radius: 12px; color: var(--ink); }
.phone { display: inline-block; font-size: 12px; margin: 4px 0 16px; color: var(--secondary); }
.handoff-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.messages-button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; background: #000; color: #fff; border-radius: 999px; padding: 12px 18px; font-size: 14px; font-weight: 600; min-height: 48px; }
.secondary-button { border: 1px solid #d2d2d7; background: transparent; border-radius: 999px; font-size: 12px; padding: 12px 15px; min-height: 46px; }
.handoff .copy-status { min-height: 18px; font-size: 12px; margin-bottom: 0; }
@media (hover: hover) { a.protocol:hover { background: #ebebee; } a.protocol:hover .row-arrow { color: var(--ink); } .messages-button:hover { background: #333336; } .secondary-button:hover { background: #e9e9ed; } }
@media (max-width: 680px) {
  .back-navigation { width: calc(100% - 40px); padding-top: max(8px, env(safe-area-inset-top)); }
  main { width: calc(100% - 40px); }
  .intro { padding: 24px 0 29px; }
  .tempo-icon { height: 52px; width: 52px; border-radius: 15px; margin-bottom: 19px; }
  h1 { font-size: 42px; }
  .intro > p { max-width: 330px; font-size: 16px; margin-top: 16px; line-height: 1.45; }
  .desktop-break { display: none; }
  .choices-label { font-size: 11px; margin-bottom: 15px; gap: 6px; }
  .choices-label img { width: 16px; height: 16px; }
  .protocol-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .protocol { min-height: 92px; padding: 21px 20px; gap: 17px; grid-template-columns: 28px minmax(0, 1fr) 16px; border-radius: 20px; }
  .topic-icon { width: 28px; height: 28px; }
  .row-arrow { width: 16px; height: 16px; }
  .protocol-copy h3 { font-size: 17px; }
  .protocol-copy p { font-size: 13px; margin-top: 5px; }
  .custom-protocol { margin-top: 6px; padding: 20px 19px; }
  .how-it-works { padding: 63px 8px 49px; }
  .how-it-works h2 { font-size: 29px; }
  .how-intro { font-size: 14px; margin-inline: auto; max-width: 290px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 23px; max-width: 300px; margin: 33px auto 0; }
  .steps li { display: flex; gap: 14px; }
  .step-number { flex: 0 0 25px; width: 25px; height: 25px; margin-top: 1px; margin-bottom: 0; }
  .steps p { margin-top: 4px; }
  footer { width: calc(100% - 48px); flex-wrap: wrap; gap: 12px; padding-top: 22px; }
  .footer-identity { width: 100%; }
  .footer-links { margin: 4px 0 0; width: 100%; }
  .handoff { padding: 17px; }
}
@media (max-width: 360px) {
  h1 { font-size: 38px; }
  .protocol { padding: 20px 17px; gap: 13px; }
  .custom-protocol { padding: 19px 16px; }
  .protocol-copy p { font-size: 12px; }
  .choices-label { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .protocol { transition: none; } a.protocol:active { transform: none; } }

.protocol-unavailable { grid-template-columns: 32px minmax(0, 1fr); cursor: default; }
.coming-soon { display: inline-block; margin-top: 9px; padding: 3px 8px; border-radius: 999px; background: #e8e8ed; color: #616166; font-size: 11px; font-weight: 500; line-height: 1.4; }
@media (max-width: 680px) { .protocol-unavailable { grid-template-columns: 28px minmax(0, 1fr); } }
