@import url("https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&family=Libre+Franklin:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&display=swap");

:root {
  color-scheme: light;
  --ink: #1c1917;
  --muted: #6f6861;
  --soft: #a49b92;
  --line: #e8e3de;
  --paper: #ffffff;
  --wash: #faf9f7;
  --focus: #d6b371;
  --gold: #9a7218;
  --gold-soft: #f4e7b5;
  --yellow: #ffc700;
  --purple: #8119ff;
  --green: #25845f;
  --green-soft: #bde6cb;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 24px 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  opacity: 0.88;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(300px, 360px);
  grid-template-rows: auto 1fr;
  gap: clamp(42px, 7vw, 86px);
  align-items: start;
}

.hero-intro,
.story {
  grid-column: 1;
}

.eyebrow,
.form-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0 0 32px;
  max-width: 720px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.65rem, 6vw, 4.35rem);
  font-weight: 600;
  line-height: 1.04;
}

.story {
  max-width: 650px;
  color: var(--ink);
  font-size: 1.01rem;
}

.story p {
  margin: 0 0 18px;
}

.story strong {
  font-weight: 700;
}

.story .signature {
  margin: 34px 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.portrait {
  width: min(180px, 52vw);
  margin: 34px 0 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--wash);
}

.signup-card {
  position: sticky;
  grid-column: 2;
  grid-row: 1 / span 2;
  top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.signup-card h2 {
  margin: 0 0 24px;
  max-width: 14em;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.12;
}

.field {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  background: var(--wash);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder {
  color: var(--soft);
}

.field input:focus {
  outline: 0;
  border-color: color-mix(in srgb, var(--focus) 70%, var(--line));
  background: var(--paper);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 24%, transparent);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: #38322d;
  border-color: #38322d;
  transform: translateY(-1px);
}

.is-submitting .button {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.45em;
  margin: 14px 0 0;
  color: #9f2f2f;
  font-size: 0.9rem;
  font-weight: 600;
}

.featured {
  max-width: 880px;
  margin: 0 auto;
  padding: 38px 24px 82px;
  text-align: center;
}

.featured h2 {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured img {
  width: min(680px, 100%);
  margin: 0 auto;
  opacity: 0.92;
}

.footer {
  padding: 28px 24px 42px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
}

.ty-page {
  background: var(--paper);
}

.ty-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(42px, 8vw, 82px) 24px 76px;
}

.ty-title {
  margin: 0 0 42px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
}

.ty-title span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 0.27em;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}

.ty-copy {
  color: var(--ink);
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  line-height: 1.78;
}

.ty-copy p,
.ty-copy ul {
  margin: 0 0 22px;
}

.ty-copy ul {
  padding-left: 1.25em;
}

.ty-copy li {
  margin-bottom: 14px;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 42px 0;
}

.support-title {
  margin: 0 0 22px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.12;
}

.lab-page {
  background: #ffffff;
}

.lab-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lab-nav-cta,
.lab-text-link {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.lab-nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  text-decoration: none;
}

.lab-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 76px) 24px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.lab-hero-copy {
  max-width: 900px;
}

.lab-hero h1,
.lab-section h2,
.lab-band h2,
.lab-offer h2,
.lab-thanks h1 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.02;
}

.lab-hero h1 {
  max-width: none;
  font-size: clamp(4.2rem, 10vw, 7.4rem);
  letter-spacing: -0.035em;
}

.lab-lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: #342f2a;
  font-size: clamp(1.25rem, 2.5vw, 1.72rem);
  font-weight: 600;
  line-height: 1.35;
}

.lab-action-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.lab-ms-paint {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: 18px;
  font-family: "Comic Neue", "Chalkboard SE", "Comic Sans MS", sans-serif;
}

.lab-ms-paint article {
  padding: 24px;
  border: 3px solid #171513;
  background: #ffffff;
}

.lab-ms-old {
  box-shadow: 6px 6px 0 #8f8a84;
  transform: rotate(-0.4deg);
}

.lab-ms-new {
  border-color: var(--green) !important;
  box-shadow: 6px 6px 0 var(--green);
  transform: rotate(0.35deg);
}

.lab-ms-title {
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 3px solid #171513;
  background: #efeeeb;
  color: #171513;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800;
  text-align: center;
}

.lab-ms-new .lab-ms-title {
  border-color: var(--green);
  background: var(--green-soft);
}

