/* AI Clinical Notes — BuildspaceLabs
   "The notes write themselves — so the doctor can look up."
   Palette: calm clinical light. Type: Manrope + Inter. */

:root {
  --white: #FFFFFF;
  --base: #F7FBFD;
  --ink: #0F2A3C;
  --ink-soft: #21455A;
  --secondary: #5B7686;
  --hairline: #E3EEF3;
  --hairline-2: #EDF5F9;
  --teal: #0EA5E9;
  --teal-hover: #0284C7;
  --teal-deep: #075985;
  --mint: #34D399;
  --cited: #E0F2FE;
  --cited-ink: #0369A1;

  --shadow-sm: 0 1px 2px rgba(15,42,60,.05), 0 2px 6px rgba(15,42,60,.04);
  --shadow-md: 0 4px 14px rgba(15,42,60,.06), 0 12px 34px rgba(15,42,60,.07);
  --shadow-lg: 0 10px 30px rgba(15,42,60,.08), 0 30px 70px rgba(15,42,60,.10);
  --shadow-teal: 0 10px 30px rgba(14,165,233,.18), 0 2px 8px rgba(14,165,233,.14);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 48px);

  --font-head: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 800;
}

p { margin: 0; }

::selection { background: var(--cited); color: var(--teal-deep); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  border-radius: 2px;
}

.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;
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { background: var(--teal-hover); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(14,165,233,.26); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--hairline);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; color: var(--teal-deep);
  transition: gap .2s var(--ease);
}
.link-arrow:hover { gap: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--hairline);
  box-shadow: 0 6px 24px rgba(15,42,60,.05);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--teal), var(--teal-deep));
  display: grid; place-items: center; box-shadow: var(--shadow-teal); flex: none;
}
.brand .mark svg { width: 19px; height: 19px; }
.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.built-by {
  display: none;
  align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--secondary);
  padding: 7px 12px; border: 1px solid var(--hairline); border-radius: 999px;
  transition: border-color .2s, color .2s;
}
.built-by:hover { color: var(--teal-deep); border-color: var(--teal); }
.built-by svg { width: 13px; height: 13px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .built-by { display: inline-flex; }
}

/* ---------- Section rhythm ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 118px); }
.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 46px);
  margin-top: 16px;
}
.section-head p.lead {
  margin-top: 16px; font-size: clamp(16px, 2vw, 18.5px);
  color: var(--secondary); line-height: 1.65;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(120% 80% at 82% -10%, rgba(14,165,233,.10), transparent 60%),
    radial-gradient(90% 70% at 0% 0%, rgba(52,211,153,.07), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--base) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--hairline-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-2) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 78%);
  opacity: .55;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; gap: clamp(36px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.hero-badge .pill {
  font-family: var(--font-head); font-weight: 700; font-size: 11px;
  color: var(--teal-deep); background: var(--cited);
  padding: 3px 9px; border-radius: 999px; letter-spacing: .02em;
}
.hero h1 {
  font-size: clamp(34px, 6.4vw, 66px);
  line-height: 1.02;
  margin-top: 22px;
  letter-spacing: -0.035em;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--teal) 10%, var(--teal-deep) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin-top: 22px; font-size: clamp(16.5px, 2.1vw, 19px);
  color: var(--secondary); max-width: 520px; line-height: 1.62;
}
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-assure {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 13.5px; color: var(--secondary);
}
.hero-assure span { display: inline-flex; align-items: center; gap: 7px; }
.hero-assure svg { width: 16px; height: 16px; color: var(--mint); flex: none; }

/* Hero visual: waveform -> SOAP note */
.scribe {
  position: relative;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  overflow: hidden;
}
.scribe::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(224,242,254,.35), transparent 40%);
  pointer-events: none;
}
.scribe-top {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid var(--hairline-2);
  position: relative;
}
.rec-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(14,165,233,.5);
  animation: recPulse 2s var(--ease) infinite;
}
@keyframes recPulse {
  0% { box-shadow: 0 0 0 0 rgba(14,165,233,.45); }
  70% { box-shadow: 0 0 0 9px rgba(14,165,233,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,165,233,0); }
}
.scribe-top .lbl { font-family: var(--font-head); font-weight: 700; font-size: 13px; }
.scribe-top .who {
  margin-left: auto; font-size: 11.5px; color: var(--secondary);
  background: var(--base); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--hairline-2);
}

