:root {
  --ink: #23372f;
  --ink-soft: #53655d;
  --forest: #315e4d;
  --forest-dark: #23483b;
  --sage: #9db5a6;
  --sage-pale: #dce7df;
  --cream: #f7f2ec;
  --cream-deep: #eee5da;
  --paper: #fffdf9;
  --coral: #c87365;
  --coral-pale: #f0d8d1;
  --gold: #d7b36d;
  --line: rgba(35, 55, 47, 0.14);
  --shadow: 0 24px 70px rgba(39, 64, 53, 0.12);
  --shadow-soft: 0 12px 36px rgba(39, 64, 53, 0.08);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

svg {
  display: block;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: white;
  background: var(--forest-dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 236, 0.9);
  border-bottom: 1px solid rgba(35, 55, 47, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--forest);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark path:first-child {
  fill: var(--coral-pale);
  stroke: currentColor;
  stroke-width: 1.5;
}

.brand-mark path:last-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: 90px;
}

.desktop-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--forest);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.filter-chip:focus-visible,
.menu-button:focus-visible,
.save-button:focus-visible,
.faq-item button:focus-visible,
.modal-close:focus-visible,
.trial-link:focus-visible,
.preview-link:focus-visible {
  outline: 3px solid rgba(200, 115, 101, 0.4);
  outline-offset: 3px;
}

.button-primary {
  color: white;
  background: var(--forest);
  box-shadow: 0 10px 24px rgba(49, 94, 77, 0.18);
}

.button-primary:hover {
  background: var(--forest-dark);
  box-shadow: 0 14px 30px rgba(49, 94, 77, 0.25);
}

.button-quiet {
  min-height: 42px;
  padding: 0 18px;
  color: var(--forest);
  background: transparent;
  border-color: rgba(49, 94, 77, 0.35);
}

.button-text {
  padding: 0 4px;
  color: var(--forest);
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--forest);
}

.button-outline {
  color: var(--forest);
  background: transparent;
  border-color: rgba(49, 94, 77, 0.35);
}

.button-light {
  color: var(--forest-dark);
  background: var(--paper);
}

.button-large {
  min-height: 54px;
  padding-right: 26px;
  padding-left: 26px;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-button span {
  width: 22px;
  height: 1px;
  display: block;
  margin: 6px auto;
  background: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 0;
  background: var(--cream);
}

.hero-wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-wash-one {
  top: -190px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: rgba(219, 231, 222, 0.8);
}

.hero-wash-two {
  bottom: 50px;
  left: -300px;
  width: 600px;
  height: 420px;
  background: rgba(240, 216, 209, 0.5);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 78px;
  min-height: 560px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 115, 101, 0.12);
}

.hero h1,
.section-heading h2,
.story-copy h2,
.final-cta h2,
.match-form h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 600px;
  font-size: clamp(58px, 6vw, 82px);
}

.hero-intro {
  max-width: 555px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 27px 0 0;
  color: #68776f;
  font-size: 12px;
  font-weight: 500;
}

.privacy-note svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(49, 94, 77, 0.16);
  border-radius: 48% 52% 45% 55% / 55% 42% 58% 45%;
}

.orbit-one {
  width: 510px;
  height: 480px;
  transform: rotate(-8deg);
}

.orbit-two {
  width: 420px;
  height: 520px;
  border-color: rgba(200, 115, 101, 0.18);
  transform: rotate(20deg);
}

.match-preview {
  position: relative;
  z-index: 2;
  width: min(390px, 84%);
  padding: 25px 28px 28px;
  background: rgba(255, 253, 249, 0.95);
  border: 1px solid rgba(35, 55, 47, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-score {
  color: var(--forest);
  font-size: 17px;
}

.preview-icon {
  width: 62px;
  height: 62px;
  margin: 24px 0 20px;
}

.preview-icon svg path:first-child {
  fill: var(--sage-pale);
}

.preview-icon svg path:last-child {
  fill: none;
  stroke: var(--forest);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-kicker {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
}

.match-preview h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.05;
}

.preview-meta {
  display: flex;
  gap: 11px;
  margin: 14px 0 20px;
  color: var(--ink-soft);
  font-size: 12px;
}

.preview-meta span + span::before {
  content: "·";
  margin-right: 11px;
}

.preview-reasons {
  display: grid;
  gap: 10px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.preview-reasons span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
}

.preview-reasons i {
  width: 6px;
  height: 6px;
  display: block;
  background: var(--sage);
  border-radius: 50%;
}

.preview-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0 0;
  color: var(--forest);
  background: transparent;
  border: 0;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  color: var(--ink-soft);
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(35, 55, 47, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  font-size: 11px;
}

.floating-card strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.floating-card-top {
  top: 74px;
  right: -5px;
  max-width: 174px;
  transform: rotate(-2deg);
}

.floating-card-bottom {
  bottom: 62px;
  left: -18px;
  max-width: 210px;
}

.floating-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--coral);
  background: var(--coral-pale);
  border-radius: 50%;
  font-size: 20px;
}

