:root {
  --ink: #12263a;
  --ink-soft: #3d5368;
  --navy: #163a5f;
  --navy-deep: #0d2742;
  --blue: #2a6fdb;
  --blue-soft: #e8f1ff;
  --mint: #3aa981;
  --mint-soft: #e4f6ee;
  --sage: #6f8f7c;
  --paper: #f5f7f4;
  --white: #ffffff;
  --line: #dbe5dd;
  --line-strong: #c5d2c9;
  --gold: #b0894d;
  --danger: #c45c4a;
  --shadow: 0 18px 50px rgba(18, 38, 58, 0.08);
  --shadow-lg: 0 30px 70px rgba(18, 38, 58, 0.14);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 76px;
  --font-serif: "Fraunces", "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid rgba(42, 111, 219, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.container-narrow {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--mint);
}

h1,
h2,
h3,
.display {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy-deep);
  margin: 0 0 0.6em;
}

.display {
  font-size: clamp(2.7rem, 6.4vw, 5.1rem);
  font-weight: 560;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 560;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 560;
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.muted {
  color: var(--ink-soft);
}

.tiny {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(245, 247, 244, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-deep);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.12rem;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, box-shadow 0.28s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 39, 66, 0.18);
}

.btn-primary:hover {
  background: #13324f;
  color: #fff;
  box-shadow: 0 16px 36px rgba(13, 39, 66, 0.24);
}

.btn-mint {
  background: var(--mint);
  color: #073226;
}

