:root {
  color-scheme: light;
  --ink: #071634;
  --navy: #071f57;
  --night: #041331;
  --gold: #ffd84d;
  --sun: #ff8a1f;
  --mint: #3fc37b;
  --violet: #7156d9;
  --rose: #e85d75;
  --paper: #fffaf0;
  --cloud: #f6f9ff;
  --line: rgba(7, 22, 52, 0.12);
  --soft-line: rgba(7, 22, 52, 0.08);
  --shadow: 0 24px 70px rgba(7, 22, 52, 0.12);
  --content: min(1160px, calc(100vw - 40px));
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f7fbff 46%, #fffaf0 100%);
  color: var(--ink);
}

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

p,
h1,
h2,
h3,
li,
span {
  overflow-wrap: anywhere;
}

.lab-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: var(--content);
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(18px);
}

.lab-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.lab-logo {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(7, 22, 52, 0.12);
  border-radius: 50%;
  background: var(--navy);
}

.lab-logo img {
  width: 100%;
  height: 100%;
}

.privacy-pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(7, 22, 52, 0.1);
  border-radius: 999px;
  padding: 0 14px;
  background: white;
  color: rgba(7, 22, 52, 0.68);
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(7, 22, 52, 0.06);
}

.subscribe-link {
  color: var(--navy);
  text-decoration: none;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.page-actions span {
  color: rgba(7, 22, 52, 0.64);
  font-size: 0.92rem;
  font-weight: 800;
}

.cta-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--gold);
  color: var(--night);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(7, 22, 52, 0.12);
}

.lab-hero,
.lab-shell,
.workout-section,
.subscribe-band,
.lab-footer {
  width: var(--content);
  margin: 0 auto;
}

