/* WayPoint Front Desk · ink, champagne, hairlines.
   Shared by the practice pages (one practice type per site). */

:root {
  --ink-0: #070b15;
  --ink-1: #0b1222;
  --ink-2: #111b31;
  --ink-3: #18233d;

  --text: #ebe7de;
  --muted: #a9aebb;
  --faint: #8189a0;

  --gold: #cdb68a;
  --gold-hi: #f1e6c9;
  --gold-lo: #957a4b;
  --metal: linear-gradient(115deg, #f3e9cf 0%, #d4bd90 28%, #a88b59 55%, #e6d6b1 78%, #b79b68 100%);

  --line: rgba(205, 182, 138, 0.2);
  --line-soft: rgba(235, 231, 222, 0.08);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad-x: clamp(20px, 4.4vw, 72px);
  --bar-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(120% 80% at 78% -20%, #1a2744 0%, rgba(11, 18, 34, 0) 62%),
    linear-gradient(180deg, var(--ink-1) 0%, #090f1d 70%, var(--ink-0) 100%);
  background-color: var(--ink-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Brushed-metal grain: a faint horizontal brush plus fine noise. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .06' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

a { color: inherit; }
em { font-style: italic; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: .04em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 1.5px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 2px;
}
h1:focus, h2:focus { outline: none; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--gold-hi); color: var(--ink-1);
  padding: 8px 14px; font-weight: 500; text-decoration: none;
}
.skip:focus { top: 10px; }

/* ---------------------------------------------------------------- shell */

.shell {
  position: relative;
  overflow: clip;
  z-index: 1;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: grid;
  grid-template-rows: var(--bar-h) minmax(0, 1fr) auto;
  grid-template-areas: "bar" "stage" "foot";
}

/* ---------------------------------------------------------------- bar */

.bar {
  grid-area: bar;
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--pad-x);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { width: 35px; height: 30px; flex: none; margin-right: 1px; }
/* Compact echo of the brand lockup: Outfit SemiBold chrome caps, gold Medium FRONT DESK. */
.brand-word {
  font-family: "Outfit", var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.012em;
  text-transform: uppercase;
  line-height: 1;
  color: #e6e8ec;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 22%, #c5cdd6 48%, #6a7380 62%, #d7dce3 80%, #a8b0ba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-line {
  font-family: "Outfit", var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #F5C542;
  text-shadow: 0 0 10px rgba(245, 197, 66, .35);
  padding-left: 11px;
  margin-left: 1px;
  border-left: 1px solid rgba(245, 197, 66, .45);
  line-height: 14px;
}

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  position: relative;
  display: block;
  white-space: nowrap;
  padding: 6px 0;
  font-size: 13.5px;
  letter-spacing: .01em;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--gold-hi); }
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-call { display: none; }

.bar-cta {
  flex: none;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--gold-hi);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid rgba(205, 182, 138, .45);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(241,230,201,.08), rgba(241,230,201,0));
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s;
}
.bar-cta:hover { background: var(--metal); color: var(--ink-1); border-color: transparent; }

/* Hamburger removed: the primary nav stays visible as tabs at every width. */

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  font: 500 14px/1.2 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  border: 0;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-position .6s var(--ease), color .2s;
}
.btn-gold {
  color: #10172a;
  background: var(--metal);
  background-size: 180% 100%;
  background-position: 0% 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    inset 0 -1px 0 rgba(80,60,25,.35),
    0 8px 24px -12px rgba(205,182,138,.55);
}
.btn-gold:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1px rgba(235,231,222,.24);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-hi); }

/* ---------------------------------------------------------------- stage */

.stage {
  grid-area: stage;
  position: relative;
  z-index: 0;
  min-height: 0;
  overflow: hidden;
}
.stage:focus { outline: none; }

