:root {
  color-scheme: light;
  --ink: #172033;
  --ink-soft: #3d4b5c;
  --muted: #6b7787;
  --paper: #fffdf8;
  --paper-strong: #ffffff;
  --wash: #f6f1e6;
  --rice: #fbf7ed;
  --line: #dfd6c5;
  --jade: #2c8a74;
  --jade-dark: #17695b;
  --cinnabar: #d64b3f;
  --lacquer: #8f2e29;
  --gold: #d7a342;
  --navy: #14243a;
  --shadow: 0 20px 48px rgba(41, 51, 72, 0.12);
  --sidebar: 292px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(214, 75, 63, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(44, 138, 116, 0.04) 1px, transparent 1px),
    var(--wash);
  background-size: 44px 44px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

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

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

h1,
h2,
h3,
p,
a,
button,
label,
span,
li {
  overflow-wrap: anywhere;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 100vh;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(251, 247, 237, 0.94)),
    var(--paper);
  border-right: 1px solid rgba(143, 46, 41, 0.14);
  box-shadow: 18px 0 44px rgba(41, 51, 72, 0.05);
}

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

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--rice);
  border: 1px solid rgba(214, 75, 63, 0.18);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-weight: 800;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.side-nav a:hover,
.side-nav a:focus-visible,
.side-nav a.is-active {
  background: #ffffff;
  color: var(--lacquer);
  outline: 1px solid rgba(214, 75, 63, 0.16);
  transform: translateX(2px);
}

.launch-card {
  margin-top: auto;
  padding: 20px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(44, 138, 116, 0.12), rgba(214, 75, 63, 0.08)),
    #ffffff;
  border: 1px solid rgba(44, 138, 116, 0.18);
}

.launch-card span,
.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--jade-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.launch-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.launch-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.main {
  min-width: 0;
  padding: 28px clamp(18px, 4vw, 58px) 54px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  padding: 12px 0 20px;
  background:
    linear-gradient(180deg, rgba(246, 241, 230, 0.96), rgba(246, 241, 230, 0.82) 72%, rgba(246, 241, 230, 0));
  backdrop-filter: blur(8px);
}

.topbar h1 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 2.25rem);
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.topbar-action,
.button,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.topbar-action,
.button.primary {
  color: #ffffff;
  background: var(--cinnabar);
  box-shadow: 0 14px 26px rgba(214, 75, 63, 0.22);
}

.topbar-action.secondary {
  color: var(--lacquer);
  background: #ffffff;
  border: 1px solid rgba(214, 75, 63, 0.18);
  box-shadow: none;
}

.button.secondary,
.card-action {
  color: var(--lacquer);
  background: #ffffff;
  border: 1px solid rgba(214, 75, 63, 0.18);
}

.card-action {
  width: 100%;
  margin-top: 18px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
  gap: 30px;
  align-items: stretch;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.95), rgba(251, 247, 237, 0.82)),
    #ffffff;
  border: 1px solid rgba(214, 75, 63, 0.12);
  box-shadow: var(--shadow);
}

.hero-panel img {
  order: 2;
  width: 100%;
  min-height: 360px;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(20, 36, 58, 0.16);
}

.hero-copy {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.metric-grid,
.membership-grid,
.value-grid,
.privacy-grid {
  display: grid;
  gap: 18px;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0;
}

.metric-grid article,
.membership-card,
.panel,
.faq-list details {
  border: 1px solid rgba(20, 36, 58, 0.08);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 12px 34px rgba(41, 51, 72, 0.08);
}

.metric-grid article {
  padding: 18px;
}

.metric-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-grid strong {
  display: block;
  color: var(--lacquer);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1;
}

.metric-grid p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.screen {
  padding-top: 56px;
  scroll-margin-top: 88px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 18px 48px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.panel-heading h2,
.value-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.panel-heading p:not(.eyebrow),
.value-panel p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

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

.membership-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 24px;
}

.membership-card.is-featured {
  background:
    linear-gradient(145deg, rgba(44, 138, 116, 0.12), rgba(255, 253, 248, 0.95)),
    #ffffff;
  border-color: rgba(44, 138, 116, 0.28);
}

.membership-card.is-selected {
  outline: 3px solid rgba(214, 75, 63, 0.22);
  border-color: rgba(214, 75, 63, 0.36);
}

.tier-label {
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 10px;
  color: var(--jade-dark);
  background: rgba(44, 138, 116, 0.11);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tier-label.is-warm {
  color: var(--lacquer);
  background: rgba(214, 75, 63, 0.1);
}

.membership-card h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.tier-copy {
  min-height: 74px;
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}

.tier-price strong {
  color: var(--lacquer);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.tier-price span {
  color: var(--muted);
  font-weight: 800;
}

.check-list,
.marker-grid,
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
}

.check-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.check-list li > span {
  width: 9px;
  height: 9px;
  margin-top: 0.48em;
  border-radius: 999px;
  background: var(--jade);
}

.tier-detail {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.explorer-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
}

.panel-tabs {
  display: grid;
  gap: 8px;
  align-content: start;
}

.tab-button {
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink-soft);
  font-weight: 900;
  text-align: left;
  border: 1px solid rgba(20, 36, 58, 0.08);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.88);
  cursor: pointer;
}

