:root {
  --ink: #09211f;
  --muted: #47605c;
  --teal: #008fb0;
  --teal-dark: #006d8c;
  --blue: #0878b8;
  --blue-dark: #064d76;
  --green: #79db4f;
  --green-dark: #1f8f3c;
  --cream: #f6f1e8;
  --paper: #fffaf2;
  --line: rgba(9, 33, 31, 0.16);
  --shadow: 0 24px 70px rgba(5, 36, 32, 0.16);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: clip;
}

body.clinic {
  background: var(--cream);
  color: var(--ink);
}

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

a {
  color: inherit;
}

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

.site-header {
  position: relative;
  z-index: 3;
  padding: 24px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-lockup img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-lockup.logo-wide img {
  width: min(196px, 46vw);
  height: auto;
  max-height: 58px;
}

.brand-lockup strong {
  display: block;
  font-size: clamp(1rem, 2vw, 1.18rem);
  letter-spacing: -0.02em;
}

.brand-lockup span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.clinic .brand-lockup span {
  color: rgba(255, 250, 242, 0.7);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 0.82rem 1.1rem;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 999px;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.green {
  background: var(--green);
  border-color: var(--green);
  color: #082019;
}

.button.blue {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.button.full {
  width: 100%;
  min-height: 58px;
  font-size: 1.04rem;
}

.hero {
  padding: 44px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.clinic .eyebrow {
  color: var(--green-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5.2vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.clinic h1 {
  max-width: 18ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.02;
}

.lede {
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 620;
}

.clinic .lede {
  color: var(--muted);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  right: -18px;
  bottom: -34px;
  width: min(360px, 88%);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 130px;
  height: auto;
  margin-bottom: 16px;
  border: 0;
  box-shadow: none;
  min-height: 0;
}

.hero-card p {
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  margin-top: 34px;
}

.stat {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.section.light {
  background: var(--paper);
  color: var(--ink);
}

.section.teal {
  background: #064d76;
  color: #fffaf2;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 6vw, 90px);
  align-items: start;
}

.split h2,
.wide-title {
  font-size: clamp(1.85rem, 3.8vw, 3.45rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.card {
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.75);
  padding: clamp(20px, 3vw, 30px);
}

.card h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.teal .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.teal .card p {
  color: rgba(255, 250, 242, 0.76);
}

.teal .eyebrow {
  color: #9fe0ff;
}

.teal .lede {
  color: rgba(255, 250, 242, 0.85);
}

.teal .wide-title,
.teal .leave-item h3 {
  color: #fffaf2;
}

.image-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.image-band img {
  width: 100%;
  height: clamp(300px, 38vw, 520px);
  object-fit: cover;
}

.image-band img:nth-child(2) {
  margin-top: clamp(40px, 8vw, 110px);
}

.advisor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}

.advisor {
  flex: 1 1 calc(25% - 15px);
  max-width: calc(25% - 15px);
  border: 1px solid rgba(9, 33, 31, 0.14);
  border-radius: 16px;
  background: var(--paper);
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(5, 36, 32, 0.06);
}

.advisor-portrait {
  aspect-ratio: 4 / 4.4;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 40% 32%, rgba(0, 143, 176, 0.24), transparent 9rem),
    linear-gradient(145deg, #dcefea, #f6f1e8);
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  font-size: 3rem;
  font-weight: 950;
}

.advisor-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clinic .advisor-portrait {
  background:
    radial-gradient(circle at 40% 32%, rgba(121, 219, 79, 0.28), transparent 9rem),
    linear-gradient(145deg, #dcefea, #f6f1e8);
}

.advisor-body {
  padding: 20px 20px 22px;
}

.advisor-body h3 {
  font-size: 1.18rem;
  line-height: 1.12;
  margin-bottom: 4px;
}

.advisor-body .role {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.advisor-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.advisor-body p:not(.role) {
  line-height: 1.55;
}

.vs-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(255, 250, 242, 0.18);
  background: rgba(255, 250, 242, 0.08);
  padding: clamp(18px, 3vw, 26px);
}

.vs-banner img {
  width: min(230px, 44vw);
  height: auto;
  filter: brightness(0) invert(1);
}

.vs-banner p {
  color: rgba(255, 250, 242, 0.78);
  margin: 0;
}

.clinic-shell {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
}

.clinic-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
  padding: 34px 0 80px;
}

.clinic-copy {
  position: sticky;
  top: 24px;
  min-width: 0;
  padding-top: clamp(30px, 8vh, 96px);
}

.clinic-copy .brand-lockup {
  margin-bottom: clamp(46px, 9vh, 110px);
}

.clinic-copy .brand-lockup img {
  background: rgba(255, 250, 242, 0.96);
  border-radius: 14px;
  padding: 5px;
}

.clinic-copy .brand-lockup strong {
  color: #fff;
}

.clinic-copy .stats {
  border-color: var(--line);
}

.clinic-copy .stat {
  border-color: var(--line);
}

.clinic-copy .stat span {
  color: var(--green-dark);
}

.checkout-panel {
  min-width: 0;
  margin-top: clamp(70px, 13vh, 150px);
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 20px;
  padding: clamp(26px, 4vw, 52px);
  box-shadow: var(--shadow);
}

.checkout-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.checkout-panel p {
  color: var(--muted);
  font-weight: 650;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0 22px;
}

.price {
  color: var(--green-dark);
  font-size: clamp(2.35rem, 5vw, 4.05rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.currency-select,
.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  padding: 0.78rem 0.95rem;
  font: inherit;
  font-weight: 780;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(31, 143, 60, 0.16);
}

.currency-select {
  max-width: 250px;
  border-radius: 999px;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.method-label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.form-field textarea {
  min-height: 88px;
  resize: vertical;
}

.field-error,
.form-status {
  min-height: 1.2em;
  color: #c0392b;
  font-size: 0.86rem;
  font-weight: 800;
}

.payment-methods {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.method-button {
  min-height: 54px;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.08);
  color: #fffaf2;
  padding: 0.78rem 1.08rem;
  text-align: left;
  cursor: pointer;
}

.method-button strong,
.method-button span {
  display: block;
}

.method-button span {
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.method-button[aria-pressed="true"] {
  background: var(--green);
  color: var(--ink);
  border-color: var(--green);
}

.method-button[aria-pressed="true"] span {
  color: rgba(9, 33, 31, 0.74);
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.clinic-footer .button.secondary {
  border-color: rgba(255, 250, 242, 0.45);
  color: #fffaf2;
}

.clinic-footer .button.secondary:hover,
.clinic-footer .button.secondary:focus-visible {
  background: rgba(255, 250, 242, 0.1);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  min-height: 54px;
  border-radius: 999px;
  background: #25d366;
  color: #051f15;
  padding: 0.75rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.success-card {
  min-height: 72vh;
  display: grid;
  align-content: center;
  padding: 80px 0;
}

.success-card .panel {
  max-width: 760px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 58px);
}

/* Two-logo brand lockup (ERDC + AI SME Clinic) */
.brand-duo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: #fffaf2;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(5, 36, 32, 0.22);
  text-decoration: none;
}

.brand-duo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.brand-duo-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(9, 33, 31, 0.16);
}

.clinic-copy .brand-duo {
  margin-bottom: clamp(30px, 6vh, 56px);
}

/* Checkout panel supporting text */
.price-note {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-bottom: 8px;
  text-align: end;
}

.field-hint {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.secure-note {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

/* Hosted-on VarsityScape bar (light) */
.hosted-bar-wrap {
  padding: 8px 0 24px;
}

.hosted-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: #fffaf2;
  border: 1px solid rgba(9, 33, 31, 0.1);
  border-radius: 14px;
  padding: 16px clamp(18px, 3vw, 28px);
}

.hosted-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hosted-bar img {
  height: 24px;
  width: auto;
  /* The logo asset is white (built for dark backgrounds); this bar is light,
     so render it as a muted dark mark for legibility. */
  filter: brightness(0);
  opacity: 0.7;
}

.hosted-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  flex: 1 1 240px;
  min-width: 0;
}

/* Shared section headers */
.section-intro {
  max-width: 62ch;
  margin-top: 18px;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 12px;
}

.section-intro p:last-child {
  margin-bottom: 0;
}

.section-lead {
  max-width: 60ch;
  margin-top: 16px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* "Inside the Business Clinic" — 2 per row */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  border: 1px solid rgba(9, 33, 31, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  padding: clamp(24px, 3vw, 34px);
}

.step-num {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-card h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--muted);
  margin-bottom: 0;
}

/* "What you leave with" — dark accent section */
.leave-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.leave-item {
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.05);
  padding: clamp(20px, 2.6vw, 28px);
}

.leave-item h3 {
  font-size: 1.16rem;
  line-height: 1.12;
  margin-bottom: 10px;
}

.leave-item p {
  color: rgba(255, 250, 242, 0.74);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.faq-item {
  border: 1px solid rgba(9, 33, 31, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  padding: clamp(22px, 2.8vw, 30px);
}

.faq-item h3 {
  font-size: 1.14rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* Clinic footer */
.clinic-footer {
  padding: clamp(40px, 6vw, 68px) 0;
  background: var(--ink);
  color: #fffaf2;
  border-top: 0;
}

.clinic-footer .footer-tagline {
  color: #fffaf2;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 40px;
  width: auto;
  background: #fffaf2;
  border-radius: 10px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.footer-tagline {
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.footer-powered {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-twl {
  height: 22px;
  width: auto;
  background: #fffaf2;
  border-radius: 6px;
  padding: 4px;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Thank-you page next steps */
.next-steps {
  margin: 26px 0 8px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(121, 219, 79, 0.4);
  border-radius: 16px;
  background: rgba(121, 219, 79, 0.08);
}

.next-steps-title {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.next-steps-list {
  margin: 0 0 14px;
  padding-inline-start: 20px;
  display: grid;
  gap: 8px;
}

.next-steps-list li {
  color: var(--ink);
}

.next-steps-deadline {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Landing: promo bar */
.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 11px 20px;
  background: var(--ink);
  color: #fffaf2;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.promo-tag {
  background: var(--green);
  color: #082019;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-text {
  color: rgba(255, 250, 242, 0.9);
}

.promo-cta {
  color: var(--green);
  font-weight: 900;
}

/* Landing: hero CTAs */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* Landing: partner strip */
.partner-strip {
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.partner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.partner-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-logo {
  height: 30px;
  width: auto;
}

.partner-name {
  font-weight: 900;
  letter-spacing: -0.01em;
}

/* Landing: closing CTA band */
.cta-band {
  padding: clamp(48px, 7vw, 88px) 0;
  background: #064d76;
  color: #fffaf2;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-band-inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.cta-band-inner p {
  margin: 0;
  color: rgba(255, 250, 242, 0.82);
  font-weight: 650;
}

/* Landing: footer */
.landing-footer {
  background: var(--ink);
  color: #fffaf2;
  padding: clamp(48px, 6vw, 72px) 0 28px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.landing-footer .brand-lockup img {
  background: #fffaf2;
  border-radius: 10px;
  padding: 5px;
}

.landing-footer .brand-lockup strong {
  color: #fffaf2;
}

.landing-footer .brand-lockup span {
  color: rgba(255, 250, 242, 0.6);
}

.footer-col-brand p {
  margin: 16px 0 0;
  color: rgba(255, 250, 242, 0.66);
  font-size: 0.94rem;
  max-width: 42ch;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, 0.5);
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 250, 242, 0.86);
  text-decoration: none;
  font-weight: 650;
}

.footer-col a:hover {
  color: var(--green);
}

.footer-partner-logo {
  height: 26px;
  width: auto;
  background: #fffaf2;
  border-radius: 6px;
  padding: 5px 7px;
}

.footer-partner-name {
  margin: 10px 0 0;
  color: rgba(255, 250, 242, 0.66);
  font-size: 0.88rem;
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 242, 0.14);
}

.footer-base p {
  margin: 0;
  color: rgba(255, 250, 242, 0.56);
  font-size: 0.86rem;
}

.footer-base a {
  color: var(--green);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .clinic-hero {
    grid-template-columns: 1fr;
  }

  .clinic-copy {
    position: static;
  }

  .checkout-panel {
    margin-top: 0;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advisor {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .image-band {
    grid-template-columns: 1fr;
  }

  .image-band img:nth-child(2) {
    margin-top: 0;
  }

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

@media (max-width: 640px) {
  .shell,
  .clinic-shell {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    align-items: center;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    min-width: 220px;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-actions.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 10px;
    border-bottom: 0;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    background: rgba(8, 120, 184, 0.08);
    border-bottom: 0;
  }

  .nav-actions .button {
    width: 100%;
    margin-top: 4px;
  }

  .brand-lockup img {
    width: 48px;
    height: 48px;
  }

  .brand-lockup.logo-wide {
    align-items: flex-start;
  }

  .brand-lockup.logo-wide img {
    width: min(154px, 46vw);
    max-height: 48px;
  }

  .hero {
    padding-top: 18px;
  }

  h1,
  .clinic h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.05rem);
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -24px;
    width: calc(100% - 18px);
    margin-left: 9px;
  }

  .stats,
  .cards,
  .form-grid,
  .grid-2,
  .leave-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .advisor {
    flex: 1 1 100%;
    max-width: 420px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .price-row {
    display: grid;
    justify-content: stretch;
  }

  .checkout-panel {
    box-shadow: none;
  }

  .currency-select {
    max-width: none;
  }

  .vs-banner {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .whatsapp-float span {
    font-size: 1.65rem;
  }
}
