/*
 * Doctoro marketing site.
 *
 * Hand-written rather than Tailwind so the page has no build step and the
 * older pages (thank-you, dashboard) keep their own tailwind.css untouched.
 * Tokens mirror docs/BRAND.md; change them there first.
 */

:root {
  --ink: #173e34;
  --ink-deep: #0e2a23;
  --accent: #146b5d;
  --accent-bright: #1f9a7f;
  --trace-light: #8fd3a8;
  --mint: #dcefe6;
  --mint-soft: #eef7f2;
  --paper: #faf8f3;
  --sand: #f1eadf;
  --sun: #e9b864;
  --coral: #d9735a;
  --body: #3c4f4a;
  --muted: #5f716c;
  --line: rgba(23, 62, 52, 0.12);
  --line-strong: rgba(23, 62, 52, 0.2);
  --on-dark: #e6f2ec;
  --on-dark-muted: #a9c7bb;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(14, 42, 35, 0.06);
  --shadow: 0 18px 50px rgba(14, 42, 35, 0.12);
  --shadow-lg: 0 30px 80px rgba(14, 42, 35, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.2, 0.75, 0.2, 1);
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--paper);
  color: var(--body);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background-color: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: calc(1rem + env(safe-area-inset-top, 0px));
}

/* ------------------------------------------------------------ layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  position: relative;
}
.section-sand {
  background-color: var(--sand);
}
.section-dark {
  background-color: var(--ink-deep);
  color: var(--on-dark);
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}
.section-dark .eyebrow {
  color: var(--trace-light);
}
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.section-head h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}
.section-head p {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--muted);
}
.section-dark .section-head p {
  color: var(--on-dark-muted);
}
.center {
  text-align: center;
  margin-inline: auto;
}

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 107, 93, 0.28);
}
.btn-primary:hover {
  background-color: #0f5a4e;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 107, 93, 0.34);
}
.btn-ghost {
  background-color: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-light {
  background-color: #fff;
  color: var(--ink);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-outline-light:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

/* ------------------------------------------------------------ nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background-color: rgba(250, 248, 243, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(14, 42, 35, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.nav-links a:hover {
  background-color: var(--mint);
}
.nav-drop {
  position: relative;
}
.nav-drop summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.nav-drop summary::-webkit-details-marker {
  display: none;
}
.nav-drop summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.nav-drop[open] summary::after {
  transform: translateY(1px) rotate(-135deg);
}
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -0.8rem;
  z-index: 60;
  display: grid;
  min-width: 230px;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #fff;
  box-shadow: var(--shadow);
}
.nav-drop-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.8rem;
  border-radius: 10px;
}
.nav-drop-menu a:hover {
  background-color: var(--mint-soft);
}
@media (prefers-reduced-motion: no-preference) {
  .nav-drop[open] .nav-drop-menu {
    animation: drop-in 0.2s var(--ease) both;
  }
}
@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background-color: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--ink);
  transition: transform 0.3s var(--ease);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before {
  top: -6px;
}
.menu-toggle span::after {
  top: 6px;
}
.menu-open .menu-toggle span {
  background-color: transparent;
}
.menu-open .menu-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}
.menu-open .menu-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------------------------------------------------ logo */

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  color: var(--ink);
}
.logo-word {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.logo-trace {
  display: block;
  width: 102px;
  height: 7px;
  color: var(--accent);
  overflow: visible;
}
.logo-trace path {
  stroke-dasharray: 130;
  stroke-dashoffset: 0;
}
.js .logo-trace path {
  animation: trace-draw 1.4s var(--ease) 0.2s both;
}
.logo-on-dark {
  color: #fff;
}
.logo-on-dark .logo-trace {
  color: #3fa08c;
}
@keyframes trace-draw {
  from {
    stroke-dashoffset: 130;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  max-width: 820px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 154, 127, 0.16), rgba(31, 154, 127, 0) 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero-badge b {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background-color: var(--mint);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}
.hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero h1 em svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  width: 100%;
  height: 0.28em;
  overflow: visible;
}
.hero h1 em svg path {
  stroke-dasharray: 520;
  stroke-dashoffset: 0;
}
.js .hero h1 em svg path {
  animation: underline-draw 1s var(--ease) 0.7s both;
}
@keyframes underline-draw {
  from {
    stroke-dashoffset: 520;
  }
}
.hero-lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.1rem;
}
.hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-note svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 540px;
  justify-self: end;
  width: 100%;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 8%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--mint);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 42, 35, 0) 55%, rgba(14, 42, 35, 0.35));
}