.tab-button.active {
  color: #ffffff;
  background: var(--jade);
  border-color: var(--jade);
}

.panel {
  padding: 24px;
}

.panel-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.detail-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.7vw, 2.4rem);
}

.detail-panel p:not(.eyebrow) {
  max-width: 720px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.panel-price-line {
  min-width: 190px;
  text-align: right;
}

.panel-price-line span {
  display: block;
  color: var(--lacquer);
  font-size: 1.7rem;
  font-weight: 950;
}

.panel-price-line small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

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

.marker-grid li {
  padding: 12px 14px;
  color: var(--ink-soft);
  background: #ffffff;
  border: 1px solid rgba(44, 138, 116, 0.12);
  border-radius: 14px;
  font-weight: 750;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
}

.selected-plan-card {
  position: sticky;
  top: 108px;
  align-self: start;
  background:
    linear-gradient(145deg, rgba(44, 138, 116, 0.12), rgba(214, 75, 63, 0.08)),
    rgba(255, 253, 248, 0.95);
}

.selected-plan-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.selected-plan-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--lacquer);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.selected-plan-card p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.signup-form {
  display: grid;
  gap: 16px;
}

.privacy-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 850;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(20, 36, 58, 0.14);
  border-radius: 14px;
}

.signup-form textarea {
  resize: vertical;
}

.consent-row {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-weight: 750;
}

.consent-row input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
  accent-color: var(--jade);
}

.signup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.signup-actions .button {
  min-width: 190px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--jade-dark);
  font-weight: 850;
}

.dashboard-lock,
.dashboard-hero,
.dashboard-grid,
.result-preview,
.empty-results {
  display: grid;
  gap: 18px;
}

.dashboard-lock,
.dashboard-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.dashboard-lock h3,
.dashboard-hero h3,
.dashboard-form h3,
.results-panel h3,
.security-panel h3 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
}

.dashboard-lock p,
.dashboard-hero p,
.dashboard-form p,
.results-panel p,
.security-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.dashboard-content {
  display: grid;
  gap: 18px;
}

.dashboard-hero {
  background:
    linear-gradient(145deg, rgba(44, 138, 116, 0.12), rgba(214, 75, 63, 0.07)),
    rgba(255, 253, 248, 0.96);
}

.dashboard-status {
  min-width: 220px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(44, 138, 116, 0.16);
  border-radius: 16px;
}

.dashboard-status span,
.result-preview span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-status strong {
  display: block;
  margin: 6px 0;
  color: var(--lacquer);
  font-size: 1.45rem;
}

.dashboard-status small {
  color: var(--ink-soft);
  font-weight: 800;
}

.dashboard-grid {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.dashboard-form {
  align-content: start;
  gap: 16px;
}

.dashboard-form,
.dashboard-form label {
  display: grid;
}

.dashboard-form label {
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 850;
}

.dashboard-form input,
.dashboard-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(20, 36, 58, 0.14);
  border-radius: 14px;
}

.empty-results {
  margin: 4px 0 18px;
  padding: 26px;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(215, 163, 66, 0.12), rgba(44, 138, 116, 0.08)),
    #ffffff;
  border: 1px solid rgba(215, 163, 66, 0.2);
  border-radius: 16px;
}

.empty-results strong {
  color: var(--lacquer);
  font-size: 1.25rem;
}

