/* Meds.com homepage concept by GLO, November 2026.
   Brand: the logo's black and white, one accent ("dose" lime) used like a highlighter,
   pill shapes from the wordmark's rounded corners, lowercase heavy headlines set like the logo. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/case-studies/concepts/meds-com/assets/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0a0a;
  --ink-2: #131313;
  --ink-3: #1c1c1c;
  --line-dark: #2b2b2b;
  --mute-dark: #a8a69e;
  --paper: #f3f1ea;
  --white: #ffffff;
  --line: #dcd8cc;
  --mute: #57544c;
  --lime: #d4f54a;
  --lime-2: #c3e639;
  --blue: #1537c8;
  --radius: 28px;
  --radius-sm: 16px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --focus: var(--ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 0;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero, .section--ink, .site-header, .footer, .preview-bar, .dock, .brand-card--mod, .brand-card--bluechew { --focus: var(--lime); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Preview bar */
.preview-bar { background: var(--ink-2); color: var(--mute-dark); font-size: 13px; line-height: 1.4; text-align: center; padding: 9px var(--gutter); border-bottom: 1px solid var(--line-dark); }
.preview-bar strong { color: var(--white); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.1; letter-spacing: -.005em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--ghost-dark { border-color: #4a4a46; color: var(--white); }
.btn--ghost-ink { border-color: var(--ink); color: var(--ink); }
.btn .count { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 13px; }
@media (hover: hover) {
  .btn:hover svg { transform: translateX(3px); }
  .btn--lime:hover { background: var(--white); }
  .btn--ink:hover { background: #2a2a2a; }
  .btn--white:hover { background: var(--lime); }
  .btn--ghost-dark:hover { border-color: var(--white); }
  .btn--ghost-ink:hover { background: var(--ink); color: var(--white); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; border-bottom: 2px solid currentColor; }
.link-arrow svg { width: 18px; height: 18px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.link-quiet { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--mute-dark); display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
@media (hover: hover) { .link-quiet:hover { color: var(--white); } }

/* Eyebrows */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: -.005em; margin-bottom: 18px; color: var(--ink); }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.eyebrow--dark { color: var(--white); }
.eyebrow--dark::before { box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, .94); color: var(--white); border-bottom: 1px solid var(--line-dark); transition: transform .3s var(--ease); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(10, 10, 10, .82); backdrop-filter: saturate(1.4) blur(14px); } }
.site-header[data-hidden="true"] { transform: translateY(-100%); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--white); min-height: 44px; }
.brand svg { height: 27px; width: auto; }
.nav { margin-left: 16px; display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; font-size: 15px; color: #d9d7cf; border-radius: 999px; }
@media (hover: hover) { .nav a:hover { color: var(--white); background: var(--ink-3); } }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.site-header__actions .link-quiet { display: none; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid #3a3a37; border-radius: 999px; cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line-dark); padding: 8px var(--gutter) 20px; }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.mobile-menu .count { font-size: 14px; background: var(--lime); color: var(--ink); border-radius: 999px; padding: 2px 9px; }
@media (max-width: 479px) { .site-header__actions .btn { display: none; } }
@media (min-width: 960px) {
  .nav { display: block; }
  .menu-btn, .mobile-menu { display: none !important; }
  .site-header__actions .link-quiet { display: inline-flex; }
}

/* Hero */
.hero { background: var(--ink); color: var(--white); padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__title {
  font-weight: 800; letter-spacing: -.05em; line-height: .92;
  font-size: clamp(3.1rem, 9.6vw, 8.6rem);
  text-wrap: balance; margin: 0 0 clamp(28px, 4vw, 52px) -.04em;
}
.hero__title > span { display: inline; }
@media (min-width: 760px) { .hero__title > span { display: block; } }
mark { display: inline-block; background: var(--lime); color: var(--ink); border-radius: 999px; line-height: .9; padding: .02em .17em .1em .15em; margin: .04em .02em 0 0; white-space: nowrap; }
.hero__grid { display: grid; gap: 40px; padding-bottom: clamp(56px, 7vw, 88px); }
.hero__lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #e4e2da; max-width: 34em; margin-bottom: 30px; }
.hero__patient { margin-top: 26px; font-size: 15px; color: var(--mute-dark); max-width: 34em; }
.hero__patient a { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--lime); display: inline-flex; align-items: center; gap: 6px; }
.hero__patient a svg { width: 15px; height: 15px; }
@media (min-width: 1040px) {
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}

/* The track: one order, five steps */
.track { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 28px); }
.track__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.track__label { font-weight: 700; font-size: 15px; color: #e4e2da; }
.track__pause { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: transparent; border: 1px solid #3a3a37; color: var(--mute-dark); font-size: 14px; font-weight: 600; cursor: pointer; }
.track__pause svg { width: 14px; height: 14px; fill: currentColor; }
.track__pause .i-play { display: none; }
.track__pause[aria-pressed="true"] .i-play { display: block; }
.track__pause[aria-pressed="true"] .i-pause { display: none; }
@media (hover: hover) { .track__pause:hover { color: var(--white); border-color: var(--white); } }
.track__pill { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 22px; border: 1px solid #34342f; background: var(--ink); }
.track__step {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; padding: 8px 2px; border: 0; border-radius: 17px; background: transparent; color: #d9d7cf; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.track__step .n { font-size: 12px; font-weight: 600; color: #8e8c85; font-variant-numeric: tabular-nums; transition: color .25s; }
.track__step .w { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.track__step[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.track__step[aria-selected="true"] .n { color: var(--ink); }
@media (hover: hover) { .track__step:not([aria-selected="true"]):hover { background: var(--ink-3); color: var(--white); } }
@media (min-width: 560px) {
  .track__pill { border-radius: 999px; }
  .track__step { flex-direction: row; gap: 8px; min-height: 56px; border-radius: 999px; }
  .track__step .w { font-size: 15px; }
}
.track__bar { height: 2px; margin: 14px 22px 0; background: #26261f; border-radius: 2px; overflow: hidden; }
.track__bar span { display: block; height: 100%; width: 0; background: var(--lime); }
.track__bar span.run { animation: trackbar var(--track-ms, 5200ms) linear forwards; }
.track[data-paused="true"] .track__bar span.run { animation-play-state: paused; }
@keyframes trackbar { from { width: 0; } to { width: 100%; } }
.track__panels { min-height: 214px; display: grid; }
.track__panel { padding: 22px 6px 6px; display: grid; gap: 12px; align-content: start; border-radius: var(--radius-sm); }
.track__panel:not([hidden]) { animation: panelin .45s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.track__owner { font-size: 13px; font-weight: 700; color: var(--lime); letter-spacing: .01em; }
.track__text { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; font-weight: 600; letter-spacing: -.015em; color: var(--white); text-wrap: pretty; }
.track__fact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; color: var(--mute-dark); border-top: 1px solid var(--line-dark); padding-top: 14px; margin-top: 4px; }
.track__fact strong { color: var(--white); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.track__base { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--ink-3); color: #d9d7cf; font-size: 14.5px; line-height: 1.5; }
.track__base .dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--lime); }

/* Proof */
.proof { border-top: 1px solid var(--line-dark); }
.proof__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof__list li { padding: 28px 18px 30px 0; display: grid; gap: 6px; align-content: start; }
.proof__list li:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line-dark); }
.proof__list li:nth-child(even) { padding-left: 20px; }
.proof__list li:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
.proof__list strong { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.proof__list span { font-size: 14.5px; line-height: 1.45; color: var(--mute-dark); max-width: 18em; }
@media (min-width: 900px) {
  .proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof__list li, .proof__list li:nth-child(odd), .proof__list li:nth-child(even) { padding: 36px 28px 40px; border-bottom: 0; border-right: 1px solid var(--line-dark); }
  .proof__list li:first-child { padding-left: 0; }
  .proof__list li:last-child { border-right: 0; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }
.section-head { max-width: 980px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2, .patients h2, .closer h2, .faq__head h2, .partners__copy h2 {
  font-size: clamp(2.5rem, 6.2vw, 5.4rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; text-wrap: balance;
}
.section-head__lede { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); max-width: 40em; text-wrap: pretty; }
.section--ink .section-head__lede { color: var(--mute-dark); }
.section-head--split { max-width: none; display: grid; gap: 20px; align-items: end; }
.section-head--split .section-head__lede { margin-top: 0; }
@media (min-width: 1000px) { .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }

/* Compare */
.compare { display: grid; gap: 16px; margin-bottom: 20px; }
.compare__col { border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.compare__col--rented { border: 1.5px dashed #b9b4a6; }
.compare__col--meds { background: var(--ink); color: var(--white); --focus: var(--lime); }
.compare__title { font-weight: 800; font-size: 22px; letter-spacing: -.03em; margin-bottom: 20px; }
.compare__chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.compare__chain li { display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; color: var(--mute); }
.compare__chain li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #8b8679; margin-right: 8px; }
.compare__chain li:not(:last-child)::after { content: ""; width: 26px; height: 0; border-top: 1.5px dashed #b9b4a6; margin: 0 10px; }
.compare__note { margin-top: 22px; font-size: 15px; color: var(--mute); }
.compare__col--meds .compare__note { color: var(--mute-dark); }
.compare__one { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.compare__logo { display: inline-flex; background: var(--white); color: var(--ink); border-radius: 999px; padding: 10px 18px; }
.compare__logo svg { height: 22px; width: auto; }
.compare__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.compare__tags li { background: var(--lime); color: var(--ink); border-radius: 999px; padding: 6px 13px; font-size: 14px; font-weight: 700; }
@media (min-width: 960px) { .compare { grid-template-columns: 1fr 1fr; } }

.caps { display: grid; gap: 16px; }
.cap { background: var(--white); border-radius: var(--radius); padding: 28px 26px 30px; border: 1px solid var(--line); }
.cap__icon { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; padding: 0; }
.cap h3 { font-size: 21px; font-weight: 800; letter-spacing: -.025em; margin-bottom: 10px; }
.cap p { font-size: 15.5px; color: var(--mute); line-height: 1.55; }
@media (min-width: 640px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .caps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Brands */
.brands { display: grid; gap: 16px; }
.brand-card { border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.brand-card__tag { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 5px 12px; border: 1.5px solid currentColor; }
.brand-card__name { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.brand-card__text { font-size: 17px; line-height: 1.55; max-width: 30em; }
.brand-card__stat { display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.brand-card__stat strong { font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.brand-card__steps { width: 100%; max-width: 34em; border-top: 1px solid rgba(255, 255, 255, .24); margin: 4px 0 8px; }
.brand-card__steps li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .24); font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.brand-card__steps span { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--blue); font-size: 13px; font-weight: 800; }
/* Plus Jakarta's punctuation carries wide side bearings: pull it in at display sizes */
.pt { margin-left: -.07em; }
.brand-card__small { margin-top: auto; padding-top: 18px; font-size: 12.5px; line-height: 1.5; opacity: .82; max-width: 44em; }
.brand-card--bluechew { background: var(--blue); color: var(--white); }
.brand-card--mod { background: var(--ink); color: var(--white); }
.brand-card--mod .brand-card__text, .brand-card--bluechew .brand-card__text { color: #eeeef8; }
.brand-card--next { background: var(--paper); border: 1.5px dashed #b9b4a6; }
.brand-card--next .brand-card__text { color: var(--mute); }
.brand-card--next .link-arrow { margin-top: auto; }
@media (min-width: 1000px) {
  .brands { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; }
  .brand-card--bluechew { grid-row: span 2; }
}

/* Patients */
.patients { background: var(--lime); padding: clamp(56px, 7vw, 96px) 0; }
.patients__inner { display: grid; gap: 28px; align-items: end; }
.patients p { font-size: clamp(17px, 1.5vw, 20px); max-width: 36em; margin-top: 18px; }
.patients .eyebrow::before { background: var(--ink); box-shadow: none; }
.patients__small { font-size: 14px !important; margin-top: 12px !important; }
@media (min-width: 1000px) { .patients__inner { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; } .patients__actions { justify-self: end; } }

/* Careers */
.perks { display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px 12px 12px; font-size: 15px; line-height: 1.35; color: var(--mute); }
.perks li strong { color: var(--ink); }
.perks svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--lime); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perks__small { font-size: 13px; color: var(--mute); margin: 12px 4px 0; }
@media (min-width: 700px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .perks { grid-template-columns: repeat(5, minmax(0, 1fr)); } .perks li { border-radius: 20px; flex-direction: column; align-items: flex-start; padding: 18px; } }

.roles { margin-top: clamp(40px, 5vw, 64px); background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.roles__bar { display: grid; gap: 14px; padding: 22px clamp(18px, 2.4vw, 30px); border-bottom: 1px solid var(--line); }
.roles__count { font-size: 18px; font-weight: 600; }
.roles__count strong { font-size: 28px; font-weight: 800; letter-spacing: -.04em; margin-right: 2px; }
.roles__filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(clamp(18px, 2.4vw, 30px) * -1); padding: 2px clamp(18px, 2.4vw, 30px) 4px; }
.roles__filters::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.chip .n { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed="true"] .n { color: var(--lime); }
@media (hover: hover) { .chip:not([aria-pressed="true"]):hover { border-color: var(--ink); } }
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; cursor: pointer; justify-self: start; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { width: 42px; height: 24px; border-radius: 999px; background: #cfcbbf; position: relative; transition: background-color .2s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.toggle input:checked + .toggle__ui { background: var(--ink); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); background: var(--lime); }
.toggle input:focus-visible + .toggle__ui { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (min-width: 1100px) { .roles__bar { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; } .roles__filters { margin: 0; padding: 2px; flex-wrap: wrap; } }

.roles__list li { border-bottom: 1px solid var(--line); }
.role { display: grid; gap: 8px 24px; padding: 20px clamp(18px, 2.4vw, 30px); align-items: center; }
.role__title { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.role__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.role__meta span { font-size: 13px; font-weight: 600; color: var(--mute); background: var(--paper); border-radius: 999px; padding: 4px 10px; }
.role__meta span.remote { background: var(--lime); color: var(--ink); }
.role__apply { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; min-height: 44px; justify-self: start; }
.role__apply svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.role__states { display: flex; flex-wrap: wrap; gap: 6px; }
.role__states a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; text-decoration: none; }
@media (hover: hover) {
  .role:hover { background: #fbfaf6; }
  .role__apply:hover svg { transform: translateX(3px); }
  .role__states a:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
}
@media (min-width: 900px) { .role { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; } .role__apply { justify-self: end; } }
.roles__empty { padding: 28px clamp(18px, 2.4vw, 30px); color: var(--mute); }
.roles__foot { display: grid; gap: 14px; padding: 24px clamp(18px, 2.4vw, 30px) 28px; background: #fbfaf6; }
.roles__foot p { font-size: 15px; color: var(--mute); }
.roles__foot a:not(.btn) { color: var(--ink); font-weight: 700; }
@media (min-width: 900px) { .roles__foot { grid-template-columns: auto 1fr; align-items: center; gap: 28px; } }

.places { margin-top: clamp(40px, 5vw, 64px); }
.places__title { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.places__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.places__list li { display: grid; gap: 2px; padding: 16px 12px 18px 0; border-bottom: 1px solid var(--line); }
.places__list strong { font-size: 16px; letter-spacing: -.01em; }
.places__list span { font-size: 14px; color: var(--mute); }
@media (min-width: 900px) { .places__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .places__list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Leadership */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.leaders li { display: grid; gap: 4px; align-content: start; padding: 22px 20px 24px; border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--line-dark); }
.leaders .mono { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-3); border: 1px solid #383833; color: var(--lime); font-weight: 800; font-size: 17px; letter-spacing: -.02em; margin-bottom: 14px; }
.leaders strong { font-size: 18px; letter-spacing: -.02em; line-height: 1.25; }
.leaders span { font-size: 14px; color: var(--mute-dark); line-height: 1.4; }
.leaders__more { padding: 0 !important; background: var(--lime) !important; border-color: var(--lime) !important; }
.leaders__more a { display: grid; gap: 6px; align-content: end; height: 100%; min-height: 150px; padding: 22px 20px 24px; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); --focus: var(--white); }
.leaders__more span { color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.leaders__more svg { width: 16px; height: 16px; }
@media (min-width: 760px) { .leaders { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Partners */
.partners { display: grid; gap: 40px; }
.partners__types { margin-top: 32px; border-top: 1.5px solid var(--ink); }
.partners__types li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.partners__types strong { font-size: 17px; letter-spacing: -.01em; }
.partners__types span { font-size: 15px; color: var(--mute); }
.enquiry { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.enquiry__title { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.enquiry__types { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.enquiry__types legend { font-size: 15px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.enquiry__types label { position: relative; cursor: pointer; }
.enquiry__types input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.enquiry__types span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 15px; font-weight: 600; }
.enquiry__types input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.enquiry__types input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.enquiry__field { font-size: 15px; font-weight: 700; margin-top: 6px; }
.enquiry__field .opt { font-weight: 500; color: var(--mute); }
.enquiry textarea { width: 100%; min-height: 120px; resize: vertical; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fbfaf6; color: var(--ink); }
.enquiry textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.enquiry__small { font-size: 13px; color: var(--mute); }
.enquiry__alt { font-size: 15px; color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.enquiry__alt .link-btn { color: var(--ink); }
.copied { font-size: 13px; font-weight: 700; color: var(--ink); }
@media (min-width: 1000px) { .partners { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: start; } .enquiry { position: sticky; top: calc(var(--header-h) + 24px); } }

/* FAQ */
.faq { display: grid; gap: 32px; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background-color .2s, border-color .2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--lime); border-color: var(--lime); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .faq__a { padding: 0 52px 24px 0; color: var(--mute); font-size: 16.5px; max-width: 46em; }
.faq .faq__a a { color: var(--ink); font-weight: 700; }
@media (hover: hover) { .faq summary:hover .pm { border-color: var(--ink); } }
@media (min-width: 1000px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } .faq__head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }

/* Closer */
.closer { background: var(--lime); padding: clamp(72px, 10vw, 136px) 0; }
.closer__inner { display: grid; gap: 32px; }
.closer h2 { max-width: 12em; font-size: clamp(2.8rem, 7.4vw, 6.6rem); }

/* Footer */
.footer { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.brand--footer svg { height: 44px; }
.footer__line { font-size: 18px; font-weight: 700; color: var(--mute-dark); letter-spacing: -.02em; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 36px 0; }
.footer__h { font-size: 13px; font-weight: 700; color: var(--mute-dark); margin-bottom: 8px; letter-spacing: .01em; }
.footer__cols a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 15px; color: #e4e2da; }
@media (hover: hover) { .footer__cols a:hover { color: var(--lime); } }
.footer__base { display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: #8e8c85; }
@media (min-width: 900px) { .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer__base { grid-template-columns: 1fr auto; } }

/* Mobile dock */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(10, 10, 10, .92); border: 1px solid #2f2f2b; box-shadow: 0 12px 30px rgba(0,0,0,.28); transform: translateY(140%); transition: transform .35s var(--ease); }
.dock .btn { width: 100%; }
.dock[data-show="true"] { transform: none; }
@media (min-width: 960px) { .dock { display: none; } }

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

/* 404 */
.nf__main { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: 48px 0; }
.nf__title { margin-top: 56px; font-size: clamp(2.8rem, 8vw, 6.4rem); }

/* Track on small screens: numbers in the pill, the step name above its panel */
.track__name { display: none; }
@media (max-width: 559px) {
  .track__step { min-height: 48px; }
  .track__step .w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .track__step .n { font-size: 15px; font-weight: 700; color: #d9d7cf; }
  .track__name { display: flex; align-items: baseline; gap: 10px; font-size: 28px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--white); }
  .track__name span { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--lime); }
}

/* No one-word last lines: balance short headings, let paragraphs avoid orphans */
h1, h2, h3, .role__title, .enquiry__title, .brand-card__name { text-wrap: balance; }
p, li, .partners__types span, .perks li span, .places__list span { text-wrap: pretty; }
