:root {
  --ink: #0c2340;
  --ink-soft: #3d5573;
  --blue: #1565c0;
  --blue-mid: #1a73c7;
  --blue-dark: #0d47a1;
  --navy: #0a2547;
  --navy-deep: #071a33;
  --ice: #e8f1fb;
  --mist: #f3f7fc;
  --paper: #ffffff;
  --line: rgba(12, 35, 64, 0.1);
  --line-strong: rgba(12, 35, 64, 0.16);
  --shadow: 0 18px 40px rgba(12, 35, 64, 0.08);
  --shadow-soft: 0 8px 24px rgba(12, 35, 64, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.6;
}

.landing {
  scroll-padding-top: 5.25rem;
}

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

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

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.25rem;
}

.brand,
.brand-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.brand img,
.brand-footer img {
  width: 36px;
  height: 32px;
  flex: 0 0 auto;
  max-width: none;
  object-fit: contain;
}

.nav-links {
  display: none;
  margin-left: auto;
  gap: 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink-soft);
}

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

.header-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible,
.field:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--blue);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn-outline:hover {
  box-shadow: inset 0 0 0 1px var(--blue);
  color: var(--blue-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #f4f8ff;
  padding: 2.4rem 0 2.6rem;
}

.landing .hero {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(920px 420px at 8% -20%, rgba(21, 101, 192, 0.42), transparent 58%),
    radial-gradient(720px 380px at 96% 118%, rgba(158, 197, 248, 0.2), transparent 52%),
    var(--navy);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy {
  padding-block: 0.4rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(21, 101, 192, 0.12);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #cfe3fb;
}

.hero h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.2rem);
  line-height: 1.1;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #9ec5f8;
}

.lede {
  margin-top: 1.1rem;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero .lede {
  color: rgba(244, 248, 255, 0.8);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero .btn-primary {
  background: #fff;
  color: var(--navy);
}

.hero .btn-primary:hover {
  background: var(--ice);
}

.hero .btn-outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.hero .turnera .btn-primary {
  background: var(--blue);
  color: #fff;
}

.hero .turnera .btn-primary:hover {
  background: var(--blue-dark);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
  list-style: none;
}

.chip,
.chips li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(244, 248, 255, 0.88);
}

.turnera {
  background: var(--paper);
  color: var(--ink);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: 0 24px 50px rgba(7, 26, 51, 0.28);
}

.turnera-kicker {
  margin-bottom: 0.45rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.turnera h2 {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.turnera p {
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
}

.turnera-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
}

.field,
select.form-select,
textarea.field {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.band {
  padding: 2rem 0;
}

.landing .band {
  padding: 5rem 0;
  scroll-margin-top: 5.25rem;
}

.band-ice {
  background: var(--ice);
}

.band-mist {
  background: var(--mist);
}

.band-quiet {
  background: var(--mist);
}

.band-navy {
  background: var(--navy);
  color: #f4f8ff;
}

.band-blue {
  background: var(--blue);
  color: #f4f8ff;
}

.band-head {
  display: grid;
  gap: 1rem 3rem;
  margin-bottom: 2.2rem;
  align-items: start;
}

.band-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

.band-head > p,
.band-head > div > p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 36rem;
}

.band-navy .band-head p,
.band-blue .band-head p,
.band-navy .muted,
.band-blue .muted,
.clinic-panel .band-head p,
.clinic-panel .muted {
  color: rgba(244, 248, 255, 0.78);
}

.band-navy .eyebrow,
.band-blue .eyebrow,
.clinic-panel .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #cfe3fb;
}

.clinic-panel {
  background:
    radial-gradient(720px 280px at 100% 0%, rgba(21, 101, 192, 0.28), transparent 50%),
    var(--navy);
  color: #f4f8ff;
  border-radius: calc(var(--radius) + 8px);
  padding: 2.4rem 1.6rem 1.8rem;
}

.clinic-panel .feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.clinic-panel .feature p {
  color: rgba(244, 248, 255, 0.76);
}

.features,
.steps {
  display: grid;
  gap: 1.15rem;
  list-style: none;
}

.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.45rem;
  box-shadow: var(--shadow-soft);
}

