/*
 * plenire.com: one stylesheet for every page.
 * No JavaScript, nothing from third parties and no inline styles, so the site is served with a strict Content-Security-Policy.
 * Caprasimo (one weight) for the headings and button labels, Figtree for the text and the wordmark; both self-hosted from /fonts,
 * SIL Open Font License (the licence texts are next to the files).
 * The palette is the platform palette shared with the app: paper and ink, navy for actions, mint for the mark and highlights.
 * Contrast on paper: ink 13.3:1, ink-2 9.6:1, slate 5.8:1, navy 8:1, recovered 4.8:1. On deep navy: paper 11.4:1, navy-200 8.7:1, mint 6.6:1.
 */
@font-face {
  font-family: "Caprasimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/caprasimo-regular.woff2) format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-roman.woff2) format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-italic.woff2) format("woff2");
}

:root {
  color-scheme: light;
  --paper: #f6f2ec;
  --surface: #fcfaf7;
  --sand: #ebe3d8;
  --line: #ddd6ca;
  --line-soft: #e5ded3;
  --line-faint: #ece6dc;
  --line-screen: #e2dbcf;
  --line-avatar: #d9d2c7;
  --line-dash: #d3cabc;
  --ink: #1b2a2f;
  --ink-2: #2f4146;
  --slate: #526165;
  --muted: #5a696d;
  --navy: #0b4f6c;
  --navy-hover: #08374b;
  --navy-press: #062a3a;
  --navy-deep: #08374b;
  --mist: #ddebf1;
  --navy-200: #c9d8de;
  --navy-300: #9fb4bc;
  --mint: #1bd3a2;
  --mint-300: #a9e8d2;
  --mint-mist: #daf4ea;
  --mint-text: #0b6650;
  --mint-deep: #0b3d30;
  --recovered: #0e7a5f;
  --rose: #b4415a;
  --open-bg: #f7e1e4;
  --open-text: #8f2e45;
  --open-edge: #d6919f;      /* the mock's color-mix(#b4415a 50%, #f7e1e4) */
  --offer-bg: #f5e6c8;
  --offer-text: #8a5a0b;
  --offer-edge: #c5a773;     /* color-mix(#8a5a0b 45%, #f5e6c8) */
  --today-block: #e2e0db;    /* color-mix(#1b2a2f 9%, #f6f2ec) */
  --band-rule: rgba(246, 242, 236, 0.16);
  --confirm-bg: #fff1b8;
  --confirm-line: #a67c00;
  --heading: "Caprasimo", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-md: 0 3px 10px rgba(46, 43, 37, 0.16);
  --shadow-lg: 0 12px 32px rgba(46, 43, 37, 0.22);
  --wide: 1344px;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(72px, 9vw, 128px);
  --row-gap: 48px clamp(40px, 6vw, 96px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--heading); font-weight: 400; margin: 0; }
