/* ============================================================
   MORC — Design tokens
   Color: warm clinical palette — ivory paper, deep teal, soft coral accent
   Type: Fraunces (display, used sparingly) + Inter (body/UI) + JetBrains Mono (data)
   ============================================================ */

:root {
  --ivory:        #FBF7F1;
  --ivory-deep:   #F3ECE2;
  --ink:          #1B2421;
  --ink-soft:     #4B5650;
  --teal:         #16463E;
  --teal-light:   #2E6F61;
  --coral:        #E8674A;
  --coral-soft:   #F3D9CE;
  --line:         #E2D9CB;
  --white:        #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 3px;
}

/* subtle paper noise for warmth */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.nav__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--teal);
  color: var(--ivory);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.nav__mark--img {
  background: transparent;
  object-fit: contain;
  padding: 0;
}

.nav__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--teal);
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.nav__links a:hover { color: var(--teal); }

.nav__cta {
  background: var(--teal);
  color: var(--ivory);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.nav__cta:hover { background: var(--teal-light); }

@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--coral);
  color: var(--ivory);
}
.btn--primary:hover { background: #d65a3d; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

.btn--lg { padding: 17px 34px; font-size: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 88px 24px 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 18px;
}

.eyebrow--center { text-align: center; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  font-weight: 500;
  margin: 0 0 22px;
  color: var(--teal);
}

.hero__title-accent { color: var(--ink); font-weight: 300; }

.hero__lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 34px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero__microcopy {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 34px;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 22px;
}

.proof__item { display: flex; flex-direction: column; }

.proof__num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--teal);
  font-weight: 600;
}

.proof__label {
  font-size: 12.5px;
  color: var(--ink-soft);
  max-width: 110px;
}

.proof__divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

/* Patient card visual */
.hero__card {
  display: flex;
  justify-content: center;
}

.patient-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 30px 60px -30px rgba(27, 36, 33, 0.25);
  transform: rotate(1.5deg);
}

.patient-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.patient-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--coral-soft);
  color: var(--coral);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.patient-card__name { margin: 0; font-weight: 600; font-size: 15px; }
.patient-card__sub { margin: 0; font-size: 12.5px; color: var(--ink-soft); }

.patient-card__tag {
  margin-left: auto;
  background: #E4F0E8;
  color: var(--teal-light);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.patient-card__row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 9px 0;
  border-top: 1px solid var(--ivory-deep);
  color: var(--ink-soft);
}

.patient-card__row strong { color: var(--ink); font-weight: 600; }
.patient-card__row strong.ok { color: var(--teal-light); }

.patient-card__alert {
  margin-top: 14px;
  background: var(--coral-soft);
  color: #B0432A;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero__lead { max-width: none; }
  .patient-card { transform: none; max-width: 420px; }
}

/* ============================================================
   PHONE MOCKUP (hero)
   ============================================================ */
.hero__card {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: 290px;
  background: var(--ink);
  border-radius: 38px;
  padding: 14px 10px;
  box-shadow: 0 40px 80px -30px rgba(27, 36, 33, 0.45);
  transform: rotate(2deg);
}

.phone-mock__notch {
  width: 70px;
  height: 18px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  margin: 0 auto -18px;
  position: relative;
  z-index: 2;
}

.phone-mock__screen {
  background: var(--ivory);
  border-radius: 28px;
  padding: 30px 16px 14px;
  overflow: hidden;
  position: relative;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-header__greet { margin: 0; font-size: 11px; color: var(--ink-soft); }
.app-header__name { margin: 0; font-size: 16px; font-weight: 600; color: var(--teal); }

.app-header__avatar {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--teal);
  color: var(--ivory);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
}

.app-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 14px 0 7px;
}

.app-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.app-summary__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 6px;
  text-align: center;
}

.app-summary__item .num {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
}
.app-summary__item .lbl {
  display: block;
  font-size: 9.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.app-patient-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.app-patient-card__top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.app-patient-card__avatar {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--coral-soft);
  color: var(--coral);
  display: grid; place-items: center;
  font-size: 10.5px; font-weight: 600;
  flex-shrink: 0;
}

.app-patient-card__info { flex-grow: 1; min-width: 0; }
.app-patient-card__info .name { margin: 0; font-size: 12px; font-weight: 600; }
.app-patient-card__info .sub { margin: 0; font-size: 10px; color: var(--ink-soft); }