.feature h3 {
  font-size: 1.15rem;
  margin: 0.7rem 0 0.45rem;
}

.steps .feature h3 {
  min-height: 2.5em;
}

.feature p,
.muted {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 1.15rem;
  margin: 0.35rem 0 0.35rem;
}

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

.step-num {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--ice);
  color: var(--blue-dark);
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}

.split {
  display: grid;
  gap: 1.15rem;
}

.clinic-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.clinic-panel .btn-primary {
  background: #fff;
  color: var(--navy);
}

.clinic-panel .btn-primary:hover {
  background: var(--ice);
}

.clinic-panel .btn-outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.clinic-panel .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.band-navy .btn-primary {
  background: #3b82f6;
  color: #fff;
}

.band-navy .btn-primary:hover {
  background: #60a5fa;
  color: var(--navy);
}

.band-blue .btn-primary {
  background: #fff;
  color: var(--blue-dark);
}

.band-blue .btn-primary:hover {
  background: var(--ice);
}

.band-blue .btn-outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.cta-box {
  display: grid;
  gap: 1.4rem;
  padding: 0.4rem 0;
}

.landing .cta-box {
  justify-items: center;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.cta-box h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.landing .cta-box .muted {
  margin-top: 0.7rem;
}

.landing .cta-box .hero-actions {
  justify-content: center;
  margin-top: 0.2rem;
}

.site-footer {
  padding: 2.4rem 0 1.4rem;
  background: var(--navy-deep);
  color: #d5e4f6;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-grid h2 {
  font-family: Manrope, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  color: #9ec5f8;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: #c5d6eb;
  margin-top: 0.4rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8aa3c2;
  font-size: 0.84rem;
}

.page-main {
  padding: 2rem 0 3rem;
  background: var(--mist);
}

.page-main h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.2rem 0;
}

.progress span {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(12, 35, 64, 0.08);
}

.progress .is-on {
  background: var(--blue);
  color: #fff;
}

.slot-day {
  margin-bottom: 0.9rem;
}