/* Floating cards that describe what the product does. Illustrative, not
   screenshots, so they carry no data a patient could mistake for real. */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--ink);
  max-width: 260px;
}
.float-card strong {
  display: block;
  font-weight: 600;
}
.float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background-color: var(--mint);
  color: var(--accent);
}
.float-card .fc-icon svg {
  width: 20px;
  height: 20px;
}
.fc-1 {
  top: 9%;
  left: -2%;
}
.fc-2 {
  top: 46%;
  right: -4%;
}
.fc-3 {
  bottom: 7%;
  left: 2%;
}
.fc-sun .fc-icon {
  background-color: #fbf0d9;
  color: #b27a17;
}
.fc-coral .fc-icon {
  background-color: #f8e3dc;
  color: #b3543c;
}
.js .fc-2 {
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.float-card .fc-live {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 6px;
  white-space: nowrap;
}
.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-bright);
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-bright);
  opacity: 0;
  animation: pulse 2.2s var(--ease) 3;
}
@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ------------------------------------------------------------ strip */

.strip {
  border-block: 1px solid var(--line);
  background-color: #fff;
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  padding-block: 1.25rem;
}
.js .strip-track {
  animation: marquee 38s linear infinite;
}
.strip:hover .strip-track {
  animation-play-state: paused;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.strip-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------ audience cards */

.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.aud-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.aud-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.aud-card .aud-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background-color: var(--mint);
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.aud-card:hover .aud-icon {
  transform: rotate(-6deg) scale(1.06);
}
.aud-card .aud-icon svg {
  width: 26px;
  height: 26px;
}
.aud-card h3 {
  margin-top: 1.5rem;
  font-size: 1.4rem;
}
.aud-card p {
  margin-top: 0.7rem;
  color: var(--muted);
}
.aud-card .aud-go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}
.aud-card .aud-go svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.aud-card:hover .aud-go svg {
  transform: translateX(4px);
}
.aud-sun .aud-icon {
  background-color: #fbf0d9;
  color: #a06c10;
}
.aud-coral .aud-icon {
  background-color: #f8e3dc;
  color: #a54a33;
}

/* The third tile uses ink, not coral: coral is reserved for rare emphasis. */
.aud-ink .aud-icon {
  background-color: var(--ink);
  color: var(--trace-light);
}

/* ------------------------------------------------------------ feature split */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split-reverse .split-media {
  order: 2;
}
.split-media {
  position: relative;
}
.split-media .media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 6;
  background-color: var(--mint);
}
.split-media .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split-media:hover .media-frame img {
  transform: scale(1.04);
}
.split-media .media-chip {
  position: absolute;
  bottom: 1.4rem;
  left: -1.2rem;
}
/* Sits over the empty wall, top right, so the held hands and faces stay visible. */
.split-media .media-chip.chip-top,
.split-reverse .split-media .media-chip.chip-top {
  top: 1.4rem;
  bottom: auto;
  left: auto;
  right: -1.2rem;
}
.split-reverse .split-media .media-chip {
  left: auto;
  right: -1.2rem;
}
.split-copy h2 {
  margin-top: 1rem;
  font-size: clamp(1.95rem, 4vw, 2.85rem);
}
.split-copy > p {
  margin-top: 1.1rem;
  font-size: 1.1rem;
  color: var(--muted);
}
.feature-list {
  display: grid;
  gap: 1.15rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.95rem;
  align-items: start;
}
.feature-list .fl-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: var(--mint);
  color: var(--accent);
}
.feature-list .fl-icon svg {
  width: 20px;
  height: 20px;
}
.feature-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.feature-list span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.97rem;
  color: var(--muted);
}
.section-dark .split-copy > p {
  color: var(--on-dark-muted);
}
.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

/* ------------------------------------------------------------ facilities */

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.fac-card {
  padding: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.035);
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.fac-card:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(143, 211, 168, 0.35);
  transform: translateY(-4px);
}
.fac-card .fac-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background-color: rgba(143, 211, 168, 0.14);
  color: var(--trace-light);
}
.fac-card .fac-icon svg {
  width: 22px;
  height: 22px;
}
.fac-card h3 {
  margin-top: 1.2rem;
  font-size: 1.15rem;
}
.fac-card p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--on-dark-muted);
}
.facility-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.facility-types a,
.facility-types span {
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--on-dark);
  text-decoration: none;
}
.facility-types a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.facility-types a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(143, 211, 168, 0.5);
}