.panel {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(24px, 4.6vh, 52px) var(--pad-x) clamp(20px, 3.6vh, 40px);
  scrollbar-width: thin;
  scrollbar-color: rgba(205,182,138,.3) transparent;
}
.panel[hidden] { display: none; }
.panel.is-in { animation: panel-in .32s var(--ease) backwards; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.h-sec {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, min(3.4vw, 6vh), 3.4rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.h-sec em { color: var(--gold); }

/* ---------------------------------------------------------------- home */

/* Start at the top so a short Fold landscape never clips the headline
   behind a vertically-centred instrument card. Two-column only when
   there is genuine width and height for the instrument to sit beside it. */
.panel-home {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.panel-home[hidden] { display: none; }

.home {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (min-width: 1020px) and (min-height: 700px) {
  .home {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr);
    gap: clamp(24px, 4vw, 96px);
    align-items: start;
  }
  .instrument { max-width: none; }
}
@media (min-width: 1240px) and (min-height: 820px) {
  .panel-home { justify-content: safe center; }
}

.hero {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, min(8.4vw, 14vh), 9.6rem);
  line-height: .9;
  letter-spacing: -.035em;
}
.hero span { display: block; }
.hero-b em {
  background: var(--metal);
  background-size: 140% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.hero-c { color: var(--faint); font-size: .62em; letter-spacing: -.025em; margin-top: .16em; }

.home-copy {
  margin-top: clamp(20px, 4vh, 40px);
  display: grid;
  grid-template-columns: minmax(0, 30rem);
  gap: 18px;
}
.home-lede { margin: 0; font-size: clamp(15px, 1.15vw, 17px); color: var(--muted); line-height: 1.6; }
.home-diff {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--gold-hi);
}
.rule-gold { width: 40px; height: 1px; background: var(--gold); flex: none; }
.home-tag {
  margin: -6px 0 0 54px;
  font-family: "Outfit", var(--sans);
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: .11em;
  color: #c9d0da;
}

/* Instrument panel */
.instrument {
  position: relative;
  min-width: 0;
  max-width: 36rem;
  padding: clamp(20px, 3.2vh, 30px) clamp(20px, 2vw, 30px);
  background:
    linear-gradient(160deg, rgba(241,230,201,.07) 0%, rgba(241,230,201,0) 38%),
    linear-gradient(180deg, rgba(24,35,61,.75), rgba(11,18,34,.75));
  border: 1px solid rgba(205,182,138,.24);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px -40px rgba(0,0,0,.8);
}
.instrument::before, .instrument::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--gold);
  border-style: solid;
}
.instrument::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.instrument::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.inst-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.inst-status { display: inline-flex; align-items: center; gap: 9px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #9fd3a8;
  box-shadow: 0 0 0 3px rgba(159,211,168,.14);
}
.inst-id { color: var(--faint); font-size: 11px; }

.inst-number {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: clamp(14px, 2.4vh, 22px) 0 clamp(12px, 2vh, 20px);
  font-family: var(--serif);
  font-size: clamp(2.1rem, min(3.1vw, 5.6vh), 3.1rem);
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.inst-number:hover { color: var(--gold-hi); }
.inst-cc { font-size: 13px; color: var(--gold); letter-spacing: .08em; }

.inst-read { margin: 0; border-top: 1px solid var(--line-soft); }
.inst-read div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: clamp(7px, 1.2vh, 10px) 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.inst-read dt { color: var(--faint); font-size: 12px; letter-spacing: .04em; padding-top: 1px; }
.inst-read dd { margin: 0; color: var(--text); }

.inst-actions {
  display: grid;
  gap: 10px;
  margin-top: clamp(16px, 2.6vh, 24px);
}
.inst-actions .btn { width: 100%; }
.inst-note { margin: 14px 0 0; font-size: 12.5px; color: var(--faint); line-height: 1.5; }

.home-coord {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(10px, 2vh, 18px);
  margin: 0;
  font-size: 10.5px;
  letter-spacing: .22em;
  color: rgba(169,174,187,.45);
}

/* ---------------------------------------------------------------- services */

.svc {
  display: grid;
  grid-template-columns: minmax(200px, 17rem) minmax(0, 1fr);
  grid-template-areas:
    "head  index"
    "feat  feat"
    "extra extra";
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: clamp(14px, 2.6vh, 26px);
  min-height: 100%;
  align-content: center;
}
.svc-head { grid-area: head; align-self: start; padding-top: 4px; }
.svc-sub { margin: 16px 0 0; color: var(--muted); font-size: 14px; max-width: 15rem; }

.svc-index {
  grid-area: index;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  column-gap: clamp(24px, 3vw, 48px);
}
.svc-index li {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  column-gap: 8px;
  padding: clamp(8px, 1.4vh, 13px) 0;
  border-top: 1px solid var(--line-soft);
  align-content: start;
}
.svc-index .n { grid-row: span 2; font-size: 11.5px; color: var(--gold); padding-top: 3px; }
.svc-index h3 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: -.005em; line-height: 1.3; }
.svc-index p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }

.svc-feature {
  grid-area: feat;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(20px, 3vw, 52px);
  padding: clamp(16px, 2.8vh, 26px) clamp(20px, 2.6vw, 40px);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(205,182,138,.12), rgba(205,182,138,.03) 55%, rgba(205,182,138,0)),
    linear-gradient(180deg, rgba(241,230,201,.05), rgba(241,230,201,0) 40%);
  overflow: hidden;
}
.n-big {
  font-family: var(--serif);
  font-size: clamp(4rem, min(7vw, 11vh), 6.6rem);
  line-height: .8;
  letter-spacing: -.04em;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feat-tag { margin: 0 0 6px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.svc-feature h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, min(2.4vw, 4.2vh), 2.4rem);
  line-height: 1.02;
  letter-spacing: -.015em;
}
.feat-line { margin: 8px 0 0; font-size: 14px; font-weight: 500; color: var(--gold-hi); }
.feat-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); opacity: .88; }