.lab-ms-flow {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.lab-ms-flow span {
  width: 100%;
  padding: 9px 12px;
  border: 2px solid #171513;
  background: #ffffff;
  color: #171513;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  font-weight: 800;
  text-align: center;
}

.lab-ms-flow b {
  color: #77716b;
  font-size: 1.45rem;
  line-height: 1;
}

.lab-ms-new .lab-ms-flow b {
  color: var(--green);
}

.lab-ms-note {
  margin: 22px 0 0;
  color: #171513;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.lab-ms-arrow {
  align-self: center;
  color: #171513;
  font-size: 4rem;
  font-weight: 800;
  text-align: center;
  transform: rotate(-4deg);
}

.lab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  margin-top: 34px;
}

.lab-button {
  display: inline-flex;
  width: auto;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 16px 26px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: box-shadow 150ms ease, transform 150ms ease, background 150ms ease;
}

.lab-button:hover {
  border-color: var(--ink);
  background: #ffd329;
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.lab-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--purple) 72%, white);
  outline-offset: 5px;
}

.lab-hero-panel,
.lab-offer-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.06);
}

.lab-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: none;
}

.lab-panel-lead {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.lab-portrait {
  width: 92px;
  height: 92px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--wash);
}

.lab-panel-kicker {
  margin: 0 0 12px;
  color: #9f2f2f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lab-hero-panel h2 {
  margin: 0 0 20px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.12;
}

.lab-price,
.lab-offer-price {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.lab-price span,
.lab-offer-price span {
  color: var(--muted);
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 0.45em;
  font-weight: 700;
}

.lab-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lab-checklist li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 28px;
  color: #3b352f;
  line-height: 1.5;
}

.lab-checklist li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.lab-letter,
.lab-section,
.lab-band,
.lab-offer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 74px 24px;
}

.lab-letter {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.78;
}

.lab-letter p {
  margin: 0 0 20px;
}

.lab-letter p:first-child {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
}

.lab-reveal {
  max-width: 1120px;
  margin: 0 auto;
  padding: 74px 24px;
}

.lab-reveal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 24px clamp(40px, 7vw, 92px);
  border-top: 1px solid var(--line);
}

.lab-reveal > .eyebrow {
  grid-column: 1 / -1;
}

.lab-reveal h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.02;
}

.lab-reveal-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.lab-reveal-copy p {
  margin: 0;
  color: #4b443d;
  line-height: 1.65;
}

.lab-section-intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.lab-section h2,
.lab-band h2,
.lab-offer h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5.4vw, 4.35rem);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  border-top: 1px solid var(--line);
}

.lab-card {
  min-height: 0;
  padding: 28px 0 34px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.lab-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
}

.lab-card h3,
.lab-list-grid h3 {
  margin: 0 0 12px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}

.lab-card p,
.lab-list-grid p,
.lab-two-col p,
.lab-band-copy p,
.lab-offer p,
.lab-faq p {
  margin: 0;
  color: #4b443d;
  line-height: 1.65;
}

.lab-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 6vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f7f5;
}

.lab-proof-band {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1072px) / 2));
  padding-right: max(24px, calc((100vw - 1072px) / 2));
}

.lab-first-month {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: clamp(40px, 7vw, 92px);
}

.lab-first-month-steps {
  border-top: 1px solid var(--line);
}

.lab-first-month-steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.lab-first-month-steps strong {
  color: var(--gold);
  font-size: 0.9rem;
}

.lab-first-month-steps h3 {
  margin: 0 0 8px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.4rem;
}

.lab-first-month-steps p {
  margin: 0;
  color: #4b443d;
  line-height: 1.6;
}

.lab-band-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.lab-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.lab-two-col > div > p {
  margin-top: 22px;
  font-size: 1.08rem;
}

.lab-channel-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.lab-channel-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: #3b352f;
}

.lab-channel-list strong {
  color: var(--ink);
}

.lab-fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--line);
}

.lab-fit-column {
  padding: clamp(30px, 5vw, 56px);
}

.lab-fit-column + .lab-fit-column {
  border-left: 1px solid var(--line);
}

.lab-fit-muted {
  background: #f7f7f5;
}

.lab-fit h2 {
  margin: 0 0 28px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
}

.lab-fit ul {
  margin: 0;
  padding-left: 20px;
}

.lab-fit li {
  margin-bottom: 12px;
  color: #3b352f;
  line-height: 1.55;
}

.lab-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 34px;
}