/* ------------------------------------------------------------ onboarding form */

.onboard {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background-color: var(--paper);
  color: var(--body);
  box-shadow: var(--shadow-lg);
}
.onboard h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--ink);
}
.onboard-intro p {
  margin-top: 0.9rem;
  color: var(--muted);
}
.onboard-steps {
  display: grid;
  gap: 0.9rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.onboard-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.8rem;
  font-size: 0.97rem;
  counter-increment: step;
}
.onboard-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--mint);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.form {
  display: grid;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background-color: #fff;
  font-size: 1rem;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 107, 93, 0.14);
}
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.segmented label {
  position: relative;
  flex: 1 1 auto;
}
.segmented input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background-color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.segmented input:checked + span {
  border-color: var(--accent);
  background-color: var(--mint);
  color: var(--accent);
  font-weight: 600;
}
.segmented input:focus-visible + span {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
}
.form-foot small {
  flex: 1 1 220px;
  color: var(--muted);
  font-size: 0.85rem;
}
.form-status {
  display: none;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}
.form-status.is-ok {
  display: flex;
  background-color: var(--mint);
  color: var(--accent);
}
.form-status.is-error {
  display: flex;
  background-color: #fbeae5;
  color: #9c3d27;
}

/* ------------------------------------------------------------ steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: s;
  position: relative;
}
.step {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background-color: #fff;
  border: 1px solid var(--line);
  counter-increment: s;
}
.step::before {
  content: "0" counter(s);
  display: block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.step h3 {
  margin-top: 1rem;
  font-size: 1.28rem;
}
.step p {
  margin-top: 0.6rem;
  color: var(--muted);
}

/* A hairline joins the three steps and draws once, left to right. */
.steps {
  padding-top: 1.6rem;
}
.steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.75rem;
  right: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--trace-light));
  transform-origin: left center;
}
.step::after {
  content: "";
  position: absolute;
  top: calc(-1.6rem - 4px);
  left: 1.75rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 4px var(--paper);
}
.js .steps::before {
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-soft) 0.2s;
}
.js .steps.is-in::before {
  transform: none;
}
.apps-gap {
  height: clamp(2.5rem, 5vw, 3.5rem);
}

/* ------------------------------------------------------------ consent */

.consent {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.consent-panel {
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background-color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.consent-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius);
  background-color: var(--mint-soft);
}
.consent-row + .consent-row {
  margin-top: 0.7rem;
}
.consent-row .avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  flex: none;
}
.consent-row .who {
  flex: 1;
  min-width: 0;
  font-size: 0.93rem;
  line-height: 1.35;
}
.consent-row .who strong {
  display: block;
  color: var(--ink);
}
.consent-row .who small {
  color: var(--muted);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag-ok {
  background-color: #d4ede0;
  color: #0f6647;
}
.tag-off {
  background-color: #eee9e0;
  color: #6c6253;
}
.consent-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.consent-points {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.consent-points li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.consent-points svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none;
  margin-top: 2px;
}

/* ------------------------------------------------------------ apps */

.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.app-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
  padding: clamp(1.7rem, 3.5vw, 2.4rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--ink);
  color: var(--on-dark);
  min-height: 360px;
}
.app-card.app-pro {
  background-color: var(--accent);
}
.app-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 211, 168, 0.28), rgba(143, 211, 168, 0) 70%);
  pointer-events: none;
}
.app-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #fff;
}
.app-card p {
  margin-top: 0.8rem;
  color: rgba(230, 242, 236, 0.82);
  max-width: 22rem;
}
.app-card .app-copy {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.app-card .app-for {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--trace-light);
}
.app-card h3 {
  margin-top: 0.8rem;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.8rem;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition:
    background-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.store-badge:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.store-badge svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.store-badge small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.75;
  line-height: 1.1;
}
.store-badge b {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(230, 242, 236, 0.75);
}

.app-card .soon {
  margin-top: auto;
  padding-top: 1.8rem;
  max-width: 22rem;
  line-height: 1.5;
}