.empty-results span {
  color: var(--ink-soft);
}

.result-preview {
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-preview li {
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(20, 36, 58, 0.08);
  border-radius: 16px;
}

.result-preview strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
}

.secondary-dashboard-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
}

.compact-timeline li {
  background: #ffffff;
}

.security-panel {
  background:
    linear-gradient(145deg, rgba(20, 36, 58, 0.06), rgba(44, 138, 116, 0.09)),
    rgba(255, 253, 248, 0.94);
}

.is-hidden {
  display: none !important;
}

.lab-ops-shell {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.lab-ops-header,
.lab-orders-heading,
.lab-actions,
.lab-login-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lab-access-panel {
  max-width: 680px;
  margin: 48px auto;
}

.lab-login-form label { flex: 1; }
.lab-metrics { margin: 28px 0; }
.compact-button { padding: 9px 12px; white-space: nowrap; }
.preserve-lines { white-space: pre-line; }

.dashboard-page-main { min-height: 100vh; }
.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.dashboard-summary article { display: grid; gap: 5px; }
.dashboard-summary span { color: var(--muted); font-size: 0.82rem; }
.dashboard-summary strong { font-size: 1.35rem; color: var(--ink); }
.dashboard-summary p { margin: 0; }

@media (max-width: 720px) {
  .lab-ops-header,
  .lab-orders-heading,
  .lab-login-form { align-items: stretch; flex-direction: column; }
  .dashboard-summary { grid-template-columns: 1fr; }
}

/* Standalone member health dashboard */
.health-dashboard-body {
  margin: 0;
  background: #f5f7f6;
  color: #17231f;
}

.health-dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.health-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  box-sizing: border-box;
  padding: 28px 22px;
  background: #fff;
  border-right: 1px solid #e8ecea;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.health-brand,
.member-identity,
.health-top-actions,
.body-panel-heading,
.insight-heading,
.health-score-card,
.orders-strip-heading {
  display: flex;
  align-items: center;
}

.health-brand { gap: 11px; color: #111b17; text-decoration: none; }
.health-brand img { width: 34px; height: 34px; object-fit: contain; }
.health-brand span, .member-identity div { display: grid; }
.health-brand strong { font-size: 1.05rem; letter-spacing: -.02em; }
.health-brand small, .member-identity small { color: #8b9691; font-size: .72rem; }

.member-identity {
  gap: 10px;
  padding: 14px;
  border: 1px solid #edf0ee;
  background: #fafbfa;
  border-radius: 14px;
}
.member-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #075f48;
  background: #dff8ef;
  font-size: .75rem;
  font-weight: 750;
}
.member-identity strong { font-size: .82rem; }

.record-search { position: relative; display: block; }
.record-search span { position: absolute; left: 12px; top: 9px; color: #8c9692; }
.record-search input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #edf0ee;
  border-radius: 10px;
  padding: 10px 10px 10px 33px;
  background: #fafbfa;
  font: inherit;
  font-size: .77rem;
}

.record-nav { display: grid; gap: 4px; }
.record-nav p {
  margin: 0 0 7px 10px;
  color: #a1aaa6;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.record-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #66716c;
  font-size: .78rem;
  text-decoration: none;
}
.record-nav a:hover, .record-nav a.is-active { color: #15231d; background: #f3f7f5; font-weight: 650; }
.record-dot { width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 50%; }
.dot-neutral { color: #b4bcb8; }.dot-green { color: #00b981; }.dot-teal { color: #21b8b3; }
.dot-yellow { color: #e3bb26; }.dot-purple { color: #946ee8; }.dot-pink { color: #ef5fb7; }.dot-blue { color: #578de8; }
.back-to-site { margin-top: auto; color: #73807a; font-size: .74rem; text-decoration: none; }

.health-main { min-width: 0; padding: 0 42px 38px; }
.health-topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5eae7;
}
.health-topbar nav { display: flex; gap: 6px; padding: 4px; background: #111815; border-radius: 11px; }
.health-topbar nav a { padding: 8px 17px; color: #86908b; border-radius: 8px; font-size: .72rem; text-decoration: none; }
.health-topbar nav a.is-active { background: #fff; color: #121b17; }
.health-top-actions { gap: 12px; }
.privacy-pill, .optimal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e8fbf4;
  color: #07825f;
  font-size: .68rem;
  font-weight: 700;
}
.privacy-pill i { width: 6px; height: 6px; background: #00b981; border-radius: 50%; }
.optimal-pill[data-tone="teal"] { background: #e5f9f8; color: #0d8782; }
.optimal-pill[data-tone="yellow"] { background: #fff8dd; color: #9a7610; }
.optimal-pill[data-tone="purple"] { background: #f2edff; color: #7250c6; }
.optimal-pill[data-tone="pink"] { background: #ffebf6; color: #c63689; }
.health-top-actions button { border: 0; background: transparent; color: #55615c; font: inherit; font-size: .75rem; cursor: pointer; }

.health-lock {
  width: min(560px, calc(100% - 40px));
  margin: 11vh auto;
  padding: 56px;
  box-sizing: border-box;
  text-align: center;
  border: 1px solid #e4eae7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(21, 38, 31, .07);
}
.lock-icon { display: grid; width: 54px; height: 54px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: #e7faf3; color: #07966c; font-size: 1.5rem; }
.health-lock h1 { margin: 6px 0 10px; font-size: 2rem; letter-spacing: -.04em; }
.health-lock > p:not(.eyebrow) { color: #73807a; line-height: 1.6; }

.health-overview {
  display: grid;
  grid-template-columns: minmax(360px, .84fr) minmax(540px, 1.4fr);
  min-height: 680px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid #e5eae7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(22, 39, 32, .055);
}

.body-records-panel { position: relative; padding: 30px 34px 24px; border-right: 1px solid #edf0ee; background: linear-gradient(145deg, #fff 10%, #f7faf8); }
.body-panel-heading, .insight-heading, .orders-strip-heading { justify-content: space-between; gap: 20px; }
.body-panel-heading h1 { margin: 4px 0 0; font-size: 1.45rem; letter-spacing: -.035em; }
.last-updated { color: #9aa39f; font-size: .65rem; }
.body-map { position: relative; height: 500px; display: grid; place-items: center; isolation: isolate; }
.body-map::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 170px;
  height: 82%;
  top: 8%;
  left: calc(50% - 85px);
  border-radius: 48%;
  background: radial-gradient(ellipse, rgba(45, 220, 255, .34) 0%, rgba(67, 191, 255, .18) 42%, rgba(80, 198, 255, 0) 74%);
  filter: blur(19px);
  opacity: 0;
  transform: scale(.86);
  transition: opacity .3s ease, transform .35s ease;
  pointer-events: none;
}
.body-map[data-system="metabolic"]::before { opacity: 1; transform: scale(1); }
.body-anatomy-image {
  position: relative;
  z-index: 1;
  width: min(92%, 330px);
  height: 480px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.02) saturate(.9);
}
.body-map:not([data-system="heart"]) .body-anatomy-image { filter: grayscale(1) contrast(.96) opacity(.66); }
.body-map[data-system="metabolic"] .body-anatomy-image {
  filter: grayscale(1) contrast(.98) brightness(1.04) opacity(.72);
}
.organ-raster {
  position: absolute;
  z-index: 2;
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  transform: scale(.92);
  filter: drop-shadow(0 5px 10px rgba(65, 29, 19, .22));
  transition: opacity .28s ease, transform .32s ease;
}
.organ-raster.is-active { opacity: .94; transform: scale(1); }
.organ-liver-image {
  width: 62px;
  top: 31.5%;
  left: calc(50% - 41px);
  mix-blend-mode: multiply;
  filter: grayscale(1) sepia(1) saturate(6.4) hue-rotate(310deg) brightness(1.42)
    drop-shadow(0 0 5px rgba(255, 116, 123, .98))
    drop-shadow(0 0 15px rgba(246, 70, 89, .72));
}
.organ-liver-image.is-active { opacity: .72; }
.organ-liver-base {
  z-index: 1;
  opacity: .16;
  transform: scale(1);
  filter: grayscale(1) contrast(.72) brightness(1.22);
}
.body-map[data-system="liver"] .organ-liver-base { opacity: .09; }
.organ-thyroid-image {
  width: 36px;
  top: 17%;
  left: calc(50% - 18px);
  mix-blend-mode: multiply;
  filter: grayscale(1) sepia(1) saturate(7.5) hue-rotate(225deg) brightness(1.32)
    drop-shadow(0 0 5px rgba(192, 111, 255, .96))
    drop-shadow(0 0 14px rgba(136, 82, 233, .7));
}
.organ-thyroid-image.is-active { opacity: .76; }
.organ-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.organ-overlay [data-organ] { opacity: 0; transition: opacity .28s ease; }
.organ-overlay [data-organ].is-active { opacity: 1; }
.organ-overlay circle { fill: currentColor; opacity: .12; filter: blur(4px); }
.organ-overlay path { fill: currentColor; opacity: .88; filter: drop-shadow(0 4px 8px rgba(6, 91, 65, .2)); }
.organ-heart { color: #08bb84; }.organ-metabolic { color: #20b9b3; }.organ-liver { color: #ddb41a; }
.body-map[data-system="metabolic"] .organ-metabolic { opacity: 0; }
.organ-hormones { color: #8e6be2; }.organ-inflammation { color: #ef58ad; }
.body-callout {
  position: absolute;
  top: var(--callout-top, 35%);
  left: var(--callout-left, 59%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #dfe8e4;
  border-radius: 11px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 9px 28px rgba(12, 45, 33, .08);
  transition: top .3s ease, left .3s ease;
}
.body-callout i { width: 8px; height: 8px; border-radius: 50%; background: #00b981; box-shadow: 0 0 0 5px #dff9ef; }
.body-callout span { display: grid; }.body-callout strong { font-size: .7rem; }.body-callout small { color: #94a09a; font-size: .57rem; }
.system-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.system-summary div { display: grid; gap: 4px; padding: 12px; border: 1px solid #ebefed; border-radius: 11px; background: white; }
.system-summary span { color: #8e9994; font-size: .58rem; }.system-summary strong { font-size: 1rem; }

.health-insights { padding: 31px 38px; }
.insight-heading h2, .orders-strip h2 { margin: 3px 0 0; font-size: 1.35rem; letter-spacing: -.03em; }
.health-score-card { gap: 22px; margin: 24px 0 18px; padding: 19px 22px; border-radius: 16px; background: #f8fbf9; }
.health-score-card h3 { margin: 0 0 6px; font-size: .94rem; }.health-score-card p { margin: 0; color: #75817b; font-size: .72rem; line-height: 1.55; }
.score-ring { position: relative; display: grid; flex: 0 0 74px; height: 74px; place-items: center; border: 6px solid #1ed29b; border-right-color: #ff70c3; border-radius: 50%; box-sizing: border-box; }
.score-ring strong { font-size: 1.45rem; color: #08785a; }.score-ring span { position: absolute; bottom: -5px; right: -5px; padding: 3px 5px; border: 2px solid white; border-radius: 7px; background: #15231d; color: white; font-size: .54rem; }

.biomarker-list { border-top: 1px solid #edf0ee; }
.biomarker-row { display: grid; grid-template-columns: minmax(145px, 1.25fr) minmax(110px, .75fr) 120px; align-items: center; gap: 18px; min-height: 66px; border-bottom: 1px solid #edf0ee; }
.biomarker-row > div { display: grid; gap: 3px; }.biomarker-row strong { font-size: .76rem; }.biomarker-row small { color: #99a29e; font-size: .6rem; }
.marker-value { display: grid; gap: 3px; font-size: .68rem; }.marker-value b { font-size: .59rem; }.is-optimal b { color: #00a978; }.is-normal b { color: #c59b05; }.is-watch b { color: #e642a1; }
.biomarker-row svg { width: 120px; height: 34px; overflow: visible; }
.biomarker-row polyline { fill: none; stroke: #05bc87; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.yellow-chart polyline { stroke: #dfb922; }.pink-chart polyline { stroke: #ed5ab3; }

.orders-strip { margin-top: 22px; padding: 26px 30px; border: 1px solid #e5eae7; border-radius: 18px; background: #fff; }
.orders-strip-heading > span { color: #89948f; font-size: .7rem; }
.orders-strip .result-preview { margin-top: 18px; }
.health-footer { display: flex; justify-content: space-between; padding: 24px 4px 0; color: #97a19c; font-size: .66rem; }
.health-footer a { color: inherit; }

.action-plan-section {
  display: none;
  margin-top: 22px;
  padding: 32px;
  overflow: hidden;
  border-radius: 20px;
  background: #151a18;
  color: #f8faf9;
}

.action-plan-section:target { display: block; }
.health-dashboard-body:has(.action-plan-section:target) .health-overview,
.health-dashboard-body:has(.action-plan-section:target) .orders-strip { display: none; }
.action-plan-intro { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 40px; align-items: end; }
.action-plan-intro .eyebrow { margin: 14px 0 5px; color: #8f9b96; }
.action-plan-intro h2 { margin: 0; font-size: 2rem; letter-spacing: -.045em; }
.action-plan-lead { max-width: 650px; margin: 10px 0 0; color: #a8b1ad; font-size: .8rem; line-height: 1.6; }
.priority-label { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(245, 83, 172, .13); color: #ff70be; font-size: .63rem; font-weight: 700; }
.plan-progress { display: grid; gap: 8px; }
.plan-progress > div { display: flex; align-items: baseline; justify-content: space-between; }
.plan-progress strong { font-size: 1.35rem; }.plan-progress span, .plan-progress small { color: #939d99; font-size: .66rem; }
.progress-track { display: block; height: 4px; overflow: hidden; border-radius: 999px; background: #343b38; }
.progress-track i { display: block; width: 60%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #16d39c, #ff60ba); }
.action-plan-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 16px; margin-top: 28px; }
.plan-card { padding: 22px; border: 1px solid #343b38; border-radius: 16px; background: #202624; }
.plan-card-primary { padding: 25px; background: #f7f9f8; color: #16221d; }
.plan-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.plan-card-heading span, .plan-card-kicker { color: #8b9691; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plan-card h3 { margin: 5px 0 0; font-size: 1.1rem; letter-spacing: -.025em; }
.plan-card-primary > p { margin: 10px 0 20px; color: #73807a; font-size: .72rem; }
.plan-week { padding: 6px 9px; border-radius: 999px; background: #e1f8ef; color: #087a5b !important; white-space: nowrap; }
.plan-checklist { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.plan-checklist li { position: relative; display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid #e2e7e4; }
.plan-checklist li > i { display: grid; flex: 0 0 25px; height: 25px; place-items: center; border: 1px solid #d1dad6; border-radius: 50%; color: #68736e; font-size: .65rem; font-style: normal; font-weight: 750; }
.plan-checklist li.is-complete > i { border-color: #00b981; background: #00b981; color: white; }
.plan-checklist li span { display: grid; gap: 3px; }.plan-checklist li strong { font-size: .72rem; }.plan-checklist li small { color: #8d9792; font-size: .62rem; }
.protocol-button { width: 100%; margin-top: 17px; padding: 12px 15px; display: flex; justify-content: space-between; border: 0; border-radius: 10px; background: #151b18; color: white; font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; }
.plan-side-stack { display: grid; gap: 16px; }
.plan-side-stack .plan-card h3 { margin-bottom: 14px; color: white; font-size: .9rem; }
.symptom-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.symptom-chips span { padding: 7px 9px; border: 1px solid #3c4541; border-radius: 999px; color: #bac2be; font-size: .62rem; }
.affected-markers { display: grid; gap: 0; }
.affected-markers > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 11px 0; border-top: 1px solid #343b38; font-size: .64rem; }
.affected-markers > div:first-of-type { margin-top: 12px; }
.affected-markers strong { color: #d9dfdc; font-size: .6rem; }.affected-markers .marker-high { color: #ff68b8; }.affected-markers .marker-optimal { color: #2bd6a4; }
.care-team-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 16px; border-radius: 14px; background: #2a302e; }
.care-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #e4f8f0; color: #087759; font-size: .67rem; font-weight: 800; }
.care-team-card div { display: grid; gap: 2px; }.care-team-card small, .care-team-card span { color: #8f9995; font-size: .55rem; }.care-team-card strong { font-size: .69rem; }
.care-team-card button { border: 0; background: transparent; color: #a9b3ae; font-size: 1rem; cursor: pointer; }

@media (max-width: 1080px) {
  .health-dashboard-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .health-sidebar { padding: 22px 14px; }
  .health-main { padding: 0 22px 30px; }
  .health-overview { grid-template-columns: 1fr; }
  .body-records-panel { border-right: 0; border-bottom: 1px solid #edf0ee; }
  .body-map { height: 410px; }.body-anatomy-image { height: 400px; }
  .organ-liver-image { width: 53px; }
  .organ-thyroid-image { width: 31px; }
  .action-plan-grid { grid-template-columns: 1fr; }
  .plan-side-stack { grid-template-columns: repeat(2, 1fr); }
  .care-team-card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .health-dashboard-shell { display: block; }
  .health-sidebar { position: static; width: 100%; height: auto; padding: 16px 18px; flex-direction: row; align-items: center; }
  .member-identity, .record-search, .record-nav, .back-to-site { display: none; }
  .health-main { padding: 0 14px 24px; }
  .health-topbar { height: auto; padding: 14px 0; gap: 10px; }
  .health-topbar nav a { padding: 7px 9px; }
  .privacy-pill { display: none; }
  .body-records-panel, .health-insights { padding: 23px 19px; }
  .system-summary { grid-template-columns: 1fr; }
  .biomarker-row { grid-template-columns: 1fr 90px; padding: 12px 0; }
  .biomarker-row svg { grid-column: 1 / -1; width: 100%; }
  .health-score-card { align-items: flex-start; }
  .action-plan-section { padding: 24px 18px; }
  .action-plan-intro { grid-template-columns: 1fr; gap: 22px; }
  .plan-side-stack { grid-template-columns: 1fr; }
  .care-team-card { grid-column: auto; }
}

/* Public opening page — clinical dashboard direction */
.clinical-landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, .8fr) minmax(570px, 1.25fr);
  gap: 48px;
  align-items: center;
  min-height: 610px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid #e3e9e6;
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 20%, rgba(27, 211, 154, .08), transparent 27%),
    linear-gradient(145deg, #fbfdfc, #f3f7f5);
  box-shadow: 0 24px 70px rgba(19, 43, 33, .07);
}
.clinical-landing-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(11, 141, 101, .09);
  border-radius: 50%;
  pointer-events: none;
}
.clinical-hero-copy { position: relative; z-index: 1; }
.clinical-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 19px;
  color: #087c5e;
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.clinical-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #12c895; box-shadow: 0 0 0 5px rgba(18, 200, 149, .12); }
.clinical-hero-copy h2 { max-width: 620px; margin: 0; font-size: clamp(2.8rem, 4.5vw, 5rem); line-height: .98; letter-spacing: -.065em; }
.clinical-hero-copy > p { max-width: 560px; margin: 24px 0 0; color: #62716a; font-size: 1rem; line-height: 1.7; }
.clinical-hero-copy .hero-actions { margin-top: 30px; }
.clinical-trust-row { display: flex; flex-wrap: wrap; gap: 15px 22px; margin-top: 28px; color: #6f7d76; font-size: .68rem; }
.clinical-trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.clinical-trust-row i { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: #def8ef; color: #048460; font-size: .58rem; font-style: normal; font-weight: 900; }

.landing-health-preview {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #e1e7e4;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 65px rgba(20, 47, 36, .12);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center right;
}
.landing-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 23px; border-bottom: 1px solid #edf0ee; }
.landing-preview-top > div { display: grid; gap: 4px; }.landing-preview-top > div span { color: #07906a; font-size: .57rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.landing-preview-top > div strong { font-size: .98rem; letter-spacing: -.025em; }
.landing-preview-grid { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 415px; }
.landing-body-map { position: relative; display: grid; place-items: center; border-right: 1px solid #edf0ee; background: linear-gradient(150deg, #fff, #f7faf8); }
.landing-body-map img { width: 82%; height: 370px; object-fit: contain; mix-blend-mode: multiply; }
.landing-body-map > span { position: absolute; top: 35%; left: 59%; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #e1e8e4; border-radius: 9px; background: rgba(255,255,255,.94); box-shadow: 0 8px 22px rgba(22, 51, 39, .09); font-size: .61rem; font-weight: 750; }
.landing-body-map > span i { width: 7px; height: 7px; border-radius: 50%; background: #05bc88; box-shadow: 0 0 0 4px #dff9ef; }
.landing-marker-panel { padding: 21px 23px 18px; }
.landing-score { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 13px; background: #f6faf8; }
.landing-score > .score-ring { flex-basis: 57px; height: 57px; border-width: 5px; }
.landing-score .score-ring strong { font-size: 1.1rem; }.landing-score .score-ring small { position: absolute; right: -5px; bottom: -3px; padding: 2px 4px; border: 2px solid #fff; border-radius: 5px; background: #17231f; color: white; font-size: .45rem; }
.landing-score > div { display: grid; gap: 3px; }.landing-score > div strong { font-size: .75rem; }.landing-score > div small { color: #87928d; font-size: .58rem; }
.landing-marker-row { display: grid; grid-template-columns: minmax(110px, 1fr) 55px 90px; align-items: center; gap: 9px; min-height: 62px; border-bottom: 1px solid #edf0ee; }
.landing-marker-row > span { display: grid; gap: 4px; }.landing-marker-row strong { font-size: .65rem; }.landing-marker-row small { color: #929d98; font-size: .52rem; }
.landing-marker-row b { font-size: .54rem; }.marker-good { color: #00a878; }.marker-watch { color: #ec4ba8; }
.landing-marker-row svg { width: 90px; height: 28px; overflow: visible; }.landing-marker-row polyline { fill: none; stroke: #06b984; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.landing-marker-row .pink-chart polyline { stroke: #ef5ab4; }
.landing-marker-panel > a { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; color: #18241f; font-size: .62rem; font-weight: 780; text-decoration: none; }

@media (max-width: 1180px) {
  .clinical-landing-hero { grid-template-columns: 1fr; padding: 40px; }
  .clinical-hero-copy { max-width: 760px; }
  .landing-health-preview { transform: none; }
}

@media (max-width: 700px) {
  .clinical-landing-hero { min-height: auto; padding: 30px 20px; border-radius: 18px; }
  .clinical-hero-copy h2 { font-size: 3rem; }
  .clinical-hero-copy .hero-actions { display: grid; }
  .landing-health-preview { display: none; }
  .clinical-trust-row { display: grid; }
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(20, 36, 58, 0.09);
}

th {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  color: var(--ink-soft);
}

td:first-child {
  color: var(--ink);
  font-weight: 900;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 18px;
}

.panel-heading {
  margin-bottom: 18px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(20, 36, 58, 0.08);
  border-radius: 16px;
}

.timeline li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--lacquer);
  background: rgba(214, 75, 63, 0.1);
  border-radius: 999px;
  font-weight: 950;
}

.timeline strong {
  display: block;
  margin-bottom: 4px;
}

.timeline p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.value-panel {
  background:
    linear-gradient(145deg, rgba(44, 138, 116, 0.12), rgba(214, 75, 63, 0.06)),
    rgba(255, 253, 248, 0.92);
}

.mini-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mini-grid article {
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(44, 138, 116, 0.14);
  border-radius: 16px;
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid span {
  margin-top: 6px;
  color: var(--ink-soft);
}

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

.faq-list details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-weight: 950;
}

details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 54px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 950;
}

@media (max-width: 1060px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 18px;
    gap: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(143, 46, 41, 0.14);
  }

  .side-nav {
    display: flex;
    flex-wrap: wrap;
  }

  .side-nav a {
    flex: 1 1 120px;
    text-align: center;
  }

  .launch-card {
    margin-top: 0;
  }

  .hero-panel,
  .section-heading,
  .explorer-layout,
  .split-layout,
  .signup-layout,
  .dashboard-lock,
  .dashboard-hero,
  .dashboard-grid,
  .secondary-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel img {
    order: 1;
    min-height: 260px;
  }

  .hero-copy {
    order: 2;
  }

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

  .panel-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tab-button {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .main {
    padding: 18px 14px 40px;
  }

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

  .topbar-actions,
  .topbar-action {
    width: 100%;
  }

  .hero-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-panel img {
    min-height: 210px;
    border-radius: 18px;
  }

  .hero-copy h2 {
    font-size: clamp(2rem, 13vw, 3.4rem);
  }

  .hero-actions,
  .signup-actions,
  .site-footer,
  .panel-detail-head {
    flex-direction: column;
  }

  .button,
  .card-action {
    width: 100%;
  }

  .metric-grid,
  .membership-grid,
  .panel-tabs,
  .marker-grid,
  .result-preview {
    grid-template-columns: 1fr;
  }

  .membership-card {
    min-height: auto;
  }

  .selected-plan-card {
    position: static;
  }

  .panel-price-line {
    min-width: 0;
    text-align: left;
  }

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