.svc-extras {
  grid-area: extra;
  display: grid;
  grid-template-columns: minmax(200px, 17rem) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 64px);
}
.extras-label {
  margin: 0;
  padding-top: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
}
.svc-extras ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 28px);
}
.svc-extras li { border-left: 1px solid var(--line-soft); padding-left: 12px; }
.svc-extras li:first-child { border-left-color: var(--gold); }
.svc-extras li:first-child h4 { color: var(--gold-hi); }
.svc-extras li:first-child p { color: var(--muted); }
.svc-extras h4 { margin: 0 0 4px; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--text); }
.svc-extras p { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--faint); }

/* ---------------------------------------------------------------- how */

.panel-how { display: flex; flex-direction: column; justify-content: flex-start; }
@media (min-width: 1180px) and (min-height: 880px) {
  .panel-how { justify-content: safe center; }
}
.panel-how[hidden] { display: none; }
.how { width: 100%; min-width: 0; }
.how-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.h-sec-lg { font-size: clamp(2.6rem, min(5.2vw, 9vh), 5.4rem); letter-spacing: -.03em; }
.how-sub { margin: 0; color: var(--muted); font-size: 15px; }

/* Video sits to the right of the steps on wide / Fold-open screens, and
   under the steps (above the footnote) on narrow screens. */
.how-body { min-width: 0; margin-top: clamp(22px, 5vh, 48px); }
.how-body .how-steps { margin-top: 0; }

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
.how-steps li {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  column-gap: 16px;
  position: relative;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line-soft);
}
.how-steps li:first-child { border-top-color: var(--line); }
.step-n {
  grid-row: span 2;
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, min(5vw, 8vh), 4rem);
  line-height: .9;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(205,182,138,.75);
  margin: 0;
}
.how-steps h3 { margin: 0 0 6px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.how-steps p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 28rem; }

.how-foot {
  margin: clamp(32px, 7vh, 72px) 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  max-width: 52rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--faint);
}
.how-foot .mono { color: var(--gold); margin-right: 6px; }

/* ---------------------------------------------------------------- pricing */

.panel-pricing { display: flex; align-items: center; overflow: hidden; }
.panel-pricing[hidden] { display: none; }
.panel-pricing::after {
  /* faint engraved compass ring */
  content: "";
  position: absolute;
  right: -8vh;
  top: 50%;
  width: 76vh; height: 76vh;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(205,182,138,.1);
  outline: 1px solid rgba(205,182,138,.08);
  outline-offset: -9vh;
  pointer-events: none;
}
.pricing { position: relative; z-index: 1; width: 100%; max-width: 1180px; }
.pricing-index { margin: 0 0 28px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.pricing-statement {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, min(9vw, 17vh), 10rem);
  line-height: .88;
  letter-spacing: -.04em;
}
.pricing-statement em { display: block; padding-left: 1.4em; color: var(--gold); }
.pricing-body {
  margin: clamp(28px, 6vh, 60px) 0 0 auto;
  max-width: 27rem;
  margin-right: 8%;
}
.pricing-body p { margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ---------------------------------------------------------------- faq */

.faq {
  display: grid;
  grid-template-columns: minmax(200px, 19rem) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px);
  min-height: 100%;
  align-content: center;
}
.faq-head .h-sec em { display: block; }
.faq-list { margin: 0; border-bottom: 1px solid var(--line-soft); }
.faq-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(10px, 1.7vh, 16px) 0;
  border-top: 1px solid var(--line-soft);
}
.faq-row:first-child { border-top-color: var(--line); }
.faq-row dt {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  font-family: var(--serif);
  font-size: clamp(1.1rem, min(1.5vw, 2.6vh), 1.4rem);
  line-height: 1.2;
  color: var(--text);
}
.faq-row dt .mono { font-size: 11px; color: var(--gold); padding-top: .35em; letter-spacing: .1em; }
.faq-row dd { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.faq-row dd a { color: var(--gold-hi); text-underline-offset: 3px; }

/* ---------------------------------------------------------------- contact */

.letter {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  max-width: 1240px;
  margin: 0 auto;
}
.letter-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: clamp(14px, 2.4vh, 22px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.letter-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--line-soft);
}
.letter-mark { width: 50px; height: 36px; }
.letter-brand { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--gold-hi); letter-spacing: -.01em; }
.letter-sub { margin: 5px 0 0; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

.letter-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
  padding-top: clamp(20px, 4vh, 44px);
}
.letter-label { margin: clamp(20px, 4vh, 40px) 0 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.letter-number {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(2.8rem, min(5.6vw, 10vh), 5.6rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}
.letter-number:hover { color: var(--gold-hi); }
.letter-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 3.4vh, 30px); }
.letter-note { margin: 16px 0 0; font-size: 13px; color: var(--faint); }

/* ---------------------------------------------------------------- footer */