.lab-hero {
  display: grid;
  min-height: min(720px, calc(100svh - 72px));
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: 54px 0 64px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(3rem, 8vw, 7.1rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-copy > p:last-child {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(7, 22, 52, 0.72);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.coach-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(7, 22, 52, 0.1);
  border-radius: 8px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.coach-panel::before {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 24%, #fffaf0 0 5%, transparent 6%),
    radial-gradient(circle at 78% 66%, #ffd84d 0 4%, transparent 5%),
    radial-gradient(circle at 58% 50%, var(--navy) 0 35%, transparent 36%),
    var(--gold);
  content: "";
}

.panel-kicker {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coach-panel ol {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.lab-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.module-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.tab-button {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: rgba(7, 22, 52, 0.62);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.tab-button:last-child {
  border-right: 0;
}

.tab-button.active,
.tab-button:hover {
  background: var(--paper);
  color: var(--ink);
}

.tab-panel {
  display: none;
  padding: clamp(24px, 5vw, 54px);
}

.tab-panel.active {
  display: block;
}

.panel-heading {
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 5.4vw, 4.7rem);
  line-height: 0.98;
}

.panel-heading > p:last-child {
  margin: 18px 0 0;
  color: rgba(7, 22, 52, 0.68);
  font-size: 1.04rem;
  line-height: 1.64;
}

.habit-grid,
.spin-grid {
  display: grid;
  margin-top: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.habit-card,
.spin-card,
.script-card,
.practice-stack > div,
.best-combo {
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 42px rgba(7, 22, 52, 0.06);
}

.habit-card {
  min-height: 210px;
  padding: 22px;
}

.habit-card span,
.spin-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 0.78rem;
  font-weight: 950;
}

.habit-card:nth-child(4n + 1) span {
  background: #2474df;
}

.habit-card:nth-child(4n + 2) span {
  background: var(--mint);
}

.habit-card:nth-child(4n + 3) span {
  background: var(--violet);
}

.habit-card:nth-child(4n + 4) span {
  background: var(--sun);
}

.habit-card h3,
.spin-card h3,
.script-card h3,
.practice-stack h3,
.best-combo h3,
.example-lab h3 {
  margin-top: 28px;
  font-size: 1.26rem;
  line-height: 1.1;
}

.habit-card p,
.spin-card p,
.script-card p,
.practice-stack li,
.example-lab li,
.best-combo p,
.reframe-band p {
  color: rgba(7, 22, 52, 0.68);
  line-height: 1.58;
}

.habit-card p,
.spin-card p,
.script-card p,
.best-combo p {
  margin: 12px 0 0;
}

.asking-layout {
  display: grid;
  margin-top: 36px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 16px;
}

.script-card {
  padding: 30px;
  background: var(--navy);
  color: white;
}

.script-card h3 {
  margin-top: 0;
}

.script-card p {
  color: rgba(255, 255, 255, 0.78);
}

.script-line {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white !important;
  font-size: 1.22rem;
  line-height: 1.46 !important;
}

.script-line span {
  color: var(--gold);
  font-weight: 900;
}

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

.practice-stack > div {
  padding: 24px;
}

.practice-stack h3 {
  margin-top: 0;
}

.practice-stack ul,
.spin-card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0 0 0 19px;
}

.reframe-band {
  display: grid;
  margin-top: 16px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.reframe-band div {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.reframe-band div:last-child {
  border-right: 0;
}

.reframe-band strong {
  display: block;
  color: var(--navy);
}

.reframe-band p {
  margin: 8px 0 0;
}

.spin-card {
  min-height: 320px;
  padding: 24px;
}

.spin-card.situation span {
  background: #2474df;
}

.spin-card.problem span {
  background: var(--rose);
}

.spin-card.implication span {
  background: var(--sun);
}

.spin-card.payoff span {
  background: var(--mint);
}

.spin-card li {
  color: rgba(7, 22, 52, 0.72);
  line-height: 1.5;
}

.example-lab {
  display: grid;
  margin-top: 16px;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
  border-radius: 8px;
  background: var(--cloud);
}

.example-lab h3 {
  margin-top: 0;
}

.example-lab ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 20px;
}

.method-table {
  display: grid;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.method-row {
  display: grid;
  grid-template-columns: 0.72fr 1.05fr 1.05fr 1.1fr;
  border-bottom: 1px solid var(--line);
}

.method-row:last-child {
  border-bottom: 0;
}

.method-row span {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: rgba(7, 22, 52, 0.72);
  line-height: 1.45;
}

.method-row span:last-child {
  border-right: 0;
}

.method-row span:first-child {
  color: var(--ink);
  font-weight: 950;
}

.table-head {
  background: var(--navy);
}

.table-head span,
.table-head span:first-child {
  color: white;
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.best-combo {
  margin-top: 16px;
  padding: 28px;
  background: var(--paper);
}

.best-combo h3 {
  margin-top: 0;
}

.close-line {
  color: var(--ink) !important;
  font-size: 1.22rem;
  font-weight: 900;
}

.workout-section {
  padding: 94px 0 40px;
}

.workout-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.workout-grid label {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(7, 22, 52, 0.06);
}

.workout-grid input {
  width: 24px;
  height: 24px;
  accent-color: var(--mint);
}

.workout-grid span {
  font-weight: 900;
  line-height: 1.25;
}

.workout-status {
  display: inline-flex;
  min-height: 42px;
  margin: 22px 0 0;
  align-items: center;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--navy);
  color: white;
  font-weight: 900;
}

.subscribe-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: clamp(24px, 5vw, 44px);
  border-radius: 8px;
  background: var(--navy);
  color: white;
}

.subscribe-band .eyebrow {
  color: var(--gold);
}

.subscribe-band h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
}

.subscribe-band p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.62;
}

.subscribe-band .cta-button {
  white-space: nowrap;
}

.lab-footer {
  display: flex;
  padding: 34px 0 46px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: rgba(7, 22, 52, 0.68);
}

.lab-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  :root {
    --content: min(100vw - 28px, 820px);
  }

  .lab-hero,
  .asking-layout,
  .example-lab,
  .subscribe-band {
    grid-template-columns: 1fr;
  }

  .habit-grid,
  .spin-grid,
  .reframe-band,
  .workout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-row {
    grid-template-columns: 1fr 1fr;
  }

  .method-row span:nth-child(2n) {
    border-right: 0;
  }

  .method-row span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .lab-header {
    min-height: 64px;
  }

  .lab-brand span:last-child {
    display: none;
  }

  .privacy-pill {
    font-size: 0.78rem;
  }

  .page-actions,
  .page-actions .cta-button,
  .subscribe-band .cta-button {
    width: 100%;
  }

  .page-actions span {
    line-height: 1.45;
  }

  .lab-hero {
    min-height: auto;
    padding: 42px 0 46px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4.1rem);
  }

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

  .tab-button:nth-child(2) {
    border-right: 0;
  }

  .tab-button:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .habit-grid,
  .spin-grid,
  .reframe-band,
  .workout-grid,
  .method-row {
    grid-template-columns: 1fr;
  }

  .reframe-band div,
  .method-row span,
  .method-row span:nth-child(2n) {
    border-right: 0;
  }

  .reframe-band div,
  .method-row span,
  .method-row span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .reframe-band div:last-child,
  .method-row span:last-child {
    border-bottom: 0;
  }

  .habit-card,
  .spin-card {
    min-height: auto;
  }

  .lab-footer {
    display: grid;
    gap: 8px;
  }
}