.avatar-stack {
  display: flex;
  padding-left: 8px;
}

.avatar-stack i {
  width: 29px;
  height: 29px;
  margin-left: -8px;
  background: var(--sage-pale);
  border: 2px solid white;
  border-radius: 50%;
}

.avatar-stack i:nth-child(2) {
  background: var(--coral-pale);
}

.avatar-stack i:nth-child(3) {
  background: #eadfbf;
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  padding: 25px 0;
  border-top: 1px solid rgba(35, 55, 47, 0.12);
}

.trust-strip div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid rgba(35, 55, 47, 0.1);
}

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

.trust-strip strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.trust-strip span {
  color: var(--ink-soft);
  font-size: 11px;
}

.section {
  padding: 120px 0;
}

.section-soft {
  background: #f2eee8;
}

.section-heading h2,
.story-copy h2 {
  font-size: clamp(42px, 5vw, 64px);
}

.section-heading > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.centered-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow-centered {
  justify-content: center;
}

.centered-heading > p:not(.eyebrow) {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}

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

.step-card {
  position: relative;
  min-height: 350px;
  padding: 34px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(35, 55, 47, 0.08);
  border-radius: 22px;
}

.step-number {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 16px;
}

.step-illustration {
  position: relative;
  height: 130px;
  display: grid;
  place-items: center;
  margin: 10px 0 18px;
}

.step-card h3,
.learning-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.step-search::before {
  content: "";
  width: 80px;
  height: 80px;
  border: 2px solid var(--forest);
  border-radius: 50%;
}

.step-search::after {
  content: "";
  position: absolute;
  width: 37px;
  height: 2px;
  margin: 76px 0 0 76px;
  background: var(--forest);
  transform: rotate(45deg);
}

.step-search span {
  position: absolute;
  width: 48px;
  height: 56px;
  background: var(--coral-pale);
  border-radius: 55% 45% 50% 50%;
}

.step-match span {
  position: absolute;
  width: 76px;
  height: 98px;
  border: 2px solid var(--forest);
  border-radius: 50%;
}

.step-match span:first-child {
  margin-left: -55px;
  background: rgba(220, 231, 223, 0.7);
}

.step-match span:nth-child(2) {
  margin-left: 55px;
  background: rgba(240, 216, 209, 0.6);
}

.step-match span:last-child {
  width: 13px;
  height: 13px;
  background: var(--forest);
  border: 0;
}

.step-connect::before,
.step-connect::after {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  border: 2px solid var(--forest);
  border-radius: 50%;
}

.step-connect::before {
  margin-left: -48px;
  background: var(--sage-pale);
}

.step-connect::after {
  margin-left: 48px;
  background: var(--coral-pale);
}

.step-connect span {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 2px;
  background: var(--forest);
}

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

.trials-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 60px;
}

.trials-intro > p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.personalize-callout {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--cream);
  border: 1px solid rgba(49, 94, 77, 0.12);
  border-radius: 16px;
}

.personalize-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: var(--sage-pale);
  border-radius: 50%;
}

.personalize-icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.personalize-callout strong,
.personalize-callout span {
  display: block;
}