.foot {
  grid-area: foot;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 11px var(--pad-x);
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--faint);
}
.foot p { margin: 0; }
.foot-brand { color: var(--muted); font-weight: 500; margin-right: 0; white-space: nowrap; }
.foot-nav { display: flex; gap: 18px; margin-left: auto; margin-right: 16px; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover, .foot-nav a[aria-current] { color: var(--gold-hi); }
.foot-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.foot-nav a { white-space: nowrap; }
.foot-nav + .foot-legal { margin-left: 0; }
.foot-legal a { color: var(--faint); }
/* Room for the legal links on mid-width desktops: drop the repeated tagline. */
@media (min-width: 900px) and (max-width: 1499px) { .foot-line { display: none; } }
/* Desktop: keep footer text clear of the floating chat launcher (bottom-right). */
@media (min-width: 900px) {
  /* Footer is tall enough that the chat pill sits inside it, not over the panel. */
  .foot {
    min-height: 64px;
    padding-right: max(262px, calc(18px + 220px + 16px));
    min-width: 0;
  }
  .chat-launch { bottom: 11px; }
  .foot-note { text-align: right; line-height: 1.5; }
  .foot p, .foot-nav, .foot-note { min-width: 0; }
}

/* ---------------------------------------------------------------- legal pages (/privacy/, /terms/): scroll, sticky bar */

html:has(body[data-page="legal"]) { height: auto; min-height: 100%; overflow: auto; }
body[data-page="legal"] { height: auto; min-height: 100%; overflow: visible; }
body[data-page="legal"] .shell { height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; overflow-x: clip; }
body[data-page="legal"] .bar {
  position: sticky; top: 0;
  background: rgba(10, 16, 30, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
body[data-page="legal"] .stage { overflow: visible; }

.legal-doc {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(32px, 6vh, 64px) var(--pad-x) clamp(40px, 8vh, 80px);
  box-sizing: content-box;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}
.legal-kicker { margin: 0 0 14px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.legal-title { margin: 0; font: 400 clamp(2.4rem, 5vw, 3.4rem)/1.05 var(--serif); color: var(--text); letter-spacing: -.01em; }
.legal-title em { color: var(--gold-hi); }
.legal-meta { margin: 14px 0 0; font-size: 12.5px; color: var(--faint); }
.legal-doc section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal-doc h2 { margin: 0 0 10px; font: 400 1.55rem/1.2 var(--serif); color: var(--text); }
.legal-doc p { margin: 0 0 12px; }
.legal-doc p:last-child { margin-bottom: 0; }
.legal-doc strong { color: var(--text); font-weight: 500; }
.legal-doc a { color: var(--gold-hi); text-underline-offset: 3px; text-decoration-color: var(--gold-lo); }
.legal-key { padding-left: 14px; border-left: 1px solid var(--gold); color: var(--text); }

/* ---------------------------------------------------------------- crumb (practice pages) */

.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 4px;
  padding-left: 18px;
  border-left: 1px solid var(--line-soft);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--faint);
  white-space: nowrap;
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--gold-hi); }
.crumb [aria-current] { color: var(--gold-hi); }
.crumb-sep { color: rgba(205,182,138,.45); }
.crumb-switch {
  margin-left: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 11.5px;
}
.crumb-switch:hover { border-color: var(--line); }

/* nav items that are buttons (Request a demo on home) */
.nav .nav-btn {
  position: relative;
  display: block;
  padding: 6px 0;
  font: inherit;
  font-size: 13.5px;
  letter-spacing: .01em;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.nav .nav-btn:hover { color: var(--text); }
.nav .nav-home { display: none; }

/* ---------------------------------------------------------------- home chooser */

.chooser { display: flex; flex-direction: column; }
.choose-label {
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.choices {
  list-style: none;
  margin: clamp(10px, 1.6vh, 16px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.choice {
  position: relative;
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: baseline;
  padding: clamp(14px, 2.4vh, 22px) 2px;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--text);
}
.choice-n { font-size: 11px; color: var(--gold); letter-spacing: .1em; }
.choice-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, min(2.4vw, 4.4vh), 2.3rem);
  line-height: 1;
  letter-spacing: -.015em;
  transition: color .2s var(--ease);
}
.choice-desc { grid-column: 2; font-size: 13px; line-height: 1.45; color: var(--muted); }
.choice-go {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(205,182,138,.4);
  color: var(--gold-hi);
  transition: background .3s var(--ease), color .2s, box-shadow .2s;
}
.choice-go svg { width: 15px; height: 15px; }
.choice:hover .choice-title { color: var(--gold-hi); }
.choice:hover .choice-go { background: var(--metal); color: var(--ink-1); box-shadow: none; }

.chooser-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: clamp(14px, 2.4vh, 22px);
}
.chooser-line .inst-status { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chooser-line .inst-number { margin: 0; font-size: clamp(1.8rem, min(2.5vw, 4.6vh), 2.5rem); }
.inst-actions.two { grid-template-columns: 1fr 1fr; }

/* ---------------------------------------------------------------- practice overview */

.facets {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 12.5px;
  color: var(--muted);
}
.facets { gap: 6px 18px; }
.facets li { display: inline-flex; align-items: center; white-space: nowrap; }
.facets li::before {
  content: "";
  flex: none;
  width: 4px; height: 4px;
  margin-right: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: .7;
}
.hero.hero-practice { font-size: clamp(2.6rem, min(6.4vw, 10vh), 7rem); }
@media (min-width: 900px) and (max-height: 800px) {
  .hero.hero-practice { font-size: clamp(2.2rem, 7.2vh, 3.8rem); }
}
.hero-practice .hero-c { font-size: .5em; letter-spacing: -.02em; margin-top: .22em; }
.inst-read q { quotes: "\201C" "\201D"; color: var(--gold-hi); }

/* Promo video card: lives in the How it works panel only. Absolutely
   position the <video> so its 1920×1080 intrinsic size cannot blow the layout. */
.how-promo {
  min-width: 0;
  width: 100%;
  max-width: 28rem;
  margin: 20px 0 0;
}
.promo-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: var(--ink-0);
  border: 1px solid rgba(205,182,138,.24);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -36px rgba(0,0,0,.8);
  container-type: inline-size;
}
.promo-media::before, .promo-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 10px; height: 10px;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}
.promo-media::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.promo-media::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.promo-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  background: var(--ink-0);
}
.promo-play {
  position: absolute;
  z-index: 1;
  top: 80%; left: 50%; /* idle: below the poster's line of type */
  width: clamp(40px, 17cqi, 60px); height: clamp(40px, 17cqi, 60px);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink-1);
  background: var(--metal);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(11,18,34,.45), 0 14px 30px -10px rgba(0,0,0,.8);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}