.app-tag {
  background: #E4F0E8;
  color: var(--teal-light);
  font-size: 9px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 100px;
  white-space: nowrap;
}

.app-alert {
  margin-top: 9px;
  background: var(--coral-soft);
  color: #B0432A;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 9px;
  border-radius: 8px;
}

.app-mini-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 2px;
  border-top: 1px solid var(--ivory-deep);
  font-size: 11.5px;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--teal { background: var(--teal-light); }
.dot--coral { background: var(--coral); }
.dot--ink { background: var(--ink); }

.mini-name { flex-grow: 1; color: var(--ink); }
.mini-time { color: var(--ink-soft); font-family: var(--font-mono); font-size: 10.5px; }

.app-navbar {
  display: flex;
  justify-content: space-around;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.navbar__item {
  font-size: 15px;
  color: var(--ink-soft);
  opacity: 0.5;
}
.navbar__item--active {
  color: var(--teal);
  opacity: 1;
}

/* Floating chips around phone */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: 0 14px 28px -12px rgba(27, 36, 33, 0.2);
  white-space: nowrap;
}

.float-chip--top { top: 6%; right: -4%; }
.float-chip--bottom { bottom: 10%; left: -8%; }

.float-chip__icon { font-size: 14px; }

@media (max-width: 900px) {
  .float-chip { display: none; }
  .phone-mock { transform: none; }
}

/* ============================================================
   SHOWCASE (mini mockups)
   ============================================================ */
.showcase {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 24px;
}

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

.showcase__item h3 {
  font-size: 16.5px;
  margin: 22px 0 8px;
  color: var(--ink);
}

.showcase__item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.mini-mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  min-height: 230px;
}

.mini-mock__bar {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--teal);
  margin-bottom: 12px;
}

.mini-mock__search {
  background: var(--ivory-deep);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.mini-mock__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-top: 1px solid var(--ivory-deep);
  font-size: 11.5px;
}

.mini-mock__av {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 9.5px;
  font-weight: 600;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.mini-mock__av--coral { background: #E4F0E8; color: var(--teal-light); }
.mini-mock__av--ink { background: #ECE7DD; color: var(--ink-soft); }

.mini-mock__lines { flex-grow: 1; line-height: 1.4; color: var(--ink-soft); }
.mini-mock__lines b { color: var(--ink); font-weight: 600; }

.mini-mock__time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-soft);
}

/* calendar mini mock */
.mini-mock__cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}

.cal-day {
  font-size: 9px;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 600;
}

.cal-cell {
  font-size: 10.5px;
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
  color: var(--ink-soft);
  position: relative;
}

.cal-cell.dot-cell::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--teal-light);
}

.cal-cell.active-cell {
  background: var(--teal);
  color: var(--ivory);
  font-weight: 600;
}

.mini-mock__legend {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--ink-soft);
}

/* stats mini mock */
.mini-mock__bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 90px;
  margin-bottom: 14px;
  gap: 6px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  height: 100%;
  justify-content: flex-end;
}

.bar {
  width: 14px;
  background: var(--teal-light);
  opacity: 0.45;
  border-radius: 4px 4px 0 0;
}

.bar--active { opacity: 1; background: var(--teal); }

.bar-lbl {
  font-size: 8.5px;
  color: var(--ink-soft);
  margin-top: 5px;
}

.mini-mock__income {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--ivory-deep);
  padding-top: 12px;
}

.mini-mock__income div {
  display: flex;
  flex-direction: column;
}
.mini-mock__income .lbl { font-size: 10px; color: var(--ink-soft); }
.mini-mock__income .val { font-size: 15px; font-weight: 600; font-family: var(--font-display); }
.mini-mock__income .val.ok { color: var(--teal-light); }
.mini-mock__income .val.warn { color: var(--coral); }

@media (max-width: 900px) {
  .showcase__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   WHY MORC
   ============================================================ */
.why {
  background: var(--ivory-deep);
  padding: 96px 24px;
}

.why__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.why__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.why__card:last-child {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
}

.why__num {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 12px;
  line-height: 1;
}

.why__card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 600;
  line-height: 1.3;
}

.why__card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__card:last-child { grid-column: auto; max-width: none; margin: 0; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 24px;
}

.testimonials__disclaimer {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 48px;
  font-style: italic;
}

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