.personalize-callout strong {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.personalize-callout div > span {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.personalize-callout .button {
  min-height: 43px;
  padding-right: 17px;
  padding-left: 17px;
  white-space: nowrap;
  font-size: 11px;
}

.personalize-callout small {
  grid-column: 2 / -1;
  margin-top: -8px;
  color: #7a8780;
  font-size: 9px;
}

.trial-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding: 15px;
  background: var(--cream);
  border-radius: 18px;
}

.search-field {
  min-width: 340px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.search-field svg {
  width: 18px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.5;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.search-field input::placeholder {
  color: #849088;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.filter-chip {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 15px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active {
  color: white;
  background: var(--forest);
}

.trial-status {
  display: flex;
  justify-content: space-between;
  margin: 24px 2px 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.trial-status p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.trial-status span::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 7px;
  background: var(--sage);
  border-radius: 50%;
}

.match-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -4px 0 18px;
  padding: 14px 18px;
  color: var(--forest-dark);
  background: rgba(220, 231, 223, 0.55);
  border: 1px solid rgba(49, 94, 77, 0.16);
  border-radius: 12px;
}

.match-status div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.match-status strong {
  font-family: var(--serif);
  font-size: 17px;
}

.match-status span {
  color: var(--ink-soft);
  font-size: 11px;
}

.match-status button {
  flex: 0 0 auto;
  padding: 0;
  color: var(--forest);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(49, 94, 77, 0.4);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

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

.trial-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.trial-card:hover {
  border-color: rgba(49, 94, 77, 0.3);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.trial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--forest);
  background: var(--sage-pale);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.status-pill.soon {
  color: #8d6041;
  background: #f2e4ca;
}

.save-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.save-button svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.save-button.saved {
  color: var(--coral);
  background: var(--coral-pale);
}

.save-button.saved svg {
  fill: currentColor;
}

.trial-type {
  margin: 28px 0 9px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trial-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.trial-summary {
  display: -webkit-box;
  margin: 15px 0 22px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.trial-details {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trial-details span {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 11px;
}

.trial-details span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 1px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--sage);
  border-radius: 50%;
}

.trial-card-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
}

.trial-sponsor {
  max-width: 60%;
  overflow: hidden;
  color: #78857e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trial-link {
  flex: 0 0 auto;
  padding: 0;
  color: var(--forest);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.trial-skeleton {
  height: 430px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent),
    var(--cream);
  background-size: 200% 100%;
  border-radius: 18px;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.empty-state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  color: var(--ink-soft);
  background: var(--cream);
  border-radius: 18px;
  text-align: center;
}

.trials-footer {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.story-section {
  background: var(--forest-dark);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 105px;
}

.story-art {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  overflow: hidden;
  background: var(--cream);
  border-radius: 45% 45% 10% 10% / 38% 38% 8% 8%;
}

.story-shape {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 330px;
  height: 330px;
  background: var(--coral-pale);
  border-radius: 50%;
}

.story-shape::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -220px;
  width: 270px;
  height: 270px;
  border: 1px solid var(--sage);
  border-radius: 50%;
}

.story-art blockquote {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.1;
}

.story-art blockquote span {
  display: block;
  height: 45px;
  color: var(--coral);
  font-size: 90px;
}

.story-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  margin-top: 34px;
  font-size: 12px;
}

.story-caption span {
  color: var(--ink-soft);
}

.story-copy {
  color: white;
}

.story-copy .eyebrow {
  color: #e29b8e;
}

.story-copy > p:not(.eyebrow) {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 15px;
  margin: 32px 0 38px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #a9c9b7;
  font-weight: 700;
}

.story-copy .button-primary {
  color: var(--forest-dark);
  background: var(--paper);
}

.learn-section {
  background: var(--cream);
}

.learn-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.text-link {
  color: var(--forest);
  border-bottom: 1px solid rgba(49, 94, 77, 0.4);
  font-size: 13px;
  font-weight: 700;
}

.learning-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 20px;
  margin-top: 48px;
}

.learning-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 30px;
  background: var(--paper);
  border: 1px solid rgba(35, 55, 47, 0.08);
  border-radius: 20px;
}

.learning-card-featured {
  position: relative;
  justify-content: end;
  overflow: hidden;
  color: white;
  background: var(--forest);
}

.learning-card-featured::before,
.learning-card-featured::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.learning-card-featured::before {
  top: -120px;
  right: -80px;
  width: 330px;
  height: 330px;
}

.learning-card-featured::after {
  top: -50px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: rgba(200, 115, 101, 0.28);
}

.learning-tag {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 1;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 10px;
}

.learning-card-featured > div {
  position: relative;
  z-index: 1;
}