p, ul, ol, dl { margin: 0 0 18px; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
li::marker { color: var(--slate); }
strong, b { font-weight: 700; }
em { font-style: italic; }
img { max-width: 100%; height: auto; }
svg { display: block; }

a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--navy-hover); }
a, .btn { transition: color 0.15s, background-color 0.15s; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
::selection { background: var(--navy-200); }

/* Layout: one wide container. */
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

/* Keyboard users can jump past the header. */
.skip {
  position: absolute; left: 16px; top: -120px; z-index: 20;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Buttons and tags ---------- */
.btn {
  display: inline-block; white-space: nowrap; text-decoration: none;
  font-family: var(--heading); font-weight: 400; font-size: 16px; line-height: 1.2;
  padding: 12px 22px; border-radius: 999px;
  background: var(--navy); color: var(--paper);
}
.btn:hover { background: var(--navy-hover); color: var(--paper); }
.btn:active { background: var(--navy-press); }
.btn-lg { font-size: 19px; padding: 17px 30px; }
.tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.tag-navy { background: var(--mist); color: var(--navy); }
.tag-mint { background: var(--mint-mist); color: var(--mint-text); }
.tag-neutral { background: var(--surface); color: var(--ink-2); }

/* ---------- Header ---------- */
.site-header { padding: 20px 0; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; border-radius: 12px; }
.mark { flex: none; width: 34px; height: 34px; }
.wordmark {
  font-weight: 700; font-size: 29px; line-height: 1; letter-spacing: -0.03em;
  color: var(--navy); white-space: nowrap;
}
/* The i's dot is a small mint square over a dotless i. */
.wordmark .dot { position: relative; display: inline-block; }
.wordmark .dot::after {
  content: ""; position: absolute; left: 50%; top: 0.15em; width: 0.16em; height: 0.16em;
  margin-left: -0.08em; border-radius: 0.042em; background: var(--mint);
}
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; margin-left: auto; }
.site-header nav a {
  color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none;
  padding: 6px 0; white-space: nowrap;
}
.site-header nav a:hover { color: var(--navy); text-decoration: underline; }
.site-header nav a[aria-current="page"] {
  color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.site-header .btn { flex: none; }

/* ---------- Sections ---------- */
.sec { padding: var(--section) 0 0; }
.sec.after-hero { padding-top: 0; }   /* the hero carries the gap */
.tag + h2 { margin-top: 18px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.sec-head-main { flex: 1 1 460px; max-width: 700px; }
.sec-head-main h2 { margin-top: 18px; }
.sec-head-text { flex: 1 1 340px; max-width: 470px; margin: 0; color: var(--ink-2); text-wrap: pretty; }
.sec-head-text strong { color: var(--ink); }
h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.feature h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.06; }
.copy p { color: var(--ink-2); text-wrap: pretty; margin: 16px 0 0; }
.copy h2 + p { margin-top: 22px; }

/* ---------- Hero ---------- */
.hero { overflow: clip; }
.hero-grid {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 56px clamp(40px, 5vw, 72px);
  padding-top: clamp(28px, 5vw, 72px); padding-bottom: var(--section);
}
.hero-copy { flex: 1 1 440px; min-width: 0; max-width: 600px; }
.hero h1 { font-size: clamp(44px, 5vw, 70px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.hero h1 .navy { color: var(--navy); }
.lead { margin: 28px 0 0; max-width: 520px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.cta { margin: 36px 0 0; }

.hero-visual {
  flex: 1 1 500px; min-width: 0; position: relative;
  display: flex; flex-direction: column; align-items: flex-end;
}
.hero-circle {
  position: absolute; z-index: 0; top: 5%; right: 0;
  width: clamp(280px, 84%, 540px); aspect-ratio: 1; border-radius: 50%; background: var(--mist);
}

/* The patient's phone, drawn in CSS. */
.phone {
  position: relative; z-index: 1; width: clamp(236px, 50%, 300px); margin-right: clamp(0px, 7%, 64px);
  aspect-ratio: 300 / 610; display: flex; flex-direction: column;
  background: var(--ink); border-radius: 46px; padding: 9px; box-shadow: var(--shadow-lg);
}
.screen { flex: 1; display: flex; flex-direction: column; border-radius: 38px; background: var(--surface); overflow: clip; }
.screen-top { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 11px 16px 12px; border-bottom: 1px solid var(--line-faint); }
.notch { width: 84px; height: 22px; border-radius: 999px; background: var(--ink); }
.screen-title { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.screen-time { padding-top: 12px; text-align: center; font-size: 11px; color: var(--muted); }
.thread { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 44px; }
.screen-field { margin: 0 12px 14px; height: 36px; flex: none; border-radius: 999px; border: 1px solid var(--line-screen); }
.bubble { margin: 0; line-height: 1.42; }
.bubble.in { align-self: flex-start; max-width: 86%; padding: 10px 13px; border-radius: 18px 18px 18px 6px; background: var(--sand); color: var(--ink); font-size: 13px; }
.bubble.out { align-self: flex-end; max-width: 40%; padding: 8px 15px; border-radius: 18px 18px 6px 18px; background: var(--navy); color: var(--surface); font-size: 14px; font-weight: 700; }

/* The Recovery card overlapping the phone. */
.rcard {
  position: relative; z-index: 2; align-self: flex-start; width: min(94%, 440px); margin-top: -96px;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 24px; box-shadow: var(--shadow-lg);
  overflow: clip; color: var(--ink);
}
.rcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 18px; background: var(--paper); border-bottom: 1px solid var(--line-faint); font-size: 14px; font-weight: 700; }
.rcard-head .sub { font-size: 12px; font-weight: 600; color: var(--muted); }
.rcard-row { display: flex; gap: 14px; padding: 16px 18px 14px; }
.rcard-edge { width: 4px; flex: none; border-radius: 4px; background: var(--rose); }
.rcard-main { flex: 1; min-width: 0; }
.rcard-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.rcard-kind { font-size: 12px; font-weight: 700; color: var(--muted); }
.rcard-name { font-size: 15px; font-weight: 700; }
.rcard-when { margin-top: 4px; font-size: 13px; color: var(--muted); }
.rcard-side { flex: none; text-align: right; }
.rcard-patient { font-size: 13px; font-weight: 700; }
.rcard-status { display: grid; justify-items: end; margin-top: 6px; }
.chip { grid-area: 1 / 1; font-size: 12px; font-weight: 700; line-height: 1.2; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.chip-offers { background: var(--offer-bg); color: var(--offer-text); }
.chip-filled { background: var(--navy); color: var(--surface); }
.rcard-detail { display: grid; padding: 0 18px 18px; }
.rcard-offers, .rcard-booked { grid-area: 1 / 1; }
.rcard-label { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.rcard-offer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; border: 1px solid var(--line-soft); border-radius: 12px; padding: 9px 12px; font-size: 13px; }
.rcard-offer .exp { color: var(--muted); font-weight: 600; }
.rcard-booked { align-self: end; background: var(--mint-mist); border-left: 3px solid var(--recovered); border-radius: 10px; padding: 10px 13px; font-size: 13px; line-height: 1.45; }

/* The hero plays once on load: the texts arrive one by one, then the card's status changes. CSS only. */
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } }
@keyframes leave { to { opacity: 0; visibility: hidden; } }
.a-in { animation: arrive 560ms cubic-bezier(0.2, 0.75, 0.25, 1) both; }
.a-1 { animation-delay: 500ms; }
.a-2 { animation-delay: 1800ms; }
.a-3 { animation-delay: 2900ms; }
.a-offers { animation-delay: 700ms; }
.a-filled { animation-delay: 3400ms; }
.a-booked { animation-delay: 3520ms; }
.a-out { animation: leave 300ms ease 3400ms both; }
@media (prefers-reduced-motion: reduce) {
  .a-in { animation: none; }
  .a-out { display: none; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Recovery story ---------- */
.steps {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 44px 28px;
}
.steps li { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.step-head { display: flex; align-items: center; gap: 14px; }
.step-n {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--paper); font-family: var(--heading); font-size: 20px;
}
.steps h3 { font-size: 22px; line-height: 1.15; }
.steps p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.mini {
  height: 176px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 22px; color: var(--ink);
}
.mini-chair { font-size: 12px; font-weight: 700; color: var(--muted); }
.mini-note { font-size: 13px; color: var(--muted); }
.mini-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: 13px; }
.mini-row b { font-weight: 700; }
.mini-row .exp { color: var(--muted); }
.mini-recovered { font-size: 13px; font-weight: 700; color: var(--recovered); }
.slot { padding: 10px 13px; border-radius: 10px; line-height: 1.3; }
.slot-t { font-size: 15px; font-weight: 700; }
.slot-s { font-size: 13px; }
.slot-open { background: var(--open-bg); border: 1.5px dashed var(--open-edge); color: var(--open-text); }
.slot-offers { background: var(--offer-bg); border: 1.5px dashed var(--offer-edge); color: var(--offer-text); }
.slot-booked { background: var(--navy); color: var(--surface); padding: 11px 13px; }
.mini-phone { justify-content: flex-start; gap: 8px; padding: 14px 16px 16px; overflow: clip; }
.mini-phone .screen-title { text-align: center; letter-spacing: 0.14em; }
.mini-thread { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: clip; }
.mini-thread .bubble.in { max-width: 90%; padding: 9px 12px; border-radius: 16px 16px 16px 5px; font-size: 12.5px; line-height: 1.4; }
.mini-thread .bubble.out { max-width: none; border-radius: 16px 16px 5px 16px; }
.mini-fade { position: absolute; top: 0; left: 0; right: 0; height: 40px; background: linear-gradient(var(--surface), rgba(252, 250, 247, 0)); }
.note { margin: clamp(40px, 5vw, 56px) 0 0; display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color: var(--ink); }
.dot-mint { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); }

/* ---------- The owner's dashboard (a sand band) ---------- */
.band-sand { margin-top: var(--section); padding: var(--section) 0; background: var(--sand); }
.dash {
  margin-top: clamp(36px, 4vw, 56px); padding: clamp(18px, 3vw, 40px);
  background: var(--surface); border-radius: 36px; box-shadow: var(--shadow-md); color: var(--ink); overflow: clip;
}
.dash-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; }
.dash-greet { font-size: clamp(21px, 2.3vw, 32px); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; }
.dash-greet .open-text { color: var(--open-text); }
.dash-btn { flex: none; padding: 13px 22px; border-radius: 14px; background: var(--navy); color: var(--surface); font-size: 15px; font-weight: 700; }
.tl { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.tl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.tl-name { flex: 0 0 112px; line-height: 1.25; font-size: 14px; font-weight: 700; }
.tl-name .chair { font-size: 12.5px; font-weight: 400; color: var(--muted); }
/* The lanes keep their width, so on a narrow screen the afternoon shows and the morning is clipped on the left. */
.tl-clip { flex: 999 1 560px; min-width: 0; overflow: clip; display: flex; justify-content: flex-end; }
.tl-grid { flex: none; width: 100%; min-width: 720px; position: relative; display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); }
.tl-hours { height: 46px; align-items: end; padding-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.tl-hours > span:not(.now-pill) { padding-left: 4px; }
.now-pill { position: absolute; left: 20.83%; top: 0; transform: translateX(-50%); padding: 3px 8px; border-radius: 999px; background: var(--ink); color: var(--surface); font-size: 11px; font-weight: 700; line-height: 1.2; }
.tl-lane { height: 56px; background-image: repeating-linear-gradient(to right, var(--line-faint) 0 1px, transparent 1px 12.5%); }
.now-line { position: absolute; left: 20.83%; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--ink); }
.blk { margin-inline: 2px; min-width: 0; overflow: hidden; padding: 8px 10px; border-radius: 9px; line-height: 1.25; }
.blk-t { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk-s { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk-booked { background: var(--navy); color: var(--surface); }
.blk-open { padding: 7px 9px; background: var(--open-bg); border: 1.5px dashed var(--open-edge); color: var(--open-text); }
.blk-offers { padding: 7px 9px; background: var(--offer-bg); border: 1.5px dashed var(--offer-edge); color: var(--offer-text); }
.blk-filled { margin-block: 5px; padding-block: 4px; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--recovered); }
.g1-3 { grid-column: 1 / 3; }
.g2-4 { grid-column: 2 / 4; }
.g2-5 { grid-column: 2 / 5; }
.g3-5 { grid-column: 3 / 5; }
.g4-6 { grid-column: 4 / 6; }
.g5-7 { grid-column: 5 / 7; }
.g5-8 { grid-column: 5 / 8; }
.g7-9 { grid-column: 7 / 9; }
.g9-11 { grid-column: 9 / 11; }
.g10-12 { grid-column: 10 / 12; }
.g11-13 { grid-column: 11 / 13; }
.g13-15 { grid-column: 13 / 15; }
.g15-17 { grid-column: 15 / 17; }
.dash-stats {
  margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line-faint);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 22px 32px;
}
.stat-n { font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.stat-n.green { color: var(--recovered); }
.stat-l { margin-top: 10px; font-size: 14px; font-weight: 600; }
.stat-s { font-size: 13px; color: var(--muted); }
.caption { margin: 18px 0 0; font-size: 15px; color: var(--slate); }

/* ---------- Feature rows: copy beside a product vignette ---------- */
.feature-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--row-gap); }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-copy { flex: 1 1 360px; max-width: 480px; }
.feature-copy.wide { flex-basis: 380px; max-width: 520px; }
.panel {
  flex: 1 1 460px; min-width: 0; padding: clamp(22px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 36px; box-shadow: var(--shadow-md); color: var(--ink);
}
.panel-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tline { margin: 22px 0 0 6px; padding-left: 24px; border-left: 2px solid var(--line-soft); display: flex; flex-direction: column; gap: 22px; }
.tline-item { position: relative; }
.tline-item::before { content: ""; position: absolute; left: -32px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--navy); }
.tline-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tline-inline::before { top: 8px; }
.tline-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.tline-inline .tline-label { min-width: 120px; }
.bubble-sand { margin-top: 8px; max-width: 94%; padding: 12px 15px; border-radius: 18px 18px 18px 6px; background: var(--sand); font-size: 14px; line-height: 1.5; }
.pill-dashed { padding: 7px 14px; border-radius: 999px; border: 1.5px dashed var(--line-dash); font-size: 13.5px; }

/* The Messages screen: a thread list beside one thread. */
.msgs { flex: 1 1 560px; min-width: 0; display: flex; flex-wrap: wrap; padding: 0; overflow: clip; }
.msgs-list { flex: 1 1 290px; min-width: 0; padding: 12px; background: var(--paper); display: flex; flex-direction: column; gap: 4px; }
.msg-item { display: flex; gap: 12px; padding: 12px; border-radius: 18px; }
.msg-item.selected { background: var(--mist); }
.avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--line-avatar); font-size: 13px; font-weight: 700; }
.msg-body { flex: 1; min-width: 0; }
.msg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.msg-name { min-width: 0; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; }
.msg-name span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-flag { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.msg-time { flex: none; font-size: 12px; color: var(--muted); white-space: nowrap; }
.msg-preview { margin-top: 2px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-preview.you { color: var(--muted); }
.msgs-thread { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; }
.thread-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-faint); line-height: 1.3; }
.thread-head .avatar { width: 40px; height: 40px; }
.thread-name { font-size: 15px; font-weight: 700; }
.thread-phone { font-size: 13px; color: var(--muted); }
.thread-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.tb { margin: 0; padding: 11px 14px; font-size: 13.5px; line-height: 1.45; }
.tb.out { align-self: flex-end; max-width: 88%; border-radius: 18px 18px 6px 18px; background: var(--navy); color: var(--surface); }
.tb.in { align-self: flex-start; max-width: 80%; border-radius: 18px 18px 18px 6px; background: var(--sand); }
.tb-time { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.tb.out .tb-time { text-align: right; color: var(--sand); }
.compose { padding: 14px 20px 18px; border-top: 1px solid var(--line-faint); }
.compose-row { display: flex; gap: 10px; }
.compose-field { flex: 1; min-width: 0; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.compose-send { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: var(--surface); font-size: 13px; font-weight: 700; }
.compose-note { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* The Today screen. */
.today { flex: 1 1 560px; min-width: 0; padding: clamp(18px, 2.6vw, 30px); background: var(--paper); overflow: clip; }
.today-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.today-head .t { font-size: 22px; font-weight: 700; }
.today-head .d { font-size: 14px; color: var(--muted); }
.counts { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.count { padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-soft); }
.count-l { font-size: 12px; color: var(--muted); white-space: nowrap; }
.count-n { font-size: 24px; font-weight: 600; line-height: 1.2; }
.chairs { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.chairs span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.chairs .on { padding: 6px 13px; border: 0; background: var(--navy); color: var(--surface); font-weight: 700; }
.sched { margin-top: 14px; overflow: clip; border-radius: 18px; border: 1px solid var(--line-soft); background: var(--surface); }
.sched-grid {
  min-width: 500px; display: grid; grid-template-columns: 52px repeat(4, minmax(112px, 1fr)); grid-template-rows: 46px repeat(8, 28px);
  column-gap: 6px; padding-bottom: 8px;
}
.sched-bar { grid-column: 1 / -1; grid-row: 1; background: var(--paper); border-bottom: 1px solid var(--line-faint); }
.sched-chair { grid-row: 1; align-self: center; line-height: 1.2; padding-left: 8px; font-size: 13px; font-weight: 700; }
.sched-chair .chair { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.sched-rule { grid-column: 1 / -1; border-top: 1px solid var(--line-faint); }
.sched-hour { grid-column: 1; padding: 3px 0 0 10px; font-size: 11.5px; color: var(--muted); }
.appt { margin-block: 2px; min-width: 0; overflow: hidden; padding: 5px 9px; border-radius: 8px; border-left: 3px solid var(--ink); background: var(--today-block); line-height: 1.25; }
.appt-n { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt-t { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt-h { font-size: 10.5px; color: var(--muted); }
.c2 { grid-column: 2; }
.c3 { grid-column: 3; }
.c4 { grid-column: 4; }
.c5 { grid-column: 5; }
.r1 { grid-row: 1; }
.r2 { grid-row: 2; }
.r4 { grid-row: 4; }
.r6 { grid-row: 6; }
.r8 { grid-row: 8; }
.r2-4 { grid-row: 2 / 4; }
.r3-5 { grid-row: 3 / 5; }
.r3-6 { grid-row: 3 / 6; }
.r5-7 { grid-row: 5 / 7; }
.r6-8 { grid-row: 6 / 8; }
.r6-9 { grid-row: 6 / 9; }

/* ---------- Compliance: a deep navy band ---------- */
.band { margin-top: var(--section); padding: var(--section) 0; background: var(--navy-deep); color: var(--paper); }
.band h2 { color: var(--paper); }
.band .copy p { color: var(--navy-200); }
.band a { color: var(--paper); }
.band :focus-visible { outline-color: var(--paper); }
.band-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--row-gap); }
.band-row .feature-copy { flex-basis: 360px; }
.annot { flex: 1 1 520px; min-width: 0; }
.annot-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-300); }
.annot-text {
  margin: 14px 0 0; padding: clamp(20px, 2.6vw, 30px); border-radius: 30px 30px 30px 8px;
  background: var(--surface); color: var(--ink); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.8;
}
.hl {
  padding: 2px 6px; border-radius: 8px; background: var(--mist); color: inherit; white-space: nowrap;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hl-n {
  display: inline-grid; place-items: center; width: 19px; height: 19px; margin-left: 6px; border-radius: 50%;
  background: var(--navy); color: var(--paper); font-size: 11px; font-weight: 700; line-height: 1; vertical-align: 0.2em;
}
.carries { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px 40px; }
.carries h3, .pillars h3 { font-family: var(--sans); font-size: 14px; line-height: 1.12; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.carries h3 { color: var(--mint-300); }
.carries ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 17px; color: var(--mist); }
.carries li { display: flex; align-items: center; gap: 12px; margin: 0; }
.carries-n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--ink); font-size: 12px; font-weight: 700; }
.carries p { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: var(--mist); }
.carries .faint { font-size: 15px; color: var(--navy-300); }
.pillars {
  list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: clamp(36px, 4vw, 56px) 0 0; border-top: 1px solid var(--band-rule);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 36px 56px;
}
.pillars li { margin: 0; }
.pillars h3 { color: var(--mint); }
.pillars p { margin: 10px 0 0; font-size: 17px; line-height: 1.6; color: var(--mist); }

/* ---------- Who it is for, Leadership ---------- */
.who { display: flex; flex-wrap: wrap; gap: 20px clamp(40px, 6vw, 96px); padding-bottom: var(--section); }
.who h2 { flex: 1 1 280px; max-width: 420px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.06; }
.statement { margin: 0; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.who .statement { flex: 2 1 460px; max-width: 760px; }
.team { padding-top: 0; padding-bottom: var(--section); }
.team .feature-copy { max-width: 620px; }
.team h2 { margin-top: 18px; }
.team .statement { margin-top: 22px; }
.portrait { flex: 0 1 340px; margin: 0; }
.portrait-frame { position: relative; }
.portrait-img { aspect-ratio: 4 / 5; border-radius: 40px; overflow: clip; background: var(--mist); }
.portrait-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.washed { filter: saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94); }
.portrait-badge { position: absolute; top: -12px; right: -12px; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); box-shadow: 0 0 0 6px var(--paper); }
.portrait figcaption { margin-top: 20px; color: var(--ink); }
.portrait-name { font-family: var(--heading); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -0.01em; }
.portrait-role { margin-top: 8px; font-size: 16px; font-weight: 700; color: var(--navy); }

/* ---------- Demo: a navy mist band with the mark as a motif ---------- */
.demo { padding-top: 0; padding-bottom: clamp(64px, 8vw, 112px); }
.demo-band { position: relative; overflow: clip; padding: clamp(36px, 6vw, 88px); border-radius: clamp(32px, 4vw, 56px); background: var(--mist); }
.demo-motif { position: absolute; right: clamp(24px, 6%, 88px); top: 50%; width: clamp(200px, 26vw, 360px); height: auto; transform: translateY(-50%); }
.demo-copy { position: relative; max-width: 580px; }
.demo h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: initial; }
.demo .lead { margin-top: 22px; }
.demo .cta { margin-top: 32px; }
.demo .signin { margin: 24px 0 0; font-size: 16px; color: var(--ink-2); }
.demo .signin a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { padding-bottom: 48px; }
.site-footer .wrap > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.site-footer .logo { gap: 8px; }
.site-footer .mark { width: 26px; height: 26px; }
.site-footer .wordmark { font-size: 22px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-right: auto; }
.site-footer nav a { color: var(--ink); font-size: 15px; padding: 6px 0; }
.site-footer nav a:hover { color: var(--navy); }
.site-footer p { margin: 0; font-size: 15px; color: var(--slate); }