.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.testimonial__quote {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0 0 22px;
  flex-grow: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--coral-soft);
  color: var(--coral);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial__name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.testimonial__role {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

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

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  text-align: center;
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  color: var(--teal);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 24px;
}

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

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.feature__icon {
  font-size: 26px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
}

.feature p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ROLES
   ============================================================ */
.roles {
  background: var(--ivory-deep);
  padding: 96px 24px;
}

.roles__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.role-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}

.role-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.role-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

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

/* ============================================================
   FLOW
   ============================================================ */
.flow {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 24px;
}

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

.flow__step {
  border-top: 2px solid var(--teal);
  padding-top: 20px;
}

.flow__mark {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--coral);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.flow__step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--teal);
}

.flow__step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .flow__steps { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--teal);
  color: var(--ivory);
  text-align: center;
  padding: 100px 24px;
}

.cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 16px;
}

.cta p {
  font-size: 17px;
  color: #CFE0DA;
  max-width: 480px;
  margin: 0 auto 34px;
}

.cta__microcopy {
  font-size: 12.5px;
  color: #9FBEB5;
  margin: 18px 0 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px;
}

.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--coral);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item[open] summary::after { content: '–'; }

.faq__item p {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 600px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.footer__links a:hover { color: var(--teal); }

.footer__legal {
  max-width: var(--container);
  margin: 0 auto;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

/* ============================================================
   SUPPORT TOOLTIP
   ============================================================ */
.support-trigger {
  position: relative;
  cursor: pointer;
}

.support-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  right: -8px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  white-space: nowrap;
  display: none;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.3);
  z-index: 20;
}

.support-popover.is-open { display: flex; }

.support-popover::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 14px;
  border: 6px solid transparent;
  border-top-color: var(--ink);
}

.support-popover__label {
  color: #C9D6D2;
  font-size: 11px;
}

.support-popover__email {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ivory);
}

.support-popover__copy {
  background: var(--coral);
  color: var(--ivory);
  border: none;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.support-popover__copy:hover { background: #d65a3d; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.contact__form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-light);
}

.field textarea { resize: vertical; font-family: var(--font-body); }

.contact__submit {
  margin-top: 10px;
  width: 100%;
  border: none;
  cursor: pointer;
}

.contact__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact__microcopy {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0;
}

.contact__success {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 36px;
  text-align: center;
}

.contact__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--ivory);
  font-size: 26px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.contact__success h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--teal);
  font-weight: 500;
  margin: 0 0 10px;
}

.contact__success p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 28px;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero elements animate immediately on load, not on scroll */
.reveal-hero {
  opacity: 0;
  transform: translateY(16px);
  animation: revealHero 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealHero {
  to { opacity: 1; transform: translateY(0); }
}

/* Respect users who disable motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-hero {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/* Subtle hover lift on interactive cards, ties in with the reveal motion language */
.feature,
.why__card,
.testimonial,
.role-card,
.price-card,
.mini-mock {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover,
.why__card:hover,
.testimonial:hover,
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -18px rgba(27, 36, 33, 0.18);
}
/* ============================================================
   LEGAL / PRICING PAGES (shared)
   ============================================================ */
.page-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--teal);
  font-weight: 500;
  margin: 0 0 12px;
}

.page-header p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--teal);
  font-weight: 500;
  margin: 40px 0 14px;
}

.legal h2:first-of-type { margin-top: 0; }

.legal p, .legal li {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.legal ul { padding-left: 20px; }

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

.legal__updated {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--coral);
  text-align: center;
  display: block;
  margin-bottom: 8px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 100px;
}

.pricing__toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: var(--coral);
  position: relative;
}

.price-card__badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--coral);
  color: var(--ivory);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
}

.price-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--teal);
  margin: 0 0 6px;
}

.price-card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price-card__amount .num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  color: var(--ink);
}

.price-card__amount .period {
  font-size: 14px;
  color: var(--ink-soft);
}

.price-card__save {
  font-size: 13px;
  color: var(--teal-light);
  font-weight: 600;
  margin-bottom: 28px;
}

.price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex-grow: 1;
}

.price-card__features li {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 9px 0;
  border-top: 1px solid var(--ivory-deep);
  display: flex;
  gap: 10px;
}

.price-card__features li::before {
  content: '✓';
  color: var(--teal-light);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card .btn { width: 100%; }

.pricing__note {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 32px;
}

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