:root {
  --ink: #171b18;
  --muted: #68716b;
  --soft: #8d948f;
  --ivory: #fbfaf6;
  --paper: #f2efe8;
  --white: #fff;
  --green: #244b3c;
  --green-deep: #102b23;
  --champagne: #c5a269;
  --champagne-soft: #e9dfcc;
  --graphite: #232825;
  --line: rgba(28, 38, 32, 0.14);
  --shadow: 0 28px 80px rgba(20, 28, 23, 0.12);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Aptos, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

body.preview-locked > *:not(.password-gate) {
  display: none !important;
}

[data-preview-only] {
  display: none !important;
}

html.internal-preview-access [data-preview-only] {
  display: revert !important;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  color: var(--ivory);
  background:
    linear-gradient(rgba(8, 20, 16, 0.78), rgba(8, 20, 16, 0.86)),
    url("assets/hero-luxury-longevity.png") center / cover;
}

.password-gate__panel {
  width: min(100%, 460px);
  padding: 42px;
  border: 1px solid rgba(233, 223, 204, 0.34);
  background: rgba(16, 43, 35, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.password-gate__panel .brand-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
}

.password-gate__panel h1 {
  margin-bottom: 14px;
  font-size: clamp(36px, 6vw, 54px);
}

.password-gate__panel h2 {
  margin: 0 0 10px;
  color: var(--ivory);
  font-size: 22px;
  line-height: 1.2;
}

.password-gate__panel p {
  color: rgba(251, 250, 246, 0.82);
}

.password-gate__panel label {
  display: block;
  margin: 26px 0 8px;
  color: var(--champagne-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.password-gate__panel input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(233, 223, 204, 0.38);
  border-radius: 0;
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.password-gate__panel input:focus {
  border-color: var(--champagne);
}

.password-input-wrap {
  position: relative;
  display: block;
}

.password-input-wrap input {
  padding-right: 58px !important;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 38px !important;
  min-width: 38px;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(28, 38, 32, 0.16) !important;
  border-radius: 999px !important;
  color: var(--green) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: none !important;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  border-color: var(--green) !important;
  color: var(--green-deep) !important;
  background: var(--white) !important;
  outline: 2px solid rgba(197, 162, 105, 0.28);
  outline-offset: 2px;
}

.password-toggle.is-visible {
  border-color: rgba(197, 162, 105, 0.56) !important;
  color: var(--green-deep) !important;
  background: var(--champagne-soft) !important;
}

.password-gate__panel .password-toggle {
  border-color: rgba(233, 223, 204, 0.42) !important;
  color: var(--champagne-soft) !important;
  background: rgba(16, 43, 35, 0.72) !important;
}

.password-gate__panel .password-toggle:hover,
.password-gate__panel .password-toggle:focus-visible,
.password-gate__panel .password-toggle.is-visible {
  color: var(--green-deep) !important;
  background: var(--champagne-soft) !important;
}

.password-gate__panel button {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--champagne-soft);
  font-weight: 900;
}

.password-gate__panel button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.password-gate__secondary {
  border: 1px solid rgba(233, 223, 204, 0.4) !important;
  color: var(--ivory) !important;
  background: transparent !important;
}

.password-gate__divider {
  height: 1px;
  margin: 30px 0;
  background: rgba(233, 223, 204, 0.24);
}

.password-gate__error {
  margin: 10px 0 0;
  color: #ffd8d0 !important;
  font-weight: 700;
}

.password-gate__success {
  margin: 10px 0 0;
  color: var(--champagne-soft) !important;
  font-weight: 700;
}

.password-gate__consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0 !important;
  color: rgba(251, 250, 246, 0.82) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.4;
  text-transform: none !important;
}

.password-gate__consent input {
  width: 18px !important;
  min-width: 18px;
  height: 18px !important;
  min-height: 18px !important;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--champagne);
}

.public-waitlist-dialog {
  width: min(calc(100% - 32px), 720px);
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: var(--ivory);
  box-shadow: 0 24px 72px rgba(16, 43, 35, 0.28);
}

.public-waitlist-dialog::backdrop {
  background: rgba(9, 24, 19, 0.72);
  backdrop-filter: blur(8px);
}

.public-waitlist-dialog__panel {
  position: relative;
  padding: clamp(30px, 6vw, 58px);
  border-top: 5px solid var(--champagne);
}

.public-waitlist-dialog__panel .brand-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
}