/* ---------- The long pages (privacy policy, SMS terms) ---------- */
.doc { padding-bottom: clamp(64px, 8vw, 112px); }
.doc-head {
  position: relative; overflow: clip; margin-top: clamp(8px, 2vw, 24px); padding: clamp(32px, 5vw, 72px);
  border-radius: clamp(28px, 4vw, 48px); background: var(--sand);
}
.doc-head-copy { position: relative; max-width: 760px; }
.doc h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.doc .meta { margin: 18px 0 0; }
.doc .meta .tag { padding: 6px 14px; white-space: normal; }
.doc .lead { margin: 22px 0 0; max-width: 620px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; }
.doc-body { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px clamp(40px, 6vw, 96px); }
.doc-text { flex: 999 1 560px; min-width: 0; max-width: 720px; font-size: clamp(17px, 1.25vw, 18px); line-height: 1.7; }
.doc h2 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.01em; margin: clamp(48px, 6vw, 72px) 0 18px; scroll-margin-top: 24px; text-wrap: initial; }
.doc-text > h2:first-child { margin-top: 0; }
.doc h2 .n { margin-right: 6px; color: var(--navy); }

/* The table of contents: numbered rows in two columns, a sticky side column on wide screens. */
.toc { flex: 1 1 240px; max-width: 300px; min-width: 0; margin: 0; }
.toc .eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.toc ol { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: toc; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 16px; }
.toc li { counter-increment: toc; margin: 0; }
.toc a { display: flex; gap: 10px; padding: 7px 0; color: var(--ink); font-size: 16px; line-height: 1.35; text-decoration: none; }
.toc a::before { content: counter(toc); flex: none; width: 22px; color: var(--navy); font-weight: 700; }
.toc a:hover { color: var(--navy); text-decoration: underline; }