.wave {
  display: flex; align-items: center; gap: 3px;
  height: 62px; padding: 14px 2px 16px;
}
.wave .bar {
  flex: 1 1 auto;
  width: 4px; min-width: 3px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--teal), var(--teal-deep));
  height: 20%;
  transform-origin: center;
  opacity: .35;
  animation: waveIdle 1.4s ease-in-out infinite;
}
@keyframes waveIdle {
  0%,100% { transform: scaleY(.28); }
  50% { transform: scaleY(1); }
}

.soap { display: grid; gap: 10px; margin-top: 4px; }
.soap-line {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px;
  align-items: start;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.soap-line.in { opacity: 1; transform: none; }
.soap-tag {
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: var(--shadow-sm);
}
.soap-tag.s { background: linear-gradient(150deg,#38BDF8,#0EA5E9); }
.soap-tag.o { background: linear-gradient(150deg,#0EA5E9,#0284C7); }
.soap-tag.a { background: linear-gradient(150deg,#0284C7,#075985); }
.soap-tag.p { background: linear-gradient(150deg,#34D399,#0EA5E9); }
.soap-body { padding-top: 3px; }
.soap-body .txt {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.5;
}
.soap-body .txt b { color: var(--ink); font-weight: 600; }
.cite {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 10.5px;
  color: var(--cited-ink); background: var(--cited);
  padding: 2px 7px; border-radius: 999px; margin-left: 4px;
  vertical-align: middle;
  transform: scale(.4); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.cite svg { width: 10px; height: 10px; }
.soap-line.in .cite { transform: scale(1); opacity: 1; transition-delay: .28s; }

/* ---------- Trust band ---------- */
.trust {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 120% at 12% 0%, rgba(14,165,233,.28), transparent 55%),
    radial-gradient(60% 120% at 90% 110%, rgba(52,211,153,.16), transparent 55%);
}
.trust .wrap { position: relative; z-index: 2; }
.trust-grid {
  display: grid; grid-template-columns: 1fr; gap: 8px;
}
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-cell {
  padding: 34px 8px;
  text-align: center;
  position: relative;
}
@media (min-width: 760px) {
  .trust-cell + .trust-cell::before {
    content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
    width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.18), transparent);
  }
}
.trust-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(38px, 6vw, 58px); line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(120deg,#fff,#BAE6FD);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-num .u { font-size: .5em; -webkit-text-fill-color: #7DD3FC; }
.trust-lbl { margin-top: 10px; font-size: 14.5px; color: #B8D4E4; max-width: 240px; margin-inline: auto; }

/* ---------- In the room: steps ---------- */
.steps {
  display: grid; gap: 20px; margin-top: 48px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3,1fr); } }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.step::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--hairline); }
.step:hover::after { transform: scaleX(1); }
.step-ico {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--cited); color: var(--teal-deep);
  display: grid; place-items: center; margin-bottom: 20px;
}
.step-ico svg { width: 25px; height: 25px; }
.step-n {
  counter-increment: step;
  position: absolute; top: 26px; right: 26px;
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  color: var(--teal); opacity: .55;
}
.step-n::before { content: "0" counter(step); }
.step h3 { font-size: 20px; }
.step p { margin-top: 10px; color: var(--secondary); font-size: 15px; }

/* ---------- Cited section ---------- */
.cited-sec { background: var(--base); border-block: 1px solid var(--hairline); }
.cited-grid {
  display: grid; gap: clamp(36px,5vw,64px); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) { .cited-grid { grid-template-columns: 1fr 1fr; } }
.cited-list { margin-top: 26px; display: grid; gap: 16px; }
.cited-item { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.cited-item .chk {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(52,211,153,.14); color: #059669;
  display: grid; place-items: center; flex: none; margin-top: 2px;
}
.cited-item .chk svg { width: 15px; height: 15px; }
.cited-item h4 { font-size: 16.5px; }
.cited-item p { color: var(--secondary); font-size: 14.5px; margin-top: 3px; }

/* Traceability visual card */
.trace {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 24px; position: relative;
}
.trace h5 {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--secondary);
  margin: 0 0 14px;
}
.trace-quote {
  background: var(--base); border: 1px dashed var(--hairline);
  border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; color: var(--ink-soft);
}
.trace-quote .spk { font-weight: 700; color: var(--teal-deep); font-family: var(--font-head); }
.trace-quote mark { background: var(--cited); color: var(--cited-ink); padding: 1px 3px; border-radius: 4px; }
.trace-flow { display: grid; place-items: center; padding: 12px 0; color: var(--teal); }
.trace-flow svg { width: 22px; height: 22px; }
.trace-out {
  border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 14px 16px;
  font-size: 14px; color: var(--ink); line-height: 1.55;
}
.trace-out .cited-inline {
  background: var(--cited); border-radius: 5px; padding: 0 4px; color: var(--cited-ink);
  box-shadow: inset 0 0 0 1px rgba(14,165,233,.18);
}

/* ---------- Product tour ---------- */
.tour { display: grid; gap: 64px; margin-top: 52px; }
.shot {
  display: grid; gap: clamp(24px,4vw,52px); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) {
  .shot { grid-template-columns: 1fr 1.12fr; }
  .shot.rev .shot-copy { order: 2; }
  .shot.rev .frame { order: 1; }
}
.shot-copy .kicker {
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep);
}
.shot-copy h3 { font-size: clamp(23px,3vw,32px); margin-top: 12px; }
.shot-copy p { margin-top: 14px; color: var(--secondary); font-size: 16px; }
.shot-copy ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.shot-copy li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.shot-copy li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }

.frame {
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.frame-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--hairline-2);
  background: linear-gradient(180deg,#fff,var(--base));
}
.frame-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.frame-bar .dot:nth-child(1){ background:#FCA5A5; }
.frame-bar .dot:nth-child(2){ background:#FCD34D; }
.frame-bar .dot:nth-child(3){ background:#6EE7B7; }
.frame-bar .url {
  margin-left: 10px; font-size: 12px; color: var(--secondary);
  background: #fff; border: 1px solid var(--hairline-2); border-radius: 999px;
  padding: 4px 12px; display: inline-flex; align-items: center; gap: 6px;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frame-bar .url svg { width: 12px; height: 12px; color: var(--mint); flex:none; }
.frame img { width: 100%; display: block; }
.shot-cap { margin-top: 14px; font-size: 13px; color: var(--secondary); text-align: center; }

/* ---------- Feature grid ---------- */
.features {
  display: grid; gap: 18px; margin-top: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(4,1fr); } }
.feat {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(150deg, var(--cited), #fff);
  border: 1px solid var(--hairline-2); color: var(--teal-deep);
}
.feat-ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 17px; }
.feat p { margin-top: 8px; color: var(--secondary); font-size: 14px; line-height: 1.55; }

/* ---------- Clinicians band ---------- */
.band {
  background: linear-gradient(135deg, var(--teal-deep), #0C4A6E 55%, var(--ink));
  color: #fff; border-radius: var(--r-xl); overflow: hidden; position: relative;
  box-shadow: var(--shadow-lg);
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(90% 120% at 85% 10%, #000, transparent 70%);
          mask-image: radial-gradient(90% 120% at 85% 10%, #000, transparent 70%);
}
.band-inner {
  position: relative; z-index: 2;
  padding: clamp(36px,6vw,64px);
  display: grid; gap: 34px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .band-inner { grid-template-columns: 1.3fr 1fr; } }
.band h2 { color: #fff; font-size: clamp(26px,4vw,40px); }
.band p { margin-top: 16px; color: #C7E3F2; font-size: 17px; max-width: 480px; }
.band-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.band-tags .tg {
  font-size: 13px; font-weight: 600; color: #E0F2FE;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 7px 14px; border-radius: 999px;
}
.band-stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 26px; display: grid; gap: 18px;
}
.band-stat .row { display: flex; align-items: center; gap: 14px; }
.band-stat .ic {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: rgba(14,165,233,.2); color: #7DD3FC; display: grid; place-items: center;
}
.band-stat .ic svg { width: 22px; height: 22px; }
.band-stat .row b { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: #fff; display: block; }
.band-stat .row span { font-size: 13px; color: #A9CFE3; }

/* ---------- Tech chips ---------- */
.tech { text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--hairline); border-radius: 999px;
  padding: 10px 18px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s;
}
.chip:hover { transform: translateY(-3px); border-color: var(--teal); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.tech .note { margin-top: 22px; font-size: 13.5px; color: var(--secondary); }

/* ---------- CTA ---------- */
.cta-sec { position: relative; }
.cta-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 140% at 10% 0%, rgba(14,165,233,.10), transparent 55%),
    #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(38px,6vw,72px);
  text-align: center;
}
.cta-card::before {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(var(--hairline-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-2) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 120%, #000, transparent 70%);
          mask-image: radial-gradient(70% 90% at 50% 120%, #000, transparent 70%);
  opacity:.7;
}
.cta-card > * { position: relative; z-index: 2; }
.cta-card h2 { font-size: clamp(28px,4.6vw,48px); max-width: 640px; margin-inline: auto; }
.cta-card p { margin: 18px auto 0; color: var(--secondary); font-size: 18px; max-width: 500px; }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-fine { margin-top: 22px; font-size: 13px; color: var(--secondary); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: #C7DDEA;
  padding-block: 56px 32px; margin-top: 0;
}
.footer-grid {
  display: grid; gap: 34px; grid-template-columns: 1fr;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: #9CBBCC; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-head); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: #7B9DB2; margin-bottom: 14px; font-weight: 700;
}
.footer-col a, .footer-col span { display: block; font-size: 14.5px; color: #C7DDEA; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 26px; display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
}
.footer-credit { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: #9CBBCC; }
.bs-lock {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 800; color: #fff;
}
.bs-lock .bs {
  font-size: 12px; background: linear-gradient(150deg, var(--teal), var(--teal-deep));
  color: #fff; padding: 3px 7px; border-radius: 7px; letter-spacing: .02em;
}
.footer-legal { font-size: 12.5px; color: #7B9DB2; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Contact / Thank-you ---------- */
.page-hero {
  padding-top: clamp(52px,7vw,88px); padding-bottom: clamp(20px,4vw,40px);
  background:
    radial-gradient(90% 70% at 80% -10%, rgba(14,165,233,.10), transparent 60%),
    linear-gradient(180deg,#fff,var(--base));
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(30px,5.2vw,52px); }
.page-hero p { margin-top: 18px; color: var(--secondary); font-size: 18px; max-width: 540px; }

.contact-grid {
  display: grid; gap: clamp(28px,4vw,52px); align-items: start;
  grid-template-columns: 1fr;
  padding-bottom: clamp(60px,9vw,110px);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr .9fr; } }

.form-card {
  background: #fff; border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  padding: clamp(24px,4vw,40px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 13.5px; color: var(--ink); margin-bottom: 8px;
}
.field label .req { color: var(--teal); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--base); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #93AEBD; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(14,165,233,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.reassure { font-size: 13px; color: var(--secondary); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.reassure svg { width: 15px; height: 15px; color: var(--mint); flex: none; }

.contact-aside { display: grid; gap: 16px; }
.aside-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.aside-card h3 { font-size: 17px; }
.aside-card p { margin-top: 8px; font-size: 14px; color: var(--secondary); }
.aside-card .contact-line {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; color: var(--teal-deep); font-size: 15px;
}
.aside-card .contact-line svg { width: 18px; height: 18px; }
.aside-list { display: grid; gap: 12px; margin-top: 6px; }
.aside-list .li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.aside-list .li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }

/* Thank you */
.thanks {
  min-height: 68vh; display: grid; place-items: center; text-align: center;
  padding-block: clamp(60px,10vw,120px);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(52,211,153,.10), transparent 60%),
    linear-gradient(180deg,#fff,var(--base));
}
.thanks-inner { max-width: 520px; margin-inline: auto; }
.success-badge {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 26px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--mint), var(--teal));
  box-shadow: 0 14px 40px rgba(52,211,153,.34);
  animation: pop .55s var(--ease) both;
}
.success-badge svg { width: 40px; height: 40px; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.thanks h1 { font-size: clamp(30px,5vw,46px); }
.thanks p { margin-top: 16px; color: var(--secondary); font-size: 18px; }
.thanks-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.thanks-email { margin-top: 22px; font-size: 14px; color: var(--secondary); }
.thanks-email a { color: var(--teal-deep); font-weight: 700; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .soap-line { opacity: 1 !important; transform: none !important; }
  .cite { opacity: 1 !important; transform: none !important; }
  .wave .bar { animation: none !important; opacity: .6; }
}


/* Mobile overflow guard: let tour columns and the browser-frame URL shrink below their content width (flex/grid min-width:auto fix). */
.shot > *, .shot figure, .shot .frame, .frame, .frame-bar, .frame-bar .url { min-width: 0; }