.public-waitlist-dialog__panel h2 {
  max-width: 13ch;
  margin: 8px 0 20px;
  color: var(--green-deep);
  font-size: clamp(34px, 6vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

.public-waitlist-dialog__panel > p:not(.eyebrow) {
  max-width: 62ch;
  margin-bottom: 30px;
  color: var(--green);
  font-size: 17px;
  line-height: 1.65;
}

.public-waitlist-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-deep);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.public-waitlist-dialog__close:hover,
.public-waitlist-dialog__close:focus-visible {
  border-color: var(--green);
  background: var(--paper);
  outline: 2px solid rgba(197, 162, 105, 0.32);
  outline-offset: 2px;
}

.public-waitlist-dialog form {
  display: grid;
  gap: 18px;
}

.public-waitlist-dialog .field input {
  background: var(--white);
}

.public-waitlist-dialog__consent {
  margin: 0;
  color: var(--green-deep);
}

.public-waitlist-dialog__status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--green-deep);
  background: var(--champagne-soft);
  font-weight: 700;
}

.public-waitlist-dialog__status.is-error {
  color: #7a2018;
  background: #f7ded9;
}

.public-waitlist-dialog .button {
  justify-self: start;
  min-width: 180px;
}

@media (max-width: 640px) {
  .public-waitlist-dialog {
    width: min(calc(100% - 20px), 720px);
    max-height: calc(100vh - 20px);
  }

  .public-waitlist-dialog__panel {
    padding: 30px 22px;
  }

  .public-waitlist-dialog__panel h2 {
    max-width: 15ch;
    padding-right: 18px;
  }

  .public-waitlist-dialog .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-waitlist-dialog::backdrop {
    backdrop-filter: none;
  }
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

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

h1,
h2,
.display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6.3vw, 92px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
  line-height: 1.22;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 15px;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(8, 14, 11, 0.78), rgba(8, 14, 11, 0));
}

.site-header.solid {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1380px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--green-deep);
  background: var(--champagne-soft);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(251, 250, 246, 0.8);
  font-size: 14px;
}

.solid .nav {
  color: var(--muted);
}

.nav a {
  padding: 27px 0 25px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: inherit;
  border-color: var(--champagne);
}

.header-cta {
  padding: 10px 17px;
  border: 1px solid rgba(233, 223, 204, 0.58);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.solid .header-cta {
  color: var(--ivory);
  background: var(--green);
  border-color: var(--green);
}

.menu-button {
  display: none;
  position: relative;
  width: 94px;
  height: 50px;
  padding: 0 42px 0 12px;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.menu-button::before {
  content: "Meni";
}

.menu-button span {
  position: absolute;
  right: 10px;
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.menu-button span:nth-child(1) {
  top: 15px;
}

.menu-button span:nth-child(2) {
  top: 24px;
}

.menu-button span:nth-child(3) {
  top: 33px;
}

.hero,
.page-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  color: var(--ivory);
}

.hero {
  min-height: 94vh;
  align-items: center;
}

.page-hero {
  min-height: 600px;
  align-items: end;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 14, 11, 0.84) 0%, rgba(8, 14, 11, 0.62) 39%, rgba(8, 14, 11, 0.16) 72%),
    linear-gradient(180deg, rgba(8, 14, 11, 0.14), rgba(8, 14, 11, 0.62));
}

