:root {
  --bg: #f1f3ec;
  --paper: #fff;
  --ink: #151b12;
  --muted: #606a59;
  --hair: #d8dfcd;
  --bronze: #5d7a4a;
  --bronze-2: #3f5a35;
  --forest: #3f5833;
  --sun: #ffbd52;
  --black: #0c130a;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 15px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #bb7915; outline-offset: 5px; }
button { border: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.display { font-family: var(--font-serif); font-weight: 500; line-height: 1.06; }
h2.display { font-size: 46px; }
.display em { font-weight: inherit; }
.section { padding: 88px 0; }
.section-lede { max-width: 1080px; margin: 20px 0 30px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.anchor-alias { display: block; height: 0; scroll-margin-top: 104px; }
.icon { flex: 0 0 auto; width: 18px; height: 18px; }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 100; padding: 10px 16px; color: var(--ink); background: #fff; border-radius: 4px; }
.skip-link:focus { top: 12px; }

/* A shared header height keeps anchor navigation predictable. */
.nav { position: sticky; top: 0; z-index: 50; background: var(--forest); color: #fff; }
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { font-family: var(--font-serif); font-size: 32px; font-weight: 600; font-style: italic; line-height: 1; display: inline-flex; align-items: baseline; }
.nav .logo span, .nav-drawer .logo span { color: #fff !important; }
.nav-links, .nav-right { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: #e5ebdf; font-size: 12px; white-space: nowrap; }
.nav-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.nav-right { gap: 20px; }
.nav-login { font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav-cta, .nav-drawer-cta { background: var(--black); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 600; padding: 12px 20px; white-space: nowrap; }
.nav-cta:hover { background: #20301b; }
.wexi-home .nav .auth-logout-link { color: #fff; font-size: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: transparent; }
.menu-btn img, .nav-drawer-close img { filter: invert(1); }
.nav-drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
.nav-drawer.open { visibility: visible; pointer-events: auto; }
.nav-drawer-backdrop { position: absolute; inset: 0; background: #0c130a80; opacity: 0; transition: opacity .2s; }
.nav-drawer.open .nav-drawer-backdrop { opacity: 1; }
.nav-drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(390px, 100%); overflow-y: auto; padding: 26px; background: var(--forest); color: #fff; transform: translateX(100%); transition: transform .2s ease; }
.nav-drawer.open .nav-drawer-panel { transform: none; }
.nav-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.nav-drawer-close { background: transparent; width: 44px; height: 44px; padding: 12px; }
.nav-drawer-links { display: flex; flex-direction: column; margin-bottom: 32px; }
.nav-drawer-links > a { padding: 14px 0; border-bottom: 1px solid #ffffff26; }
.wexi-home .nav-drawer .auth-logout-link { color: #fff; font-weight: 400; border-color: #ffffff26; }
.nav-drawer-cta { display: block; text-align: center; }

.btn-primary, .btn-secondary { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 48px; padding: 14px 25px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; transition: background .16s, box-shadow .16s; }
.btn-primary { background: var(--black); color: #fff; }
.btn-primary .icon { filter: invert(1); }
.btn-primary:hover { background: #293c22; box-shadow: 0 4px 14px #14200e19; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun .icon { filter: none; }
.btn-sun:hover { background: #ffcb74; }
.btn-secondary { background: #fffffff0; color: var(--ink); }
.btn-secondary:hover { background: #fff; box-shadow: 0 4px 14px #14200e19; }
.section-cta { display: flex; justify-content: flex-end; margin-top: 28px; }

/* The photograph spans the hero; the fade joins it to the page background. */
.hero { position: relative; isolation: isolate; }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 37%; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, var(--bg), #f1f3ecd9 10%, #f1f3ec69 38%, #f1f3ec00 76%), linear-gradient(90deg, #ffffffba, #ffffff38 47%, #ffffff00 70%); }
.hero-inner { padding-top: 66px; padding-bottom: 46px; }
.hero-copy { max-width: 470px; }
.hero h1 { font-size: 76px; line-height: .98; }
.hero-headline { font-family: var(--font-serif); font-size: 36px; line-height: 1.04; font-weight: 500; margin-top: 18px; max-width: 470px; }
.hero-sub { max-width: 430px; font-size: 14px; line-height: 1.65; margin-top: 23px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fffffff5; border: 1px solid #e3e7de; border-radius: 8px; box-shadow: 0 8px 14px #18241012; overflow: hidden; }
.hero .stat-strip { margin-top: 40px; }
.stat { padding: 22px 26px; }
.stat + .stat { border-left: 1px solid #e7ebe1; }
.stat .num { font-family: var(--font-serif); font-size: 42px; font-weight: 500; line-height: 1.1; color: var(--bronze-2); }
.stat .num em { font-style: italic; }
.stat .num small { font-size: 29px; font-style: italic; }
.stat .lbl { max-width: 210px; font-size: 11px; line-height: 1.55; color: var(--muted); margin-top: 6px; }

.how { padding-top: 54px; }
.how-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.45fr); gap: 24px; align-items: stretch; }
.how-photo { width: 100%; height: 100%; min-height: 0; max-height: 548px; object-fit: cover; object-position: 50% 52%; border-radius: 8px; box-shadow: 0 4px 8px #18241018; }
.how-steps { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; }
.how-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 24px; padding: 26px; background: #fff; border: 1px solid #e7e9e2; border-radius: 8px; box-shadow: 0 5px 8px #18241013; }
.step-icon { width: 54px; height: 54px; }
.step-number { font-family: var(--font-serif); font-size: 16px; font-weight: 500; }
.how-step h3 { font-family: var(--font-serif); font-size: 30px; font-weight: 500; line-height: 1.15; color: var(--bronze-2); margin: 3px 0 7px; }
.how-step p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.step-time { display: block; margin-top: 13px; color: var(--bronze-2); font-size: 11px; font-weight: 500; }

.docs { padding-top: 108px; }
.docs-layout { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.6fr); gap: 60px; align-items: start; }
.feat-list { list-style: none; margin: 0; padding: 6px 0 0; display: grid; gap: 26px; }
.feat-list li { display: flex; align-items: flex-start; gap: 12px; }
.check { flex: 0 0 21px; width: 21px; height: 21px; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; background: #6a8856; }
.check img { filter: invert(1); width: 13px; height: 13px; }
.feat-list h3 { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.feat-list p { max-width: 260px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 670px; }
.doc-card { min-width: 0; background: #fff; border: 1px solid #a9b89d; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 10px #18241016; }
.doc-card > img { width: 100%; height: auto; aspect-ratio: 1 / 1.03; object-fit: cover; object-position: center 15%; background: #f8f7ef; }
.doc-info { padding: 21px 18px 23px; }
.doc-info h3 { font-family: var(--font-serif); font-size: 21px; line-height: 1.2; font-weight: 500; }
.doc-info p { margin-top: 7px; font-size: 11px; color: var(--muted); }
.creds { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 15px; font-size: 10px; color: var(--muted); }
.docs .stat-strip { margin-top: 42px; }

.reviews { padding-top: 114px; }
.reviews h2 { text-align: center; }
.reviews h2 em { color: var(--bronze-2); }
.tp-block { text-align: center; margin: 20px 0 36px; }
.tp-score { color: var(--muted); font-size: 12px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { background: #fff; border: 1px solid #e5e8df; border-radius: 6px; padding: 21px; display: flex; flex-direction: column; min-width: 0; }
.r-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 12px; margin-bottom: 16px; }
.r-stars { font-size: 15px; line-height: 1; }
.r-ver { font-size: 9px; color: var(--muted); }
.r-body { font-size: 13px; line-height: 1.7; color: #3b4436; flex: 1; }
.r-by { font-size: 12px; margin-top: 18px; }
.r-by b { font-weight: 600; }
.review-more { position: relative; margin-top: 18px; }
.review-more-clip { height: 104px; overflow: hidden; -webkit-mask-image: linear-gradient(#0005, transparent 90%); mask-image: linear-gradient(#0005, transparent 90%); }
.review-more.is-open .review-more-clip { height: auto; -webkit-mask-image: none; mask-image: none; }
.review-more-btn { position: relative; display: flex; align-items: center; gap: 12px; margin: -22px auto 0; padding: 11px 18px; min-height: 44px; border-radius: 6px; background: var(--forest); color: #fff; font-size: 12px; box-shadow: 0 6px 18px #27351b20; }
.review-more.is-open .review-more-btn { margin-top: 24px; }
.review-more-btn:hover { background: #304728; }
.review-more-arrow { filter: invert(1); }
.review-more.is-open .review-more-arrow { transform: rotate(180deg); }
.reviews .section-cta { margin-top: 30px; }

.faq { padding-top: 86px; padding-bottom: 135px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 66px; margin-top: 30px; align-items: start; }
.faq-aside { max-width: 300px; color: var(--muted); font-size: 14px; }
.faq-aside a { font-size: 13px; text-underline-offset: 4px; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q { display: flex; justify-content: space-between; gap: 22px; align-items: center; width: 100%; padding: 21px 0; background: transparent; text-align: left; font-size: 14px; font-weight: 600; line-height: 1.6; }
.pm { font-size: 22px; font-weight: 400; color: var(--muted); flex: 0 0 20px; text-align: center; }
.faq-a-inner { padding-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.banner { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 640px; color: #fff; text-align: center; background: #263625; }
.banner-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.banner::after { content: ''; position: absolute; z-index: -1; inset: 0; background: #182718a6; }
.banner-inner { padding-block: 90px; display: flex; flex-direction: column; align-items: center; }
.banner h2.display { font-size: 64px; }
.banner p { margin-top: 24px; max-width: 500px; font-size: 14px; line-height: 1.7; color: #eef0e7; }
.banner .btn-primary { margin-top: 30px; }
.foot { padding: 66px 0 34px; background: var(--black); color: #ced7c4; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 55px; }
.foot .logo { color: #86a773; }
.foot .logo .xi { color: #fff; }
.foot-tag { margin-top: 20px; max-width: 300px; font-size: 12px; line-height: 1.7; }
.foot-col h5 { font-size: 12px; color: #fff; font-weight: 500; margin: 0 0 18px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 12px; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bot { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 20px 36px; border-top: 1px solid #ffffff15; padding-top: 28px; margin-top: 38px; font-size: 10px; color: #8f9c86; }
.foot-bot > p { max-width: 650px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 15px; }
.legitscript-seal { grid-column: 1 / -1; justify-self: end; }
.legitscript-seal img { width: 58px; height: auto; }
.floating-call { position: fixed; z-index: 40; bottom: 18px; left: 20px; display: flex; align-items: center; gap: 12px; background: #fffffff5; border: 1px solid #d6decd; border-radius: 8px; padding: 12px 16px; box-shadow: 0 5px 24px #18241014; color: var(--ink); }
.floating-call .ic { width: 24px; height: 24px; display: grid; place-items: center; }
.floating-call .copy { display: flex; flex-direction: column; gap: 2px; }
.floating-call .label { font-size: 10px; color: var(--muted); }
.floating-call .nums { display: flex; flex-wrap: wrap; gap: 9px; font-size: 12px; }
.floating-call .nums strong { font-weight: 600; }
.floating-call .nums > span { color: var(--hair); }

@media (min-width: 1051px) and (max-height: 820px) {
  .hero-inner { padding-top: 38px; padding-bottom: 28px; }
  .hero h1 { font-size: 64px; }
  .hero-headline { font-size: 30px; margin-top: 14px; }
  .hero-sub { margin-top: 16px; }
  .hero-ctas { margin-top: 18px; }
  .hero .stat-strip { margin-top: 28px; }
  .hero .stat { padding-top: 16px; padding-bottom: 16px; }
}

@media (max-width: 1100px) {
  .nav-inner { gap: 18px; }
  .nav-links { gap: 14px; }
  .nav-right { gap: 12px; }
  .nav-cta { padding: 11px 14px; font-size: 11px; }
  .docs-layout { gap: 30px; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.5fr); }
  .doc-info h3 { font-size: 19px; }
  .how-step { padding: 22px; gap: 18px; }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-inner { height: 66px; }
  .nav-cta { padding: 12px 20px; font-size: 12px; }
  .section { padding: 64px 0; }
  h2.display { font-size: 38px; }
  .hero-inner { padding-top: 54px; padding-bottom: 32px; }
  .hero h1 { font-size: 65px; }
  .hero-headline { font-size: 31px; }
  .hero-copy { max-width: 400px; }
  .hero-sub { max-width: 350px; }
  .hero-photo { object-position: 57% center; }
  .hero::after { background: linear-gradient(0deg, var(--bg), #f1f3ecab 20%, #f1f3ec00 85%), linear-gradient(90deg, #ffffffe3, #ffffff73 50%, #ffffff00 85%); }
  .stat { padding: 19px 18px; }
  .stat .num { font-size: 34px; }
  .stat .num small { font-size: 23px; }
  .stat .lbl { font-size: 10px; }
  .how-layout { grid-template-columns: minmax(0, .65fr) minmax(0, 1.2fr); gap: 18px; }
  .how-steps { gap: 14px; }
  .how-step { grid-template-columns: 38px minmax(0,1fr); padding: 20px 16px; gap: 16px; }
  .step-icon { width: 36px; height: 36px; }
  .how-step h3 { font-size: 26px; }
  .how-photo { max-height: none; }
  .docs-layout { grid-template-columns: 1fr; gap: 32px; }
  .feat-list { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
  .feat-list li { gap: 9px; }
  .doc-grid { width: 100%; max-width: 680px; margin-inline: auto; }
  .doc-info h3 { font-size: 23px; }
  .review-grid { gap: 12px; }
  .review { padding: 17px; }
  .r-body { font-size: 12px; }
  .r-head { gap: 10px; }
  .faq-layout { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px; }
  .faq { padding-bottom: 90px; }
  .banner { min-height: 520px; }
  .banner h2.display { font-size: 54px; }
  .foot-top { gap: 28px; }
  .foot-bot { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 82px; }
  .container { width: calc(100% - 40px); }
  .nav-inner { gap: 12px; height: 62px; }
  .logo { font-size: 29px; }
  .nav-right { gap: 10px; }
  .nav-right .nav-cta { display: none; }
  .nav-login { font-size: 13px; }
  .section { padding: 52px 0; }
  h2.display { font-size: 33px; line-height: 1.1; }
  .desktop-break { display: none; }
  .section-lede { font-size: 14px; margin-top: 18px; margin-bottom: 26px; }
  .hero-inner { padding-top: 34px; padding-bottom: 24px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: 54px; }
  .hero-headline { font-size: 25px; line-height: 1.13; max-width: 260px; margin-top: 16px; }
  .hero-sub { max-width: 265px; font-size: 12px; line-height: 1.6; margin-top: 17px; }
  .hero-photo { object-position: 60% top; }
  .hero::after { background: linear-gradient(0deg, var(--bg), #f1f3ecd9 27%, #f1f3ec38 75%, #f1f3ec00), linear-gradient(90deg, #ffffffd9, #ffffff9e 40%, #ffffff0a); }
  .hero-ctas { gap: 9px; margin-top: 22px; }
  .btn-primary, .btn-secondary { font-size: 11px; min-height: 44px; padding: 12px 17px; gap: 11px; }
  .hero .stat-strip { margin-top: 25px; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 15px 18px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid #e7ebe1; }
  .stat .num { font-size: 31px; }
  .stat .num small { font-size: 22px; }
  .stat .lbl { font-size: 9px; }
  .how { padding-top: 26px; }
  .how-layout { grid-template-columns: 1fr; }
  .how-photo { height: 300px; aspect-ratio: 4 / 3; object-position: center 50%; }
  .how-steps { gap: 14px; grid-template-rows: auto; }
  .how-step { padding: 22px 20px; grid-template-columns: 42px minmax(0,1fr); gap: 18px; }
  .step-icon { width: 40px; height: 40px; }
  .how-step h3 { font-size: 27px; }
  .step-number { font-size: 14px; }
  .how-step p { font-size: 12px; }
  .section-cta { justify-content: center; margin-top: 24px; }
  .feat-list { grid-template-columns: 1fr; gap: 22px; }
  .feat-list p { max-width: none; }
  .feat-list li { gap: 12px; }
  .doc-grid { gap: 12px; }
  .doc-info { padding: 16px 12px 18px; }
  .doc-info h3 { font-size: 19px; overflow-wrap: anywhere; }
  .doc-info p { font-size: 10px; }
  .creds { font-size: 9px; gap: 8px; }
  .docs .stat-strip { margin-top: 30px; }
  .tp-score { font-size: 11px; line-height: 1.7; }
  .tp-block { margin: 18px 0 26px; }
  .review-grid { grid-template-columns: 1fr; gap: 14px; }
  .review { padding: 22px; }
  .r-body { font-size: 13px; }
  .r-ver { font-size: 10px; }
  .reviews > .container > .review-grid > .review:nth-child(n+4) { display: none; }
  .reviews.expanded > .container > .review-grid > .review:nth-child(n+4) { display: flex; }
  .review-more-clip { height: 90px; }
  .review-more-btn { margin-top: -22px; }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 22px; }
  .faq-aside { max-width: 100%; }
  .faq-q { font-size: 13px; padding: 19px 0; }
  .faq-a-inner { font-size: 13px; }
  .faq { padding-bottom: 64px; }
  .banner { min-height: 510px; }
  .banner-inner { padding: 70px 0; }
  .banner-photo { object-position: 49% center; }
  .banner h2.display { font-size: 45px; }
  .banner p { font-size: 13px; max-width: 320px; }
  .foot { padding: 44px 0 100px; }
  .foot-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
  .foot-col:first-child { grid-column: 1/-1; }
  .foot-tag { max-width: 340px; }
  .foot-col h5 { margin-bottom: 14px; }
  .foot-col ul { gap: 10px; }
  .foot-bot { margin-top: 30px; gap: 22px; }
  .legitscript-seal { justify-self: start; }
  .floating-call { left: 12px; bottom: 15px; padding: 10px 12px; gap: 9px; max-width: calc(100% - 100px); }
  .floating-call .nums { font-size: 12px; }
  .floating-call .nums > span, .floating-call .nums strong:last-child { display: none; }
  .floating-call .label { font-size: 9px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 46px; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { padding-inline: 12px; }
  h2.display { font-size: 30px; }
  .doc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) and (max-height: 700px) {
  .hero-inner { padding-top: 22px; padding-bottom: 16px; }
  .hero h1 { font-size: 46px; }
  .hero-headline { font-size: 22px; margin-top: 14px; }
  .hero-sub { max-width: 100%; margin-top: 14px; line-height: 1.5; }
  .hero-ctas { margin-top: 18px; }
  /* These same metrics remain available beneath the clinician section. */
  .hero .stat-strip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