.btn-mint:hover {
  background: #2f9873;
  color: #073226;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}

.btn-lg {
  padding: 0.95rem 1.45rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
}

.hero-mesh {
  position: absolute;
  inset: -18% -8% auto;
  height: 780px;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(58, 169, 129, 0.22), transparent 42%),
    radial-gradient(ellipse at 88% 8%, rgba(42, 111, 219, 0.18), transparent 40%),
    radial-gradient(ellipse at 70% 70%, rgba(176, 137, 77, 0.1), transparent 36%);
  pointer-events: none;
  animation: mesh-drift 18s ease-in-out infinite alternate;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p {
  margin-top: 0;
}

.hero-copy > * {
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.26s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.38s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.5s; }

.hero-card-wrap {
  width: min(100%, 390px);
  margin-left: auto;
  animation: card-enter 1.05s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both, card-float 6.5s 1.4s ease-in-out infinite;
}

.membership-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 4.8s 1.6s ease-in-out infinite;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hero-meta strong {
  color: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: 460px;
}

.membership-card {
  position: relative;
  width: 100%;
  margin-left: 0;
  border-radius: 28px;
  padding: 26px 26px 22px;
  color: #eef7f2;
  background:
    linear-gradient(155deg, #12324f 0%, #1c5c6b 52%, #2f8f78 120%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-4deg);
}

.membership-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.card-top,
.card-mid,
.card-bottom {
  position: relative;
  z-index: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-brand {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.card-status {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  padding: 5px 10px;
  border-radius: 999px;
}

.card-name {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  margin: 36px 0 4px;
  letter-spacing: -0.03em;
}

.card-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  opacity: 0.86;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 34px;
}

.card-bottom span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.qr {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}

.membership-card-live {
  transform: none;
  margin: 0 auto;
}

.qr-live {
  width: 72px;
  height: 72px;
  overflow: hidden;
}

.qr-live svg {
  width: 100%;
  height: 100%;
  display: block;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.inline-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.inline-actions input {
  min-width: 140px;
}

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
}

.float-appt {
  left: 0;
  bottom: 28px;
  width: 230px;
  animation: pop-left 0.85s 0.55s cubic-bezier(0.22, 1, 0.36, 1) both, bob-left 5.4s 1.5s ease-in-out infinite;
}

.float-secure {
  right: 8px;
  top: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  animation: pop-right 0.85s 0.72s cubic-bezier(0.22, 1, 0.36, 1) both, bob-right 6s 1.7s ease-in-out infinite;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}

.float-card strong {
  display: block;
  font-size: 0.92rem;
}

.float-card span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -18px;
  padding-bottom: 20px;
}

.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step,
.bento-item,
.doctor-card,
.plan,
.faq-item,
.panel,
.legal,
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step {
  padding: 26px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 18px;
}

.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-item {
  padding: 26px;
  min-height: 180px;
}

.bento-item.wide {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background:
    linear-gradient(180deg, rgba(232, 241, 255, 0.7), #fff 48%),
    #fff;
}

.icon-blob {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--mint-soft);
  margin-bottom: 16px;
}

.icon-blob.blue {
  background: var(--blue-soft);
}

.doctors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.doctor-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.doctor-photo {
  height: 210px;
  border-radius: 16px;
  display: grid;
  place-items: end start;
  padding: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.doctor-photo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.photo-chip {
  position: relative;
  background: rgba(13, 39, 66, 0.72);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  background: var(--navy-deep);
  color: #edf4ee;
  border-color: var(--navy-deep);
  transform: translateY(-10px);
}

.plan.featured h3,
.plan.featured .price {
  color: #fff;
}

.plan-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 10px;
}

.price {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  letter-spacing: -0.04em;
  margin: 8px 0 4px;
}

.price span {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: inherit;
  opacity: 0.7;
}

.plan ul {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan li {
  padding: 8px 0 8px 22px;
  position: relative;
}

.plan li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  position: absolute;
  left: 0;
  top: 14px;
}

.safety {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.safety-panel {
  background: var(--navy-deep);
  color: #dce8e1;
  border-radius: 28px;
  padding: 32px;
}

.safety-panel h2 {
  color: #fff;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  font: inherit;
  font-weight: 700;
  color: var(--navy-deep);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--ink-soft);
  display: none;
}

.faq-item.is-open p {
  display: block;
}

.cta-band {
  background:
    linear-gradient(135deg, #12324f, #1f6d68);
  color: #e7f3ec;
  border-radius: 32px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

/* Page hero */
.page-hero {
  padding: 56px 0 20px;
}

.page-hero p {
  max-width: 40rem;
}

/* Forms */
.auth-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
}

.auth-visual {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(58, 169, 129, 0.28), transparent 45%),
    linear-gradient(160deg, #12324f, #1b5a62);
  color: #e8f3ec;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.auth-visual h1 {
  color: #fff;
}

.auth-form {
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.form-card {
  width: min(440px, 100%);
  padding: 32px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  margin-bottom: 14px;
}

.form-card-wide {
  width: min(720px, 100%);
}

.note-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  white-space: pre-wrap;
}

.note-private {
  margin-top: 14px;
  background: var(--blue-soft);
  border-radius: 14px;
  padding: 14px 16px;
}

body[data-page="visit-room"] .site-header,
body[data-page="visit-room"] .site-footer,
body[data-page="visit-room"] .care-dock {
  display: none !important;
}

body[data-page="visit-room"] main {
  padding: 0 !important;
}

.visit-call {
  position: relative;
  min-height: calc(100vh - 120px);
  margin: 0 auto 32px;
  max-width: 980px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #163a5f, #0d2742);
  color: #fff;
}

body[data-page="visit-room"] .visit-call {
  min-height: 100vh;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

.visit-lobby {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 32px 24px 120px;
  text-align: center;
  background: linear-gradient(180deg, #163a5f, #0d2742);
}

.visit-lobby[hidden] {
  display: none;
}

.visit-lobby h1 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.visit-lobby p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 26rem;
}

.visit-lobby-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.visit-lobby .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.visit-remote,
.visit-waiting {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-waiting {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(180deg, #163a5f, #0d2742);
  z-index: 1;
}

.visit-local {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 122px;
  height: 164px;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: #0d2742;
  z-index: 2;
}

.visit-local-off {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
}

.visit-local[hidden],
.visit-local-off[hidden] {
  display: none;
}

.visit-back {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.visit-call-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 96px;
  text-align: center;
  z-index: 2;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.visit-call-meta h1 {
  margin: 0;
  color: #fff;
  font-size: 32px;
}

.visit-call-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.visit-icon,
.visit-end,
.visit-timer {
  min-width: 56px;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.visit-icon svg,
.visit-end svg,
.visit-back svg {
  width: 22px;
  height: 22px;
}

.visit-icon[hidden],
.visit-local[hidden],
.visit-local-off[hidden],
.visit-waiting[hidden],
.visit-lobby[hidden] {
  display: none !important;
}

.visit-icon.is-off {
  background: rgba(0, 0, 0, 0.35);
}

.visit-timer {
  display: grid;
  place-items: center;
  padding: 0 16px;
  border-radius: 18px;
}

.visit-end,
.visit-end-form .visit-end {
  background: #e53935;
}

.visit-end-form {
  margin: 0;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.visit-pane {
  min-height: 220px;
  background: linear-gradient(180deg, #163a5f, #0d2742);
  color: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.visit-pane.is-you {
  background: linear-gradient(180deg, #2a6fdb, #163a5f);
}

.visit-pane .tiny,
.visit-presence {
  color: rgba(255, 255, 255, 0.75);
}

.visit-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 720px) {
  .visit-grid {
    grid-template-columns: 1fr;
  }
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  margin: 8px 0 16px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}

.stepper {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.stepper span {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: var(--line);
}

.stepper span.is-done,
.stepper span.is-current {
  background: var(--mint);
}

.step-panel[hidden] {
  display: none;
}

.plan-option {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.plan-option label {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 600;
  cursor: pointer;
}

.plan-option input {
  width: auto;
  margin: 0 10px 0 0;
}

.plan-option label:has(input:checked) {
  border-color: var(--mint);
  background: var(--mint-soft);
}

.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-grid label {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chip {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.chip.is-active {
  background: var(--navy-deep);
  color: #fff;
  border-color: var(--navy-deep);
}

.legal {
  padding: 32px;
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 1.4em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.panel {
  padding: 28px;
}

.status-banner {
  background: #fff6e8;
  border: 1px solid #ead7b3;
  color: #6a4b16;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.duty-calendar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px;
}

.duty-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: var(--ink-soft, #3d5368);
  font-size: 0.92rem;
}

.duty-legend .swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: -1px;
}

.duty-legend .mine { background: #2a6fdb; }
.duty-legend .taken { background: #c45c4a; }
.duty-legend .open { background: #dbe5dd; }

.header-actions { position: relative; }

.notice-bell {
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.notice-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c45c4a;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
}

.notice-panel {
  position: absolute;
  top: 50px;
  right: 0;
  width: min(360px, 80vw);
  max-height: 420px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(18, 38, 58, 0.12);
  padding: 14px;
  z-index: 30;
  text-align: left;
}

.notice-panel-title {
  margin: 0 0 8px;
  font-weight: 700;
}

.notice-item {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.notice-item p { margin: 4px 0 0; }

.notice-item.is-unread strong { color: #2a6fdb; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Footer */
.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: #eef3ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-grid h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
}

.footer-grid a,
.footer-grid p {
  color: var(--ink-soft);
  text-decoration: none;
  display: block;
  margin: 8px 0;
  font-size: 0.92rem;
}

.disclaimer {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.reveal {
  animation: rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal:nth-child(2) {
  animation-delay: 0.1s;
}

.reveal:nth-child(3) {
  animation-delay: 0.2s;
}

.reveal:nth-child(4) {
  animation-delay: 0.3s;
}

.motion-ok [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), translate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

.motion-ok [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

.doctor-card,
.plan,
.trust-item,
.step {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.2s ease;
}

.doctor-card:hover,
.plan:hover,
.trust-item:hover,
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.plan.featured:hover {
  transform: translateY(-16px);
}

@media (max-width: 960px) {
  .hero-grid,
  .bento,
  .trust-row,
  .steps,
  .doctors,
  .plans,
  .safety,
  .auth-shell,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .bento-item.wide,
  .plan.featured {
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }

  .hero-stage {
    min-height: 420px;
  }

  .membership-card,
  .hero-card-wrap,
  .float-appt {
    margin: 0 auto;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links,
  .header-actions .btn-ghost {
    display: none;
  }

  .site-header.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 22px 22px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }

  .cta-band,
  .section-head,
  .form-row,
  .pay-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }
}

.nav-login {
  display: none;
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-side {
  background: var(--navy-deep);
  color: #edf4ee;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-side a {
  color: #dce8e1;
  text-decoration: none;
  font-weight: 600;
}

.admin-main {
  min-width: 0;
  padding: 36px;
  background: var(--paper);
}

.admin-page-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.admin-page-head h1 {
  margin-bottom: 0.25em;
}

.module-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 18px;
  min-width: 128px;
}

.module-summary strong {
  display: block;
  font-size: 1.4rem;
  color: var(--navy-deep);
  line-height: 1.1;
}

.module-summary span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.field-validation-error,
.validation-summary-errors {
  color: var(--danger);
  font-size: 0.9rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 24px;
}

.module-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.module-card.is-off {
  background: #f7f8f6;
  border-style: dashed;
}

.module-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  background: var(--blue-soft);
  flex: 0 0 auto;
}

.module-card.is-off .module-icon {
  background: #eceeea;
  color: var(--ink-soft);
}

.module-icon svg {
  width: 22px;
  height: 22px;
}

.module-status {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: 999px;
  padding: 6px 10px;
}

.module-card.is-off .module-status {
  color: #7a5a20;
  background: #fff3dc;
}

.module-card h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.module-card p {
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.module-card form,
.module-card button {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 960px) {
  .nav-login {
    display: list-item;
  }

  .admin-shell,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 16px 18px;
  }

  .admin-side .brand {
    width: 100%;
    margin-bottom: 4px !important;
  }

  .admin-side .nav-label {
    width: 100%;
    margin-top: 6px;
  }

  .admin-side form {
    margin-left: auto;
  }

  .admin-side .btn {
    margin-top: 0 !important;
  }

  .admin-main {
    padding: 20px 16px 36px;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) and (max-width: 960px) {
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 961px) {
  .nav-login {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .hero-orb,
  .register-card,
  .step-enter,
  .confirm-burst,
  .stepper span.is-current {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

body[data-page="register"] {
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(42, 111, 219, 0.16), transparent 55%),
    radial-gradient(900px 380px at 110% 0%, rgba(58, 169, 129, 0.18), transparent 50%),
    var(--paper);
}

.register-hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-orb-one {
  width: 180px;
  height: 180px;
  background: rgba(42, 111, 219, 0.22);
  top: -40px;
  right: 8%;
  animation: floaty 8s ease-in-out infinite;
}

.hero-orb-two {
  width: 120px;
  height: 120px;
  background: rgba(58, 169, 129, 0.22);
  left: 6%;
  bottom: -20px;
  animation: floaty 10s ease-in-out infinite reverse;
}

.register-card {
  animation: rise-in 0.7s ease both;
  box-shadow: var(--shadow-lg);
}

.step-enter {
  animation: step-in 0.45s ease both;
}

.stepper span {
  transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.stepper span.is-current {
  transform: scaleY(1.4);
  box-shadow: 0 0 0 4px rgba(58, 169, 129, 0.18);
  animation: pulse-bar 1.6s ease-in-out infinite;
}

.plan-option label,
.pay-grid label {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-option label:hover,
.pay-grid label:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.confirm-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.confirm-burst {
  position: absolute;
  inset: 10% auto auto 50%;
  width: 220px;
  height: 220px;
  margin-left: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 169, 129, 0.28), transparent 70%);
  animation: burst 1.2s ease-out both;
  pointer-events: none;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes mesh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(42px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

@keyframes pop-left {
  from { opacity: 0; transform: translate(-18px, 16px) rotate(3deg); }
  to { opacity: 1; transform: rotate(3deg); }
}

@keyframes bob-left {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-8px); }
}

@keyframes pop-right {
  from { opacity: 0; transform: translate(18px, -12px) rotate(2deg); }
  to { opacity: 1; transform: rotate(2deg); }
}

@keyframes bob-right {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(8px); }
}

@keyframes step-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}

@keyframes pulse-bar {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

@keyframes burst {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

.nav-label {
  margin-top: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8eab9b;
}

.content-editor {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 22px;
}

.content-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-row {
  display: flex;
  gap: 16px;
  margin: 12px 0 20px;
}

.filter-row a {
  font-weight: 700;
}

.filter-row a.is-current {
  color: var(--blue);
}

.inquiry-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: min(380px, calc(100vw - 24px));
}

.inquiry-toggle {
  margin-left: auto;
  display: block;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.inquiry-panel {
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  max-height: min(70vh, 640px);
  overflow: auto;
}

.inquiry-panel header p,
.chat-bubble p {
  margin: 4px 0 0;
}

.chat-log {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.chat-log-admin {
  margin-bottom: 20px;
}

.chat-bubble {
  border-radius: 16px;
  padding: 10px 12px;
  white-space: pre-wrap;
}

.chat-bubble.assistant {
  background: var(--blue-soft);
}

.chat-bubble.visitor {
  background: var(--mint-soft);
}

.inquiry-panel form {
  display: grid;
  gap: 6px;
}

/* Care workspace — larger, simpler patient and clinician screens */
.care-mode {
  font-size: 1.12rem;
}

.care-mode .nav-links a {
  font-size: 1.02rem;
  padding: 10px 12px;
}

.care-hero {
  padding: 40px 0 18px;
}

.care-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.12;
  max-width: 18ch;
}

.care-hero .lead {
  font-size: 1.2rem;
  max-width: 44rem;
  margin-bottom: 22px;
}

.care-wide {
  width: min(1080px, calc(100% - 40px));
}

.btn-xl {
  min-height: 56px;
  padding: 1rem 1.45rem;
  font-size: 1.08rem;
  width: 100%;
}

.care-filters .chip {
  padding: 12px 18px;
  font-size: 1rem;
}

.care-doctors {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.care-spec-card {
  padding: 22px;
  min-height: 100%;
}

.care-spec-card h3 {
  font-size: 1.55rem;
}

.care-spec-card .doctor-photo {
  height: 180px;
}

.care-spec-card .btn {
  margin-top: 6px;
}

.care-calendar {
  padding: 18px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.care-calendar .fc {
  font-size: 1.05rem;
}

.care-calendar .fc-toolbar-title {
  font-size: 1.5rem;
  font-weight: 800;
}

.care-calendar .fc-button {
  padding: 8px 14px !important;
  font-size: 1rem !important;
  border-radius: 12px !important;
  text-transform: none !important;
}

.care-calendar .fc-daygrid-day-frame {
  min-height: 92px;
}

.care-legend {
  font-size: 1.05rem;
  gap: 20px;
  margin-bottom: 16px;
}

.care-legend .swatch {
  width: 16px;
  height: 16px;
}

.care-banner,
.empty-care {
  font-size: 1.08rem;
  padding: 20px 22px;
  border-radius: 22px;
}

.empty-care {
  background: #fff;
  border: 1px solid var(--line);
  text-align: left;
}

.empty-care h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.empty-care .btn {
  margin-top: 18px;
  max-width: 360px;
}

.visit-board {
  display: grid;
  gap: 16px;
}

.visit-card {
  display: grid;
  grid-template-columns: 88px 1fr minmax(220px, 0.7fr);
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.visit-when {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--blue-soft);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  align-content: center;
}

.visit-when strong {
  font-size: 2rem;
  line-height: 1;
}

.visit-when span {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visit-body h2 {
  margin: 8px 0 4px;
  font-size: 1.45rem;
}

.visit-body p {
  margin: 0;
  color: var(--ink-soft);
}

.visit-actions {
  display: grid;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-wait { background: #fff6e8; color: #6a4b16; }
.pill-go { background: var(--mint-soft); color: #0d4a36; }
.pill-done { background: var(--blue-soft); color: var(--navy-deep); }
.pill-muted { background: #eceeea; color: var(--ink-soft); }

.form-card-care {
  width: min(640px, 100%);
  padding: 36px;
  border-radius: 28px;
}

.form-card-care label {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.form-card-care input,
.form-card-care select {
  min-height: 56px;
  font-size: 1.08rem;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.form-card-care .btn + .btn {
  margin-top: 10px;
}

.slot-heading {
  font-weight: 800;
  margin: 4px 0 10px;
}

.slot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.slot-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  background: var(--mint);
}

.slot-dot.is-taken {
  background: #c5d0da;
}

.slot-dot.is-yours {
  background: var(--blue);
}

.slot-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.slot-board.is-loading {
  opacity: 0.55;
}

.slot-chip {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.slot-chip strong {
  font-size: 0.98rem;
}

.slot-chip span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mint);
}

.slot-chip.is-on {
  border-color: var(--navy);
  background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(42, 111, 219, 0.18);
}

.slot-chip.is-taken,
.slot-chip:disabled {
  background: #eef2f5;
  color: #7d8b97;
  cursor: not-allowed;
}

.slot-chip.is-taken span,
.slot-chip:disabled span {
  color: #8aa0b3;
}

.slot-chip.is-yours {
  background: #e8f1ff;
  cursor: not-allowed;
}

.slot-chip.is-yours span {
  color: var(--blue);
}

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 28px;
}

.workspace-tile {
  display: grid;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 24px;
  min-height: 180px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}

.workspace-tile:hover {
  color: inherit;
  border-color: var(--blue);
  transform: translateY(-3px);
}

.workspace-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}

.workspace-tile strong {
  font-size: 1.55rem;
  line-height: 1.2;
}

.workspace-tile span:last-child {
  color: var(--ink-soft);
}

.care-stats {
  margin-top: 12px;
}

.care-stats .trust-item strong {
  font-size: 2rem;
}

.care-hint {
  margin-top: 22px;
  color: var(--ink-soft);
}

.care-card-live {
  max-width: 640px;
}

.care-card-live .qr-live {
  width: 96px;
  height: 96px;
}

[x-cloak] { display: none !important; }

.care-mode {
  background: #eff4fb;
}

.care-mode main {
  padding-bottom: 96px;
}

.care-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.care-hello {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.care-hello h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.care-hello p,
.care-lead {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.care-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
  max-width: 18ch;
}

.care-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #2a6fdb, #163a5f);
  flex: 0 0 auto;
}

.care-avatar.lg {
  width: 64px;
  height: 64px;
  font-size: 1.4rem;
}

.care-avatar.xl {
  width: 88px;
  height: 88px;
  font-size: 2rem;
}

.care-upcoming {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 26px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.care-upcoming h2 {
  margin: 0;
  font-size: 1.25rem;
}

.care-upcoming p {
  margin: 2px 0 0;
  color: var(--ink-soft);
}

.care-upcoming-meta {
  color: var(--blue) !important;
  font-weight: 700;
  font-size: 0.92rem;
}

.care-upcoming-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2a6fdb;
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
}

.care-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 12px;
}

.care-section-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.care-section-head a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
}

.care-spec-tile {
  display: grid;
  align-content: start;
  min-height: 180px;
  border-radius: 24px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}

.care-spec-tile strong {
  margin-top: 28px;
  font-size: 1.2rem;
}

.care-spec-tile span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.care-spec-tile em {
  margin-top: 10px;
  font-style: normal;
  font-weight: 800;
  font-size: 1.15rem;
}

.care-spec-tile.is-blue { background: #e8f1ff; color: #163a5f; }
.care-spec-tile.is-navy { background: #e8eef4; color: #163a5f; }
.care-spec-tile.is-mint { background: #e4f6ee; color: #0d4a36; }
.care-spec-tile.is-lilac { background: #eef0ff; color: #3b3f8a; }

.care-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 22px;
  padding: 4px 16px;
  margin: 8px 0 16px;
  box-shadow: var(--shadow);
}

.care-search input {
  border: 0;
  width: 100%;
  min-height: 52px;
  background: transparent;
  outline: none;
}

.care-panel i,
.empty-care i {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  color: var(--blue);
}

.care-banner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-xl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.care-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 30;
  width: min(560px, calc(100% - 32px));
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(22, 58, 95, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 8px;
}

.care-dock a {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 56px;
}

.care-dock a.is-on {
  color: var(--blue);
}

.care-dock-plus {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff !important;
  display: grid;
  place-items: center;
}

.care-mode .site-footer {
  display: none;
}

.workspace-tile i {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

@media (max-width: 900px) {
  .visit-card,
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .visit-when {
    width: 72px;
    height: 72px;
  }

  .btn-xl {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .register-card,
  .step-enter,
  .hero-orb,
  .confirm-burst,
  .stepper span.is-current,
  .hero-mesh,
  .hero-copy > *,
  .hero-card-wrap,
  .membership-card::after,
  .float-appt,
  .float-secure {
    animation: none !important;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .module-card:hover {
    transform: none;
  }

  .motion-ok [data-reveal],
  .motion-ok [data-reveal].is-in {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}