.hero-content {
  width: min(780px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
  padding: 120px 0 66px;
}

.page-hero .hero-content {
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 30px;
  color: rgba(251, 250, 246, 0.84);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}

.button.primary {
  color: var(--green-deep);
  background: var(--champagne-soft);
}

.button.dark {
  color: var(--ivory);
  background: var(--green);
}

.button.ghost {
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.button.outline {
  color: var(--green);
  background: transparent;
  border-color: var(--green);
}

.section {
  padding: clamp(76px, 9vw, 126px) 0;
}

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

.section.dark {
  color: var(--ivory);
  background: var(--green-deep);
}

.section.graphite {
  color: var(--ivory);
  background: var(--graphite);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  max-width: 710px;
  color: var(--muted);
  font-size: 18px;
}

.section-heading.center p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.dark .section-heading p:not(.eyebrow),
.graphite .section-heading p:not(.eyebrow) {
  color: rgba(251, 250, 246, 0.7);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 26px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.trust-strip span {
  color: var(--muted);
  font-size: 13px;
}

.category-grid,
.card-grid,
.expert-grid,
.article-grid,
.protocol-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(4, 1fr);
}

.category-card,
.content-card,
.expert-card,
.product-card,
.protocol-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.category-card {
  min-height: 220px;
  padding: 26px;
}

.category-number {
  display: block;
  margin-bottom: 40px;
  color: var(--champagne);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.category-card p,
.content-card p,
.expert-card p,
.product-card p,
.protocol-card p {
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(233, 223, 204, 0.2);
  border: 1px solid rgba(233, 223, 204, 0.2);
}

.process-step {
  min-height: 270px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.055);
}

.process-step span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 44px;
  place-items: center;
  color: var(--green-deep);
  background: var(--champagne-soft);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.process-step p {
  color: rgba(251, 250, 246, 0.7);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
}

.feature-media {
  min-height: 560px;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 90px);
  background: var(--paper);
}

.feature-copy p {
  color: var(--muted);
}

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

.content-card {
  padding: 26px;
}

.label,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--champagne);
  border-radius: 50%;
}

.content-card .label,
.expert-card .badge,
.protocol-card .label,
.product-card .label {
  margin-bottom: 16px;
}

.cta-band {
  padding: 70px 0;
  color: var(--ivory);
  background: var(--green);
}

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

.cta-inner h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 56px);
}

.form-shell {
  width: min(980px, calc(100% - 40px));
  margin: 120px auto 80px;
}

.form-intro {
  max-width: 780px;
  margin-bottom: 38px;
}

.form-intro p {
  color: var(--muted);
  font-size: 18px;
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.progress span {
  height: 3px;
  background: var(--line);
}

.progress span.active {
  background: var(--champagne);
}

.inquiry-form {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  max-width: 720px;
  font-size: clamp(32px, 4vw, 52px);
}

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

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 800;
}

.field-help {
  display: block;
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  color: var(--ink);
  background: #faf9f5;
}

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

.field-with-action {
  position: relative;
  display: block;
}

.field-with-action input {
  padding-right: 100px;
}

.field-action {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #313532;
  border-radius: 999px;
  color: #fff;
  background: #4b514d;
  box-shadow: 0 2px 5px rgba(18, 21, 19, 0.2);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transform: translateY(-50%);
}

.field-action:hover,
.field-action:focus-visible {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

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

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
}

.choice span {
  display: flex;
  min-height: 74px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #faf9f5;
  font-weight: 750;
}

.choice input:checked + span {
  color: var(--green);
  background: #edf1ed;
  border-color: var(--green);
}

.expert-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.expert-choice {
  position: relative;
}

.expert-choice input {
  position: absolute;
  opacity: 0;
}