.promo-play svg { width: 32%; height: 32%; margin-left: 2px; }
.promo-play:hover { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 0 7px rgba(205,182,138,.22), 0 14px 30px -10px rgba(0,0,0,.8); }
.promo-play:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }
.promo-card.is-paused .promo-play { top: 50%; } /* mid-video: centred, clear of the control bar */
.promo-play[hidden], .promo-card.is-playing .promo-play { display: none; }
.promo-cap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}
.promo-cap .mono { font-size: 10.5px; color: var(--gold); letter-spacing: .1em; }

/* Fold-open (~884) and wider: steps in the left ~55%, video top-aligned with step 1. */
@media (min-width: 840px) {
  .how-body {
    display: grid;
    grid-template-columns: minmax(0, 55%) minmax(0, 1fr);
    column-gap: clamp(20px, 3.2vw, 52px);
    align-items: start;
  }
  .how-promo {
    margin: 0; /* top-aligned with step 1 */
    width: 100%;
    max-width: 28rem;
    justify-self: stretch;
  }
}
@media (min-width: 840px) and (max-height: 800px) {
  .how-body { margin-top: clamp(14px, 3vh, 28px); }
  .how-steps li { padding: 10px 0 12px; }
  .step-n { font-size: clamp(2.2rem, 6vh, 3.2rem); }
}

/* ---------------------------------------------------------------- demo form */

.demo-form { position: relative; }
.form-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, min(2vw, 3.6vh), 1.9rem);
  line-height: 1.1;
  color: var(--text);
}
.form-title em { color: var(--gold); }
.form-lede { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
}
.form-grid .span-2 { grid-column: 1 / -1; }
.field { position: relative; padding-top: clamp(8px, 1.5vh, 14px); min-width: 0; }
.field label, .field .label {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 2px;
}
.field .opt { text-transform: none; letter-spacing: .02em; color: rgba(129,137,160,.8); }
.field input, .field textarea {
  width: 100%;
  padding: 6px 0 7px;
  font: 400 15px/1.4 var(--sans);
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(235,231,222,.2);
  border-radius: 0;
  resize: none;
  transition: border-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(129,137,160,.7); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-hi); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--gold-hi); }