.lab-list-grid > div {
  padding-top: 22px;
  border-top: 2px solid var(--gold);
}

.lab-offer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 420px);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.lab-offer-copy p {
  max-width: 520px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.lab-offer-box {
  padding: 28px;
}

.lab-offer-price {
  font-size: 2.45rem;
}

.lab-offer-box .lab-button {
  width: 100%;
  margin-top: 24px;
  min-height: 62px;
  font-size: 1.05rem;
}

.lab-small {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
}

.lab-faq {
  max-width: 900px;
}

.lab-faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.lab-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.lab-faq summary {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
}

.lab-faq details p {
  max-width: 720px;
  margin-top: 14px;
}

.lab-thanks {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(48px, 10vw, 90px) 24px;
}

.lab-thanks .brand-mark {
  margin-bottom: 52px;
}

.lab-thanks h1 {
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 10vw, 7.2rem);
}

.lab-thanks-copy {
  max-width: 640px;
  margin-bottom: 34px;
  font-size: 1.12rem;
}

.lab-thanks-copy p {
  margin: 0 0 18px;
}

.lab-checkout-shell {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 24px 64px;
}

.lab-checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(48px, 8vw, 86px);
}

.lab-text-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-underline-offset: 4px;
}

.lab-checkout-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1fr);
  gap: clamp(44px, 8vw, 104px);
  align-items: start;
}

.lab-checkout-summary {
  position: sticky;
  top: 32px;
  padding-top: 14px;
}

.lab-checkout-summary h1 {
  max-width: 520px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.lab-checkout-price {
  margin: 0 0 32px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
}

.lab-checkout-price span {
  color: var(--muted);
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.lab-checkout-summary .lab-checklist {
  margin-bottom: 24px;
}

.lab-checkout-frame {
  min-height: 520px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--paper);
}

#checkout-loading {
  padding: 44px 16px;
  color: var(--muted);
  text-align: center;
}

body.checkout-open {
  overflow: hidden;
}

.lab-checkout-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  justify-items: end;
  visibility: visible;
}

.lab-checkout-overlay[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}

.lab-checkout-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(22, 20, 18, 0.55);
  cursor: pointer;
}