/* A drawn phone, showing the kind of thing the app does. Illustrative, not a
   screenshot: the entries are generic so nobody reads them as real data. */
.phone {
  position: relative;
  width: 168px;
  aspect-ratio: 9 / 18.5;
  border-radius: 30px;
  padding: 8px;
  background-color: #0b1f1a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 30px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(5deg) translateY(12px);
  transition: transform 0.6s var(--ease);
}
.app-card:hover .phone {
  transform: rotate(2deg) translateY(0);
}
.phone-screen {
  height: 100%;
  border-radius: 23px;
  overflow: hidden;
  background-color: var(--paper);
  color: var(--ink);
  padding: 20px 10px 10px;
  font-size: 9px;
  line-height: 1.3;
}
.phone-screen .ps-head {
  display: block;
  padding: 10px;
  margin: -20px -10px 10px;
  padding-top: 22px;
  background-color: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 11px;
}
.app-pro .phone-screen .ps-head {
  background-color: var(--accent);
}
.ps-card {
  padding: 8px;
  margin-bottom: 7px;
  border-radius: 9px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.ps-card b {
  display: block;
  font-size: 9.5px;
}
.ps-card i {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 8px;
}
.ps-bar {
  height: 6px;
  margin-top: 5px;
  border-radius: 6px;
  background-color: var(--mint);
}
.ps-bar.w70 {
  width: 70%;
}
.ps-bar.w45 {
  width: 45%;
}

/* Phones settle into place once the card arrives; inner rows follow. */
.js .app-card.reveal .phone {
  transform: rotate(9deg) translateY(28px);
  transition: transform 0.9s var(--ease-soft) 0.15s;
}
.js .app-card.reveal.is-in .phone {
  transform: rotate(5deg) translateY(12px);
}
.js .app-card.reveal.is-in:hover .phone {
  transform: rotate(2deg) translateY(0);
}
.js .app-card.reveal .ps-card {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.5s var(--ease-soft),
    transform 0.5s var(--ease-soft);
}
.js .app-card.reveal.is-in .ps-card {
  opacity: 1;
  transform: none;
}
.js .app-card.reveal.is-in .ps-card:nth-child(2) { transition-delay: 0.35s; }
.js .app-card.reveal.is-in .ps-card:nth-child(3) { transition-delay: 0.43s; }
.js .app-card.reveal.is-in .ps-card:nth-child(4) { transition-delay: 0.51s; }

/* Consent pill: changes its mind once (driven by site.js), cross-fading. */
.tag {
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

/* ------------------------------------------------------------ faq */

.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1.1rem 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .plus {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background-color: var(--mint);
}
.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background-color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.faq summary .plus::after {
  transform: rotate(90deg);
}
.faq details[open] summary .plus::after {
  transform: rotate(0deg);
}
.faq .answer {
  padding: 0 2.5rem 1.4rem 0;
  color: var(--muted);
}

/* ------------------------------------------------------------ cta band */

.cta-band {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: var(--radius-xl);
  background-color: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% auto auto -10%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 154, 127, 0.4), rgba(31, 154, 127, 0) 65%);
  pointer-events: none;
}
/* The page ends warm: a faint wash of the hero photo's sunlight. */
.cta-band::after {
  content: "";
  position: absolute;
  inset: -30% -10% auto 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 184, 100, 0.08), rgba(233, 184, 100, 0) 62%);
  pointer-events: none;
}
.cta-band h2 {
  position: relative;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  color: #fff;
}
.cta-band p {
  position: relative;
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--on-dark-muted);
  font-size: 1.12rem;
}
.cta-band .hero-actions {
  position: relative;
  justify-content: center;
}