.slot-day h3 {
  font-family: Manrope, sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.slot {
  display: inline-flex;
  padding: 0.42rem 0.65rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-weight: 700;
  font-size: 0.86rem;
}

.slot:hover,
.slot.is-on {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.slot.is-blocked {
  opacity: 0.45;
  pointer-events: none;
}

.errors,
.flash {
  background: #fff1e8;
  color: #8a3b1d;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.9rem;
}

.flashes {
  padding-top: 1rem;
}

.field-error {
  color: #8a3b1d;
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.help {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.summary {
  background: var(--ice);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 0.75rem;
}

.done-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  max-width: 40rem;
}

.modal-page {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 26, 51, 0.55);
}

.modal-card,
dialog.modal {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-radius: var(--radius);
  padding: 1.4rem;
  width: min(100%, 28rem);
  box-shadow: 0 18px 48px rgba(7, 26, 51, 0.28);
}

dialog.modal::backdrop {
  background: rgba(7, 26, 51, 0.55);
}

.modal-card h1,
dialog.modal h2 {
  font-size: 1.55rem;
}

.modal-card .lede,
dialog.modal .lede {
  margin-top: 0.55rem;
  margin-bottom: 0.9rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

body.has-modal {
  overflow: hidden;
}

@media (max-width: 799px) {
  .header-bar {
    min-height: 3.6rem;
    gap: 0.6rem;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .header-actions .btn {
    padding: 0.55rem 0.85rem;
  }

  .landing .hero {
    padding: 2.6rem 0 3rem;
  }

  .turnera {
    padding: 1.35rem 1.2rem 1.25rem;
  }

  .clinic-panel {
    padding: 1.6rem 1.15rem 1.3rem;
  }

  .steps .feature h3 {
    min-height: 0;
  }
}

@media (min-width: 800px) {
  .wrap {
    width: min(1120px, calc(100% - 4rem));
  }

  .nav-links {
    display: flex;
  }

  .header-actions {
    margin-left: 0;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
  }

  .hero h1 em {
    white-space: nowrap;
  }

  .split,
  .band-head {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .cta-box {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .landing .cta-box {
    grid-template-columns: 1fr;
  }

  .clinic-panel {
    padding: 3rem 2.6rem 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.7fr 0.7fr;
  }

  .steps,
  .features.four,
  .features.three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .landing .hero {
    padding: 5.5rem 0 6rem;
  }

  .steps,
  .features.four {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .features.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .clinic-panel .band-head {
    margin-bottom: 2rem;
  }
}

/* Landing: layout tipo turnero público. El resto de las páginas públicas conserva el CSS de arriba. */
.landing {
  background: #fff;
  color: var(--ink);
}

.landing h1,
.landing h2,
.landing h3,
.landing .tile-mark {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.landing .site-header {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  padding: 0.85rem 0 0;
}

.landing .header-bar {
  min-height: 3.7rem;
  padding: 0.3rem 0.35rem 0.3rem 1rem;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(21, 50, 100, 0.08);
}

.landing .nav-links a {
  color: #3d4f68;
  font-weight: 600;
  font-size: 0.92rem;
}

.landing .header-actions .btn {
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.landing .header-actions .btn-ghost {
  background: #eef3ff;
  color: var(--blue-dark);
}

.landing .header-actions .btn-ghost:hover {
  background: #e2ebff;
  color: var(--blue-dark);
}

.landing .hero {
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0.85rem auto 0;
  padding: 4.2rem 1.25rem 3.2rem;
  border-radius: 36px;
  text-align: center;
  color: var(--ink);
  background:
    radial-gradient(640px 280px at 50% -10%, rgba(21, 101, 192, 0.16), transparent 70%),
    linear-gradient(180deg, #eef3ff 0%, #f7f9ff 72%, #fbfcff 100%);
}

.landing .hero-center {
  max-width: 46rem;
}

.landing .pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--blue);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 1px 0 rgba(12, 35, 64, 0.04);
}

.landing .hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.45rem);
  line-height: 1.08;
  color: var(--ink);
}

.landing .hero h1 span,
.landing .section-head h2 span {
  color: var(--blue);
}

.landing .hero .lede {
  margin: 1.1rem auto 0;
  max-width: 38rem;
  color: #5c6d84;
  font-size: 1.05rem;
}

.landing .hero-actions {
  justify-content: center;
  margin-top: 1.6rem;
}

.landing .btn {
  border-radius: 12px;
  padding: 0.78rem 1.2rem;
}

.landing .btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(21, 101, 192, 0.22);
}

.landing .btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.landing .btn-soft {
  background: #e7eeff;
  color: var(--blue-dark);
}

.landing .btn-soft:hover {
  background: #dbe6ff;
  color: var(--navy);
}

.landing .hero .btn-primary,
.landing .hero .btn-primary:hover {
  background: var(--blue);
  color: #fff;
}

.landing .hero .btn-primary:hover {
  background: var(--blue-dark);
}

.landing .trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.7rem;
  margin-top: 1.8rem;
  list-style: none;
  color: #6a7c93;
  font-size: 0.84rem;
  font-weight: 600;
}

.landing .trust li {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

.landing .trust li:not(:last-child)::after {
  content: "·";
  margin-left: 0.7rem;
  color: #b7c3d4;
}

.landing .band {
  padding: 4.6rem 0 1rem;
}

.landing .band-tight {
  padding-top: 3.4rem;
}

.landing .section-head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.landing .section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.12;
}

.landing .section-head > p {
  margin-top: 0.75rem;
  color: #5c6d84;
  font-size: 1.02rem;
}

.landing .mosaic {
  display: grid;
  gap: 0.9rem;
}

.landing .tile {
  background: #f6f8fc;
  border: 0;
  border-radius: 22px;
  padding: 1.35rem 1.3rem 1.25rem;
  box-shadow: none;
}

.landing .tile h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.landing .tile p,
.landing .step p,
.landing .role p,
.landing .faq p {
  color: #5c6d84;
  font-size: 0.96rem;
}

.landing .tile-kicker {
  margin-bottom: 0.55rem;
  color: #8ea0b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing .tile-navy {
  background: var(--navy);
  color: #f4f8ff;
}

.landing .tile-navy .tile-kicker,
.landing .tile-navy p {
  color: rgba(244, 248, 255, 0.78);
}

.landing .tile-navy h3 {
  font-size: 1.65rem;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.landing .tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  list-style: none;
}

.landing .tile-tags li {
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.landing .tile-ice {
  background: #e7eeff;
}

.landing .tile-mark {
  margin: 0.15rem 0 0.35rem;
  color: var(--blue);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
}

.landing .tile-soft {
  background: #f3f6fb;
}

.landing .steps {
  display: grid;
  gap: 0.9rem;
  list-style: none;
}

.landing .step {
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 20px;
  padding: 1.2rem 1.15rem 1.15rem;
  box-shadow: none;
}

.landing .step h3 {
  font-size: 1.05rem;
  margin: 0.75rem 0 0.35rem;
  min-height: 0;
}

.landing .step .step-num {
  background: #e7eeff;
  color: var(--blue-dark);
}

.landing .roles {
  display: grid;
  gap: 0.9rem;
}

.landing .role {
  background: #f6f8fc;
  border-radius: 22px;
  padding: 0 0 1.2rem;
  overflow: hidden;
}

.landing .role-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px 22px 16px 16px;
  margin-bottom: 0.95rem;
}

.landing .role h3,
.landing .role p {
  padding-inline: 1.15rem;
}

.landing .role h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.landing .clinic-cta {
  justify-content: center;
  margin-top: 1.6rem;
}

.landing .faq {
  display: grid;
  gap: 0.65rem;
  max-width: 44rem;
  margin-inline: auto;
}

.landing .faq details {
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 16px;
  padding: 0.15rem 1.05rem;
}

.landing .faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1.6rem 0.9rem 0;
  font-weight: 700;
  position: relative;
}

.landing .faq summary::-webkit-details-marker {
  display: none;
}

.landing .faq summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #8aa0b8;
  border-bottom: 2px solid #8aa0b8;
  transform: translateY(-70%) rotate(45deg);
}

.landing .faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.landing .faq p {
  margin: 0 0 0.95rem;
}

.landing .closing {
  padding: 2.5rem 0 3.5rem;
}

.landing .closing-inner {
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
  padding: 3.4rem 1.4rem;
  border-radius: 36px;
  text-align: center;
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(21, 101, 192, 0.14), transparent 70%),
    linear-gradient(180deg, #eef3ff 0%, #f7f9ff 100%);
}

.landing .closing h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.landing .closing p {
  margin: 0.7rem auto 0;
  max-width: 32rem;
  color: #5c6d84;
}

.landing .site-footer {
  background: #fff;
  color: #5c6d84;
  border-top: 1px solid rgba(12, 35, 64, 0.08);
}

.landing .footer-grid h2 {
  color: var(--ink);
  letter-spacing: 0.04em;
}

.landing .footer-grid a,
.landing .footer-grid p,
.landing .footer-meta,
.landing .footer-meta a {
  color: #5c6d84;
}

.landing .footer-grid a:hover,
.landing .footer-meta a:hover {
  color: var(--blue);
}

.landing .footer-meta {
  border-top-color: rgba(12, 35, 64, 0.08);
}

@media (max-width: 799px) {
  .landing .site-header {
    padding-top: 0.55rem;
  }

  .landing .header-bar {
    border-radius: 18px;
    padding-left: 0.75rem;
  }

  .landing .hero,
  .landing .closing-inner {
    border-radius: 24px;
  }

  .landing .hero {
    padding: 2.6rem 1rem 2.2rem;
  }

  .landing .tile-navy h3 {
    font-size: 1.4rem;
  }
}

@media (min-width: 800px) {
  .landing .mosaic {
    grid-template-columns: 1.15fr 0.9fr 1fr;
    grid-template-areas:
      "tall ice soft"
      "tall agenda study";
  }

  .landing .tile-tall { grid-area: tall; }
  .landing .tile-ice { grid-area: ice; }
  .landing .tile-soft { grid-area: soft; }
  .landing .mosaic .tile:nth-child(4) { grid-area: agenda; }
  .landing .mosaic .tile:nth-child(5) { grid-area: study; }

  .landing .steps,
  .landing .roles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .landing .steps,
  .landing .roles {
    grid-template-columns: repeat(4, 1fr);
  }
}
