  @media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  }

  :root {
    --bg: #F1EFE6;
    --bg-raised: #FBF9F1;
    --ink: #12201F;
    --ink-dim: #4A5B58;
    --teal: #0E3B3D;
    --teal-deep: #0A2A2C;
    --teal-soft: rgba(14,59,61,0.06);
    --brass: #B9862F;
    --brass-bright: #D6A64A;
    --sea: #3E7C74;
    --sea-soft: rgba(62,124,116,0.10);
    --pearl-on-teal: #F1EFE6;
    --line: rgba(14,59,61,0.14);
    --line-on-teal: rgba(241,239,230,0.18);
    --shadow: 0 20px 50px -25px rgba(10,30,29,0.35);
    --error: #B3261E;

    --font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Noto Serif', serif;
    --font-body: 'Avenir Next', 'Century Gothic', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-arabic: 'Geeza Pro', 'Arabic Typesetting', Tahoma, sans-serif;
    --font-brand: 'EB Garamond', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    --font-brand-ar: 'Amiri', 'Geeza Pro', 'Arabic Typesetting', serif;

    --container: 1180px;
    color-scheme: light;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #0B1817;
      --bg-raised: #11201F;
      --ink: #EDE8DA;
      --ink-dim: #9FB0AC;
      --teal: #7FC4BC;
      --teal-deep: #06100F;
      --teal-soft: rgba(127,196,188,0.08);
      --brass: #D6A64A;
      --brass-bright: #E8BE6C;
      --sea: #5FA89D;
      --sea-soft: rgba(95,168,157,0.12);
      --pearl-on-teal: #EDE8DA;
      --line: rgba(237,232,218,0.14);
      --line-on-teal: rgba(237,232,218,0.16);
      --shadow: 0 20px 50px -25px rgba(0,0,0,0.6);
      --error: #E5837A;
      color-scheme: dark;
    }
  }

  :root[data-theme="dark"] {
    --bg: #0B1817;
    --bg-raised: #11201F;
    --ink: #EDE8DA;
    --ink-dim: #9FB0AC;
    --teal: #7FC4BC;
    --teal-deep: #06100F;
    --teal-soft: rgba(127,196,188,0.08);
    --brass: #D6A64A;
    --brass-bright: #E8BE6C;
    --sea: #5FA89D;
    --sea-soft: rgba(95,168,157,0.12);
    --pearl-on-teal: #EDE8DA;
    --line: rgba(237,232,218,0.14);
    --line-on-teal: rgba(237,232,218,0.16);
    --shadow: 0 20px 50px -25px rgba(0,0,0,0.6);
    --error: #E5837A;
    color-scheme: dark;
  }

  :root[data-theme="light"] {
    --bg: #F1EFE6;
    --bg-raised: #FBF9F1;
    --ink: #12201F;
    --ink-dim: #4A5B58;
    --teal: #0E3B3D;
    --teal-deep: #0A2A2C;
    --teal-soft: rgba(14,59,61,0.06);
    --brass: #B9862F;
    --brass-bright: #D6A64A;
    --sea: #3E7C74;
    --sea-soft: rgba(62,124,116,0.10);
    --pearl-on-teal: #F1EFE6;
    --line: rgba(14,59,61,0.14);
    --line-on-teal: rgba(241,239,230,0.18);
    --shadow: 0 20px 50px -25px rgba(10,30,29,0.35);
    --error: #B3261E;
    color-scheme: light;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img, svg { max-width: 100%; display: block; }

  a { color: inherit; }

  .container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  }

  h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.12;
    margin: 0;
    text-wrap: balance;
    color: var(--ink);
  }

  h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 3.9rem); letter-spacing: -0.01em; }
  h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 2.6rem); letter-spacing: -0.005em; }
  h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.4rem); }

  p { margin: 0; }
  .prose { max-width: 62ch; color: var(--ink-dim); font-size: 1.05rem; }

  .eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--sea);
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.9rem;
  }
  .eyebrow::before {
    content: "";
    width: 1.4em;
    height: 1px;
    background: var(--sea);
  }

  .section {
    padding-block: clamp(3.5rem, 7vw, 6.5rem);
  }
  .section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

  .section-head {
    max-width: 44rem;
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
  }
  .section-head p { margin-top: 1rem; }

  /* Profile page */
  .profile-title { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
  .profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
  }
  @media (max-width: 800px) {
    .profile-grid { grid-template-columns: 1fr; }
  }
  .profile-card {
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1.75rem;
  }
  .profile-card h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }
  .profile-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
  }
  .profile-card-head h2 { margin-bottom: 0; }
  .profile-edit-btn {
    border: none;
    background: none;
    padding: 0;
    color: var(--sea);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
  }
  .profile-edit-btn:hover { color: var(--teal); text-decoration: underline; }
  .profile-edit-form[hidden] { display: none; }
  .profile-edit-form .form-row:last-of-type { margin-bottom: 1rem; }
  .profile-edit-actions { display: flex; gap: 0.75rem; }
  .profile-edit-actions .btn { flex: 1; justify-content: center; }
  .profile-details[hidden] { display: none; }
  .profile-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem 1rem;
    margin: 0;
  }
  .profile-details dt {
    color: var(--ink-dim);
    font-size: 0.82rem;
    font-weight: 600;
  }
  .profile-details dd {
    margin: 0;
    color: var(--ink);
    text-align: right;
  }
  .appointments-block + .appointments-block { margin-top: 2rem; }
  .appointments-block h2 { font-size: 1.25rem; margin-bottom: 1rem; }
  .appointments-empty {
    background: var(--bg-raised);
    border: 1px dashed var(--line);
    border-radius: 4px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    text-align: center;
  }
  .appointments-empty p { color: var(--ink-dim); margin-bottom: 1.25rem; }
  .appointments-empty .btn { justify-content: center; }

  .danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    padding: 1.75rem;
    border: 1px solid var(--error);
    border-radius: 4px;
  }
  .danger-zone h2 { font-size: 1.1rem; margin-bottom: 0.4rem; }
  .danger-zone .prose { font-size: 0.9rem; max-width: 34rem; }
  .btn-danger {
    background: transparent;
    border-color: var(--error);
    color: var(--error);
    flex-shrink: 0;
  }
  .btn-danger:hover { background: var(--error); color: var(--bg-raised); }
  @media (max-width: 700px) {
    .danger-zone { flex-direction: column; align-items: flex-start; }
    .btn-danger { width: 100%; justify-content: center; }
  }

  .danger-confirm {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(10,30,29,0.55);
  }
  .danger-confirm[hidden] { display: none; }
  .danger-confirm-modal {
    width: 100%;
    max-width: 25rem;
    background: var(--bg-raised);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: var(--shadow);
  }
  .danger-confirm-modal h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
  .danger-confirm-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
  .danger-confirm-actions .btn { flex: 1; justify-content: center; }

  /* Admin panel */
  .admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 4px;
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  }
  .admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .admin-table th,
  .admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
  }
  .admin-table td { white-space: normal; }
  .admin-table th {
    background: var(--bg-raised);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-dim);
  }
  .admin-table tbody tr:last-child td { border-bottom: none; }
  .admin-empty { text-align: center; color: var(--ink-dim); padding: 2rem 1rem; }
  .admin-status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: capitalize;
  }
  .admin-status--pending { background: var(--sea-soft); color: var(--sea); }
  .admin-status--approved { background: rgba(62,124,116,0.15); color: var(--teal); }
  .admin-status--rejected { background: rgba(179,38,30,0.12); color: var(--error); }
  .admin-actions { display: flex; gap: 0.5rem; }
  .admin-approve,
  .admin-reject {
    border: 1px solid var(--line);
    background: none;
    border-radius: 3px;
    padding: 0.4rem 0.7rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
  }
  .admin-approve { color: var(--sea); border-color: var(--sea); }
  .admin-approve:hover { background: var(--sea-soft); }
  .admin-reject { color: var(--error); border-color: var(--error); }
  .admin-reject:hover { background: rgba(179,38,30,0.08); }
  .admin-approve:disabled,
  .admin-reject:disabled { opacity: 0.5; cursor: not-allowed; }
  .admin-subtle { color: var(--ink-dim); font-size: 0.78rem; }
  .admin-cv-link {
    border: 1px solid var(--line);
    background: none;
    color: var(--teal);
    border-radius: 3px;
    padding: 0.4rem 0.7rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
  }
  .admin-cv-link:hover { background: var(--teal-soft); }
  .admin-cv-link:disabled { opacity: 0.5; cursor: not-allowed; }
  .admin-grant-card { max-width: 32rem; }
  .admin-grant-form .form-row { margin-bottom: 1rem; }
  .admin-grant-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
  .admin-grant-actions .btn { flex: 1; justify-content: center; white-space: normal; }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
  }
  .btn:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
  }
  .btn svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
  .install-cta { position: relative; display: inline-flex; }
  .install-hint {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    z-index: 10;
    width: 18rem;
    max-width: 80vw;
    background: var(--bg-raised);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1rem 1.1rem;
    font-size: 0.85rem;
    line-height: 1.5;
    box-shadow: var(--shadow);
  }
  .install-hint[hidden] { display: none; }
  .install-hint strong { display: block; margin-bottom: 0.3rem; color: var(--ink); }
  .install-steps { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.7rem; }
  .install-step { display: flex; align-items: center; gap: 0.75rem; }
  .install-step-icon {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--sea);
  }
  .install-step-icon svg { width: 1.15rem; height: 1.15rem; }
  .btn-primary {
    background: var(--brass);
    color: var(--teal-deep);
  }
  .btn-primary:hover { background: var(--brass-bright); transform: translateY(-1px); }

  .btn-ghost-on-teal {
    background: transparent;
    border-color: var(--line-on-teal);
    color: var(--pearl-on-teal);
  }
  .btn-ghost-on-teal:hover { border-color: var(--brass); color: var(--brass-bright); }

  .btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
  }
  .btn-ghost:hover { border-color: var(--sea); color: var(--sea); }

  /* Header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
  }
  .site-header.is-scrolled {
    box-shadow: var(--shadow);
  }
  .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1rem;
  }
  .brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-decoration: none;
    color: var(--ink);
  }
  .brand-mark {
    font-family: var(--font-brand);
    font-weight: 600;
    font-size: 1.75rem;
    letter-spacing: 0.02em;
  }
  .brand-ar {
    font-family: var(--font-brand-ar);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ink-dim);
    text-align: center;
    margin-top: -0.4rem;
    letter-spacing: 0.01em;
  }
  .main-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.1rem, 2vw, 2rem);
  }
  .main-nav a {
    text-decoration: none;
    font-size: 0.92rem;
    color: var(--ink-dim);
    transition: color 0.15s ease;
  }
  .main-nav a:hover { color: var(--sea); }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
  }
  .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-dim);
    cursor: pointer;
    padding: 0;
    transition: border-color 0.15s ease, color 0.15s ease;
  }
  .theme-toggle:hover { border-color: var(--sea); color: var(--sea); }
  .theme-toggle svg { width: 1.05rem; height: 1.05rem; }
  .theme-toggle .icon-moon { display: none; }
  :root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
  :root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
  .lang-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.2rem;
    font-size: 0.76rem;
    font-weight: 600;
  }
  .lang-toggle button {
    border: none;
    background: transparent;
    color: var(--ink-dim);
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-body);
  }
  .lang-toggle button[aria-pressed="true"] {
    background: var(--teal);
    color: var(--pearl-on-teal);
  }
  .account-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.3rem 0.4rem 0.3rem 0.85rem;
    font-size: 0.8rem;
  }
  .account-chip[hidden] { display: none; }
  #bookNowBtn[hidden] { display: none; }
  #clinicianLoginBtn[hidden] { display: none; }
  .account-email {
    color: var(--ink-dim);
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
  }
  .account-email:hover { color: var(--teal); text-decoration: underline; }
  .account-signout {
    border: none;
    background: var(--teal-soft);
    color: var(--teal);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.76rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease;
  }
  .account-signout:hover { background: var(--sea-soft); }
  .nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 0;
    cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
    transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

  /* Hero */
  .hero {
    position: relative;
    background: linear-gradient(180deg, var(--teal-deep) 0%, var(--teal) 100%);
    color: var(--pearl-on-teal);
    overflow: hidden;
  }
  .hero canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3.5rem, 7vw, 6rem);
    max-width: 42rem;
  }
  .hero .eyebrow { color: var(--brass-bright); }
  .hero .eyebrow::before { background: var(--brass-bright); }
  .hero h1 { color: var(--pearl-on-teal); }
  .hero .prose { color: rgba(241,239,230,0.82); font-size: 1.1rem; margin-top: 1.25rem; }
  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.25rem;
  }
  /* Services */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 1.5rem;
  }
  .service-card {
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .icon-badge {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 3px;
    background: var(--sea-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sea);
  }
  .icon-badge svg { width: 1.35rem; height: 1.35rem; }
  .service-card p.prose { font-size: 0.98rem; margin-top: -0.35rem; }
  .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
  }
  .tag {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--teal);
    background: var(--teal-soft);
    border: 1px solid var(--line);
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
  }

  /* Channels */
  .channels-section {
    background: var(--teal-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
  }
  .channel-panel {
    background: var(--bg-raised);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }
  .channel-index {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--brass);
  }

  /* Phone demo */
  .channels-grid-wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }
  .phone {
    width: 300px;
    max-width: 100%;
    margin-inline: auto;
    background: var(--teal-deep);
    border-radius: 34px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .phone-screen {
    background: #FFFFFF;
    border-radius: 22px;
    overflow: hidden;
    height: 520px;
    display: flex;
    flex-direction: column;
    color: #12201F;
  }
  .phone-appbar {
    background: #0A2A2C;
    color: #F1EFE6;
    padding: 0.75rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }
  .phone-brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
  }
  .phone-brand {
    font-family: var(--font-brand);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    color: #D6A64A;
  }
  .phone-brand-ar {
    font-family: var(--font-brand-ar);
    font-weight: 700;
    font-size: 0.96rem;
    text-align: center;
    margin-top: -0.28rem;
    color: rgba(241, 239, 230, 0.7);
  }
  .phone-badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(241,239,230,0.12);
    border: 1px solid rgba(241,239,230,0.18);
    color: #F1EFE6;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
  }
  .phone-body { flex: 1; overflow-y: auto; padding: 1.1rem 1rem 0.75rem; }
  .phone-foot {
    padding: 0.65rem 1rem 0.9rem;
    border-top: 1px solid rgba(14,59,61,0.14);
    background: #FFFFFF;
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
  }
  .phone-q { font-weight: 700; font-size: 0.98rem; margin-bottom: 0.85rem; }
  .phone-btn {
    flex: 1;
    text-align: center;
    padding: 0.68rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: opacity 0.15s ease, background 0.15s ease;
  }
  .phone-btn-primary { background: #B9862F; color: #0A2A2C; }
  .phone-btn-primary:hover { background: #D6A64A; }
  .phone-btn-back { background: rgba(14,59,61,0.06); color: #0E3B3D; }
  .phone-opt {
    display: block;
    width: 100%;
    text-align: left;
    background: #F3F1EA;
    border: 1px solid rgba(14,59,61,0.22);
    border-radius: 3px;
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.55rem;
    color: #12201F;
    font-family: var(--font-body);
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
  }
  .phone-opt:hover { border-color: #3E7C74; }
  .phone-opt.sel { border-color: #3E7C74; background: rgba(62,124,116,0.10); }
  .phone-opt small { display: block; color: #4A5B58; font-size: 0.74rem; margin-top: 0.15rem; }
  .phone-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
  .phone-chip {
    background: #F3F1EA;
    border: 1px solid rgba(14,59,61,0.22);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    font-family: var(--font-body);
    color: #12201F;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
  }
  .phone-chip:hover { border-color: #3E7C74; }
  .phone-chip.sel { border-color: #3E7C74; background: rgba(62,124,116,0.10); font-weight: 600; }
  .phone-pt {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    width: 100%;
    text-align: left;
    background: #F3F1EA;
    border: 1px solid rgba(14,59,61,0.22);
    border-radius: 3px;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.55rem;
    color: #12201F;
    cursor: pointer;
    font-family: var(--font-body);
    transition: border-color 0.15s ease, background 0.15s ease;
  }
  .phone-pt:hover { border-color: #3E7C74; }
  .phone-pt.sel { border-color: #3E7C74; background: rgba(62,124,116,0.10); }
  .phone-av {
    flex-shrink: 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: #0E3B3D;
    color: #F1EFE6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
  }
  .phone-pt b { display: block; font-size: 0.82rem; }
  .phone-pt small { color: #4A5B58; font-size: 0.72rem; }
  .phone-rate { margin-left: auto; color: #B9862F; font-weight: 700; font-size: 0.76rem; white-space: nowrap; }
  .phone-dots { display: flex; gap: 0.4rem; justify-content: center; padding: 0.5rem 0 0.1rem; flex-shrink: 0; }
  .phone-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(14,59,61,0.14); }
  .phone-dots i.on { background: #3E7C74; }
  .phone-summary {
    background: #F3F1EA;
    border: 1px solid rgba(14,59,61,0.22);
    border-radius: 3px;
    padding: 0.75rem 0.9rem;
    font-size: 0.8rem;
    margin-top: 0.85rem;
  }
  .phone-summary div { display: flex; justify-content: space-between; padding: 0.25rem 0; border-bottom: 1px dashed rgba(14,59,61,0.14); }
  .phone-summary div:last-child { border-bottom: none; }
  .phone-summary span { color: #4A5B58; }
  .phone-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 0.5rem; }
  .phone-ok {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: #3E7C74;
    color: #F1EFE6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .phone-success h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; margin-bottom: 0.4rem; }
  .phone-success p { font-size: 0.78rem; color: #4A5B58; }
  .phone-note {
    margin-top: 0.9rem;
    background: rgba(14,59,61,0.06);
    border-radius: 3px;
    padding: 0.55rem 0.9rem;
    font-size: 0.74rem;
    color: #0E3B3D;
    font-weight: 600;
  }

  /* Steps */
  .steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 2rem;
    counter-reset: step;
  }
  .step {
    position: relative;
    padding-top: 2.75rem;
    border-top: 1px solid var(--line);
  }
  .step-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--brass);
    position: absolute;
    top: -0.15rem;
    left: 0;
  }
  .step h3 { margin-bottom: 0.5rem; margin-top: 0.5rem;}
  .step p { color: var(--ink-dim); font-size: 0.95rem; }

  /* Founder note */
  .founder-note {
    position: relative;
    background: var(--teal-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  .founder-note-wrap {
    display: grid;
    grid-template-columns: 1fr 14rem;
    align-items: center;
    gap: 2rem;
  }
  .founder-note .section-head { position: relative; z-index: 2; }

  /* Reusable WebGL accent canvases */
  .accent-gl {
    display: block;
    width: 100%;
    height: 14rem;
    pointer-events: none;
  }
  .accent-gl--bleed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
  }

  /* Labs */
  .labs-section {
    position: relative;
    background: var(--teal-deep);
    color: var(--pearl-on-teal);
  }
  .labs-section .eyebrow { color: var(--brass-bright); }
  .labs-section .eyebrow::before { background: var(--brass-bright); }
  .labs-section h2 { color: var(--pearl-on-teal); }
  .labs-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }
  .labs-list {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
  }
  .labs-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.98rem;
    color: rgba(241,239,230,0.88);
  }
  .labs-list svg {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
    color: var(--brass-bright);
  }
  .labs-panel {
    background: rgba(241,239,230,0.06);
    border: 1px solid var(--line-on-teal);
    border-radius: 4px;
    padding: 2rem;
  }
  .labs-panel .eyebrow { margin-bottom: 0.6rem; }
  .labs-panel .prose { color: rgba(241,239,230,0.78); font-size: 0.95rem; }

  /* Trust (inside hero) */
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: clamp(2.75rem, 6vw, 4.5rem);
    padding-top: 1.75rem;
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
    border-top: 1px solid var(--line-on-teal);
    position: relative;
    z-index: 2;
  }
  .trust-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
  }
  .trust-item svg {
    width: 1.3rem; height: 1.3rem; flex-shrink: 0; color: var(--brass-bright); margin-top: 0.15rem;
  }
  .trust-item p { font-size: 0.92rem; color: rgba(241,239,230,0.72); margin-top: 0.3rem; }
  .trust-item h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; color: var(--pearl-on-teal); }

  /* CTA band */
  .cta-band {
    background: var(--brass);
    color: var(--teal-deep);
  }
  .cta-band .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
  }
  .cta-band h2 { color: var(--teal-deep); max-width: 30rem; }
  .cta-band .btn-primary {
    background: var(--teal-deep);
    color: var(--pearl-on-teal);
  }
  .cta-band .btn-primary:hover { background: var(--teal); }

  /* Clinician CTA */
  .clinician-cta {
    background: var(--teal-deep);
    color: var(--pearl-on-teal);
  }
  .clinician-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
  }
  .clinician-cta .eyebrow { color: var(--brass-bright); }
  .clinician-cta .eyebrow::before { background: var(--brass-bright); }
  .clinician-cta h2 { color: var(--pearl-on-teal); max-width: 30rem; }
  .clinician-cta .prose { color: rgba(241,239,230,0.78); margin-top: 0.75rem; max-width: 32rem; }

  /* Footer */
  .site-footer {
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
  }
  .footer-links { display: contents; }
  .footer-brand .brand-mark { font-size: 1.4rem; }
  .footer-brand .prose { margin-top: 1rem; font-size: 0.92rem; max-width: 22rem; }
  .footer-col h3 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-dim);
    margin-bottom: 1rem;
  }
  .footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
  .footer-col a { text-decoration: none; color: var(--ink); font-size: 0.92rem; }
  .footer-col a:hover { color: var(--sea); }
  .footer-bottom {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--ink-dim);
  }
  .footer-legal { display: flex; gap: 1.25rem; }
  .footer-legal a { text-decoration: none; color: var(--ink-dim); }
  .footer-legal a:hover { color: var(--sea); }

  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .card-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
  .card-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
  .channel-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
  .channel-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
  .steps-list .reveal:nth-child(2) { transition-delay: 0.1s; }
  .steps-list .reveal:nth-child(3) { transition-delay: 0.2s; }
  .steps-list .reveal:nth-child(4) { transition-delay: 0.3s; }
  .labs-grid .reveal:nth-child(2) { transition-delay: 0.15s; }

  @media (max-width: 900px) {
    .labs-grid { grid-template-columns: 1fr; }
    .channels-grid-wrap { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .founder-note-wrap { grid-template-columns: 1fr; }
    .accent-gl:not(.accent-gl--bleed) { display: none; }
  }

  @media (max-width: 960px) {
    .main-nav {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--bg);
      border-bottom: 1px solid var(--line);
      gap: 1rem;
      padding-inline: 1.25rem;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      pointer-events: none;
      transform: translateY(-6px);
      transition: max-height 0.32s cubic-bezier(0.16,1,0.3,1), opacity 0.22s ease, transform 0.28s ease, padding-block 0.32s ease;
    }
    .main-nav.is-open {
      max-height: 22rem;
      opacity: 1;
      transform: translateY(0);
      padding-block: 1rem 1.5rem;
      pointer-events: auto;
    }
    .nav-toggle { display: inline-flex; }
  }

  @media (max-width: 720px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-links {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem 1.25rem;
    }
    .footer-links .footer-col:last-child { grid-column: 1 / -1; }
    .hero canvas { opacity: 0.45; }
  }

  /* Clinician application page */
  .req-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    max-width: 44rem;
  }
  .req-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink-dim);
    font-size: 0.98rem;
  }
  .req-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--sea);
  }
  .apply-panel {
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    max-width: 40rem;
  }
  .form-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 1.25rem;
  }
  .form-row {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
  }
  .form-row label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
  }
  .form-row input,
  .form-row select,
  .form-row textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--bg);
    color: var(--ink);
  }
  .form-row input:focus,
  .form-row select:focus,
  .form-row textarea:focus {
    outline: 2px solid var(--brass);
    outline-offset: 1px;
    border-color: var(--sea);
  }
  .form-row textarea { resize: vertical; }
  .field-hint { display: block; margin-top: 0.35rem; font-size: 0.76rem; color: var(--ink-dim); }
  .channel-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .channel-checks label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--ink-dim);
  }
  .form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
  }
  .form-success.is-visible { display: block; }
  .form-success .ok {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--sea);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
  }

  @media (max-width: 640px) {
    .form-grid-2 { grid-template-columns: 1fr; }
  }

  /* Sign-in modal */
  .signin-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(10,30,29,0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  }
  .signin-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease;
  }
  .signin-modal {
    position: relative;
    width: 100%;
    max-width: 25rem;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    background: var(--bg-raised);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.28s cubic-bezier(0.16,1,0.3,1);
  }
  .signin-overlay.is-open .signin-modal {
    transform: translateY(0) scale(1);
  }
  .signin-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: transparent;
    color: var(--ink-dim);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
  }
  .signin-close:hover { border-color: var(--sea); color: var(--sea); }
  .signin-tabs {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.2rem;
    margin-bottom: 1.5rem;
  }
  .signin-tabs[hidden] { display: none; }
  .signin-tab {
    border: none;
    background: transparent;
    color: var(--ink-dim);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
  }
  .signin-tab.is-active { background: var(--teal); color: var(--pearl-on-teal); }
  .signin-modal h2 { margin-bottom: 0.5rem; padding-right: 1.5rem; }
  .signin-sub { font-size: 0.92rem; margin-bottom: 1.5rem; }
  .signin-submit { width: 100%; justify-content: center; margin-top: 0.25rem; }
  .signin-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--ink-dim); text-align: center; }
  .signin-apply-note { margin-top: 0.9rem; font-size: 0.82rem; text-align: center; }
  .signin-apply-note a { color: var(--sea); font-weight: 600; }
  .signin-apply-note a:hover { color: var(--teal); text-decoration: underline; }
  .signin-name-row[hidden] { display: none; }
  .signin-dob-row[hidden] { display: none; }
  .signin-password-row[hidden] { display: none; }
  .signin-forgot-link {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    padding: 0;
    margin: -0.4rem 0 1.1rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sea);
    cursor: pointer;
  }
  .signin-forgot-link:hover { color: var(--teal); text-decoration: underline; }
  .signin-forgot-link[hidden] { display: none; }
  .signin-email-row[hidden] { display: none; }
  .btn:disabled { opacity: 0.5; cursor: not-allowed; }
  .signin-password-wrap { position: relative; }
  .signin-password-wrap input { padding-right: 2.6rem; width: 100%; }
  .signin-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--ink-dim);
    cursor: pointer;
  }
  .signin-password-toggle:hover { color: var(--sea); }
  .signin-password-toggle svg { width: 1.05rem; height: 1.05rem; }
  .signin-password-toggle .icon-eye-off { display: none; }
  .signin-password-toggle.is-visible .icon-eye { display: none; }
  .signin-password-toggle.is-visible .icon-eye-off { display: block; }

  @media (max-width: 480px) {
    .signin-modal { padding: 1.5rem; }
  }