.learning-card p {
  margin: auto 0 10px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learning-card-featured p {
  margin-top: 0;
  color: #efb8ad;
}

.learning-card a {
  display: inline-block;
  margin-top: 26px;
  color: var(--forest);
  border-bottom: 1px solid rgba(49, 94, 77, 0.35);
  font-size: 11px;
  font-weight: 700;
}

.learning-card-featured a {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.learning-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: var(--sage-pale);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 24px;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-family: var(--serif);
  font-size: 22px;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 300;
  transition: transform 200ms ease;
}

.faq-item button[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 50px 25px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
  color: white;
  background: var(--coral);
  text-align: center;
}

.cta-orb {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.cta-orb-one {
  top: -220px;
  left: -120px;
  width: 520px;
  height: 520px;
}

.cta-orb-two {
  right: -100px;
  bottom: -280px;
  width: 600px;
  height: 600px;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

.eyebrow-light {
  justify-content: center;
  color: #ffece7;
}

.final-cta h2 {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(48px, 6vw, 72px);
}

.final-cta p:not(.eyebrow) {
  max-width: 530px;
  margin: 24px auto 32px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.site-footer {
  padding: 70px 0 24px;
  color: white;
  background: #1d342c;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 110px;
  padding-bottom: 55px;
}

.footer-brand .brand-mark {
  color: white;
}

.footer-brand .brand-mark path:first-child {
  fill: rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  max-width: 340px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  line-height: 1.6;
}

.footer-bottom p {
  max-width: 680px;
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  background: rgba(20, 39, 32, 0.68);
  opacity: 0;
  backdrop-filter: blur(7px);
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.modal-backdrop.open {
  visibility: visible;
  opacity: 1;
}

.match-modal {
  position: relative;
  width: min(1030px, 100%);
  min-height: 650px;
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  overflow: hidden;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 30px 100px rgba(16, 31, 26, 0.3);
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease;
}

.modal-backdrop.open .match-modal,
.modal-backdrop.open .trial-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
}

.match-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 35px;
  color: white;
  background: var(--forest);
}

.brand-light .brand-mark {
  color: white;
}

.brand-light .brand-mark path:first-child {
  fill: rgba(255, 255, 255, 0.08);
}

.match-sidebar > div p {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 28px;
}

.match-sidebar > div span,
.match-sidebar small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.65;
}

.match-form {
  display: flex;
  flex-direction: column;
  padding: 44px 60px 34px;
}

.match-progress {
  display: grid;
  gap: 9px;
  margin-right: 46px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-progress > div {
  height: 3px;
  overflow: hidden;
  background: var(--cream-deep);
  border-radius: 99px;
}

.match-progress i {
  width: 25%;
  height: 100%;
  display: block;
  background: var(--coral);
  border-radius: inherit;
  transition: width 220ms ease;
}

.form-step {
  display: none;
  padding: 54px 0 24px;
}

.form-step.active {
  display: block;
  animation: step-in 240ms ease;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}

.form-eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.match-form h2 {
  max-width: 600px;
  font-size: 42px;
  line-height: 1.05;
}

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

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.option-grid-wide .select-card {
  min-height: 94px;
}

.select-card {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-content: center;
  gap: 4px 10px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.select-card:hover {
  border-color: rgba(49, 94, 77, 0.4);
}

.select-card:has(input:checked) {
  background: rgba(220, 231, 223, 0.42);
  border-color: var(--forest);
}

.select-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.select-indicator,
.check-indicator {
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #95a29b;
  border-radius: 50%;
}

.select-card input:checked + .select-indicator {
  border: 6px solid var(--forest);
}

.check-indicator {
  color: transparent;
  border-radius: 5px;
  font-size: 11px;
}

.select-card input:checked + .check-indicator {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}

.select-card strong {
  align-self: end;
  font-size: 12px;
}

.select-card small {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.4;
}

.select-card.compact {
  min-height: 72px;
}

.select-card.compact strong {
  align-self: center;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 34px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.range-field legend {
  font-size: 11px;
  font-weight: 700;
}

.field input {
  min-height: 52px;
  padding: 0 15px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
}

.field input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(49, 94, 77, 0.1);
}

.range-field {
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}

.travel-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.travel-options input {
  position: absolute;
  opacity: 0;
}

.travel-options span {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.travel-options input:checked + span {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}

.results-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--forest);
  background: var(--sage-pale);
  border-radius: 50%;
  font-size: 24px;
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.result-summary div {
  display: grid;
  gap: 4px;
  padding: 17px 12px;
  background: var(--cream);
  border-radius: 10px;
}

.result-summary strong {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 24px;
}

.result-summary span {
  color: var(--ink-soft);
  font-size: 9px;
}

.prototype-note {
  margin: 20px 0 0;
  color: #7f8a84;
  font-size: 10px;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
}

.form-actions .button-text {
  visibility: hidden;
}

.form-actions .button-text.visible {
  visibility: visible;
}

.hidden {
  display: none !important;
}

.field-error {
  animation: nudge 200ms ease 2;
}

@keyframes nudge {
  50% {
    transform: translateX(4px);
  }
}

.trial-modal {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 54px 58px;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: 0 30px 100px rgba(16, 31, 26, 0.3);
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease;
}

.trial-modal-close {
  position: fixed;
}

.trial-detail .status-pill {
  margin-bottom: 20px;
}

.trial-detail h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.trial-detail .detail-sponsor {
  margin: 14px 0 0;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 30px 0;
}

.detail-facts div {
  padding: 16px;
  background: var(--cream);
  border-radius: 10px;
}

.detail-facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-facts strong {
  font-size: 12px;
}

.detail-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.detail-section h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.detail-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
}

@media (max-width: 1060px) {
  .desktop-nav {
    margin-left: 20px;
  }

  .hero-grid {
    gap: 35px;
  }

  .floating-card-top {
    right: 0;
  }

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

  .trial-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    min-width: 0;
  }

  .story-grid {
    gap: 55px;
  }

  .faq-grid {
    gap: 60px;
  }
}

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

  .desktop-nav,
  .desktop-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 82px;
    right: 0;
    left: 0;
    z-index: 49;
    display: grid;
    gap: 18px;
    padding: 24px;
    visibility: hidden;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .mobile-menu.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu a {
    font-family: var(--serif);
    font-size: 24px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .story-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(52px, 13vw, 72px);
  }

  .hero-visual {
    min-height: 500px;
    margin-top: 20px;
  }

  .floating-card-top {
    top: 40px;
    right: 0;
  }

  .floating-card-bottom {
    bottom: 32px;
    left: 0;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
  }

  .trust-strip div:nth-child(2) {
    border: 0;
  }

  .section {
    padding: 90px 0;
  }

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

  .step-card {
    min-height: 310px;
  }

  .trials-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trials-intro > p {
    max-width: 520px;
  }

  .personalize-callout {
    grid-template-columns: 46px 1fr auto;
  }

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

  .learning-card-featured {
    grid-column: 1 / -1;
  }

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

  .match-modal {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 30px);
    overflow-y: auto;
  }

  .match-sidebar {
    min-height: 150px;
    padding: 26px;
  }

  .match-sidebar > div {
    display: none;
  }

  .match-sidebar small {
    max-width: 470px;
  }

  .match-form {
    min-height: 560px;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 24px, 520px);
  }

  .header-inner {
    height: 70px;
  }

  .mobile-menu {
    top: 70px;
  }

  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .hero-actions .button-text {
    align-self: center;
  }

  .hero-visual {
    min-height: 470px;
  }

  .match-preview {
    width: 92%;
    padding: 22px;
  }

  .orbit-one {
    width: 390px;
    height: 400px;
  }

  .orbit-two {
    width: 330px;
    height: 440px;
  }

  .floating-card-top {
    top: 20px;
    right: -4px;
  }

  .floating-card-bottom {
    bottom: 20px;
    left: -5px;
  }

  .trust-strip {
    margin-top: 35px;
  }

  .trust-strip div {
    align-items: center;
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading h2,
  .story-copy h2 {
    font-size: 43px;
  }

  .steps-grid {
    margin-top: 42px;
  }

  .trial-toolbar {
    margin-top: 36px;
    padding: 10px;
  }

  .personalize-callout {
    grid-template-columns: 42px 1fr;
    padding: 16px;
  }

  .personalize-icon {
    width: 42px;
    height: 42px;
  }

  .personalize-callout .button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }

  .personalize-callout small {
    grid-column: 1 / -1;
    margin-top: -3px;
    text-align: center;
  }

  .filter-row {
    padding-bottom: 2px;
  }

  .trial-status {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .match-status {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .match-status div {
    align-items: start;
    flex-direction: column;
    gap: 3px;
  }

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

  .story-art {
    min-height: 420px;
    padding: 40px 32px;
  }

  .story-art blockquote {
    font-size: 37px;
  }

  .story-grid {
    gap: 50px;
  }

  .learn-heading {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }

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

  .learning-card-featured {
    grid-column: auto;
  }

  .learning-card {
    min-height: 290px;
  }

  .faq-grid {
    gap: 45px;
  }

  .faq-item button {
    gap: 20px;
    font-size: 20px;
  }

  .final-cta {
    padding: 90px 0;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .modal-backdrop {
    padding: 0;
  }

  .match-modal {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .match-sidebar {
    min-height: 98px;
    padding: 20px;
  }

  .match-sidebar small {
    display: none;
  }

  .match-form {
    min-height: calc(100vh - 98px);
    padding: 28px 20px 24px;
  }

  .match-progress {
    margin-right: 44px;
  }

  .form-step {
    padding-top: 38px;
  }

  .match-form h2 {
    font-size: 35px;
  }

  .option-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .option-grid {
    margin-top: 22px;
  }

  .option-grid-wide .select-card {
    min-height: 75px;
  }

  .select-card small {
    display: none;
  }

  .travel-options {
    grid-template-columns: 1fr 1fr;
  }

  .result-summary {
    grid-template-columns: 1fr;
  }

  .result-summary div {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
  }

  .trial-modal {
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 60px 22px 30px;
    border-radius: 0;
  }

  .trial-detail h2 {
    font-size: 36px;
  }

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