/* The consent statement, set in a mint box. */
blockquote {
  margin: 28px 0; padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); border-radius: 28px;
  background: var(--mint-mist); color: var(--mint-deep); font-size: clamp(18px, 1.4vw, 20px); font-weight: 600; line-height: 1.6;
}
blockquote p:last-child { margin-bottom: 0; }

/* Example texts as message bubbles. */
.examples { margin: 28px 0 0; }
.examples dt { margin: 26px 0 10px; font-size: 13px; line-height: 1.12; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.examples dt:first-child { margin-top: 0; }
.examples dd { margin: 0; }
.sms {
  display: inline-block; max-width: min(100%, 520px);
  padding: 14px 18px; border-radius: 22px 22px 22px 6px; background: var(--surface); border: 1px solid var(--line);
  font-size: 16px; line-height: 1.55;
}
.examples dd .confirm { display: inline-block; margin-top: 0.75rem; }
.address { line-height: 1.75; }
.nowrap { white-space: nowrap; }

/* A fact the owner must confirm before publishing (none today). The brackets are in the text itself, so a search finds them. */
.confirm {
  background: var(--confirm-bg); color: var(--ink);
  border-bottom: 2px solid var(--confirm-line); border-radius: 2px; padding: 0.05em 0.2em; margin: 0 -0.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  font-family: var(--sans); font-size: 1rem; font-weight: 400; font-style: normal; letter-spacing: 0; text-transform: none;
}

/* ---------- Narrow screens ---------- */
@media (max-width: 759px) {
  /* The header in two rows: the logo and the Book a demo button, then the page links and Sign in. */
  .bar { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo cta" "nav nav"; align-items: center; gap: 12px 16px; }
  .logo { grid-area: logo; justify-self: start; }
  .site-header .btn { grid-area: cta; justify-self: end; }
  .site-header nav { grid-area: nav; margin-left: 0; gap: 4px 24px; }
  .site-header nav a { padding: 8px 0; }
}
@media (max-width: 359px) {
  /* The smallest phones: the header button and the logo must share one row. */
  .site-header .btn { font-size: 15px; padding: 10px 16px; }
  .wordmark { font-size: 26px; }
}

/* ---------- Wider screens ---------- */
@media (min-width: 1024px) {
  /* A scroll container clips outlines, so the column keeps room for the focus ring around its links. */
  .toc { position: sticky; top: 20px; max-height: calc(100vh - 48px); overflow-y: auto; box-sizing: content-box; padding: 4px 6px; margin: -4px -6px; }
}

@media print {
  .skip, .site-header nav, .site-footer nav, .btn, .hero-visual, .mini, .dash, .panel, .demo-motif { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .doc-head, .demo-band, .band-sand, .band { background: none; border-radius: 0; padding-left: 0; padding-right: 0; }
  .band, .band h2, .band .copy p, .carries p, .carries ol, .pillars p, .carries h3, .pillars h3, .annot-kicker, .carries .faint { color: #000; }
  .step-n, .hl-n, .carries-n { color: #000; background: none; border: 1px solid #000; }
  .doc-body { display: block; }
  .toc { position: static; max-height: none; overflow: visible; max-width: none; }
  .doc h2 .n, .toc a::before { color: #000; }
  a { color: #000; }
  blockquote, .sms, .confirm, .doc .meta .tag { background: #fff; border: 1px solid #000; color: #000; }
  .examples dd, blockquote { break-inside: avoid; }
}
