/* Bottega · landing page
   Type: Instrument Serif (display, closest free match to the reference's condensed high-contrast serif)
         Inter Tight (UI and text) */

:root {
  --ink: #1d1c1a;
  --ink-2: #55575d;
  --ink-3: #8a8c91;
  --line: #ecebe6;
  --line-2: #e2e0d9;
  --cl: #e6e3dc;
  --paper: #faf9f6;
  --blue: #1a74f2;
  --blue-d: #0a57cc;
  --blue-hi: #4593ff;
  --indigo-t: #4b47b8;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(8px, 5.6vw, 108px);
  --pad: clamp(20px, 5.6vw, 88px);
  --r: clamp(16px, 2vw, 30px);
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #cfc4ad;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- backdrop: the room behind the sheet ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; background: #cfc4ad; }
.bd {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s var(--ease);
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.bd.is-on { opacity: 1; }
.bd--fresco { background-image: url(img/bd-fresco.webp); background-color: #b9a993; }
.bd--damask { background-image: url(img/bd-damask.webp); background-size: 640px auto; background-repeat: repeat; background-color: #7a8c5f; }
.bd--marble { background-image: url(img/bd-marble.webp); background-color: #e2d6bd; }

/* ---------- rooms and sheets ---------- */
.room { padding: 0 var(--gut) clamp(10px, 3.6vw, 60px); }
.room--first { padding-top: clamp(10px, 3vw, 52px); }
.room--tight { margin-top: calc(clamp(10px, 3.6vw, 60px) * -0.4); }
.sheet {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(40, 30, 10, .05), 0 40px 80px -50px rgba(40, 28, 10, .45);
}

/* construction lines, drawn by bottega.js */
.cl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.cl * { fill: none; stroke: var(--cl); stroke-width: 1; }
.cl .ray { stroke: #dcd8cf; stroke-dasharray: 3 5; }
.cl .hatch { stroke: #efede7; }
.cl .dash { stroke-dasharray: 4 5; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.012em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.display em { font-style: italic; letter-spacing: -.022em; padding-right: .04em; }
.display--xl { font-size: clamp(44px, 4.55vw, 80px); }
.display--l { font-size: clamp(38px, 3.95vw, 66px); }
.display--m { font-size: clamp(32px, 2.95vw, 48px); line-height: 1.02; }
.lede {
  font-size: clamp(16px, 1.22vw, 19.5px);
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -.006em;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn-split {
  position: relative;
  display: inline-flex; align-items: stretch;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1666dd, #0a4fbd);
  color: #fff; text-decoration: none;
  font-weight: 500; font-size: 15.5px; letter-spacing: -.005em;
  box-shadow: 0 1px 2px rgba(10, 60, 160, .3), 0 8px 18px -8px rgba(20, 100, 240, .55);
  isolation: isolate;
}
.btn-split__label {
  display: inline-flex; align-items: center;
  padding: 0 26px 0 29px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3289ff 0%, #1a74f2 55%, #1468e6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 3px 0 7px -1px rgba(4, 30, 90, .38);
  position: relative; z-index: 1;
  transition: background .25s var(--ease);
}
.btn-split__arrow { width: 46px; display: grid; place-items: center; margin-left: -4px; }
.btn-split__arrow svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn-split:hover .btn-split__label { background: linear-gradient(180deg, #4596ff 0%, #237cf6 55%, #176deb 100%); }
.btn-split:hover .btn-split__arrow svg { transform: translateX(3px); }
.btn-split:active .btn-split__label { background: #1468e6; }
.btn-split--sm { height: 38px; font-size: 14px; }
.btn-split--sm .btn-split__label { padding: 0 18px 0 20px; }
.btn-split--sm .btn-split__arrow { width: 36px; }

.btn-ghost {
  display: inline-flex; align-items: center; height: 48px; padding: 0 24px;
  border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: 15.5px; letter-spacing: -.005em;
  box-shadow: 0 0 0 1px #e6e5ea, 0 6px 14px -6px rgba(30, 30, 60, .16), inset 0 -2px 0 rgba(30, 30, 60, .03);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn-ghost:hover { box-shadow: 0 0 0 1px #d9d8df, 0 10px 20px -8px rgba(30, 30, 60, .22); }
.btn-plain {
  display: inline-flex; align-items: center; height: 40px; padding: 0 15px;
  border-radius: 9px; background: #fff; color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: 14.5px;
  box-shadow: 0 0 0 1px #e4e3e8, 0 2px 4px rgba(20, 20, 40, .06);
}
.btn-plain:hover { box-shadow: 0 0 0 1px #d4d3da, 0 4px 10px rgba(20, 20, 40, .08); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-d); font-weight: 500; text-decoration: none; font-size: 15.5px; }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.cta-row--center { justify-content: center; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: 600 19px/1 var(--sans); letter-spacing: -.02em; }
.mark { width: 30px; height: 30px; flex: none; }
.mark circle { fill: none; stroke: currentColor; stroke-width: 2.5; }
.mark .lens { fill: var(--blue); }

/* ---------- nav ---------- */
.nav {
  position: relative; z-index: 6;
  height: 76px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.nav__links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav__links > a, .nav__ddbtn { text-decoration: none; color: #2b2b2e; padding: 8px 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav__links > a:hover, .nav__ddbtn:hover { color: var(--blue-d); }
.nav__ddbtn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .25s var(--ease); }
.nav__dd { position: relative; }
.nav__dd.is-open .nav__ddbtn svg { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 10px); left: -18px; width: 300px;
  background: #fff; border-radius: 14px; padding: 8px;
  box-shadow: 0 0 0 1px rgba(30, 25, 20, .08), 0 24px 48px -16px rgba(40, 30, 20, .28);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav__dd.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__panel a { display: block; padding: 10px 12px; border-radius: 9px; text-decoration: none; }
.nav__panel a:hover { background: var(--paper); }
.nav__panel b { display: block; font-weight: 500; font-size: 14.5px; }
.nav__panel span { display: block; color: var(--ink-3); font-size: 13px; font-weight: 400; margin-top: 1px; }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__login { font-size: 14.5px; font-weight: 500; text-decoration: none; color: #2b2b2e; }
.nav__login:hover { color: var(--blue-d); }
.nav__burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: #f4f3ef; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobilenav { display: none; }

/* compact bar after the hero */
.minibar {
  position: fixed; z-index: 40; top: 12px; left: 50%;
  width: min(820px, calc(100% - 24px));
  height: 56px; padding: 0 9px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(30, 25, 20, .08), 0 16px 34px -16px rgba(40, 30, 20, .35);
  transform: translate(-50%, -140%); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s;
}
.minibar.is-on { transform: translate(-50%, 0); opacity: 1; }
.brand--sm { font-size: 17px; }
.brand--sm .mark { width: 26px; height: 26px; }
.minibar__links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.minibar__links a { text-decoration: none; color: #333; }
.minibar__links a:hover { color: var(--blue-d); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(600px, calc(100vh - 128px), 880px);
  padding: 0 var(--pad);
  display: flex; align-items: center;
}
.hero__copy { position: relative; z-index: 2; width: min(58%, 780px); padding: clamp(70px, 12vh, 150px) 0 clamp(48px, 7vh, 80px); }
.hero__lede { max-width: 30em; margin-top: 22px; }
.hero .cta-row { margin-top: 44px; }
.trust { margin-top: clamp(56px, 9vh, 92px); }
.trust p { margin: 0; font-size: 15.5px; color: var(--ink-3); letter-spacing: -.005em; }
.marks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; align-items: center; gap: clamp(22px, 2.6vw, 42px); flex-wrap: wrap; color: #707278; }
.wm { display: inline-flex; align-items: center; gap: 7px; line-height: 1; white-space: nowrap; }
.wm svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; }
.wm--moreau svg { stroke: none; }
.wm--moreau b { display: block; font: 800 16px/1 var(--sans); letter-spacing: .02em; }
.wm--moreau small { display: block; font-size: 7px; letter-spacing: .1em; margin-top: 3px; font-weight: 500; }
.wm--terra svg { stroke: none; width: 20px; }
.wm--terra b { font: 700 15px/1 var(--sans); letter-spacing: .14em; }
.wm--penny b { font: 600 15px/.92 var(--serif); font-size: 19px; letter-spacing: -.01em; }
.wm--field svg { stroke: none; width: 18px; }
.wm--field b { display: block; font: 400 19px/1 var(--sans); letter-spacing: -.03em; }
.wm--field small { display: block; font-size: 8.5px; margin-top: 2px; letter-spacing: .01em; }
.wm--orrery svg { width: 26px; stroke: currentColor; }
.wm--orrery svg circle { stroke: none; }
.wm--orrery b { font: 500 20px/1 var(--sans); letter-spacing: -.045em; }

.hero__fig {
  position: absolute; z-index: 1; margin: 0;
  right: max(-1.5%, -24px); bottom: 0;
  height: calc(100% - 44px);
  aspect-ratio: 1400 / 1875;
}
/* the cutout stays crisp; only the lower left, where the mantle meets the image edge, dissolves */
.hero__fig img { width: 100%; height: 100%; object-fit: cover; object-position: top;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 64%), linear-gradient(90deg, transparent 0, #000 14%);
  -webkit-mask-composite: source-over;
          mask-image: linear-gradient(180deg, #000 50%, transparent 64%), linear-gradient(90deg, transparent 0, #000 14%);
          mask-composite: add; }

/* ---------- room II: make ---------- */
.make { position: relative; padding: clamp(90px, 10.5vw, 170px) var(--pad) clamp(60px, 7vw, 110px); text-align: center; }
.make__copy { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.make__copy .lede { max-width: 31em; margin: 22px auto 0; }
.hand { position: absolute; z-index: 1; width: clamp(200px, 27%, 440px); height: auto; top: 44%; image-rendering: pixelated; }
.hand--l { left: 0; transform: translateY(-50%); }
.hand--r { right: 0; transform: translateY(-62%); }

.band { position: relative; padding: clamp(40px, 6vw, 100px) var(--pad) clamp(60px, 8vw, 120px); }
.band__paint {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.6) 16%, #000 34%, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.6) 16%, #000 34%, #000 72%, transparent 100%);
}
.tray {
  position: relative; max-width: 1220px; margin: 0 auto; padding: 12px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .4);
  backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 40px 70px -40px rgba(70, 35, 20, .45);
}

/* product windows (shared by demos) */
.win {
  background: #fff; border-radius: 16px; overflow: hidden; text-align: left;
  box-shadow: 0 0 0 1px rgba(30, 25, 20, .08), 0 14px 34px -14px rgba(40, 30, 20, .28);
  font-size: 13.5px;
}
.win__bar { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.win__crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; }
.win__crumbs b { font-weight: 500; }
.win__ws { color: var(--ink-3); }
.win__crumbs .sep { color: #cfcdc6; }
.win__tabs { display: flex; gap: 2px; background: #f4f3ef; border-radius: 9px; padding: 3px; }
.win__tabs span { padding: 4px 11px; border-radius: 7px; color: var(--ink-3); font-size: 12.5px; }
.win__tabs .is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; transition: background .4s, color .4s; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--ver { background: #f1f0ec; color: #6b6c70; }
.chip--ver.is-ready { background: #e9f1ff; color: var(--blue-d); }
.chip--review { background: #fff3e0; color: #a35a00; }
.chip--changes { background: #fdecea; color: #b0352b; }
.chip--ok { background: #e6f4ea; color: #1d7a3e; }

.demo__body { display: grid; grid-template-columns: minmax(280px, 340px) 1fr; height: 486px; }
.chat { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 18px 18px 70px; border-right: 1px solid var(--line); overflow: hidden; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.av { width: 28px; height: 28px; border-radius: 50%; flex: none; object-fit: cover; }
.av--mark { display: grid; place-items: center; background: #1d1c1a; color: #fff; }
.av--mark .mark { width: 19px; height: 19px; }
.av--mark .mark circle { stroke-width: 3; }
.av--xs { width: 18px; height: 18px; }
.av--xs .mark { width: 13px; height: 13px; }
.msg__b { min-width: 0; }
.msg__who { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 3px; }
.msg__b p { margin: 0; line-height: 1.5; color: #2c2c2e; }
.msg--me .msg__b p { background: #f4f3ef; padding: 9px 12px; border-radius: 4px 12px 12px 12px; min-height: 40px; }
.msg--me .msg__b p.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: var(--ink); margin-left: 1px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.msg--ai { transition: opacity .4s; }
.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.steps li { display: flex; align-items: center; gap: 9px; color: #9a9ba0; font-size: 12.8px; transition: color .3s; }
.steps li i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #d6d4cd; flex: none; position: relative; transition: background .3s, border-color .3s; }
.steps li.is-run { color: #2c2c2e; }
.steps li.is-run i { border-color: var(--blue); border-right-color: transparent; animation: spin .8s linear infinite; }
.steps li.is-done { color: #2c2c2e; }
.steps li.is-done i { background: var(--blue); border-color: var(--blue); }
.steps li.is-done i::after { content: ""; position: absolute; left: 4px; top: 1.5px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.handoff { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: #fbfaf7; box-shadow: 0 0 0 1px var(--line); transition: opacity .5s, transform .5s var(--ease); }
.handoff p { margin: 0; font-size: 12.8px; line-height: 1.4; color: var(--ink-2); flex: 1; }
.handoff p b { color: var(--ink); font-weight: 500; }
.chat__input { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 14px; color: var(--ink-3); box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(0,0,0,.04); background: #fff; }
.chat__input kbd { font: 500 12px var(--sans); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.demo.is-pre .msg--ai, .demo.is-pre .handoff { opacity: 0; }
.demo.is-pre .handoff { transform: translateY(6px); }

.preview { background: #f3f2ee; padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.preview__url { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 10px; color: #8b8c90; font-size: 12px; }
.preview__url i { width: 9px; height: 9px; border-radius: 50%; background: #dcdad3; }
.preview__url span { margin-left: 10px; background: #fff; padding: 3px 10px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }

/* the Calder Physio mini app (shared by both demos) */
.pv { position: relative; --pv: #2d6b58; flex: 1; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -10px rgba(0,0,0,.15); padding: 0 18px 16px; display: flex; flex-direction: column; gap: 12px; font-size: 12px; color: #26302c; overflow: hidden; }
.pv__top { display: flex; justify-content: space-between; align-items: center; height: 44px; border-bottom: 1px solid #eef0ee; margin: 0 -18px; padding: 0 18px; }
.pv__logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--pv); }
.pv__logo svg { width: 15px; height: 15px; fill: var(--pv); }
.pv__nav { display: inline-flex; align-items: center; gap: 10px; color: #6a736f; }
.pv__avatar { width: 24px; height: 24px; border-radius: 50%; background: #e3efe9; color: var(--pv); display: grid; place-items: center; font-size: 10px; font-weight: 600; }
.pv__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.pv__head h4 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pv__sub { margin: 2px 0 0; color: #6a736f; width: 100%; }
.pv__stepper { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; }
.pv__stepper li { padding: 3px 9px; border-radius: 999px; background: #f1f4f2; color: #7b8580; font-size: 11px; }
.pv__stepper .is-done { background: #e3efe9; color: var(--pv); }
.pv__stepper .is-on { background: var(--pv); color: #fff; }
.pv__clinics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pv__clinic { padding: 10px 11px; border-radius: 9px; box-shadow: 0 0 0 1px #e6eae7; display: grid; gap: 2px; }
.pv__clinic b { font-size: 13px; font-weight: 600; }
.pv__clinic span { color: #6a736f; }
.pv__clinic em { font-style: normal; color: var(--pv); font-weight: 500; margin-top: 4px; }
.pv__clinic.is-sel { box-shadow: 0 0 0 1.5px var(--pv); background: #f6faf8; }
.pv__therapists { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv__t { display: flex; gap: 9px; align-items: center; padding: 8px 10px; border-radius: 9px; box-shadow: 0 0 0 1px #e6eae7; }
.pv__t b { display: block; font-weight: 600; font-size: 12.5px; }
.pv__t span { color: #6a736f; font-size: 11.5px; }
.pv__t.is-sel { box-shadow: 0 0 0 1.5px var(--pv); background: #f6faf8; }
.pv__ti { width: 28px; height: 28px; border-radius: 50%; background: #dbe9e2; color: var(--pv); display: grid; place-items: center; font-weight: 600; font-size: 10.5px; flex: none; }
.pv__ti--b { background: #ece6db; color: #7a5b2c; }
.pv__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pv__days span { text-align: center; padding: 7px 0; border-radius: 9px; box-shadow: 0 0 0 1px #e6eae7; color: #6a736f; font-size: 11px; }
.pv__days b { display: block; font-size: 15px; color: #26302c; font-weight: 600; }
.pv__days .is-sel { background: var(--pv); color: #d8ebe3; box-shadow: none; }
.pv__days .is-sel b { color: #fff; }
.pv__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pv__slots span { text-align: center; padding: 7px 0; border-radius: 8px; box-shadow: 0 0 0 1px #dfe5e1; font-weight: 500; font-variant-numeric: tabular-nums; }
.pv__slots .is-off { color: #b5bcb8; box-shadow: none; background: #f4f6f5; text-decoration: line-through; }
.pv__slots .is-sel { background: var(--pv); color: #fff; box-shadow: none; }
.pv__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid #eef0ee; color: #6a736f; }
.pv__foot b { background: var(--pv); color: #fff; padding: 7px 14px; border-radius: 8px; font-weight: 500; }
/* build-in states */
.pv__empty { position: absolute; inset: 44px 0 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: #8a938f; font-size: 12.5px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.pv__empty i { display: block; height: 8px; border-radius: 4px; background: #eef1ef; width: 180px; }
.pv__empty i:nth-child(2) { width: 140px; }
.pv__empty i:nth-child(3) { width: 160px; margin-bottom: 8px; }
.pv__empty.is-on { opacity: 1; }
.pv [class*="b-"] { transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s; }
.demo.is-pre .pv [class*="b-"] { opacity: 0; transform: translateY(6px); }
.pv .is-skel { filter: blur(3px) grayscale(1); opacity: .5 !important; }

/* showcase */
.showcase { padding: 0 var(--pad) clamp(70px, 8vw, 120px); }
.showcase__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.showcase__head h3 { max-width: 13em; }
.showcase__head p { max-width: 24em; margin: 0; color: var(--ink-2); font-size: 16px; }
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case__shot { aspect-ratio: 4 / 3.3; border-radius: 14px; overflow: hidden; position: relative; font-size: 10px; }
.case__meta { padding: 14px 2px 0; }
.case__meta h4 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.case__meta p { margin: 2px 0 0; color: var(--ink-3); font-size: 14px; }
.case__by { display: flex; align-items: center; gap: 8px; margin-top: 10px !important; color: var(--ink-2) !important; font-size: 13px !important; }
.case__by img { width: 22px; height: 22px; border-radius: 50%; }
/* terranova mini */
.case__shot--terra { background: #0f1b2d; color: #c9d6ea; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mt-top { display: flex; gap: 12px; align-items: center; color: #7f90ab; }
.mt-top b { color: #fff; letter-spacing: .14em; font-size: 10.5px; margin-right: auto; }
.mt-body { flex: 1; display: grid; grid-template-rows: 1fr auto; gap: 8px; min-height: 0; }
.mt-map { background: #15253b; border-radius: 8px; background-image: radial-gradient(#22344f 1px, transparent 1px); background-size: 9px 9px; position: relative; }
.mt-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mt-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; background: #15253b; border-radius: 6px; padding: 5px 8px; }
.mt-list b { color: #fff; font-weight: 500; }
.mt-list em { font-style: normal; color: #7fd1a0; }
.mt-list em.late { color: #ffb36b; }
/* pennyroyal mini */
.case__shot--penny { background: #f4ecdf; color: #3b2a1a; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.pb-top b { display: block; font: italic 400 20px/1 var(--serif); }
.pb-top span { color: #8a6f52; }
.pb-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.pb-item { background: #fffaf2; border-radius: 8px; padding: 6px; display: grid; grid-template-rows: 1fr auto auto; gap: 2px; box-shadow: 0 0 0 1px #eadfcd; }
.pb-item b { font-weight: 600; }
.pb-item span { color: #8a6f52; }
.pb-i { border-radius: 6px; min-height: 22px; }
.pb-i--1 { background: radial-gradient(ellipse at 50% 60%, #c98a4b 0 45%, #a5652d 46% 60%, #f1e2c9 61%); }
.pb-i--2 { background: radial-gradient(circle at 50% 55%, #d9a463 0 30%, #b9783b 31% 42%, #f1e2c9 43%); }
.pb-i--3 { background: radial-gradient(ellipse at 50% 60%, #6d4a2e 0 44%, #4f3420 45% 58%, #f1e2c9 59%); }
.pb-i--4 { background: linear-gradient(#f1e2c9 0 22%, #e2b66a 22% 78%, #f1e2c9 78%); }
.pb-bar { display: flex; justify-content: space-between; align-items: center; background: #3b2a1a; color: #f4ecdf; border-radius: 8px; padding: 7px 9px; }
/* fieldnote mini */
.case__shot--field { background: linear-gradient(160deg, #dfe7dc, #c9d6c7); display: grid; place-items: center; }
.fn-phone { width: 52%; height: 88%; background: #fff; border-radius: 16px; box-shadow: 0 0 0 4px #1f2a24, 0 14px 24px -10px rgba(0,0,0,.4); padding: 10px 9px; display: flex; flex-direction: column; gap: 7px; color: #24302a; overflow: hidden; }
.fn-head span { display: block; color: #7a857f; font-size: 9px; }
.fn-head b { font-size: 13px; }
.fn-q > span { display: block; color: #7a857f; font-size: 9px; margin-bottom: 3px; }
.fn-opts { display: flex; gap: 4px; }
.fn-opts i { font-style: normal; flex: 1; text-align: center; padding: 4px 0; border-radius: 6px; box-shadow: 0 0 0 1px #e1e6e2; font-size: 9px; }
.fn-opts i.on { background: #e86f2d; color: #fff; box-shadow: none; }
.fn-ph { display: flex; gap: 4px; }
.fn-ph i { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #9bb0a0, #6c8574); }
.fn-ph i.add { background: #f1f4f2; display: grid; place-items: center; font-style: normal; color: #7a857f; }
.fn-q p { margin: 0; font-size: 9px; background: #f4f6f4; border-radius: 6px; padding: 5px; }
.fn-sync { margin-top: auto; font-size: 8.5px; color: #3e7a52; text-align: center; }
/* orrery mini */
.case__shot--orrery { background: #fbfaf7; box-shadow: inset 0 0 0 1px var(--line); padding: 14px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.or-top { display: flex; justify-content: space-between; align-items: baseline; }
.or-top b { font: 500 17px/1 var(--sans); letter-spacing: -.045em; }
.or-top span { color: var(--ink-3); }
.or-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.or-kpis div { background: #fff; border-radius: 8px; padding: 7px 8px; box-shadow: 0 0 0 1px var(--line); }
.or-kpis span { display: block; color: var(--ink-3); }
.or-kpis b { font: 400 19px/1.1 var(--serif); }
.or-chart { flex: 1; width: 100%; min-height: 40px; }

/* ---------- room III: how ---------- */
.how { position: relative; padding: clamp(80px, 9vw, 140px) var(--pad) 0; }
.how__head { position: relative; z-index: 1; max-width: 640px; }
.how__head .lede { margin-top: 22px; max-width: 30em; }
.how__steps { position: relative; z-index: 1; list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.7); }
.how__steps li { padding: 30px 28px 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.how__steps li:first-child { border-left: 0; padding-left: 0; }
.how__steps .num { font: italic 400 46px/1 var(--serif); color: var(--ink); letter-spacing: -.02em; }
.how__steps h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.how__steps p { margin: 0 0 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.how__t { margin-top: auto; font-size: 13.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.how__t::before { content: ""; width: 14px; height: 1px; background: currentColor; }
.how__steps li.is-person { background: linear-gradient(180deg, #f8f6f0, rgba(248, 246, 240, 0)); }
.how__steps li.is-person .num { color: var(--blue-d); }
.how__steps li.is-person .how__t { color: var(--blue-d); }

/* review */
.review { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 84px); align-items: center; padding: clamp(90px, 10vw, 150px) var(--pad); }
.review__copy .lede { margin-top: 22px; }
.ticks { list-style: none; margin: 34px 0 32px; padding: 0; display: grid; gap: 18px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: var(--blue); stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; }
.ticks li:nth-child(2) svg { fill: none; }
.ticks b { display: block; font-weight: 500; font-size: 16px; }
.ticks span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 2px; }

.rv__body { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); height: 520px; }
.rv__screen { background: #f3f2ee; padding: 20px; display: flex; }
.rv__frame { position: relative; flex: 1; display: flex; }
.pv--static { flex: 1; overflow: visible; }
.has-pin { position: relative; }
.pv--static .pin { left: auto; top: -14px; right: -16px; margin: 0; }
.pv__foot .has-pin .pin { right: -30px; top: -6px; }
.pv__type { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv__opt { padding: 8px 10px; border-radius: 9px; box-shadow: 0 0 0 1px #e6eae7; }
.pv__opt b { display: block; font-weight: 600; font-size: 12.5px; }
.pv__opt span { color: #6a736f; font-size: 11.5px; }
.pv__opt.is-sel { box-shadow: 0 0 0 1.5px var(--pv); background: #f6faf8; }
.pv__note { margin: 0; color: #6a736f; font-size: 11.5px; display: flex; align-items: center; gap: 6px; }
.pv__note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8fbca9; }
.pin {
  position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50% 50% 50% 4px;
  background: var(--blue); color: #fff; font: 600 12px/26px var(--sans); text-align: center; border: 0; padding: 0;
  box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(10, 70, 200, .55);
  transition: transform .45s var(--ease), opacity .3s, background .3s;
  cursor: default;
}
.rv.is-pre .rv__frame .pin { transform: scale(0); opacity: 0; }
.pin.is-done { background: #1d7a3e; box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(20, 120, 60, .5); }
.pin--sm { position: static; margin: 0; width: 20px; height: 20px; line-height: 20px; font-size: 10.5px; box-shadow: none; flex: none; }
.rv__threads { padding: 16px; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); overflow: hidden; }
.rv__who { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rv__who img { width: 34px; height: 34px; border-radius: 50%; }
.rv__who b { display: block; font-weight: 500; }
.rv__who span { display: block; color: var(--ink-3); font-size: 12.5px; }
.thread { padding: 10px 12px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); transition: opacity .4s, transform .4s var(--ease), background .4s; }
.rv.is-pre .thread { opacity: 0; transform: translateY(6px); }
.thread__h { display: flex; align-items: center; gap: 8px; }
.thread__h b { font-weight: 500; flex: 1; }
.thread__state { font-size: 11.5px; color: #b0352b; background: #fdecea; padding: 2px 8px; border-radius: 999px; }
.thread p { margin: 6px 0 0; color: var(--ink-2); font-size: 12.8px; line-height: 1.45; }
.thread__fix { display: none; align-items: center; gap: 7px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-2); font-size: 12.3px; color: #1d7a3e; }
.thread.is-fixed .thread__fix { display: flex; }
.thread.is-fixed .thread__state { color: #1d7a3e; background: #e6f4ea; }
.thread.is-fixed { background: #fbfdfb; }
.thread.is-fixed p { display: none; }
.thread.is-fixed .thread__fix { margin-top: 6px; padding-top: 6px; }
.rv__verdict { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: #e9f5ec; color: #1d5f33; font-size: 13px; transition: opacity .5s, transform .5s var(--ease); }
.rv__verdict svg { width: 20px; height: 20px; flex: none; stroke: #1d7a3e; }
.rv__verdict b { font-weight: 600; margin-right: 4px; }
.rv.is-pending .rv__verdict { opacity: 0; transform: translateY(8px); }

/* ---------- templates (ref 4 composition) ---------- */
.tpl { position: relative; min-height: clamp(560px, 50vw, 780px); display: grid; grid-template-columns: minmax(0, 33%) minmax(0, 30%) 1fr; grid-template-rows: 36% auto 1fr; padding: 0 var(--pad); }
.tpl__copy { grid-column: 1; grid-row: 2; align-self: center; position: relative; z-index: 2; padding: 32px 28px 32px 0; }
.tpl__copy h2 { max-width: 10em; }
.tpl__copy .link-arrow { margin-top: 24px; }
.tcard { grid-column: 2; grid-row: 2; position: relative; z-index: 2; aspect-ratio: 400 / 250; background: #8f7377 url(img/plaster.webp) center / cover; color: #fff; overflow: hidden; align-self: center; }
.tcard__slides { position: absolute; inset: 0; }
.tcard__slide { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 16px; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); padding: 20px; }
.tcard__slide.is-on { opacity: 1; transform: none; }
.tcard__slide p { margin: 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; font-weight: 500; letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(60, 30, 35, .25); }
.orn { width: 26px; height: 26px; fill: currentColor; }
.tcard__bar { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: 14px; align-items: end; }
.tcard__bar button { height: 14px; border: 0; padding: 0; background: none; cursor: pointer; display: flex; align-items: flex-end; }
.tcard__bar i { display: block; width: 100%; height: 3px; background: rgba(255,255,255,.28); position: relative; overflow: hidden; transition: height .2s; }
.tcard__bar button:hover i { height: 5px; }
.tcard__bar i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.tpl__fig { position: absolute; z-index: 1; margin: 0; right: max(-3%, -40px); bottom: -7%; height: 88%; aspect-ratio: 896 / 1200; }
.tpl__fig img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- pricing (ref 3) ---------- */
.price { position: relative; padding: clamp(80px, 8.5vw, 130px) 0 clamp(64px, 7vw, 110px); }
.price::before, .price::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--pad); background: repeating-linear-gradient(90deg, transparent 0 7px, #f1efea 7px 8px); }
.price::before { left: 0; border-right: 1px solid var(--line); }
.price::after { right: 0; border-left: 1px solid var(--line); }
.price__head { position: relative; z-index: 1; text-align: center; padding: 0 var(--pad); }
.price__head h2 { max-width: 15em; margin: 0 auto; }
.price__head > p { margin: 18px 0 0; color: var(--ink-2); font-size: 16.5px; }
.seg { display: inline-flex; margin-top: 40px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #e9e8e4, inset 0 1px 2px rgba(0,0,0,.03); }
.seg button { border: 0; background: none; cursor: pointer; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; color: var(--ink-3); font-weight: 500; transition: background .25s, color .25s, box-shadow .25s; }
.seg button.is-on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px #e4e3df, 0 3px 8px -2px rgba(0,0,0,.1); }
.price__save { margin: 18px 0 0 !important; color: var(--ink-2) !important; font-size: 15.5px !important; }
.price__save b { color: var(--indigo-t); font-weight: 500; }
.plans { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin: 44px var(--pad) 0; border-bottom: 1px solid var(--line); }
.plan { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.plan:first-child { border-left: 0; }
.plan__top { position: relative; padding: 46px clamp(20px, 2.2vw, 32px) 32px; color: #fff; background-size: cover; background-position: center 30%; isolation: isolate; }
.plan__top::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.plan--red .plan__top { background-image: url(img/plan-red.webp); background-color: #7d2a27; }
.plan--red .plan__top::before { background: linear-gradient(180deg, rgba(70, 12, 10, .22), rgba(70, 12, 10, .34)); }
.plan--indigo .plan__top { background-image: url(img/plan-indigo.webp); background-color: #3c3a9e; }
.plan--indigo .plan__top::before { background: linear-gradient(180deg, rgba(18, 14, 80, .3), rgba(18, 14, 80, .42)); }
.plan--purple .plan__top { background-image: url(img/plan-purple.webp); background-color: #6a2590; }
.plan--purple .plan__top::before { background: linear-gradient(180deg, rgba(50, 8, 70, .2), rgba(50, 8, 70, .34)); }
.plan h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.plan h3 .orn { width: 24px; height: 24px; }
.plan__badge { margin-left: auto; font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); white-space: nowrap; }
.plan__price { margin: 26px 0 0; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font: 400 clamp(46px, 4vw, 62px)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 16px; }
.plan__for { margin: 14px 0 26px; font-size: 16px; color: rgba(255,255,255,.92); }
.plan__btn { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); transition: transform .25s var(--ease), box-shadow .25s; }
.plan__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(0,0,0,.4); }
.plan__list { list-style: none; margin: 0; padding: 30px clamp(20px, 2.2vw, 32px) 34px; display: grid; gap: 18px; align-content: start; }
.plan__list li { position: relative; padding-left: 28px; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 5.5px; border: solid var(--ink); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.plan__list b { display: block; font-weight: 400; font-size: 16px; }
.plan__list span { display: block; color: var(--ink-3); font-size: 14px; margin-top: 3px; }
.price__note { position: relative; z-index: 1; text-align: center; margin: 34px var(--pad) 0; color: var(--ink-2); font-size: 15.5px; }
.price__note b { color: var(--ink); font-weight: 500; }
.price__note a { color: var(--blue-d); text-decoration: none; font-weight: 500; margin-left: 6px; }

/* ---------- masters ---------- */
.masters { padding: clamp(80px, 9vw, 140px) var(--pad); }
.masters__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; }
.masters__head h2 { max-width: 11em; }
.masters__head .lede { max-width: 27em; }
.mlist { list-style: none; margin: clamp(48px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.m__arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 12px 12px; overflow: hidden; background: #efe9de; box-shadow: 0 0 0 1px rgba(40, 30, 10, .06); }
.m__arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.m:hover .m__arch img { transform: scale(1.03); }
.m h3 { margin: 16px 0 0; font: 400 25px/1.05 var(--serif); letter-spacing: -.01em; }
.m p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.m dl { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m dt { font-size: 12px; color: var(--ink-3); }
.m dd { margin: 1px 0 0; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.masters__foot { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.masters__foot p { margin: 0; max-width: 36em; color: var(--ink-2); }

/* ---------- proof ---------- */
.proof { padding: clamp(80px, 9vw, 130px) var(--pad) clamp(40px, 5vw, 70px); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.n { padding: 30px 28px 32px; border-left: 1px solid var(--line); }
.n:first-child { border-left: 0; padding-left: 0; }
.n b { display: block; font: 400 clamp(46px, 4.4vw, 70px)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.n p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; max-width: 18em; }
.quotes { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(48px, 6vw, 80px); }
.q { margin: 0; padding: 28px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.q blockquote { margin: 0; font: 400 clamp(20px, 1.6vw, 25px)/1.22 var(--serif); letter-spacing: -.005em; color: var(--ink); text-wrap: pretty; }
.q--lead blockquote { font-size: clamp(24px, 2.1vw, 33px); line-height: 1.16; }
.q figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); }
.q figcaption img { width: 42px; height: 42px; border-radius: 50%; }
.q figcaption b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 90px); padding: clamp(60px, 7vw, 100px) var(--pad) clamp(60px, 7vw, 100px); }
.faq__list { border-bottom: 1px solid var(--line); }
.faq__side { display: flex; flex-direction: column; gap: 36px; }
.ask { display: flex; gap: 14px; align-items: flex-start; max-width: 360px; padding: 18px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ask img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.ask b { font-weight: 500; }
.ask p { margin: 3px 0 10px; color: var(--ink-2); font-size: 14.5px; }
.ask .link-arrow { font-size: 14.5px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 18px; font-weight: 500; letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--blue-d); }
.faq details p { margin: -6px 0 24px; color: var(--ink-2); font-size: 16px; max-width: 40em; line-height: 1.6; }

/* ---------- final CTA ---------- */
.final { position: relative; text-align: center; padding: clamp(110px, 12vw, 190px) var(--pad); border-top: 1px solid var(--line); overflow: hidden; }
.final h2 { position: relative; z-index: 1; max-width: 11em; margin: 0 auto; }
.final .lede { position: relative; z-index: 1; margin-top: 22px; }
.final .cta-row { position: relative; z-index: 1; }

/* ---------- footer ---------- */
.foot { padding: clamp(48px, 5vw, 72px) var(--pad) 28px; border-top: 1px solid var(--line); background: var(--paper); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; }
.foot__brand > p { margin: 16px 0 0; color: var(--ink-2); max-width: 24em; font-size: 15px; }
.foot__form { margin-top: 28px; max-width: 360px; }
.foot__form label { display: block; font-size: 13.5px; color: var(--ink-3); margin-bottom: 8px; }
.foot__form div { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.foot__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 0 10px; font: inherit; font-size: 14.5px; color: var(--ink); }
.foot__form button { border: 0; cursor: pointer; height: 38px; padding: 0 14px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; }
.foot__ok { margin: 10px 0 0; font-size: 13.5px; color: #1d7a3e; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot__cols h4 { margin: 4px 0 14px; font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.foot__cols a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink); font-size: 15px; }
.foot__cols a:hover { color: var(--blue-d); }
.foot__tag { font-size: 11.5px; color: var(--blue-d); background: #e9f1ff; padding: 2px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.foot__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); }

/* ---------- Ariadne badge ---------- */
.ariadne { position: fixed; left: 14px; bottom: 14px; z-index: 50; font: 500 12.5px/1 var(--sans); padding: 7px 11px; border-radius: 999px; background: rgba(20, 22, 26, .88); color: #fff; letter-spacing: .01em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); opacity: .92; text-decoration: none; }
.ariadne b { font-weight: 600; color: #ff8a3d; }

/* ================= responsive ================= */
@media (max-width: 1240px) {
  .mlist { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .case__shot { aspect-ratio: 16 / 10; }
  .nav__links { gap: 22px; }
}
@media (max-width: 1100px) {
  .hero__copy { width: 62%; }
  .hero__fig { height: calc(100% - 120px); right: -6%; }
  .review { grid-template-columns: 1fr; }
  .review__copy { max-width: 640px; }
  .demo__body { grid-template-columns: 300px 1fr; }
  .tpl { grid-template-columns: minmax(0, 40%) minmax(0, 36%) 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .q--lead { grid-column: 1 / -1; }
}
@media (min-width: 861px) and (max-width: 1240px) {
  /* keep the customer row on one line beside the figure */
  .marks li:nth-child(5) { display: none; }
}
@media (max-width: 960px) {
  .nav__links, .nav__login, .nav__right .btn-plain { display: none; }
  .nav__burger { display: block; }
  .mobilenav {
    display: grid; position: absolute; top: 100%; left: 0; right: 0; z-index: 10;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px var(--pad) 22px; gap: 2px;
    box-shadow: 0 30px 40px -30px rgba(40, 30, 20, .3);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav.is-open .mobilenav { opacity: 1; visibility: visible; transform: none; }
  .mobilenav > a { padding: 13px 0; font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobilenav__cta { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
  .minibar__links { display: none; }
  .minibar { width: min(480px, calc(100% - 24px)); }
  .how__steps { grid-template-columns: 1fr 1fr; }
  .how__steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .how__steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; margin-left: var(--pad); margin-right: var(--pad); gap: 18px; border: 0; }
  .plan { border: 1px solid var(--line) !important; }
  .price::before, .price::after { display: none; }
  .nums { grid-template-columns: 1fr 1fr; }
  .n:nth-child(3) { border-left: 0; padding-left: 0; }
  .n:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq { grid-template-columns: 1fr; }
  .masters__head { grid-template-columns: 1fr; gap: 20px; }
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding-bottom: 0; }
  .hero__copy { width: auto; padding: 56px 0 0; }
  .hero__fig { position: relative; right: auto; bottom: auto; height: auto; width: min(84%, 460px); margin: 28px -8px 0 auto; aspect-ratio: 1400 / 1640; }
  .trust { margin-top: 48px; }
  .demo__body { grid-template-columns: 1fr; height: auto; }
  .chat { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 70px; }
  .preview { min-height: 420px; }
  .tpl { display: flex; flex-direction: column; min-height: 0; padding-top: 64px; padding-bottom: 0; }
  .tpl__copy { padding: 0 0 28px; }
  .tcard { width: 100%; max-width: 520px; }
  .tpl__fig { position: relative; right: auto; bottom: auto; height: auto; width: min(80%, 420px); margin: 10px -12% -40px auto; }
  .showcase__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hand { width: 34%; top: auto; bottom: 26px; transform: none; }
  .make { padding-bottom: clamp(140px, 30vw, 220px); }
}
@media (max-width: 760px) {
  .room { padding-left: 8px; padding-right: 8px; padding-bottom: 8px; }
  .room--first { padding-top: 8px; }
  .room--tight { margin-top: 0; }
  :root { --pad: 20px; --r: 18px; }
  .nav { height: 64px; }
  .display--xl { font-size: clamp(40px, 11vw, 52px); }
  .display--l { font-size: clamp(34px, 9.4vw, 44px); }
  .display--m { font-size: clamp(30px, 8vw, 38px); }
  .cta-row { gap: 10px; }
  .marks { gap: 18px 24px; }
  .cases { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: 1fr; }
  .how__steps li { border-left: 0 !important; padding-left: 0 !important; padding-right: 0; }
  .how__steps li + li { border-top: 1px solid var(--line); }
  .how__steps li.is-person { padding-left: 14px !important; padding-right: 14px; margin: 0 -14px; }
  .rv__body { grid-template-columns: 1fr; height: auto; }
  .rv__screen { min-height: 380px; padding: 14px; }
  .rv__threads { border-left: 0; border-top: 1px solid var(--line); }
  .win__tabs { display: none; }
  .win__ws, .win__crumbs .sep { display: none; }
  .m p { min-height: 2.7em; line-height: 1.35; }
  .pv__clinics { grid-template-columns: 1fr; }
  .pv__clinic:not(.is-sel) { display: none; }
  .mlist { grid-template-columns: 1fr 1fr; }
  .masters__foot { flex-direction: column; align-items: flex-start; }
  .nums { grid-template-columns: 1fr; }
  .n { border-left: 0 !important; padding-left: 0 !important; }
  .n + .n { border-top: 1px solid var(--line); }
  .quotes { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__bottom { flex-direction: column; }
  .ariadne { position: static; display: table; margin: 0 auto 24px; }
  body { padding-bottom: 0; }
  .plan__badge { font-size: 11.5px; padding: 4px 9px; }
}
@media (max-width: 400px) {
  .btn-split__label { padding: 0 20px 0 22px; }
  .btn-ghost { padding: 0 18px; }
  .pv__therapists { grid-template-columns: 1fr; }
  .pv__t:not(.is-sel) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