.lab-checkout-panel {
  position: relative;
  width: min(620px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: clamp(24px, 5vw, 44px);
  background: #fff;
  box-shadow: -20px 0 60px rgba(22, 20, 18, 0.18);
  transform: translateX(0);
  transition: transform 180ms ease;
}

.lab-checkout-overlay[aria-hidden="true"] .lab-checkout-panel {
  transform: translateX(100%);
}

.lab-checkout-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.lab-checkout-panel-header h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.lab-checkout-inline-price {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.lab-checkout-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lab-thanks-button {
  display: inline-flex;
  margin-top: 8px;
}

.lab-onboarding-hero,
.lab-onboarding-nav,
.lab-onboarding-step {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.lab-onboarding-hero {
  padding: clamp(70px, 10vw, 130px) 0 72px;
}

.lab-onboarding-hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
}

.lab-onboarding-hero > p:last-child {
  max-width: 720px;
  font-size: 1.18rem;
}

.lab-onboarding-progress {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.lab-onboarding-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.lab-onboarding-nav a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-width: 0;
  padding: 14px 4px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.lab-onboarding-nav a:hover,
.lab-onboarding-nav a:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.lab-onboarding-nav span {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
}

.lab-onboarding-nav strong {
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.lab-onboarding-step {
  display: grid;
  grid-template-columns: 90px minmax(0, 760px);
  gap: 32px;
  padding: clamp(70px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}

.lab-onboarding-step h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.lab-step-number {
  color: var(--gold);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2rem;
}

.lab-video-placeholder {
  display: grid;
  min-height: 280px;
  margin: 32px 0 22px;
  place-items: center;
  border: 1px solid var(--line);
  background: #f5f5f2;
  color: var(--muted);
  font-weight: 700;
}

.lab-video-player {
  width: min(560px, 100%);
  margin: 32px 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.lab-video-player video {
  display: block;
  width: 100%;
  aspect-ratio: 608 / 720;
  background: #111;
}

.lab-access-message {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(90px, 14vw, 160px) 0;
}

.lab-access-message h1 {
  margin-bottom: 24px;
}

.lab-access-message a {
  color: var(--ink);
  font-weight: 700;
}

.lab-check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 24px;
  font-weight: 700;
}

.lab-check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.lab-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.lab-channel-grid article {
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lab-channel-grid h3 {
  margin-bottom: 8px;
}

.lab-onboarding-list {
  margin: 28px 0 0;
  padding-left: 24px;
}

.lab-onboarding-list li {
  margin-bottom: 14px;
  padding-left: 6px;
}

.lab-prompt-box {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #f7f7f5;
}

.lab-prompt-box p + p {
  margin-top: 12px;
}

.lab-prompt-coming {
  border-left: 4px solid var(--gold);
}

.lab-confirmation-hero {
  padding-bottom: clamp(56px, 8vw, 90px);
}

.lab-confirmation-hero .lab-thanks-copy {
  max-width: 680px;
  margin-bottom: 0;
}

.lab-copy-block {
  position: relative;
  padding-top: 64px;
}

.lab-copy-block pre {
  max-height: 560px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font: 0.88rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.lab-copy-button {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.lab-me-generator {
  margin: 32px 0 46px;
  border-top: 1px solid var(--line);
}

.lab-me-toolbar {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.lab-me-toolbar > div:first-child {
  flex: 1;
  max-width: 320px;
}

.lab-me-progress {
  height: 6px;
  margin-top: 9px;
  overflow: hidden;
  background: #e6e4df;
}

.lab-me-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width 180ms ease;
}

.lab-me-actions {
  display: flex;
  gap: 8px;
}

.lab-secondary-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.lab-secondary-button:hover,
.lab-secondary-button:focus-visible {
  border-color: var(--gold);
}

.lab-me-example-note {
  margin: 20px 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 0.9rem;
}

.lab-me-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.lab-me-form label {
  display: flex;
  min-width: 0;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
}

.lab-me-form label > span {
  color: var(--ink);
  font-weight: 800;
}

.lab-me-form small {
  min-height: 42px;
  margin: 6px 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.lab-me-form textarea {
  width: 100%;
  min-height: 128px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
}

.lab-me-form textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(154, 114, 24, 0.16);
  outline-offset: 0;
}

.lab-first-day-checklist {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.lab-first-day-checklist .lab-check-row {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 38px;
    padding-top: 46px;
  }

  .hero-intro,
  .story,
  .signup-card {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-intro {
    order: 1;
  }

  .signup-card {
    position: static;
    order: 2;
    max-width: 500px;
  }

  .story {
    order: 3;
  }

  .lab-hero,
  .lab-band,
  .lab-two-col,
  .lab-offer,
  .lab-first-month,
  .lab-reveal {
    grid-template-columns: 1fr;
  }

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

  .lab-reveal > .eyebrow {
    grid-column: auto;
  }

  .lab-hero-panel {
    grid-template-columns: 1fr;
  }

  .lab-checkout-layout {
    grid-template-columns: 1fr;
  }

  .lab-checkout-summary {
    position: static;
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.68;
  }

  .topbar {
    padding: 22px 18px 0;
  }

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

  .hero,
  .featured,
  .ty-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .signup-card {
    padding: 22px;
  }

  .portrait {
    width: 150px;
  }

  .lab-topbar {
    padding-top: 20px;
  }

  .lab-nav-cta {
    padding: 7px 13px;
    font-size: 0.84rem;
  }

  .lab-hero,
  .lab-letter,
  .lab-section,
  .lab-band,
  .lab-offer,
  .lab-reveal,
  .lab-thanks {
    padding-left: 18px;
    padding-right: 18px;
  }

  .lab-proof-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .lab-checkout-shell {
    padding: 22px 14px 40px;
  }

  .lab-checkout-header {
    margin-bottom: 40px;
    padding: 0 4px;
  }

  .lab-checkout-summary {
    padding: 0 4px;
  }

  .lab-checkout-summary h1 {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }

  .lab-checkout-frame {
    min-height: 480px;
    padding: 10px;
  }

  .lab-checkout-panel {
    padding: 22px 14px 40px;
  }

  .lab-onboarding-hero,
  .lab-onboarding-nav,
  .lab-onboarding-step {
    width: min(100% - 36px, 1040px);
  }

  .lab-onboarding-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lab-onboarding-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }

  .lab-channel-grid {
    grid-template-columns: 1fr;
  }

  .lab-me-toolbar,
  .lab-me-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lab-me-toolbar > div:first-child {
    max-width: none;
  }

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

  .lab-me-form small {
    min-height: 0;
  }

  .lab-hero {
    padding-top: 48px;
  }

  .lab-hero h1 {
    font-size: clamp(2.8rem, 14vw, 5rem);
    letter-spacing: -0.025em;
  }

  .lab-lede {
    font-size: 1.18rem;
  }

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

  .lab-button {
    width: 100%;
  }

  .lab-hero-panel,
  .lab-offer-box,
  .lab-card {
    padding: 22px;
  }

  .lab-grid,
  .lab-list-grid {
    grid-template-columns: 1fr;
  }

  .lab-fit {
    grid-template-columns: 1fr;
    margin-left: 18px;
    margin-right: 18px;
  }

  .lab-ms-paint {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lab-ms-paint article {
    padding: 18px;
  }

  .lab-ms-title {
    font-size: 1.3rem;
  }

  .lab-ms-flow span,
  .lab-ms-note {
    font-size: 0.95rem;
  }

  .lab-ms-arrow {
    font-size: 0;
    transform: none;
  }

  .lab-ms-arrow::after {
    content: "↓";
    font-size: 3rem;
  }

  .lab-fit-column + .lab-fit-column {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .lab-panel-lead {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 18px;
  }

  .lab-panel-lead .lab-portrait {
    width: 70px;
    height: 70px;
  }

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

  .lab-card span {
    margin-bottom: 24px;
  }
}

/* Puertas reading experience */
.puertas-page {
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0;
}

.puertas-page .puertas-shell {
  min-height: 100vh;
}

.puertas-page .puertas-topbar {
  padding-bottom: 0;
}

.puertas-page .puertas-article {
  min-width: 0;
}

.puertas-article-header,
.puertas-content > :not(.puertas-figure) {
  width: calc(100% - 32px);
  margin-right: auto;
  margin-left: auto;
}

.puertas-page .puertas-article-header {
  padding: 54px 0 50px;
}

.puertas-page .puertas-label {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}

.puertas-page h1,
.puertas-page h2,
.puertas-page blockquote {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: 0;
}

.puertas-page h1 {
  max-width: none;
  margin: 0;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.04;
  text-wrap: balance;
}

.puertas-page .puertas-reading-time {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.puertas-page .puertas-content {
  min-width: 0;
}

.puertas-page .puertas-content > p {
  margin-top: 0;
  margin-bottom: 1.05em;
}

.puertas-page .puertas-content > h2 {
  margin-block: 76px 24px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.14;
  text-wrap: balance;
}

.puertas-page blockquote {
  margin-block: 34px;
  padding-left: 22px;
  border-left: 3px solid var(--line);
  color: var(--ink);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.35;
}

.puertas-page blockquote p {
  margin: 0;
}

.puertas-figure {
  width: calc(100% - 32px);
  margin: 50px auto 58px;
}

.puertas-figure picture,
.puertas-figure img {
  display: block;
  width: 100%;
}

.puertas-figure img {
  height: auto;
}

.puertas-figure figcaption {
  max-width: 760px;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0;
}

.puertas-page a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.puertas-page .puertas-footer {
  margin-top: 86px;
  font-size: 14px;
  line-height: 1.6;
}

.puertas-page .puertas-footer p {
  margin: 0 0 7px;
}

.puertas-page .puertas-footer a {
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.puertas-page .puertas-footer a:hover {
  text-decoration-thickness: 2px;
}

@media (min-width: 601px) {
  .puertas-article-header,
  .puertas-content > :not(.puertas-figure) {
    width: min(760px, calc(100% - 48px));
  }

  .puertas-figure {
    width: min(1040px, calc(100% - 48px));
    margin-block: 64px 74px;
  }

  .puertas-page .puertas-article-header {
    padding-block: 78px 66px;
  }

  .puertas-page h1 {
    font-size: 54px;
  }

  .puertas-page .puertas-content > h2 {
    margin-block: 92px 28px;
    font-size: 38px;
  }
}

@media (min-width: 768px) {
  .puertas-page {
    font-size: 19px;
    line-height: 1.74;
  }

  .puertas-page blockquote {
    padding-left: 28px;
    font-size: 30px;
  }

  .puertas-figure figcaption {
    margin-top: 15px;
    font-size: 15px;
  }

}

@media (min-width: 1000px) {
  .puertas-page .puertas-article-header {
    padding-block: 94px 76px;
  }

  .puertas-page h1 {
    font-size: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .puertas-page * {
    scroll-behavior: auto;
  }
}