.field.is-bad input, .field.is-bad textarea { border-bottom-color: #e0a089; }
.field-err { display: block; min-height: 0; margin-top: 3px; font-size: 11.5px; color: #e9b4a2; }
.field-err:empty { display: none; }

fieldset.field { border: 0; margin: 0; padding-left: 0; padding-right: 0; padding-bottom: 0; }
fieldset.field legend { float: left; width: 100%; padding: 0; }
.seg { clear: both; display: flex; gap: 6px; margin-top: 6px; border: 0; padding: 0; }
.seg legend { padding: 0; }
.seg label {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(235,231,222,.18);
  cursor: pointer;
  margin: 0;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { color: var(--ink-1); }
.seg label:has(input:checked) { background: var(--metal); box-shadow: none; color: var(--ink-1); }
.seg label:has(input:focus-visible) { outline: 1.5px solid var(--gold-hi); outline-offset: 3px; }

.form-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: clamp(14px, 2.6vh, 22px);
}
.form-status { margin: 0; font-size: 13px; color: var(--muted); }
.form-status:empty { display: none; }
.form-status.is-ok { color: #b9dfc0; }
.form-status.is-err { color: #ecc0ad; }
.form-status a { color: var(--gold-hi); white-space: nowrap; }
.form-fine { margin: 10px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--faint); }
.demo-form[aria-busy="true"] .btn[type="submit"] { opacity: .6; pointer-events: none; }
.demo-form.is-sent .form-grid, .demo-form.is-sent .form-fine, .demo-form.is-sent .btn[type="submit"] { display: none; }

/* honeypot: hidden from people, visible to naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* contact panel: form column */
.letter-form { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line-soft); }

/* ---------------------------------------------------------------- dialog (home) */

.sheet {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(22px, 3.4vh, 32px) clamp(22px, 2.6vw, 34px);
  color: var(--text);
  background:
    linear-gradient(160deg, rgba(241,230,201,.07) 0%, rgba(241,230,201,0) 40%),
    linear-gradient(180deg, #121d35, #0b1222);
  border: 1px solid rgba(205,182,138,.3);
  border-radius: 4px;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.9);
  overflow: auto;
}
.sheet::backdrop { background: rgba(4,7,14,.72); backdrop-filter: blur(3px); }
.sheet[open] { animation: panel-in .28s var(--ease); }
.sheet-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.sheet-close:hover { color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--line); }
.sheet-close svg { width: 14px; height: 14px; }
.sheet .form-call { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.sheet .form-call a { color: var(--gold-hi); text-underline-offset: 3px; }

/* ---------------------------------------------------------------- chat widget (chat.js) */

/* Floating launcher: fixed bottom-right on every page, always visible without scrolling. */
.chat-launch {
  --launch-h: 42px;
  position: fixed;
  z-index: 30; /* above the page and bar (20), below the open chat panel (40) */
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: var(--launch-h);
  padding: 0 16px 0 14px;
  font: 500 13px/1 var(--sans);
  letter-spacing: .02em;
  color: var(--gold-hi);
  background:
    linear-gradient(180deg, rgba(241,230,201,.09), rgba(241,230,201,0) 70%),
    #0d1527;
  border: 1px solid rgba(205,182,138,.55);
  border-radius: 999px;
  box-shadow:
    0 14px 32px -12px rgba(0,0,0,.85),
    0 2px 6px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(241,230,201,.1);
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s var(--ease), color .2s, border-color .2s, box-shadow .25s var(--ease), transform .2s var(--ease);
}
.chat-launch:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -12px rgba(0,0,0,.9), 0 2px 6px rgba(0,0,0,.35), inset 0 1px 0 rgba(241,230,201,.14); }
.chat-launch:hover, .chat-launch[aria-expanded="true"] { background: var(--metal); color: var(--ink-1); border-color: transparent; }
.chat-launch:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.chat-launch-dot { width: 7px; height: 7px; border-radius: 50%; background: #9fd3a8; box-shadow: 0 0 0 3px rgba(159,211,168,.16); }
.chat-launch-short { display: none; }
.chat-launch-lang { font-size: 9.5px; letter-spacing: .14em; opacity: .7; padding-left: 9px; border-left: 1px solid rgba(205,182,138,.35); }

.chat {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: calc(72px + env(safe-area-inset-bottom));
  width: min(390px, calc(100vw - 36px));
  height: min(580px, calc(100dvh - 72px - var(--bar-h) - 16px - env(safe-area-inset-bottom)));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  color: var(--text);
  background:
    linear-gradient(160deg, rgba(241,230,201,.06) 0%, rgba(241,230,201,0) 36%),
    linear-gradient(180deg, #111b31, #0a101e);
  border: 1px solid rgba(205,182,138,.3);
  border-radius: 6px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
  animation: panel-in .26s var(--ease);
}
.chat[hidden] { display: none; }
.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 12px 12px 16px;
  border-bottom: 1px solid var(--line);
}
.chat-mark { width: 30px; height: 26px; flex: none; }
.chat-id { min-width: 0; flex: 1; }
.chat-title { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.05; color: var(--gold-hi); }
.chat-sub { margin: 2px 0 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.chat-lang { display: inline-flex; padding: 2px; border: 1px solid var(--line-soft); border-radius: 999px; }
.chat-lang button {
  padding: 4px 9px;
  font: 500 11px/1 var(--mono);
  letter-spacing: .08em;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.chat-lang button[aria-pressed="true"] { background: var(--metal); color: var(--ink-1); }
.chat-x {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.chat-x:hover { color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--line); }
.chat-x svg { width: 13px; height: 13px; }

.chat-log {
  overflow-y: auto;
  padding: 14px 16px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(205,182,138,.3) transparent;
}
.msg { display: flex; }
.msg-user { justify-content: flex-end; }
.bubble {
  margin: 0;
  max-width: 86%;
  padding: 9px 12px;
  font-size: 13.5px;
  line-height: 1.5;
  border-radius: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg-bot .bubble { background: rgba(255,255,255,.045); border: 1px solid var(--line-soft); border-top-left-radius: 3px; }
.msg-user .bubble { color: #10172a; background: linear-gradient(180deg, #efe4c6, #d7c193); border-top-right-radius: 3px; }
.bubble a { color: var(--gold-hi); text-underline-offset: 3px; }
.msg-user .bubble a { color: inherit; }
.msg.is-typing .bubble { color: var(--faint); font-style: italic; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 10px; }
.chat-chips:empty { display: none; }
.chip {
  padding: 6px 11px;
  font: 400 12.5px/1.2 var(--sans);
  color: var(--text);
  text-decoration: none;
  background: rgba(255,255,255,.02);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(235,231,222,.2);
  cursor: pointer;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-hi); }
.chip-gold { color: #10172a; background: var(--metal); box-shadow: none; font-weight: 500; }
.chip-gold:hover { color: #10172a; box-shadow: none; filter: brightness(1.05); }

.chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 12px;
  padding: 8px 6px 8px 12px;
  border: 1px solid rgba(235,231,222,.16);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}
.chat-form:focus-within { border-color: rgba(205,182,138,.55); }
.chat-form textarea {
  flex: 1;
  min-height: 22px;
  max-height: 120px;
  padding: 3px 0;
  font: 400 14px/1.45 var(--sans);
  color: var(--text);
  background: none;
  border: 0;
  resize: none;
  outline: none;
}
.chat-form textarea::placeholder { color: var(--faint); }
.chat-send {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--ink-1);
  background: var(--metal);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.chat-send svg { width: 14px; height: 14px; }
.chat-fine { margin: 0; padding: 8px 16px 12px; font-size: 11px; line-height: 1.4; color: var(--faint); }

/* ---------------------------------------------------------------- short desktops */

@media (min-width: 900px) and (max-height: 820px) {
  .svc-index h3 { font-size: 14px; }
  .svc-index p { font-size: 12.5px; line-height: 1.4; letter-spacing: -.008em; }
  .svc-index li { padding: 5px 0; }
  .svc { row-gap: 14px; }
  .feat-body p { font-size: 13.5px; line-height: 1.5; }
  .svc-extras p { font-size: 11px; line-height: 1.36; letter-spacing: -.012em; }
  .svc-extras h4 { letter-spacing: -.01em; }
  .faq-row { padding: 8px 0; }
  .faq-row dd { font-size: 13px; line-height: 1.48; }
  .inst-read div { font-size: 13px; }
}

/* ---------------------------------------------------------------- medium */

@media (max-width: 1399px) and (min-width: 900px) {
  .crumb-switch { display: none; }
}
@media (max-width: 1280px) and (min-width: 900px) {
  .crumb { display: none; }
}
@media (max-width: 1300px) and (min-width: 900px) {
  .bar { gap: 18px; }
  .nav ul { gap: clamp(10px, 1.5vw, 22px); }
}
@media (max-width: 1180px) and (min-width: 900px) {
  .bar-cta { display: none; }
  .nav a { font-size: 13px; }
  .svc { grid-template-columns: 1fr; grid-template-areas: "head" "index" "feat" "extra"; }
  .svc-head { display: flex; align-items: baseline; gap: 24px; }
  .svc-sub { margin: 0; max-width: none; }
  .svc-extras { grid-template-columns: 1fr; row-gap: 10px; }
}

/* ---------------------------------------------------------------- mobile: natural document flow */

@media (max-width: 899px) {
  :root { --bar-h: 100px; }

  html, body { height: auto; overflow: visible; }
  body { overflow-x: hidden; }
  .shell {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    overflow-x: clip;
    grid-template-rows: var(--bar-h) 1fr auto;
  }
  .bar {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr auto;
    grid-template-rows: 56px 44px;
    column-gap: 10px;
    row-gap: 0;
    align-items: center;
    padding: 0;
    background: rgba(10, 16, 30, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .brand { gap: 8px; grid-column: 1; grid-row: 1; margin-left: var(--pad-x); min-width: 0; }
  .brand-line { font-size: 9.5px; letter-spacing: .16em; padding-left: 8px; }
  .brand-word { font-size: 16px; }
  .brand-mark { width: 31px; height: 27px; }
  .crumb { display: none; }
  .bar-cta {
    grid-column: 3;
    grid-row: 1;
    margin: 0 var(--pad-x) 0 0;
    padding: 7px 13px;
    font-size: 12px;
    display: inline-flex;
  }

  /* Always-visible tab row: swipe horizontally when the tabs don't fit. */
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: 0 0 0 var(--pad-x);
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul {
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2px;
    width: max-content;
    padding: 0;
  }
  .nav ul a, .nav .nav-btn {
    width: auto;
    text-align: center;
    padding: 8px 11px;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--muted);
    border: 0;
    background: none;
  }
  .nav ul a::after {
    display: block;
    left: 11px;
    right: 11px;
    bottom: 4px;
  }
  .nav ul a[aria-current="page"] { color: var(--gold-hi); }
  .nav .nav-btn:hover, .nav ul a:hover { color: var(--text); }
  .nav .nav-home { display: list-item; }
  .nav .nav-home a { font-family: var(--sans); font-size: 12.5px; color: var(--muted); padding: 8px 11px; }
  .nav .nav-home + .nav-home a { color: var(--gold); }
  .nav .nav-call {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin: 0;
    padding: 8px 11px;
    padding-right: var(--pad-x);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--gold);
    white-space: nowrap;
  }

  .stage { overflow: visible; }
  .panel {
    position: relative;
    inset: auto;
    overflow: visible;
    padding: 22px var(--pad-x) 30px;
  }

  /* home + overview */
  .panel-home { display: block; }
  .home { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero, .hero.hero-practice { font-size: clamp(2.7rem, 13.4vw, 4.4rem); }
  .hero-practice .hero-c { font-size: .52em; }
  .home-copy { margin-top: 14px; gap: 10px; grid-template-columns: 1fr; }
  .home-lede { font-size: 14.5px; line-height: 1.55; }
  .home-tag { margin: 0 0 0 54px; font-size: 12px; }
  .instrument { padding: 18px; }
  .inst-number { font-size: 2.2rem; margin: 12px 0; }
  .inst-read div { padding: 6px 0; font-size: 13px; grid-template-columns: 6.6em 1fr; }
  .inst-actions { margin-top: 14px; gap: 8px; }
  .inst-actions.two { grid-template-columns: 1fr; }
  .inst-note { margin-top: 10px; }
  .home-coord { display: none; }
  .choice { padding: 14px 0; }
  .choice-title { font-size: 1.7rem; }
  .chooser-line .inst-number { font-size: 1.9rem; }

  /* services */
  .svc { grid-template-columns: 1fr; grid-template-areas: "head" "index" "feat" "extra"; align-content: start; }
  .svc-sub { max-width: none; margin-top: 10px; }
  .svc-index { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .svc-feature { grid-template-columns: auto 1fr; padding: 18px; gap: 14px 18px; }
  .feat-body { grid-column: 1 / -1; }
  .svc-extras { grid-template-columns: 1fr; row-gap: 12px; }
  .svc-extras ul { grid-template-columns: 1fr; gap: 12px; }
  .svc-extras p { font-size: 12.5px; }

  /* how: below 840px the body already stacks (video under the steps, above the footnote).
     840–899 (Fold open) keeps the two-column how-body from the rule above. */
  .panel-how { display: block; }
  .how-foot { margin-top: 18px; }
  @media (max-width: 839px) {
    .how-body { display: flex; flex-direction: column; margin-top: 18px; }
    .how-promo { max-width: none; margin-top: 8px; }
  }

  /* pricing */
  .panel-pricing { display: block; overflow: hidden; min-height: 70vh; }
  .panel-pricing::after { width: 110vw; height: 110vw; right: -40vw; }
  .pricing-statement { font-size: clamp(3.2rem, 17vw, 5rem); }
  .pricing-statement em { padding-left: .6em; }
  .pricing-body { margin: 32px 0 0; }

  /* faq */
  .faq { grid-template-columns: 1fr; gap: 20px; align-content: start; }
  .faq-row { grid-template-columns: 1fr; gap: 6px; }
  .faq-row dd { padding-left: 2.6em; }
  .faq-row dt { font-size: 1.2rem; }

  /* contact */
  .letter-main { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .letter-label { margin-top: 18px; }
  .letter-number { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .letter-form { padding-left: 0; border-left: 0; padding-top: 22px; border-top: 1px solid var(--line-soft); }
  .form-grid { grid-template-columns: 1fr; }

  /* footer */
  .foot { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom)); font-size: 11.5px; }
  .foot-line { display: block; margin-top: 2px; }
  .foot-nav { margin: 6px 0 2px; }
  .foot-nav + .foot-legal { margin-top: 0; }
  /* Fixed bottom dock: legal footer + chat sit here so the pill never covers page text. */
  .foot {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 25;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom));
    padding-right: calc(var(--pad-x) + 96px);
    font-size: 11.5px;
    background: rgba(9, 15, 29, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-soft);
  }
  .foot-line { display: none; }
  .shell { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  .chat-launch { --launch-h: 40px; padding: 0 14px 0 12px; z-index: 30; }
  .chat-launch-lang { display: none; }
  .chat-open .chat-launch { display: none; }
  .chat {
    left: 0; right: 0; bottom: 0;
    width: auto;
    height: min(88dvh, 680px);
    border-radius: 14px 14px 0 0;
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .foot-note { font-size: 9.5px; margin-top: 4px; }
}

@media (max-width: 479px) {
  .chat-launch-label { display: none; }
  .chat-launch-short { display: inline; }
}
@media (max-width: 340px) {
  .brand-line { display: none; }
}

/* ---------------------------------------------------------------- motion */

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