.expert-choice-body {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf9f5;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.expert-choice-body:hover {
  border-color: var(--champagne);
  transform: translateY(-2px);
}

.expert-choice input:checked + .expert-choice-body {
  color: var(--green-deep);
  background: #edf1ed;
  border: 2px solid var(--green);
  box-shadow: 0 14px 34px rgba(31, 71, 56, 0.1);
}

.expert-choice-body strong {
  margin: 20px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.expert-choice-body small {
  color: var(--muted);
  font-size: 14px;
}

.expert-choice-meta {
  margin-top: auto;
  padding-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.consent input {
  width: 18px;
  height: 18px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.form-status {
  display: none;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--paper);
}

.form-status.show {
  display: block;
}

.selected-expert-note {
  margin: -5px 0 28px;
  padding: 14px 16px;
  color: var(--green);
  background: #edf1ed;
  border-left: 2px solid var(--champagne);
  font-size: 14px;
}

.form-error,
.admin-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: #9b2f2f;
  font-size: 13px;
  font-weight: 750;
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.expert-card {
  padding: 26px;
}

.expert-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 26px;
  place-items: center;
  color: var(--ivory);
  background: var(--green);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.expert-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.credentials {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter {
  padding: 9px 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter.active {
  color: var(--ivory);
  background: var(--green);
  border-color: var(--green);
}

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

.article-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.article-card-link {
  display: grid;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.article-card-link .label {
  margin-top: 8px;
}

.article-card-link h3 {
  transition: color 0.2s ease;
}

.article-card-link p {
  color: var(--muted);
}

.article-card-link:hover h3,
.article-card-link:focus-visible h3 {
  color: var(--green);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-meta {
  margin-top: 6px;
  color: var(--soft);
  font-size: 12px;
}

.article-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.article-read-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.article-read-link:hover,
.article-read-link:focus-visible {
  text-decoration: underline;
}

.article-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(30, 83, 65, 0.28);
  border-radius: 999px;
  background: rgba(30, 83, 65, 0.04);
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.article-card-cta:hover,
.article-card-cta:focus-visible {
  border-color: var(--green);
  background: var(--green);
  color: var(--ivory);
}

.article-detail-list {
  display: grid;
  gap: 24px;
  margin-top: clamp(52px, 7vw, 96px);
}

.article-detail {
  scroll-margin-top: 110px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.article-detail h3,
.article-detail h1 {
  max-width: 850px;
  margin: 10px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.article-standalone-main,
.legal-main {
  padding: clamp(48px, 7vw, 96px) 0;
}

.article-back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.article-detail-standalone {
  max-width: 1180px;
  margin: 0 auto;
}

.legal-document {
  max-width: 960px;
}

.legal-document h1 {
  max-width: 820px;
  margin: 12px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.legal-intro {
  max-width: 720px;
  margin-bottom: clamp(42px, 6vw, 72px);
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.legal-sections {
  max-width: 760px;
}

.legal-sections section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-sections h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
}

.legal-sections p,
.legal-updated {
  max-width: 70ch;
  color: var(--muted);
}

.legal-updated {
  margin-top: 36px;
  font-size: 14px;
}

.article-detail p {
  max-width: 850px;
  color: var(--muted);
}

.article-detail-lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.article-detail-hero {
  display: block;
  width: min(100%, 1080px);
  aspect-ratio: 3 / 2;
  margin: clamp(28px, 4vw, 48px) 0;
  object-fit: cover;
  border-radius: 8px;
}

.article-detail-content {
  max-width: 850px;
}

.article-detail-content h4 {
  margin: clamp(34px, 5vw, 52px) 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
  color: var(--ink);
}

.article-detail-content ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 26px;
  padding-left: 24px;
  color: var(--muted);
}

.article-detail-alert,
.article-detail-disclaimer {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: var(--sand);
}

.article-detail-alert strong {
  color: var(--ink);
}

.article-detail-alert p,
.article-detail-disclaimer {
  color: var(--ink);
}

.article-detail-alert p {
  margin-bottom: 0;
}

.article-detail-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--sand);
}

.article-detail-cta p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

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

.protocol-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.protocol-card .protocol-index {
  margin-bottom: 50px;
  color: var(--champagne);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.protocol-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.protocol-detail-hero {
  padding: clamp(96px, 9vw, 122px) 0 clamp(52px, 6vw, 76px);
  background: var(--paper);
  color: var(--ink);
}

.protocol-page .site-header { color: var(--ink); background: rgba(251, 250, 246, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.protocol-page .nav { color: var(--muted); }
.protocol-page .header-cta { color: var(--ivory); background: var(--green); border-color: var(--green); }

.protocol-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.protocol-back-link { display: inline-block; margin-bottom: 36px; color: var(--green); text-decoration: none; font-weight: 700; }
.protocol-detail-hero h1 { max-width: 850px; margin: 14px 0 24px; color: var(--green-deep); font-size: clamp(52px, 8vw, 92px); line-height: .94; letter-spacing: -.04em; }
.protocol-lead { max-width: 720px; margin: 0 0 34px; color: var(--green); font-size: clamp(19px, 2vw, 24px); }
.protocol-hero-visual { position: relative; margin: 0; }
.protocol-hero-visual img { display: block; width: 100%; height: clamp(320px, 29vw, 390px); object-fit: cover; object-position: center 62%; }
.protocol-principle { position: absolute; right: -16px; bottom: -20px; width: min(88%, 390px); padding: 22px 26px; background: var(--ivory); box-shadow: 0 8px 24px rgba(20,28,23,.12); }
.protocol-hero-visual:has(> img[src="assets/post-exertion-recovery-premium.jpg"]) .protocol-principle { right: auto; left: -16px; }
.protocol-principle span { color: var(--champagne); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.protocol-principle p { margin: 10px 0 0; color: var(--green-deep); font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.3; }
.protocol-detail-layout { display: grid; grid-template-columns: 220px minmax(0, 820px); gap: clamp(40px, 8vw, 110px); justify-content: center; padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(80px, 11vw, 140px); }
.protocol-toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 12px; padding-top: 8px; }
.protocol-toc strong { margin-bottom: 8px; color: var(--green); }
.protocol-toc a { color: var(--muted); text-decoration: none; }
.protocol-prose { min-width: 0; }
.protocol-intro { padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.protocol-intro p { color: var(--green); font-size: 20px; line-height: 1.75; }
.protocol-step { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 24px; padding: 46px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.protocol-step > span { color: var(--champagne); font-family: Georgia, "Times New Roman", serif; font-size: 30px; }
.protocol-step h2, .protocol-plan h2, .protocol-help h2 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.03em; }
.protocol-step h3 { margin: 24px 0 8px; color: var(--green); font-family: inherit; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.protocol-step p, .protocol-step li, .protocol-plan p, .protocol-help p, .protocol-help li { color: var(--muted); font-size: 17px; line-height: 1.7; }
.protocol-step ul, .protocol-help ul { margin: 0; padding-left: 20px; }
.protocol-plan, .protocol-help { margin-top: 70px; padding: clamp(28px, 5vw, 52px); background: var(--paper); scroll-margin-top: 100px; }
.protocol-plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 34px; background: var(--line); }
.protocol-plan-grid > div { padding: 26px; background: var(--ivory); }
.protocol-plan-grid strong { color: var(--champagne); }
.protocol-plan-grid h3 { margin: 8px 0; font-size: 21px; }
.strength-program-intro { max-width: 68ch; margin: 16px 0 0; }
.strength-program-grid { align-items: stretch; }
.strength-program-list { display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: strength-exercise; }
.strength-program-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); counter-increment: strength-exercise; }
.strength-program-list li::before { content: counter(strength-exercise, decimal-leading-zero); grid-column: 1 / -1; color: var(--champagne); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.strength-program-list span { color: var(--forest); font-weight: 700; line-height: 1.4; }
.strength-program-list b { color: var(--forest); font-size: 15px; white-space: nowrap; }
.strength-program-note { min-height: auto; }
.protocol-reminder { margin: 28px 0 0; color: var(--green) !important; font-family: Georgia, "Times New Roman", serif; font-size: 26px !important; }
.protocol-help { background: var(--champagne-soft); }
.protocol-help .button { margin-top: 18px; }

@media (max-width: 900px) {
  .protocol-detail-hero-grid,
  .protocol-detail-layout {
    grid-template-columns: 1fr;
  }

  .protocol-principle {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 620px;
    width: 100%;
    margin: -1px 0 0 auto;
    box-shadow: none;
  }

  .protocol-hero-visual:has(> img[src="assets/post-exertion-recovery-premium.jpg"]) .protocol-principle { left: auto; }

  .protocol-hero-visual img { height: 360px; }

  .protocol-toc {
    position: static;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 12px 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .protocol-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .protocol-detail-hero {
    padding: 96px 0 54px;
  }

  .protocol-detail-hero h1 {
    font-size: clamp(46px, 15vw, 66px);
  }

  .protocol-hero-visual img { height: 300px; }

  .protocol-toc {
    grid-template-columns: 1fr;
  }

  .protocol-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .protocol-plan-grid {
    grid-template-columns: 1fr;
  }

  .strength-program-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .strength-program-list b {
    white-space: normal;
  }
}

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

.product-card {
  padding: 18px;
}

.product-visual {
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.58), transparent 28%),
    linear-gradient(135deg, #e8dfcf, #aabbb0 50%, #294c3e);
}

.product-visual.amber {
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.48), transparent 28%),
    linear-gradient(135deg, #ead9b9, #bd9558, #493827);
}

.product-visual.dark {
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(135deg, #8f9892, #303834, #111714);
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  color: var(--green);
  font-weight: 850;
}

.notice {
  padding: 20px;
  color: var(--muted);
  background: var(--paper);
  border-left: 2px solid var(--champagne);
  font-size: 14px;
}

.section.graphite .b2b-text-stack .notice {
  color: var(--green-deep);
  background: rgba(248, 245, 238, 0.96);
  border: 1px solid rgba(197, 162, 105, 0.46);
}

.b2b-hero {
  position: relative;
  overflow: hidden;
  padding: 152px 0 92px;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 12%, rgba(197, 162, 105, 0.24), transparent 28%),
    radial-gradient(circle at 82% 88%, rgba(36, 75, 60, 0.14), transparent 34%),
    linear-gradient(135deg, #f8f5ee 0%, #ebe5d7 48%, #dfe7e1 100%);
}

.b2b-hero::after {
  content: "";
  position: absolute;
  right: -18vw;
  bottom: -36vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(36, 75, 60, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.b2b-hero-grid,
.two-column,
.partner-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.b2b-hero-copy h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(44px, 5.4vw, 78px);
  text-wrap: balance;
}

.b2b-hero-copy .hero-copy {
  color: var(--muted);
  line-height: 1.68;
}

.b2b-kicker {
  margin-bottom: 18px;
  color: var(--champagne-soft);
  font-size: 14px;
  font-weight: 800;
}

.b2b-hero .b2b-kicker {
  color: var(--champagne);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section:not(.dark):not(.graphite) .b2b-kicker {
  color: var(--green);
}

.b2b-hero-card,
.b2b-info-panel,
.partner-form {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.b2b-hero-card {
  position: sticky;
  top: 104px;
  padding: clamp(26px, 4vw, 40px);
}

.b2b-hero-visual {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(28, 38, 32, 0.12);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(20, 28, 23, 0.12);
}

.b2b-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.b2b-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 11, 0), rgba(8, 14, 11, 0.28)),
    linear-gradient(90deg, rgba(251, 250, 246, 0.22), transparent 48%);
}

.b2b-hero-visual figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  padding: 20px;
  color: var(--ink);
  background: rgba(251, 250, 246, 0.9);
  border: 1px solid rgba(28, 38, 32, 0.14);
  backdrop-filter: blur(12px);
}

.b2b-hero-visual figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.b2b-hero-visual figcaption strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.1;
}

.b2b-hero-card h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.b2b-hero-card p,
.b2b-text-stack p,
.b2b-note {
  color: var(--muted);
  font-size: 17px;
}

.graphite .b2b-text-stack p,
.dark .b2b-text-stack p {
  color: rgba(251, 250, 246, 0.74);
}

.b2b-text-stack {
  display: grid;
  gap: 16px;
}

.b2b-lead {
  color: var(--green) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  line-height: 1.2;
}

.b2b-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.b2b-category-grid span {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
  font-weight: 800;
}

.b2b-info-panel {
  margin-top: 24px;
  padding: 28px;
}

.b2b-info-panel p {
  max-width: 860px;
  color: var(--muted);
}

.b2b-checklist,
.b2b-pricing-list {
  display: grid;
  gap: 12px;
}

.b2b-pricing-intro {
  max-width: 62ch;
  margin-bottom: 12px;
}

.b2b-pricing-intro h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}

.b2b-pricing-intro p {
  margin: 0;
  color: var(--green);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.b2b-checklist div,
.b2b-pricing-list div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.dark .b2b-checklist div {
  border-color: rgba(233, 223, 204, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.b2b-checklist strong,
.b2b-pricing-list strong {
  display: block;
  margin-bottom: 5px;
  color: inherit;
  font-size: 17px;
}

.b2b-checklist span,
.b2b-pricing-list span {
  color: var(--muted);
}

.dark .b2b-checklist span {
  color: rgba(251, 250, 246, 0.72);
}

.b2b-process {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 24px;
}

#kako-deluje .b2b-process .process-step h3 {
  margin-bottom: 12px;
  color: var(--green-deep);
  font-weight: 800;
}

#kako-deluje .b2b-process .process-step p,
#kako-deluje > .shell > .notice {
  color: var(--green);
  opacity: 1;
}

#kako-deluje .b2b-process .process-step p {
  line-height: 1.65;
}

.b2b-provider-grid {
  align-items: stretch;
}

.b2b-provider-grid .content-card {
  border-width: 1px 0 0;
  border-radius: 0;
  box-shadow: none;
}

.b2b-provider-grid .content-card:nth-child(-n + 3) {
  border-top-color: var(--champagne);
}

.b2b-note {
  grid-column: 2;
  margin: 6px 0 0;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.partner-form {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 18px 42px rgba(20, 28, 23, 0.08);
}

.partner-form .field {
  margin-bottom: 0;
}

.partner-form .full,
.consent.full {
  grid-column: 1 / -1;
}

.partner-backend-note {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  background: var(--paper);
  border-left: 2px solid var(--champagne);
  font-size: 13px;
}

.partner-backend-note code {
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  color: rgba(251, 250, 246, 0.74);
  background: #0e1814;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.7fr);
  gap: 40px;
  padding: 66px 0;
}

.footer-brand {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.footer-grid h3 {
  color: var(--ivory);
  font-family: inherit;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  display: grid;
  gap: 9px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.admin-page {
  min-height: 100vh;
  background: #eef0ed;
  overflow-x: hidden;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 56px);
  color: var(--ivory);
  background: var(--green-deep);
}

.admin-header > div {
  min-width: 0;
}

.admin-header h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 54px);
  overflow-wrap: anywhere;
}

.admin-main {
  width: min(1500px, calc(100% - 40px));
  margin: 40px auto 80px;
}

.admin-login {
  max-width: 520px;
  margin: 10vh auto;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.partner-header-copy {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.partner-login {
  max-width: 560px;
}

.partner-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.partner-toolbar h2 {
  margin: 4px 0 2px;
  font-size: 34px;
}

.partner-toolbar p {
  color: var(--muted);
}

.partner-detail a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.partner-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 240px) auto;
  align-items: end;
  gap: 14px;
  margin: 18px 0 12px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.partner-filters .field {
  margin: 0;
}

.partner-count {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.partner-empty {
  display: grid;
  gap: 4px;
  padding: 20px 4px;
  color: var(--muted);
}

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

.partner-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.partner-meta-grid p,
.partner-message {
  margin: 0;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.partner-meta-grid strong,
.partner-message strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-meta-grid a,
.partner-meta-grid p {
  overflow-wrap: anywhere;
}

.partner-meta-grid a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.partner-message {
  margin: 16px 0;
}

.partner-message p {
  margin: 8px 0 0;
  line-height: 1.7;
  white-space: pre-wrap;
}

.partner-status-note {
  margin-top: 10px;
  font-size: 13px;
}

.partner-status-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

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

.form-success {
  color: var(--green);
  font-weight: 700;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stats article,
.admin-panel {
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.admin-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-panel-heading > * {
  min-width: 0;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-panel h2 {
  font-size: 30px;
}

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

.lead-table {
  min-width: 760px;
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

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

.lead-table tbody tr {
  cursor: pointer;
}

.lead-table tbody tr:hover {
  background: var(--paper);
}

.lead-table tbody tr.is-selected {
  background: #edf1ed;
  box-shadow: inset 3px 0 0 var(--green);
}

.status-pill {
  display: inline-block;
  padding: 5px 8px;
  color: var(--green);
  background: #edf1ed;
  border-radius: 999px;
  white-space: nowrap;
}

.status-new,
.status-sent-to-partner {
  color: #5a4116;
  background: #f5ead8;
}

.status-partner-contacted {
  color: #174b5f;
  background: #e3f0f4;
}

.status-not-reachable,
.status-rejected {
  color: #7c2525;
  background: #f8e4e1;
}

.status-booked-consultation {
  color: #5b3f00;
  background: #f5edc8;
}

.status-converted {
  color: #0f5132;
  background: #dff1e8;
}

.lead-detail {
  position: sticky;
  top: 18px;
  align-self: start;
}

.lead-timeline {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.lead-timeline ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.lead-timeline li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.lead-timeline li strong {
  color: var(--ink);
}

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

.analytics-grid article {
  padding: 18px;
  background: var(--paper);
}

.analytics-grid article p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.analytics-grid article strong {
  color: var(--ink);
}

.partner-signup-section {
  scroll-margin-top: 88px;
  background: var(--paper);
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
  margin: 18px 0 14px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-filters .field {
  margin: 0;
}

.admin-filter-summary {
  display: flex;
  grid-column: span 2;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
}

.admin-filter-summary p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.admin-filter-empty td {
  padding: 28px 10px;
  color: var(--muted);
  cursor: default;
}

.admin-filter-empty strong {
  color: var(--ink);
}

.partner-admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.4fr);
  gap: 18px;
  margin-top: 20px;
  align-items: start;
}

.partner-admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.partner-admin-form .field,
.partner-admin-form .consent {
  margin: 0;
}

.partner-admin-form .full,
.partner-admin-form .button,
.partner-admin-form .admin-error,
.partner-admin-form .form-success {
  grid-column: 1 / -1;
}

.partner-address-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  border: 0;
}

.partner-address-fields legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 850;
}

.partner-address-fields .country {
  grid-column: 1 / -1;
}

.partner-admin-form textarea {
  min-height: 96px;
  resize: vertical;
}

.partner-admin-list {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.partner-table {
  min-width: 900px;
}

.partner-table tbody tr {
  cursor: default;
}

.button.small {
  width: auto;
  min-height: 0;
  padding: 9px 12px;
  font-size: 12px;
}

.partner-token-box {
  padding: 16px;
  background: #edf1ed;
  border: 1px solid rgba(34, 83, 64, 0.22);
  border-radius: 8px;
}

.partner-token-box p {
  margin: 6px 0 10px;
  color: var(--muted);
}

.partner-token-box code {
  display: block;
  padding: 12px;
  overflow-x: auto;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
}

@media (max-width: 930px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-block;
    color: inherit;
  }

  .nav.open {
    position: fixed;
    inset: 78px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    color: var(--ink);
    background: var(--ivory);
  }

  .nav.open a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .expert-grid,
  .article-grid,
  .protocol-grid,
  .product-grid,
  .preview-grid,
  .b2b-category-grid,
  .b2b-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .b2b-hero-grid,
  .two-column,
  .partner-form-layout {
    grid-template-columns: 1fr;
  }

  .b2b-hero-card {
    position: static;
  }

  .b2b-note {
    grid-column: auto;
  }

  .feature-split {
    grid-template-columns: 1fr;
  }

  .feature-media {
    min-height: 430px;
  }

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

  .admin-stats,
  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .lead-detail {
    position: static;
  }
}

@media (max-width: 680px) {
  .shell,
  .header-inner {
    width: min(100% - 32px, var(--max));
  }

  .header-inner {
    min-height: 68px;
  }

  .nav.open {
    inset: 68px 0 0;
  }

  .hero {
    min-height: 820px;
  }

  .page-hero {
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 110px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .category-grid,
  .process-grid,
  .expert-grid,
  .article-grid,
  .protocol-grid,
  .product-grid,
  .preview-grid,
  .form-grid,
    .choice-grid,
    .expert-choice-grid,
    .trust-strip,
    .footer-grid,
    .b2b-category-grid,
    .b2b-process {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
  }

  .admin-header .button {
    max-width: 100%;
  }

  .article-card-actions,
  .article-detail-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header > div,
  .partner-header-copy,
  .partner-toolbar > div,
  .admin-panel-heading > div,
  .admin-panel-heading p {
    width: 100%;
    max-width: 100%;
  }

  .partner-header-copy {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .admin-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .partner-filters,
  .partner-meta-grid {
    grid-template-columns: 1fr;
  }

  .admin-main {
    width: calc(100% - 24px);
    margin-top: 24px;
  }

  .admin-panel {
    padding: 20px;
    overflow: hidden;
  }

  .admin-panel h2,
  .partner-toolbar h2 {
    overflow-wrap: anywhere;
  }

  .admin-stats,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .admin-filters {
    grid-template-columns: 1fr;
  }

  .admin-filter-summary {
    grid-column: auto;
    align-items: flex-start;
    justify-content: space-between;
  }

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

  .partner-address-fields {
    grid-template-columns: 1fr;
  }

  .partner-address-fields .country {
    grid-column: auto;
  }

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

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-shell {
    width: calc(100% - 32px);
    margin-top: 100px;
  }

  .inquiry-form {
    padding: 22px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .button {
    width: 100%;
  }
}