/* The brand's heartbeat closes the page, drawn once. */
.cta-trace {
  position: relative;
  display: block;
  width: min(320px, 60%);
  height: auto;
  aspect-ratio: 102 / 7;
  margin: 1.1rem auto 0;
  color: #3fa08c;
  overflow: visible;
}
.cta-trace path {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.js .cta-band .cta-trace path {
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1s var(--ease) 0.35s;
}
.js .cta-band.is-in .cta-trace path {
  stroke-dashoffset: 0;
}

/* ------------------------------------------------------------ footer */

.site-footer {
  padding-block: 4rem calc(2rem + env(safe-area-inset-bottom, 0px));
  background-color: var(--ink-deep);
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
}
.footer-grid h4 {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--trace-light);
}
.footer-grid ul {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--on-dark);
  text-decoration: none;
}
.footer-grid a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-about p {
  margin-top: 1.1rem;
  max-width: 22rem;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

/* ------------------------------------------------------------ inner pages */

.page-head {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.page-head h1 {
  margin-top: 1rem;
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.page-head p {
  margin-top: 1.1rem;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}
.section.page-tight {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}
.apps-single {
  grid-template-columns: 1fr;
}
.page-fine {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.note-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  border-radius: var(--radius-xl);
  background-color: #fff;
  border: 1px solid var(--line);
}
.note-band h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}
.note-band p {
  margin-top: 0.4rem;
  color: var(--muted);
  max-width: 34rem;
}

/* Safety text gets its own quiet panel so it is never skimmed past. */
.prose .callout {
  margin-top: 2.4rem;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  background-color: var(--sand);
}
.prose .callout h2 {
  margin-top: 0;
}

/* Legal and help pages: one readable column. */
.prose {
  max-width: 68ch;
  margin: 0 auto;
}
.prose h1 {
  margin-top: 0.9rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.prose h2 {
  margin-top: 2.4rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.prose h3 {
  margin-top: 1.6rem;
  font-size: 1.1rem;
}
.prose p,
.prose li {
  color: var(--body);
  line-height: 1.7;
}
.prose p {
  margin-top: 0.8rem;
}
.prose ul,
.prose ol {
  margin: 0.8rem 0 0;
  padding-left: 1.3rem;
}
.prose li + li {
  margin-top: 0.35rem;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}
.prose .tile {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: #fff;
}
.prose .tile h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

/* ------------------------------------------------------------ product illustrations */

/* A drawn browser window showing the kind of screen Doctoro gives a facility.
   Illustrations with made-up data, never screenshots of real records. */
.screen {
  border-radius: var(--radius-lg);
  background-color: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: var(--body);
}
.screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}
.screen-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(23, 62, 52, 0.18);
}
.screen-bar b {
  margin-left: 10px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.screen-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 360px;
}
.screen-side {
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background-color: #fbfaf6;
}
.screen-side .mini-logo {
  display: block;
  margin: 0 6px 14px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-size: 15px;
}
.screen-side span {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
}
.screen-side span.on {
  background-color: var(--mint);
  color: var(--accent);
  font-weight: 600;
}
.screen-main {
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.sc-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sc-head .av {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: var(--mint);
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
}
.sc-head strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}
.sc-head small {
  color: var(--muted);
  font-size: 11.5px;
}
.sc-alert {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #f1c9bf;
  background-color: #fbeae5;
  color: #8f3a24;
  font-size: 12px;
}
.sc-alert b {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10.5px;
  margin-right: 6px;
}
.sc-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.sc-tile {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.sc-tile small {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.sc-tile b {
  font-size: 15px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sc-tile em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted);
}
.sc-card {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.sc-card > small {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.sc-card svg {
  display: block;
  width: 100%;
  height: 70px;
}
.sc-rows {
  display: grid;
  gap: 6px;
}
.sc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 9px;
  background-color: var(--mint-soft);
  font-size: 12px;
}
.sc-row b {
  color: var(--ink);
  font-weight: 600;
}
.sc-row span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.sc-row.locked {
  background-color: #f3f1ec;
  color: var(--muted);
}
.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pill.ok { background-color: #d4ede0; color: #0f6647; }
.pill.warn { background-color: #fbf0d9; color: #8a5a00; }
.pill.high { background-color: #fbeae5; color: #9c3d27; }
.pill.off { background-color: #eee9e0; color: #6c6253; }
/* One calm, one-shot moment per illustrated screen. Everything below is
   final by default; only .js with motion allowed starts it hidden. */
.js .reveal-scale .sc-alert,
.js .reveal-scale .sc-tiles {
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}
.js .reveal-scale .sc-alert { transition-delay: 0.15s; }
.js .reveal-scale .sc-tiles { transition-delay: 0.27s; }
.js .reveal-scale.is-in .sc-alert,
.js .reveal-scale.is-in .sc-tiles {
  opacity: 1;
}
.js .reveal-scale .draw-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.9s var(--ease-soft) 0.45s;
}
.js .reveal-scale.is-in .draw-line {
  stroke-dashoffset: 0;
}
.js .reveal-scale .draw-dots {
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft) 1.2s;
}
.js .reveal-scale.is-in .draw-dots {
  opacity: 1;
}
.js .reveal-scale .flag-late {
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
  transition-delay: calc(0.7s + var(--fd, 0ms));
}
.js .reveal-scale.is-in .flag-late {
  opacity: 1;
}
[data-count] {
  font-variant-numeric: tabular-nums;
}
.screen-caption {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.section.photo-band-wrap {
  padding-top: 0;
}
.photo-band {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background-color: var(--mint);
  box-shadow: var(--shadow);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 42, 35, 0.82) 0%, rgba(14, 42, 35, 0.55) 35%, rgba(14, 42, 35, 0) 65%);
}
.photo-band figcaption {
  position: absolute;
  left: clamp(1.2rem, 4vw, 2.6rem);
  right: clamp(1.2rem, 4vw, 2.6rem);
  bottom: clamp(1.1rem, 3.5vw, 2.2rem);
  z-index: 1;
  max-width: 34ch;
  color: #fff;
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
@media (max-width: 680px) {
  .photo-band {
    aspect-ratio: 4 / 5;
  }
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.cap-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background-color: #fff;
}
.cap-card .fl-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background-color: var(--mint);
  color: var(--accent);
}
.cap-card .fl-icon svg {
  width: 21px;
  height: 21px;
}
.cap-card h3 {
  margin-top: 1rem;
  font-size: 1.12rem;
}
.cap-card p {
  margin-top: 0.45rem;
  font-size: 0.96rem;
  color: var(--muted);
}
.page-head .hero-actions {
  margin-top: 1.6rem;
}
@media (max-width: 1024px) {
  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
  .screen-body {
    grid-template-columns: 1fr;
  }
  .screen-side {
    display: none;
  }
  .sc-tiles {
    grid-template-columns: 1fr 1fr;
  }
}

/* ------------------------------------------------------------ reveal motion */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s var(--ease-soft),
    transform 0.6s var(--ease-soft);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js .reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal-scale.is-in {
  opacity: 1;
  transform: none;
}
.js .hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.8s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
  .hero-grid,
  .split,
  .consent,
  .onboard {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    justify-self: center;
    max-width: 480px;
    margin-top: 1rem;
  }
  .split-reverse .split-media {
    order: 0;
  }
  .split-media {
    max-width: 520px;
  }
  .audience,
  .facility-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .apps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gutter) 2rem;
    background-color: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s;
  }
  .menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid var(--line);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
  }
  .mobile-menu .btn {
    margin-top: 1.2rem;
    border-bottom: 0;
    font-size: 1rem;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 16px;
  }
  .audience,
  .facility-grid,
  .steps,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn,
  .split-actions .btn {
    flex: 1 1 100%;
  }
  .float-card {
    font-size: 0.8rem;
    max-width: 210px;
    padding: 0.7rem 0.8rem;
  }
  .fc-2 {
    right: -2%;
    max-width: none;
    width: max-content;
  }
  /* Keep float cards off faces: the top-left one drops to the bottom. */
  .fc-1 {
    top: auto;
    bottom: 7%;
    left: -2%;
  }
  /* On a phone three cards bury the photo; keep the two that say the most. */
  .fc-3 {
    display: none;
  }
  .split-media .media-chip,
  .split-reverse .split-media .media-chip {
    left: 0.8rem;
    right: auto;
  }
  .split-media .media-chip.chip-top {
    left: auto;
    right: 0.8rem;
  }
  .app-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .phone {
    display: none;
  }
  .nav-cta .btn-primary {
    padding-inline: 1rem;
    box-shadow: none;
  }
  .steps {
    padding-top: 0;
  }
  .steps::before,
  .step::after {
    display: none;
  }
}

/* Motion off means off: everything simply present, nothing moving. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-delay: 0s !important;
  }
  .js .reveal,
  .js .reveal-scale,
  .js .hero-in {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .strip-track {
    animation: none !important;
  }
  .js .reveal-scale .sc-alert,
  .js .reveal-scale .sc-tiles,
  .js .reveal-scale .draw-dots,
  .js .reveal-scale .flag-late {
    opacity: 1 !important;
  }
  .js .reveal-scale .draw-line {
    stroke-dashoffset: 0 !important;
  }
  .js .float-card {
    animation: none !important;
  }
}
