:root {
  --ink: #17201d;
  --ink-soft: #46514c;
  --forest: #075342;
  --forest-deep: #043f33;
  --sage: #81927d;
  --cream: #f8f5ee;
  --paper: #fbf9f4;
  --sand: #eae1d4;
  --line: #cfc8bc;
  --line-dark: rgba(7, 83, 66, 0.28);
  --white: #fffefb;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #d89d59;
  outline-offset: 3px;
}
button:disabled { cursor: wait; opacity: 0.65; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

.brand {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: var(--forest);
  cursor: pointer;
  font: 400 31px/1 var(--serif);
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.brand span { letter-spacing: -0.045em; }
.brand-compact { font-size: 25px; }
.brand-inverse { color: var(--white); }

.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--forest);
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover { background: var(--forest-deep); transform: translateY(-1px); }
.button svg { width: 19px; height: 19px; }
.button-outline { color: var(--forest); border-color: var(--forest); background: rgba(255, 254, 251, 0.68); }
.button-outline:hover { color: var(--white); background: var(--forest); }
.button-cream { color: var(--ink); background: var(--cream); border-color: rgba(255, 255, 255, 0.2); }
.button-cream:hover { background: var(--white); color: var(--ink); }
.button-light-outline { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, 0.8); }
.button-light-outline:hover { color: var(--forest); background: var(--white); }
.full-button { width: 100%; }
.kicker {
  margin-bottom: 18px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker-light { color: #c3d4cb; }

.marketing-page { background: var(--paper); }
.marketing-header {
  height: 86px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  gap: 26px;
  padding: 0 clamp(28px, 5vw, 72px);
  background: rgba(248, 245, 238, 0.98);
  border-bottom: 1px solid rgba(23, 32, 29, 0.08);
  position: sticky;
  top: 0;
  z-index: 30;
}
.marketing-nav, .header-actions, .member-header nav, .member-actions { display: flex; align-items: center; }
.mobile-nav-actions, .mobile-member-actions { display: none; }
.marketing-nav { height: 100%; gap: 38px; }
.marketing-nav button, .text-action, .language-action, .marketing-footer button, .member-header nav button {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 14px;
}
.marketing-nav button { height: 100%; position: relative; padding: 3px 0 0; }
.marketing-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;
  height: 1px;
  background: transparent;
}
.marketing-nav button:hover::after, .marketing-nav button.active::after { background: var(--forest); }
.header-actions { justify-self: end; gap: 20px; }
.header-actions .button { min-height: 44px; padding-inline: 22px; }
.language-action { white-space: nowrap; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-button svg { width: 22px; height: 22px; }

.marketing-hero {
  min-height: 720px;
  height: calc(100vh - 86px);
  max-height: 860px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade { position: absolute; inset: 0; background: rgba(255, 249, 240, 0.1); pointer-events: none; }
.hero-copy {
  width: min(720px, 55vw);
  margin-left: clamp(36px, 7vw, 108px);
  position: relative;
  z-index: 2;
  transform: translateY(-26px);
}
.hero-eyebrow { display: none; }
.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(44px, 4.3vw, 67px);
  line-height: 1.07;
  letter-spacing: -0.045em;
}
.hero-copy > p:not(.hero-eyebrow) { margin-bottom: 34px; font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; gap: 18px; }
.hero-actions .button { min-width: 156px; }
.hero-player {
  position: absolute;
  z-index: 3;
  right: 3.2vw;
  bottom: 26px;
  width: min(610px, 50vw);
  padding: 20px 22px 18px;
  background: rgba(255, 254, 251, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(39, 31, 18, 0.12);
}
.hero-player-heading { margin-bottom: 16px; }
.hero-player-heading > span { display: block; margin-bottom: 5px; color: var(--forest); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-player-heading > strong { display: block; margin-bottom: 5px; font: 400 23px/1.15 var(--serif); }
.hero-player-heading > p { max-width: 470px; margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.hero-player-tracks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hero-audio-row { min-width: 0; padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 9px 11px; align-items: center; background: var(--cream); border: 1px solid rgba(7, 83, 66, 0.16); }
.hero-audio-row .play-button { width: 38px; height: 38px; }
.hero-audio-row .play-button-light { background: transparent; color: var(--forest); border-color: var(--forest); }
.hero-audio-row > div:not(.player-track) { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hero-audio-row > div > span { color: var(--forest); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-audio-row > div > strong { font-size: 12px; }
.hero-audio-row .player-track { grid-column: 1 / -1; }
.play-button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: white;
  cursor: pointer;
}
.play-button:hover { background: var(--forest-deep); }
.play-button svg { width: 18px; height: 18px; }
.play-button-light { width: 32px; height: 32px; background: transparent; color: var(--forest); border: 1px solid var(--forest); }
.play-button-light:hover { background: var(--forest); color: white; }
.play-button-light svg { width: 13px; height: 13px; }
.player-track, .dialog-track, .full-player-track { height: 2px; overflow: visible; background: #c9c4bb; position: relative; }
.player-track span, .dialog-track span, .full-player-track span {
  display: block;
  width: 55%;
  height: 100%;
  background: var(--forest);
  position: relative;
}
.player-track span::after, .dialog-track span::after, .full-player-track span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest);
  position: absolute;
  top: 50%;
  right: -3px;
  transform: translateY(-50%);
}
.player-track span.is-playing, .dialog-track span.is-playing, .full-player-track span.is-playing { animation: progress 8s linear infinite; }
@keyframes progress { from { width: 12%; } to { width: 92%; } }

.how-section {
  min-height: 430px;
  padding: 72px clamp(36px, 5.5vw, 84px) 58px;
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) 2fr;
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
  background: var(--cream);
}
.how-intro h2, .section-heading h2, .membership-section > h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 3.2vw, 50px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.how-intro > p:not(.kicker) { max-width: 380px; margin-bottom: 24px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.inline-link, .research-note button, .episode-link, .back-link {
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  color: var(--forest);
  font-weight: 700;
  cursor: pointer;
}
.inline-link svg, .research-note svg, .episode-link svg, .back-link svg { width: 17px; height: 17px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: clamp(30px, 4vw, 64px); }
.how-step { text-align: center; }
.step-icon { height: 58px; margin-bottom: 18px; display: flex; align-items: center; color: var(--forest); position: relative; }
.step-icon > svg { width: 45px; height: 45px; margin-inline: auto; stroke-width: 1.35px; }
.step-line { position: absolute; left: calc(50% + 42px); width: calc(100% - 44px); height: 1px; background: rgba(7, 83, 66, 0.46); }
.step-number { display: block; margin-bottom: 6px; font: 400 35px/1 var(--serif); }
.how-step h3 { margin-bottom: 14px; font-size: 27px; }
.how-step p { max-width: 220px; margin-inline: auto; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.source-promise { grid-column: 1 / -1; margin: 20px 0 0; text-align: center; font-family: var(--serif); font-size: 17px; }

.home-ask-section {
  padding: 80px clamp(36px, 6vw, 92px);
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(500px, 1.1fr);
  gap: clamp(54px, 7vw, 108px);
  align-items: center;
  background: #e4e8df;
}
.home-ask-intro h2 {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: clamp(44px, 4.1vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.home-ask-intro > p:not(.kicker) {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}
.sample-question-list {
  border-top: 1px solid rgba(7, 83, 66, 0.3);
}
.sample-question-list > button {
  width: 100%;
  min-height: 56px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid rgba(7, 83, 66, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}
.sample-question-list > button:hover,
.sample-question-list > button.active {
  color: var(--forest);
  font-weight: 750;
}
.sample-question-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 160ms ease;
}
.sample-question-list > button:hover svg,
.sample-question-list > button.active svg { transform: translateX(3px); }
.home-answer-panel {
  min-height: 570px;
  padding: clamp(38px, 4.3vw, 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(25, 39, 32, 0.13);
}
.answer-panel-heading {
  margin-bottom: 35px;
  padding-bottom: 23px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 13px;
}
.answer-panel-heading > span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dfe9e2;
  color: var(--forest);
}
.answer-panel-heading svg { width: 19px; height: 19px; }
.answer-panel-heading div { display: flex; flex-direction: column; gap: 4px; }
.answer-panel-heading p { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.answer-panel-heading small { color: #cbdad2; font-size: 11px; }
.home-answer-panel > h3 {
  max-width: 580px;
  margin-bottom: 22px;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.home-answer-panel > p {
  color: #e0e9e4;
  font-size: 15px;
  line-height: 1.67;
}
.ask-audio-player {
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  grid-template-columns: auto minmax(150px, auto) 1fr;
  align-items: center;
  gap: 16px;
}
.ask-audio-player .play-button-light { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.ask-audio-player > div:not(.ask-audio-track) { display: flex; flex-direction: column; gap: 4px; }
.ask-audio-player strong { font-size: 13px; }
.ask-audio-player span { color: #cbdad2; font-size: 11px; }
.ask-audio-track { height: 2px; background: rgba(255, 255, 255, 0.35); position: relative; }
.ask-audio-track > span { display: block; width: 14%; height: 100%; background: var(--white); position: relative; }
.ask-audio-track > span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); position: absolute; top: 50%; right: -3px; transform: translateY(-50%); }
.ask-audio-track > span.is-playing { animation: progress 8s linear infinite; }
.source-groups { margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 9px 18px; }
.source-groups > span { display: flex; align-items: center; gap: 6px; color: #cedbd4; font-size: 10px; }
.source-groups svg { width: 14px; height: 14px; }
.home-answer-panel .button { align-self: flex-start; background: var(--cream); color: var(--forest); }
.home-answer-panel .button:hover { background: var(--white); }

.demo-section { padding: 60px clamp(36px, 5.5vw, 84px) 80px; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { color: var(--ink-soft); font-size: 15px; }
.demo-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.demo-card { min-width: 0; }
.demo-image-wrap {
  width: 100%;
  height: clamp(170px, 16vw, 240px);
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--sand);
  cursor: pointer;
  position: relative;
}
.demo-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.demo-card:nth-child(2) .demo-image-wrap img { object-position: center 56%; }
.demo-image-play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 254, 251, 0.92);
  color: var(--forest);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.demo-image-play svg { width: 16px; height: 16px; }
.demo-image-wrap:hover img { transform: scale(1.025); }
.demo-image-wrap:hover .demo-image-play, .demo-image-wrap:focus-visible .demo-image-play { opacity: 1; transform: translateY(0); }
.demo-card h3 { margin: 18px 0 7px; font-size: 21px; }
.demo-label, .episode-eyebrow { margin-bottom: 12px; color: var(--forest); font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.demo-meta { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.demo-meta > span:nth-child(2) { margin-left: 2px; }

.membership-section { padding: 60px clamp(36px, 5.5vw, 84px) 30px; background: var(--forest); color: var(--white); }
.membership-section > h2 { max-width: none; margin-inline: 0; }
.membership-grid { max-width: 1180px; margin: 40px auto 48px; display: grid; grid-template-columns: 1fr 1px 1fr; gap: 56px; }
.membership-grid::before { content: ""; grid-column: 2; grid-row: 1; background: rgba(255, 255, 255, 0.42); }
.membership-option { display: grid; grid-template-columns: auto 1fr; gap: 22px; }
.membership-option:nth-child(1) { grid-column: 1; grid-row: 1; }
.membership-plus { grid-column: 3; grid-row: 1; }
.membership-option > svg { width: 38px; height: 38px; stroke-width: 1.25px; }
.membership-option h3 { margin-bottom: 8px; font-size: 31px; }
.membership-option p { min-height: 44px; margin-bottom: 24px; color: #e0e8e3; line-height: 1.45; }
.research-note { margin: 0; display: flex; align-items: center; justify-content: center; gap: 18px; color: #d7e4dd; font: 400 16px/1.4 var(--serif); }
.research-note button { color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, 0.62); padding-bottom: 3px; }
.marketing-footer { min-height: 82px; padding: 0 clamp(36px, 5.5vw, 84px); display: flex; align-items: center; justify-content: space-between; }
.marketing-footer div { display: flex; gap: 38px; }

.dialog-backdrop { position: fixed; inset: 0; z-index: 80; padding: 28px; display: flex; align-items: center; justify-content: center; background: rgba(15, 23, 20, 0.62); }
.demo-dialog { width: min(680px, 100%); max-height: calc(100vh - 56px); overflow-y: auto; padding: 34px; background: var(--paper); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); position: relative; }
.dialog-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 254, 251, 0.92); cursor: pointer; }
.dialog-close svg { width: 19px; height: 19px; }
.demo-dialog > img { width: calc(100% + 68px); max-width: none; height: 250px; margin: -34px -34px 30px; object-fit: cover; }
.demo-dialog h2 { margin-bottom: 12px; font-size: 42px; letter-spacing: -0.035em; }
.demo-dialog > p:not(.kicker) { max-width: 540px; color: var(--ink-soft); line-height: 1.55; }
.dialog-player { margin: 26px 0; padding: 18px; display: grid; grid-template-columns: auto auto 1fr; gap: 16px; align-items: center; border: 1px solid var(--line); }
.dialog-player > div:not(.dialog-track) { display: flex; flex-direction: column; gap: 4px; }
.dialog-player span { font-size: 12px; color: var(--ink-soft); }
.audio-guidance-player {
  margin: -8px 0 26px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #e8ede7;
}
.audio-guidance-player > div { display: grid; gap: 4px; }
.audio-guidance-player span { color: var(--forest); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.audio-guidance-player strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.audio-guidance-player small { color: var(--ink-soft); font-size: 12px; }
.dialog-signup { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; }

.research-backdrop { align-items: flex-start; overflow-y: auto; }
.research-dialog {
  width: min(1040px, 100%);
  margin: auto;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  padding: clamp(34px, 5vw, 64px);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  position: relative;
}
.research-dialog > header { max-width: 760px; margin-bottom: 38px; }
.research-dialog > header h2 { margin-bottom: 18px; font-size: clamp(40px, 4vw, 58px); line-height: 1.04; letter-spacing: -0.04em; }
.research-dialog > header > p:not(.kicker) { max-width: 700px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.research-method-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.research-method-grid article { min-height: 210px; padding: 27px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.research-method-grid article > span { display: block; margin-bottom: 14px; color: var(--forest); font: 400 24px/1 var(--serif); }
.research-method-grid h3 { margin-bottom: 10px; font-size: 24px; }
.research-method-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.research-dialog > footer { margin-top: 28px; padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: #e4e8df; }
.research-dialog > footer svg { width: 26px; height: 26px; color: var(--forest); }
.research-dialog > footer p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.research-dialog > footer strong { color: var(--ink); }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 0.95fr) minmax(520px, 1.05fr); background: var(--paper); }
.auth-story { min-height: 100vh; padding: 46px clamp(44px, 6vw, 92px) 52px; display: flex; flex-direction: column; justify-content: space-between; background: var(--forest); color: var(--white); position: relative; overflow: hidden; }
.auth-story > * { position: relative; z-index: 1; }
.auth-story h1 { margin-bottom: 26px; font-size: clamp(52px, 5vw, 78px); line-height: 1.02; letter-spacing: -0.045em; }
.auth-story > div > p:not(.kicker) { max-width: 500px; margin-bottom: 34px; color: #d8e4de; font-size: 18px; line-height: 1.6; }
.auth-story ul, .order-summary ul, .learning-notes ul { margin: 0; padding: 0; list-style: none; }
.auth-story li { margin: 13px 0; display: flex; align-items: center; gap: 12px; }
.auth-story li svg { width: 20px; height: 20px; color: #b6d0c3; }
.auth-quote { max-width: 420px; margin: 0; color: #cfddd6; font: italic 19px/1.5 var(--serif); }
.auth-form-panel { min-height: 100vh; padding: 46px clamp(48px, 8vw, 130px); }
.back-link { color: var(--ink-soft); font-size: 14px; }
.auth-form { width: min(470px, 100%); margin: clamp(50px, 8vh, 100px) auto 0; }
.auth-form h2 { margin-bottom: 14px; font-size: 48px; letter-spacing: -0.04em; }
.auth-form > p:not(.kicker, .form-switch) { margin-bottom: 34px; color: var(--ink-soft); line-height: 1.55; }
.auth-form label, .checkout-form label, .ask-composer > label { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; color: #28332f; font-size: 13px; font-weight: 700; }
.auth-form input, .checkout-form input, .checkout-form select, .ask-composer textarea { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid #bdb8af; border-radius: 6px; background: var(--white); color: var(--ink); }
.auth-form fieldset { margin: 4px 0 24px; padding: 0; border: 0; }
.auth-form legend { margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-row label { min-height: 50px; margin: 0; padding: 0 14px; flex-direction: row; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.choice-row input { width: 17px; min-height: auto; padding: 0; accent-color: var(--forest); }
.form-switch { margin: 22px 0 16px; text-align: center; color: var(--ink-soft); }
.form-switch button { margin-left: 7px; border: 0; padding: 0; background: none; color: var(--forest); cursor: pointer; font-weight: 700; }
.auth-form > small { display: block; text-align: center; color: #727a76; font-size: 11px; line-height: 1.5; }

.member-shell { min-height: 100vh; overflow-x: hidden; background: var(--paper); }
.member-header { height: 76px; padding: 0 clamp(24px, 4vw, 64px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; position: sticky; top: 0; z-index: 40; background: rgba(251, 249, 244, 0.97); border-bottom: 1px solid var(--line); }
.member-header nav { gap: 35px; }
.member-header nav button { height: 76px; position: relative; }
.member-header nav button.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--forest); }
.member-actions { justify-self: end; gap: 20px; }
.member-actions .button { min-height: 42px; }
.member-account { border: 0; padding: 0; display: grid; grid-template-columns: auto auto; gap: 0 8px; align-items: center; background: none; cursor: pointer; }
.member-account > svg { grid-row: 1 / 3; width: 32px; height: 32px; color: var(--forest); }
.member-account span, .member-account small { text-align: left; }
.member-account span { font-size: 13px; font-weight: 700; }
.member-account small { color: var(--forest); font-size: 11px; }
.library-page, .episode-page, .ask-page, .upgrade-page { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.member-welcome { padding: 72px 0 58px; display: grid; grid-template-columns: 1fr minmax(480px, 0.85fr); gap: 70px; align-items: end; }
.member-welcome h1 { margin-bottom: 13px; font-size: clamp(44px, 4.8vw, 66px); letter-spacing: -0.045em; }
.member-welcome > div:first-child > p:not(.kicker) { max-width: 560px; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.continue-card { min-height: 128px; padding: 16px 18px; display: grid; grid-template-columns: 115px 1fr auto; align-items: center; gap: 20px; border: 1px solid var(--line); background: var(--white); }
.continue-card img { width: 115px; height: 92px; object-fit: cover; }
.continue-card > div { display: flex; flex-direction: column; gap: 6px; }
.continue-card small, .continue-card span { color: var(--ink-soft); font-size: 11px; }
.continue-card strong { font: 400 21px/1.2 var(--serif); }
.library-section { border-top: 1px solid var(--line); padding: 48px 0 80px; }
.library-heading { display: flex; justify-content: space-between; gap: 28px; align-items: start; }
.library-heading h2, .question-prompts h2, .learning-notes h2 { margin-bottom: 8px; font-size: 35px; letter-spacing: -0.03em; }
.library-heading p { color: var(--ink-soft); }
.search-button { min-height: 44px; padding: 0 18px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); cursor: pointer; }
.search-button svg { width: 19px; height: 19px; }
.filter-row { margin: 26px 0 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.filter-row button { min-height: 40px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: 13px; }
.filter-row button.active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.episode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.episode-card { min-width: 0; border: 1px solid var(--line); background: var(--white); }
.episode-card.is-locked { background: #f5f1e9; }
.episode-image { width: 100%; height: 190px; padding: 0; border: 0; overflow: hidden; background: var(--sand); cursor: pointer; position: relative; }
.episode-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.episode-image:hover img { transform: scale(1.025); }
.episode-play, .lock-badge { position: absolute; display: flex; align-items: center; justify-content: center; }
.episode-play { right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--forest); }
.episode-play svg { width: 16px; height: 16px; }
.lock-badge { top: 12px; right: 12px; gap: 6px; padding: 8px 10px; background: rgba(4, 63, 51, 0.92); color: white; font-size: 11px; font-weight: 700; }
.lock-badge svg { width: 13px; height: 13px; }
.episode-card-body { padding: 20px; }
.episode-card-body h3 { margin-bottom: 10px; font-size: 23px; line-height: 1.16; }
.episode-card-body > p:not(.episode-eyebrow) { min-height: 62px; margin-bottom: 18px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.episode-link { font-size: 12px; }
.ask-teaser { min-height: 260px; margin-bottom: 80px; padding: 42px 52px; display: flex; align-items: end; justify-content: space-between; gap: 50px; background: var(--forest); color: var(--white); }
.ask-teaser > div > svg { width: 34px; height: 34px; margin-bottom: 16px; color: #c4d8ce; }
.ask-teaser h2 { max-width: 620px; margin-bottom: 12px; font-size: 41px; }
.ask-teaser p:not(.kicker) { max-width: 630px; margin-bottom: 0; color: #d7e4dd; line-height: 1.5; }

.episode-page { padding: 44px 0 90px; }
.episode-detail { margin-top: 42px; display: grid; grid-template-columns: minmax(420px, 0.85fr) minmax(480px, 1fr); gap: clamp(46px, 7vw, 100px); align-items: start; }
.episode-detail-image { height: 610px; position: sticky; top: 118px; background: var(--sand); }
.episode-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.episode-detail-image > span { position: absolute; top: 18px; right: 18px; padding: 10px 13px; display: flex; align-items: center; gap: 7px; background: var(--forest); color: white; font-weight: 700; font-size: 12px; }
.episode-detail-copy { padding-top: 16px; }
.episode-detail-copy h1 { margin-bottom: 20px; font-size: clamp(48px, 5vw, 70px); line-height: 1.02; letter-spacing: -0.045em; }
.episode-lead { max-width: 620px; color: var(--ink-soft); font-size: 18px; line-height: 1.6; }
.full-player, .locked-message { margin: 34px 0; padding: 22px; display: grid; align-items: center; gap: 17px; border: 1px solid var(--line-dark); background: var(--white); }
.full-player { grid-template-columns: auto auto 1fr; }
.full-player > div:not(.full-player-track) { display: flex; flex-direction: column; gap: 5px; }
.full-player span { color: var(--ink-soft); font-size: 12px; }
.locked-message { grid-template-columns: auto 1fr auto; }
.locked-message > svg { width: 35px; height: 35px; color: var(--forest); }
.locked-message > div { display: flex; flex-direction: column; gap: 4px; }
.locked-message span { color: var(--ink-soft); font-size: 13px; }
.learning-notes { padding: 30px 0; border-top: 1px solid var(--line); }
.learning-notes li { margin: 14px 0; display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.learning-notes li svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--forest); }
details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 15px; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 18px; height: 18px; }
details[open] summary svg { transform: rotate(180deg); }
details > p, details > ol { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
details > ol { padding-left: 20px; padding-bottom: 18px; }

.ask-page { padding: 82px 0 100px; }
.ask-intro { width: min(780px, 100%); margin-inline: auto; text-align: center; }
.ask-intro h1 { margin-bottom: 20px; font-size: clamp(52px, 6vw, 78px); letter-spacing: -0.05em; }
.ask-intro > p:not(.kicker) { max-width: 680px; margin: 0 auto 22px; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.plus-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; background: #e3eadf; color: var(--forest); font-size: 12px; font-weight: 700; }
.plus-pill svg { width: 14px; height: 14px; }
.ask-composer { width: min(830px, 100%); margin: 44px auto 0; padding: 24px; background: var(--white); border: 1px solid var(--line-dark); box-shadow: 0 18px 48px rgba(33, 42, 37, 0.07); }
.ask-composer > label { margin-bottom: 12px; }
.ask-composer textarea { min-height: 140px; padding: 15px; resize: vertical; line-height: 1.55; }
.ask-composer > div { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ask-composer > div > span { max-width: 420px; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.question-prompts { width: min(830px, 100%); margin: 58px auto 0; }
.question-prompts h2 { font-size: 28px; }
.question-prompts > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.question-prompts button { min-height: 110px; padding: 18px; border: 1px solid var(--line); display: flex; align-items: start; justify-content: space-between; gap: 14px; text-align: left; background: transparent; cursor: pointer; line-height: 1.5; }
.question-prompts button:hover { background: var(--white); border-color: var(--forest); }
.question-prompts svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--forest); }
.answer-card { width: min(830px, 100%); margin: 34px auto 0; padding: 34px; background: #f1eee4; border-top: 3px solid var(--forest); }
.answer-heading { display: flex; gap: 18px; align-items: start; }
.answer-heading > svg { width: 28px; height: 28px; color: var(--forest); }
.answer-heading h2 { margin-bottom: 22px; font-size: 34px; }
.answer-card > p, .answer-card li { color: var(--ink-soft); line-height: 1.65; }
.answer-card h3 { margin-top: 28px; font-family: var(--sans); font-size: 15px; font-weight: 800; }
.answer-card details { margin-top: 24px; }
.answer-loading { display: flex; align-items: center; gap: 18px; }
.answer-loading p { margin: 5px 0 0; }
.loading-ring { width: 30px; height: 30px; border: 2px solid #bac7c0; border-top-color: var(--forest); border-radius: 50%; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.upgrade-page { padding: 42px 0 80px; }
.upgrade-hero { width: min(820px, 100%); margin: 54px auto 48px; text-align: center; }
.upgrade-hero h1 { margin-bottom: 20px; font-size: clamp(54px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.05em; }
.upgrade-hero > p:not(.kicker) { color: var(--ink-soft); font-size: 18px; line-height: 1.55; }
.upgrade-content { width: min(1000px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 75px; align-items: center; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.benefit-list > div { display: flex; gap: 15px; align-items: flex-start; }
.benefit-list svg { width: 29px; height: 29px; flex: 0 0 auto; color: var(--forest); }
.benefit-list span { display: flex; flex-direction: column; gap: 6px; }
.benefit-list small { color: var(--ink-soft); line-height: 1.45; }
.plan-card { padding: 30px; border: 1px solid var(--line-dark); background: var(--white); box-shadow: 0 18px 52px rgba(30, 39, 34, 0.07); }
.billing-toggle { margin-bottom: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #ebe7de; }
.billing-toggle button { min-height: 52px; border: 0; padding: 5px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: transparent; cursor: pointer; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.billing-toggle button.active { background: var(--white); color: var(--forest); box-shadow: 0 2px 8px rgba(25, 35, 30, 0.08); }
.billing-toggle small { margin-top: 2px; color: var(--forest); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price strong { font: 400 52px/1 var(--serif); }
.plan-price span, .plan-card > p:not(.kicker) { color: var(--ink-soft); }
.plan-card > p:not(.kicker) { margin: 10px 0 24px; font-size: 13px; }
.plan-card > small { margin-top: 14px; display: block; text-align: center; color: #7b827e; font-size: 10px; }
.upgrade-footnote { margin: 42px 0 0; display: flex; justify-content: center; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 13px; }
.upgrade-footnote svg { width: 20px; height: 20px; color: var(--forest); }

.checkout-page { min-height: 100vh; background: var(--paper); }
.checkout-page > header { height: 76px; padding: 0 clamp(24px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.checkout-page > header > span { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 12px; }
.checkout-page > header svg { width: 18px; height: 18px; color: var(--forest); }
.checkout-layout { min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(600px, 1.18fr) minmax(420px, 0.82fr); }
.checkout-form-wrap { padding: 48px clamp(50px, 8vw, 130px) 70px; }
.checkout-form-wrap > .kicker { margin-top: 55px; }
.checkout-form-wrap > h1 { margin-bottom: 24px; font-size: clamp(46px, 5vw, 64px); letter-spacing: -0.045em; }
.prototype-notice { margin-bottom: 28px; padding: 13px 15px; display: flex; align-items: center; gap: 11px; background: #e3eadf; color: var(--forest-deep); }
.prototype-notice svg { width: 22px; height: 22px; flex: 0 0 auto; }
.prototype-notice span { display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.checkout-form { max-width: 560px; }
.checkout-form .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card-field { height: 50px; padding-left: 13px; display: flex; align-items: center; border: 1px solid #bdb8af; border-radius: 6px; background: var(--white); }
.card-field svg { width: 21px; height: 21px; color: var(--ink-soft); }
.card-field input { min-height: 48px; border: 0; background: transparent; }
.checkout-form .button { margin-top: 8px; }
.checkout-form > small { margin-top: 13px; display: flex; justify-content: center; align-items: center; gap: 6px; color: #747d78; font-size: 10px; }
.checkout-form > small svg { width: 13px; height: 13px; }
.order-summary { padding: clamp(70px, 11vh, 130px) clamp(50px, 6vw, 95px); background: var(--forest); color: var(--white); }
.order-summary h2 { margin-bottom: 14px; font-size: 43px; }
.order-summary > p:not(.kicker) { color: #dbe5df; line-height: 1.6; }
.order-summary dl { margin: 34px 0; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.3); border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.order-summary dl div { margin: 10px 0; display: flex; justify-content: space-between; gap: 20px; }
.order-summary dd { margin: 0; font-weight: 700; }
.order-summary li { margin: 14px 0; display: flex; align-items: center; gap: 10px; color: #dbe5df; font-size: 13px; }
.order-summary li svg { width: 17px; height: 17px; }

.success-page { min-height: 100vh; padding: 38px clamp(28px, 5vw, 72px); background: var(--cream); }
.success-page > section { width: min(690px, 100%); margin: clamp(90px, 13vh, 150px) auto 0; text-align: center; }
.success-icon { width: 74px; height: 74px; margin: 0 auto 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--forest); color: white; }
.success-icon svg { width: 32px; height: 32px; }
.success-page h1 { margin-bottom: 21px; font-size: clamp(54px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.05em; }
.success-page section > p:not(.kicker) { color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.success-next { margin: 34px 0 24px; padding: 18px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); background: var(--white); }
.success-next small { color: var(--ink-soft); font-size: 11px; }
.success-next strong { font: 400 22px/1.3 var(--serif); }

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

@media (max-width: 1100px) {
  .marketing-header { grid-template-columns: auto 1fr auto; gap: 18px; padding-inline: 24px; }
  .marketing-nav { display: flex; gap: 22px; justify-self: center; }
  .header-actions { gap: 12px; }
  .header-actions .button { padding-inline: 17px; }
  .marketing-hero { min-height: 670px; height: 78vw; }
  .hero-copy { width: min(650px, 58vw); }
  .hero-copy h1 { font-size: clamp(43px, 4.6vw, 56px); }
  .how-section { grid-template-columns: 1fr; }
  .how-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0 50px; }
  .how-intro .kicker, .how-intro h2 { grid-column: 1; }
  .how-intro > p:not(.kicker), .how-intro .inline-link { grid-column: 2; }
  .how-intro > p:not(.kicker) { grid-row: 1 / 3; align-self: end; }
  .how-intro .inline-link { justify-self: start; }
  .home-ask-section { grid-template-columns: minmax(320px, 0.9fr) minmax(430px, 1.1fr); gap: 42px; }
  .home-answer-panel { min-height: 590px; }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-image-wrap { height: min(29vw, 300px); }
  .episode-grid { grid-template-columns: repeat(2, 1fr); }
  .episode-image { height: 250px; }
  .member-welcome { grid-template-columns: 1fr 440px; gap: 40px; }
  .upgrade-content { gap: 42px; }
}

@media (max-width: 860px) {
  .marketing-header, .member-header { height: 70px; padding-inline: 22px; grid-template-columns: 1fr auto; }
  .brand { font-size: 25px; }
  .marketing-nav, .header-actions, .member-header nav, .member-actions { display: none; }
  .marketing-header .menu-button, .member-header .menu-button { display: flex; }
  .marketing-nav.is-open, .member-header nav.is-open { width: 100%; height: auto; padding: 14px 22px 20px; display: flex; flex-direction: column; align-items: stretch; justify-self: stretch; gap: 0; position: absolute; top: 70px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .marketing-nav button, .member-header nav button { height: 52px; text-align: left; border-bottom: 1px solid rgba(23, 32, 29, 0.08); }
  .mobile-nav-actions, .mobile-member-actions { display: flex; flex-direction: column; align-items: stretch; }
  .mobile-nav-actions button:nth-child(2), .mobile-member-actions button { color: var(--forest); font-weight: 800; }
  .mobile-member-actions span { min-height: 52px; display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 13px; }
  .mobile-member-actions svg { width: 19px; height: 19px; }
  .marketing-nav button::after, .member-header nav button.active::after { display: none; }
  .marketing-hero { min-height: 760px; height: calc(100vh - 70px); max-height: 900px; align-items: flex-start; }
  .hero-photo { object-position: 61% center; }
  .hero-shade { background: rgba(249, 243, 232, 0.55); }
  .hero-copy { width: calc(100% - 44px); margin: 70px 22px 0; transform: none; }
  .hero-copy h1 { max-width: 560px; font-size: clamp(43px, 9vw, 62px); }
  .hero-copy > p:not(.hero-eyebrow) { font-size: 16px; }
  .hero-player { left: 22px; right: 22px; bottom: 22px; width: auto; }
  .how-section, .demo-section, .membership-section { padding-left: 24px; padding-right: 24px; }
  .how-intro { display: block; }
  .how-steps { grid-template-columns: 1fr; gap: 34px; }
  .step-icon { height: auto; }
  .step-line { display: none; }
  .how-step p { max-width: 360px; }
  .home-ask-section { padding: 64px 24px; grid-template-columns: 1fr; }
  .home-ask-intro, .home-answer-panel { width: min(620px, 100%); margin-inline: auto; }
  .home-answer-panel { min-height: auto; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-image-wrap { height: min(58vw, 360px); }
  .demo-description { min-height: 0; }
  .membership-grid { grid-template-columns: 1fr; gap: 36px; }
  .membership-grid::before { grid-column: 1; grid-row: 2; height: 1px; }
  .membership-option:nth-child(1), .membership-plus { grid-column: 1; }
  .membership-option:nth-child(1) { grid-row: 1; }
  .membership-plus { grid-row: 3; }
  .research-note { flex-direction: column; text-align: center; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-story { min-height: auto; padding: 28px 24px 42px; }
  .auth-story > div { margin-top: 70px; }
  .auth-story h1 { font-size: 54px; }
  .auth-quote { margin-top: 50px; }
  .auth-form-panel { min-height: auto; padding: 32px 24px 70px; }
  .auth-form { margin-top: 50px; }
  .library-page, .episode-page, .ask-page, .upgrade-page { width: calc(100% - 40px); }
  .member-welcome { grid-template-columns: 1fr; gap: 28px; padding-top: 50px; }
  .episode-detail { grid-template-columns: 1fr; }
  .episode-detail-image { height: min(75vw, 520px); position: relative; top: auto; }
  .ask-teaser { padding: 34px; flex-direction: column; align-items: start; }
  .upgrade-content { grid-template-columns: 1fr; width: min(600px, 100%); }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-form-wrap { padding: 36px 24px 58px; }
  .order-summary { padding: 52px 24px; }
}

@media (max-width: 560px) {
  .marketing-hero { min-height: 760px; }
  .hero-photo { object-position: 68% center; }
  .hero-shade { background: rgba(249, 243, 232, 0.58); }
  .hero-copy { margin-top: 54px; }
  .hero-copy h1 { font-size: 43px; line-height: 1.04; }
  .hero-copy > p:not(.hero-eyebrow) br { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions .button { width: 170px; }
  .hero-player { padding: 17px; }
  .hero-player-heading > strong { font-size: 21px; }
  .hero-player-heading > p { font-size: 11px; }
  .hero-audio-row { padding: 10px; }
  .how-section { padding-top: 58px; }
  .how-intro h2, .section-heading h2, .membership-section > h2 { font-size: 39px; }
  .home-ask-section { padding-top: 54px; padding-bottom: 54px; }
  .home-ask-intro h2 { font-size: 42px; }
  .home-answer-panel { padding: 30px 22px; }
  .home-answer-panel > h3 { font-size: 32px; }
  .ask-audio-player { grid-template-columns: auto 1fr; }
  .ask-audio-track { grid-column: 1 / -1; }
  .source-groups { flex-direction: column; align-items: flex-start; }
  .marketing-footer { padding: 28px 24px; flex-direction: column; gap: 24px; align-items: flex-start; }
  .marketing-footer div { gap: 24px; }
  .dialog-backdrop { padding: 12px; }
  .demo-dialog { padding: 22px; }
  .demo-dialog > img { width: calc(100% + 44px); max-width: none; height: 200px; margin: -22px -22px 24px; }
  .demo-dialog h2 { font-size: 35px; }
  .dialog-player { grid-template-columns: auto 1fr; }
  .dialog-track { grid-column: 1 / -1; }
  .dialog-signup { flex-direction: column; align-items: stretch; }
  .research-dialog { padding: 34px 20px 24px; }
  .research-dialog > header h2 { font-size: 38px; }
  .research-method-grid article { padding: 24px 20px; }
  .research-dialog { max-height: calc(100vh - 24px); }
  .research-method-grid { grid-template-columns: 1fr; }
  .research-method-grid article { min-height: auto; }
  .choice-row, .episode-grid, .benefit-list, .question-prompts > div { grid-template-columns: 1fr; }
  .continue-card { grid-template-columns: 88px 1fr auto; gap: 12px; }
  .continue-card img { width: 88px; height: 78px; }
  .library-heading { flex-direction: column; }
  .episode-image { height: 230px; }
  .ask-teaser { margin-bottom: 44px; padding: 28px 24px; }
  .ask-teaser h2 { font-size: 35px; }
  .full-player, .locked-message { grid-template-columns: auto 1fr; }
  .full-player-track, .locked-message .button { grid-column: 1 / -1; }
  .ask-page { padding-top: 54px; }
  .ask-intro h1, .upgrade-hero h1 { font-size: 48px; }
  .ask-composer > div { flex-direction: column; align-items: stretch; }
  .answer-card { padding: 26px 20px; }
  .upgrade-page { padding-top: 28px; }
  .upgrade-hero { margin-top: 42px; }
  .plan-card { padding: 24px 20px; }
  .checkout-page > header { padding-inline: 18px; }
  .checkout-page > header > span { font-size: 0; }
  .checkout-form-wrap > h1 { font-size: 44px; }
}

/* Signed-in member workspace — Library First + Library Context */
.sr-only { width: 1px; height: 1px; padding: 0; margin: -1px; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.app-frame { min-height: 100vh; }
.member-player-open .member-shell { padding-bottom: 108px; }
.member-header {
  height: 88px;
  padding: 0 30px;
  grid-template-columns: 250px 1fr auto;
  gap: 28px;
  background: rgba(251, 249, 244, 0.985);
}
.member-header .brand { justify-self: start; font-size: 25px; }
.member-header nav { height: 100%; display: flex; align-items: center; gap: 42px; justify-self: start; }
.member-header nav > button { height: 100%; border: 0; padding: 0; background: none; color: var(--ink); cursor: pointer; font-size: 15px; }
.member-header nav > button:hover, .member-header nav > button.active { color: var(--forest); }
.member-header nav > button.active { font-weight: 700; }
.member-actions { height: 100%; display: flex; align-items: center; gap: 25px; }
.member-language { display: flex; align-items: center; gap: 13px; color: var(--ink-soft); font-size: 13px; }
.member-language > svg { width: 20px; height: 20px; color: var(--forest); }
.member-language button { border: 0; padding: 7px 0; display: flex; align-items: center; gap: 5px; background: none; cursor: pointer; }
.member-language button svg { width: 13px; height: 13px; }
.member-language > span { padding-left: 14px; border-left: 1px solid var(--line); }
.member-account { min-width: 166px; padding-left: 25px; grid-template-columns: 40px 1fr 16px; border-left: 1px solid var(--line); }
.member-account .member-avatar { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: white; font: 400 19px/1 var(--serif); }
.member-account > span:not(.member-avatar), .member-account small { padding-left: 2px; }
.member-account > svg { grid-column: 3; grid-row: 1 / 3; width: 14px; height: 14px; color: var(--ink-soft); }

.member-library-workspace, .member-detail-workspace { min-height: calc(100vh - 88px); display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.library-sidebar { min-width: 0; padding: 28px 22px 150px; border-right: 1px solid var(--line); background: #faf8f2; }
.library-sidebar button { width: 100%; min-height: 61px; padding: 0 10px; border: 0; border-bottom: 1px solid rgba(207, 200, 188, 0.75); display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; background: transparent; color: var(--ink-soft); cursor: pointer; text-align: left; font-size: 13px; }
.library-sidebar button:last-child { border-bottom: 0; }
.library-sidebar button:hover { color: var(--forest); }
.library-sidebar button.active { margin: 0 -8px; width: calc(100% + 16px); padding: 0 18px; border-bottom-color: transparent; border-radius: 7px; background: #e5ebe3; color: var(--forest); font-weight: 700; }
.library-sidebar svg { width: 22px; height: 22px; }
.library-catalogue { min-width: 0; padding: 33px clamp(28px, 3.4vw, 52px) 150px; }
.library-tools { margin-bottom: 28px; display: grid; grid-template-columns: minmax(320px, 1fr) auto; gap: 28px; align-items: center; }
.library-search { min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 7px; display: flex; align-items: center; gap: 12px; background: rgba(255, 254, 251, 0.72); }
.library-search svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--ink-soft); }
.library-search input { width: 100%; min-height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.library-search input::placeholder { color: #8d928e; }
.membership-link { border: 0; padding: 10px 0; display: flex; align-items: center; gap: 9px; background: none; color: var(--forest); cursor: pointer; font-weight: 700; font-size: 13px; }
.membership-link svg { width: 20px; height: 20px; }
.library-result-bar { min-height: 54px; margin-bottom: 22px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.library-result-bar > div { display: flex; align-items: baseline; gap: 9px; }
.library-result-bar strong { font: 400 24px/1.2 var(--serif); }
.library-result-bar > div span { color: var(--ink-soft); font-size: 12px; }
.availability-toggle { display: flex; align-items: center; gap: 10px; color: var(--forest); font-size: 13px; font-weight: 700; cursor: pointer; }
.availability-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.availability-toggle i { width: 42px; height: 24px; padding: 3px; border-radius: 99px; display: block; background: #c9cec8; transition: background 160ms ease; }
.availability-toggle i::after { content: ""; width: 18px; height: 18px; border-radius: 50%; display: block; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform 160ms ease; }
.availability-toggle input:checked + i { background: var(--forest); }
.availability-toggle input:checked + i::after { transform: translateX(18px); }
.availability-toggle input:focus-visible + i { outline: 3px solid #d89d59; outline-offset: 3px; }
.library-catalogue .episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 31px 22px; }
.library-catalogue .episode-card { border: 0; background: transparent; }
.library-catalogue .episode-card.is-locked { background: transparent; }
.library-catalogue .episode-image { height: clamp(170px, 17vw, 225px); border-radius: 6px; }
.library-catalogue .episode-image::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(20, 28, 24, .25)); pointer-events: none; }
.library-catalogue .episode-play { left: 14px; right: auto; bottom: 14px; z-index: 1; width: 43px; height: 43px; }
.library-catalogue .is-locked .episode-play { left: auto; right: 14px; background: var(--forest); color: white; }
.episode-duration { position: absolute; right: 11px; bottom: 11px; z-index: 1; padding: 4px 6px; border-radius: 3px; background: rgba(23, 32, 29, .8); color: white; font-size: 11px; }
.is-locked .episode-duration { right: auto; left: 11px; }
.library-catalogue .episode-card-body { padding: 11px 2px 0; }
.episode-title-button { width: 100%; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; }
.episode-title-button h3 { min-height: 54px; margin-bottom: 8px; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.14; }
.episode-title-button:hover h3 { color: var(--forest); }
.episode-access-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--forest); font-size: 12px; }
.episode-access-row > button { border: 0; padding: 4px; background: transparent; color: var(--ink-soft); cursor: pointer; }
.episode-access-row > button:hover, .episode-access-row > button.is-saved { color: var(--forest); }
.episode-access-row svg { width: 21px; height: 21px; }
.library-empty { min-height: 360px; display: grid; place-items: center; align-content: center; text-align: center; color: var(--ink-soft); }
.library-empty svg { width: 32px; height: 32px; margin-bottom: 14px; color: var(--forest); }
.library-empty h2 { margin-bottom: 8px; font-size: 30px; }

.episode-detail-page { min-width: 0; padding: 25px clamp(28px, 3vw, 48px) 155px; }
.detail-breadcrumb { margin-bottom: 16px; border: 0; padding: 6px 0; display: flex; align-items: center; gap: 8px; background: none; color: var(--ink-soft); cursor: pointer; font-size: 12px; }
.detail-breadcrumb:hover { color: var(--forest); }
.detail-breadcrumb svg { width: 17px; height: 17px; }
.detail-breadcrumb span { color: var(--line); }
.detail-intro-grid { display: grid; grid-template-columns: minmax(410px, .92fr) minmax(410px, 1.08fr); gap: clamp(28px, 4vw, 62px); align-items: center; }
.detail-intro-copy { padding: 10px 0; }
.detail-intro-copy h1 { max-width: 680px; margin: 11px 0 14px; font-size: clamp(34px, 2.4vw, 39px); line-height: 1.08; letter-spacing: -.032em; }
.detail-intro-copy > p:not(.kicker) { max-width: 650px; margin-bottom: 14px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.detail-access { display: inline-flex; align-items: center; gap: 7px; color: var(--forest); font-size: 13px; }
.detail-access.locked { padding: 7px 10px; background: #e6ebe3; font-weight: 700; }
.detail-access svg { width: 15px; height: 15px; }
.detail-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.detail-actions button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 5px; display: flex; align-items: center; gap: 8px; background: transparent; color: var(--forest); cursor: pointer; font-weight: 700; font-size: 13px; }
.detail-actions button:hover { border-color: var(--forest); background: var(--white); }
.detail-actions svg { width: 18px; height: 18px; }
.detail-intro-image { height: clamp(230px, 21vw, 310px); overflow: hidden; border-radius: 7px; background: var(--sand); }
.detail-intro-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-audio-section { margin-top: 28px; }
.detail-audio-section > .kicker { margin-bottom: 4px; }
.detail-track-list { border-top: 1px solid var(--line); }
.detail-track-row { min-height: 70px; padding: 11px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px minmax(115px, .52fr) 58px minmax(210px, 1.25fr) minmax(230px, .9fr); gap: 12px; align-items: center; }
.detail-track-row.active { background: linear-gradient(90deg, rgba(229,235,227,.72), transparent 70%); }
.detail-track-row.locked { color: #6d7571; }
.detail-track-play { width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: white; cursor: pointer; }
.detail-track-play:disabled { background: #8e9993; cursor: not-allowed; }
.detail-track-play svg { width: 17px; height: 17px; }
.detail-track-row > strong { font-size: 14px; }
.detail-track-duration { color: var(--ink-soft); font-size: 12px; }
.detail-track-row > p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
.detail-track-progress { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; }
.detail-track-progress > span { color: var(--ink-soft); font-size: 10px; white-space: nowrap; }
.detail-track-progress i { height: 2px; display: block; overflow: hidden; background: var(--line); }
.detail-track-progress b { height: 100%; display: block; background: var(--forest); }
.detail-unlock { margin-top: 16px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #e7ece4; }
.detail-unlock > div { display: flex; align-items: center; gap: 12px; }
.detail-unlock svg { width: 25px; height: 25px; color: var(--forest); }
.detail-unlock span { display: grid; gap: 3px; }
.detail-unlock small { color: var(--ink-soft); }
.detail-unlock .button { min-height: 42px; }
.detail-knowledge-grid { margin-top: 23px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr); gap: 38px; }
.detail-learning, .detail-research { padding-top: 18px; border-top: 1px solid var(--line); }
.detail-learning ul { margin: 12px 0 18px; padding: 0; list-style: none; }
.detail-learning li { margin: 10px 0; display: flex; align-items: flex-start; gap: 9px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.detail-learning li svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--forest); }
.detail-learning > p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.detail-research > button { width: 100%; min-height: 54px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 12px; align-items: center; background: none; cursor: pointer; text-align: left; }
.detail-research > button > svg { width: 20px; height: 20px; color: var(--forest); }
.detail-research > button > span { min-width: 0; color: var(--ink); font-size: 15px; line-height: 1.45; }
.detail-research > button.detail-ask { margin-top: 6px; border-bottom: 0; color: var(--forest); }
.detail-research > button.detail-ask { grid-template-columns: 26px minmax(0, 1fr) auto 18px; }
.detail-research .detail-ask > span { color: var(--forest); font-weight: 700; }
.detail-ask small { color: var(--forest); font-size: 11px; }
.detail-related { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.detail-related > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.detail-related button { min-width: 0; border: 0; padding: 0; display: grid; grid-template-columns: 95px 1fr 18px; gap: 10px; align-items: center; background: transparent; cursor: pointer; text-align: left; }
.detail-related img { width: 95px; height: 62px; object-fit: cover; border-radius: 4px; }
.detail-related span { min-width: 0; display: grid; gap: 6px; }
.detail-related strong { font: 400 15px/1.2 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.detail-related small { color: var(--forest); font-size: 10px; }
.detail-related svg { width: 17px; height: 17px; color: var(--forest); }

.member-audio-dock { height: 108px; padding: 0 28px; position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(260px, 1.15fr) auto minmax(240px, .9fr) 190px 125px 32px; gap: 22px; align-items: center; border-top: 1px solid var(--line); background: rgba(255, 254, 251, .985); box-shadow: 0 -10px 30px rgba(23,32,29,.07); }
.dock-episode { min-width: 0; display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; align-items: center; }
.dock-episode img { width: 86px; height: 66px; border-radius: 4px; object-fit: cover; }
.dock-episode > div { min-width: 0; display: grid; gap: 4px; }
.dock-episode span, .dock-track-select > span { color: var(--forest); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dock-episode strong { overflow: hidden; color: var(--ink); font: 400 16px/1.2 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dock-controls { display: flex; align-items: center; gap: 12px; }
.dock-controls button, .dock-close { border: 0; display: grid; place-items: center; background: none; color: var(--ink); cursor: pointer; }
.dock-controls button { width: 36px; height: 36px; }
.dock-controls .dock-main-control { width: 54px; height: 54px; border-radius: 50%; background: var(--forest); color: white; }
.dock-controls svg { width: 21px; height: 21px; }
.dock-timeline { min-width: 0; display: grid; gap: 8px; }
.dock-timeline span { color: var(--ink-soft); font-size: 11px; }
.dock-timeline input, .dock-volume input { width: 100%; accent-color: var(--forest); }
.dock-track-select { min-width: 0; padding-left: 20px; border-left: 1px solid var(--line); display: grid; gap: 5px; }
.dock-track-select select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.dock-volume { padding-left: 18px; border-left: 1px solid var(--line); display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: center; }
.dock-volume svg { width: 20px; height: 20px; }
.dock-close { width: 32px; height: 32px; }
.dock-close svg { width: 18px; height: 18px; }

@media (max-width: 1180px) {
  .member-header { grid-template-columns: 220px 1fr auto; }
  .member-header nav { gap: 26px; }
  .member-language > span { display: none; }
  .member-account { min-width: 142px; }
  .member-library-workspace, .member-detail-workspace { grid-template-columns: 220px minmax(0, 1fr); }
  .library-catalogue .episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-intro-grid { grid-template-columns: 1fr; }
  .detail-intro-image { grid-row: 1; height: 300px; }
  .detail-track-row { grid-template-columns: 44px minmax(125px, .6fr) 58px 1fr; }
  .detail-track-progress { grid-column: 2 / -1; }
  .member-audio-dock { grid-template-columns: minmax(220px, 1fr) auto minmax(190px, .8fr) 175px 32px; gap: 15px; }
  .dock-volume { display: none; }
}

@media (max-width: 860px) {
  .member-player-open .member-shell { padding-bottom: 142px; }
  .member-header { height: 70px; padding-inline: 20px; grid-template-columns: 1fr auto; }
  .member-header .brand { font-size: 23px; }
  .member-header nav, .member-actions { display: none; }
  .member-header nav.is-open { height: auto; top: 70px; padding: 10px 20px 18px; display: flex; }
  .member-header nav.is-open > button { height: 50px; }
  .member-header nav.is-open .mobile-member-actions { display: flex; }
  .member-library-workspace, .member-detail-workspace { min-height: calc(100vh - 70px); display: block; }
  .library-sidebar { padding: 8px 18px; position: sticky; z-index: 28; top: 70px; display: flex; gap: 7px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .library-sidebar button { width: auto; min-width: max-content; min-height: 40px; padding: 0 12px; border: 0; border-radius: 5px; grid-template-columns: auto auto; }
  .library-sidebar button.active { width: auto; margin: 0; padding: 0 12px; }
  .library-sidebar svg { width: 17px; height: 17px; }
  .library-catalogue, .episode-detail-page { padding-left: 22px; padding-right: 22px; }
  .detail-intro-grid { gap: 22px; }
  .detail-intro-image { height: min(54vw, 370px); }
  .detail-knowledge-grid { grid-template-columns: 1fr; gap: 25px; }
  .detail-related > div { grid-template-columns: 1fr; }
  .detail-unlock { align-items: flex-start; }
  .member-audio-dock { height: 142px; padding: 12px 18px; grid-template-columns: minmax(0, 1fr) auto 30px; grid-template-rows: auto auto; gap: 9px 14px; }
  .dock-episode { grid-template-columns: 62px minmax(0, 1fr); }
  .dock-episode img { width: 62px; height: 48px; }
  .dock-controls { grid-column: 2; grid-row: 1; }
  .dock-controls > button:not(.dock-main-control) { display: none; }
  .dock-timeline { grid-column: 1 / 3; grid-row: 2; grid-template-columns: auto 1fr; align-items: center; }
  .dock-track-select { grid-column: 3; grid-row: 1 / 3; width: 30px; padding: 0; border: 0; }
  .dock-track-select > span { display: none; }
  .dock-track-select select { width: 30px; font-size: 0; }
  .dock-close { position: absolute; top: -40px; right: 8px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
}

@media (max-width: 560px) {
  .library-catalogue { padding-top: 20px; }
  .library-tools { grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px; }
  .membership-link { justify-self: end; }
  .library-result-bar { min-height: 78px; align-items: flex-start; }
  .library-result-bar > div { display: grid; gap: 3px; }
  .library-result-bar strong { font-size: 22px; }
  .availability-toggle { margin-top: 4px; }
  .library-catalogue .episode-grid { grid-template-columns: 1fr; gap: 28px; }
  .library-catalogue .episode-image { height: 58vw; max-height: 270px; }
  .episode-title-button h3 { min-height: 0; font-size: 23px; }
  .episode-detail-page { padding-top: 17px; padding-bottom: 175px; }
  .detail-breadcrumb { margin-bottom: 9px; }
  .detail-intro-grid { display: flex; flex-direction: column; align-items: stretch; }
  .detail-intro-copy { order: 2; }
  .detail-intro-image { order: 1; height: 52vw; min-height: 195px; }
  .detail-intro-copy h1 { font-size: 37px; }
  .detail-track-row { padding: 14px 0; grid-template-columns: 42px 1fr auto; gap: 8px 11px; }
  .detail-track-row > p { grid-column: 2 / -1; }
  .detail-track-progress { grid-column: 2 / -1; }
  .detail-unlock { flex-direction: column; }
  .detail-unlock .button { width: 100%; }
  .detail-knowledge-grid { margin-top: 20px; }
  .detail-related button { grid-template-columns: 84px 1fr 18px; }
  .detail-related img { width: 84px; height: 60px; }
  .dock-episode span { font-size: 9px; }
  .dock-episode strong { font-size: 14px; -webkit-line-clamp: 1; }
  .dock-controls .dock-main-control { width: 48px; height: 48px; }
}
/* Production integration: scoped additions to the approved prototype. */
.preview-notice{padding:9px 20px;background:#eae1d4;font-size:12px;text-align:center}
.yi-member-preview .marketing-header nav a{color:inherit;text-decoration:none;padding:12px}
.yi-member-preview select{padding:9px;border:1px solid var(--line);border-radius:5px;background:var(--paper)}
.preview-error,.preview-loading,.preview-account-note{padding:16px 30px;background:#fff1d9}
.preview-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px;margin:45px 0}
.yi-member-preview .how-section{padding:80px 7%}.preview-how-grid h3{font-size:29px}.preview-how-grid span{color:var(--forest);display:block;margin-bottom:20px}.preview-how-grid p{line-height:1.7}
.preview-ask{padding:85px 7%;background:#e7ece5;display:grid;grid-template-columns:1fr 1fr;gap:70px}.preview-ask h2{font-size:52px}.preview-ask p{line-height:1.7}.preview-answer{background:var(--paper);padding:35px;border-radius:12px}.preview-answer h3{font-size:30px}.preview-answer small{display:block;margin-top:25px;color:var(--ink-soft)}
.preview-panel{max-width:780px;padding:90px 30px;margin:auto;min-height:60vh}.preview-panel h1{font-size:48px}.preview-panel p{line-height:1.8}
.tester-access-card{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0 34px;margin-bottom:34px}.tester-access-card h2{font-family:var(--serif);font-size:clamp(34px,5vw,52px);font-weight:400;line-height:1.08;margin:8px 0 16px}.tester-access-card>p{max-width:690px}.tester-access-kicker{color:var(--forest);font-size:13px;font-weight:750;letter-spacing:.16em}.tester-request-button{margin-top:10px}.tester-request-status{display:flex;flex-direction:column;gap:5px;padding:18px 20px;margin:22px 0;background:#edf4ee;border-left:4px solid var(--forest);border-radius:4px}.tester-request-status span,.tester-request-note{color:var(--ink-soft)}.tester-code-option{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.tester-code-option summary{cursor:pointer;color:var(--forest);font-weight:650}.tester-code-option form{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:14px;margin-top:18px}.tester-code-option label{display:grid;gap:7px}.tester-code-option input{width:100%;min-height:52px;border:1px solid #b8c5bd;border-radius:6px;background:#fff;padding:11px 13px;font:inherit}.tester-access-message{color:var(--forest);font-weight:650}
.yi-member-preview .auth-photo{background:url('/member-preview/hero-lifestyle.png') center/cover}.yi-member-preview .auth-card{padding:60px}.yi-member-preview .auth-card p{line-height:1.8}
.yi-member-preview .detail-research a{display:flex;gap:12px;padding:18px 0;color:var(--forest);overflow-wrap:anywhere}.yi-member-preview .hero-player-heading p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.yi-member-preview .hero-player-heading strong{font-size:23px}.yi-member-preview .episode-image{width:100%}.yi-member-preview .detail-track-play:disabled{cursor:not-allowed}
.preview-dock{position:fixed;bottom:0;left:0;right:0;z-index:100;background:var(--paper);border-top:1px solid var(--line);padding:18px 4%;display:flex;align-items:center;gap:24px;box-shadow:0 -5px 25px #17201d12}.preview-dock>button:first-child{text-align:left;width:35%;min-width:0}.preview-dock strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-dock small{display:block;margin-top:5px}.preview-dock button{border:0;background:none;cursor:pointer}.preview-dock input{flex:1;accent-color:var(--forest)}.preview-dock .detail-track-play{background:var(--forest);color:white}.member-player-open{padding-bottom:120px}
.preview-research{max-width:720px;width:calc(100% - 30px);max-height:85vh;border:1px solid var(--line);padding:40px;background:var(--paper);color:var(--ink);border-radius:12px}.preview-research::backdrop{background:#17201d99}.preview-research h2{font-size:38px}.preview-research h3{font-size:25px}.preview-research p{line-height:1.7}.preview-dialog-close{float:right;border:0;background:none;padding:8px;cursor:pointer}
@media(max-width:800px){.yi-member-preview .marketing-header,.yi-member-preview .member-header{display:flex;flex-wrap:wrap;height:auto;padding:16px;gap:15px}.yi-member-preview .marketing-header nav,.yi-member-preview .member-header nav{display:flex;position:static;order:3;width:100%;overflow:auto;gap:4px;padding:0;background:none}.yi-member-preview .member-actions{display:flex;margin-left:auto}.yi-member-preview .member-actions .button{font-size:12px;padding:9px;min-height:35px}.yi-member-preview .brand{font-size:25px}.preview-how-grid,.preview-ask{grid-template-columns:1fr;gap:25px}.preview-dock{gap:12px;flex-wrap:wrap;padding:12px}.preview-dock>button:first-child{width:calc(100% - 55px);order:0}.preview-dock>button:last-child{order:1}.preview-dock .detail-track-play{order:2}.preview-dock>span{order:3;font-size:12px}.preview-dock input{order:4}.yi-member-preview .hero-player{max-height:none}.yi-member-preview .hero-player-heading strong{font-size:19px}.yi-member-preview .hero-player-heading p{font-size:13px}.yi-member-preview .marketing-footer{gap:20px}.preview-research{padding:25px}}
/* Visual review fixes: consistent layout for real catalogue titles. */
.yi-member-preview .how-section { display:block; }
.yi-member-preview .how-section .section-heading { max-width:680px; }
.yi-member-preview .how-section .section-heading h2 { margin-bottom:14px; }
.yi-member-preview .preview-how-grid { margin:36px 0 28px; gap:48px; }
.yi-member-preview .preview-how-grid h3 { line-height:1.2; margin-bottom:14px; }
.yi-member-preview .preview-how-grid p { margin-bottom:0; }
.yi-member-preview .section-heading { margin-bottom:32px; }
.yi-member-preview .section-heading p { margin:0; line-height:1.6; }
.yi-member-preview .demo-section .episode-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.yi-member-preview .episode-card { display:flex; flex-direction:column; min-width:0; }
.yi-member-preview .episode-card-body { display:flex; flex:1; flex-direction:column; padding:20px; }
.yi-member-preview .episode-card-body>small { color:var(--forest); font-size:11px; line-height:1.5; margin-bottom:9px; }
.yi-member-preview .episode-title-button { text-align:left; }
.yi-member-preview .episode-title-button h3 { font-size:23px; line-height:1.25; margin:0 0 20px; }
.yi-member-preview .episode-access-row { margin-top:auto; padding-top:8px; }
.yi-member-preview .episode-access-row button { min-width:36px; min-height:36px; }
.yi-member-preview .episode-play,.yi-member-preview .library-catalogue .is-locked .episode-play { left:14px; right:auto; bottom:14px; }
.yi-member-preview .episode-duration,.yi-member-preview .is-locked .episode-duration { left:auto; right:14px; bottom:14px; }
.yi-member-preview .hero-player-heading .episode-title-button strong { display:block;font:400 25px/1.2 var(--serif);margin:6px 0 10px; }
.yi-member-preview .hero-player { width:min(48%,610px); }
.yi-member-preview .hero-player-tracks { gap:14px; }
.yi-member-preview .hero-audio-row { min-width:0; }
.yi-member-preview .hero-audio-row .detail-track-play { flex-shrink:0; }
.yi-member-preview .marketing-header { padding-left:5%;padding-right:5%;gap:24px; }
.yi-member-preview .marketing-header nav { gap:12px; }
.yi-member-preview .marketing-header nav a,.yi-member-preview .marketing-header nav button { padding:12px 3px; font-size:14px;white-space:nowrap; }
.yi-member-preview .member-header nav { gap:30px; }
.yi-member-preview .library-result-bar { gap:15px; align-items:center; }
.yi-member-preview .availability-toggle { white-space:nowrap; }
.yi-member-preview .preview-account-note { margin:0 0 24px; border-radius:6px;padding:15px 18px;line-height:1.6;background:#edf1eb;color:var(--forest-deep); }
.preview-browse-link { margin-top:36px; text-align:center; }
.yi-member-preview .home-research-button { margin-top:20px; }
.yi-member-preview .home-research-button,
.yi-member-preview .home-browse-button { background:var(--forest); color:var(--white); border-color:var(--forest); }
.yi-member-preview .home-research-button:hover,
.yi-member-preview .home-browse-button:hover { background:var(--forest-deep); color:var(--white); }
.yi-member-preview #demos,.yi-member-preview #how-it-works,.yi-member-preview #ask,.yi-member-preview #membership { scroll-margin-top:105px; }
.preview-demo-dialog { padding:0; border:0; border-radius:12px; width:min(680px,calc(100% - 32px)); max-height:85vh; background:var(--paper); color:var(--ink); }
.preview-demo-dialog::backdrop { background:#17201d99; }
.preview-demo-photo { display:block;width:100%;max-width:none;aspect-ratio:16/9;object-fit:cover; }
.preview-demo-close { position:absolute;right:16px;top:16px;width:44px;height:44px;border:0;border-radius:50%;background:var(--paper);display:grid;place-items:center;cursor:pointer; }
.preview-demo-body { padding:30px; }
.preview-demo-body h2 { font-size:34px;line-height:1.15;margin-bottom:18px; }
.preview-demo-body>p { line-height:1.65; }
.preview-demo-tracks { display:grid;gap:12px;margin:24px 0; }
.preview-demo-tracks .hero-audio-row { padding:16px; }
.preview-demo-tracks strong,.preview-demo-tracks small {display:block;}
.preview-demo-tracks small { margin-top:5px;color:var(--ink-soft); }
.preview-text-link { border:0;background:none;color:var(--forest);display:flex;align-items:center;gap:12px;cursor:pointer;padding:10px 0; }
.preview-demo-signup { border-top:1px solid var(--line);margin-top:22px;padding-top:24px; }
.preview-demo-signup .button { width:100%; }
@media(max-width:1050px){.yi-member-preview .marketing-header{flex-wrap:wrap;padding:18px 24px}.yi-member-preview .marketing-header nav{order:3;width:100%;justify-content:center}.yi-member-preview .marketing-header .member-actions{margin-left:auto}.yi-member-preview .hero-player{width:52%}}
@media(max-width:800px){
 .yi-member-preview .marketing-header,.yi-member-preview .member-header{gap:14px;padding:16px 20px;}
 .yi-member-preview .member-header nav,.yi-member-preview .marketing-header nav{justify-content:space-between;gap:18px;padding-top:6px;scrollbar-width:none;}
 .yi-member-preview .member-header nav button{padding:8px 0;white-space:nowrap;font-size:13px;}
 .yi-member-preview .brand{font-size:27px}.yi-member-preview .member-actions{gap:12px;width:100%;justify-content:space-between;}
 .yi-member-preview .member-actions .button{font-size:13px;padding:10px 18px;}
 .yi-member-preview .hero-player{width:auto;left:20px;right:20px;bottom:24px;}
 .yi-member-preview .hero-player-heading .episode-title-button strong{font-size:21px;}
 .yi-member-preview .marketing-hero{min-height:870px;height:auto;}
 .yi-member-preview .hero-copy{padding-top:42px;}
 .yi-member-preview .hero-copy h1{font-size:42px;}
 .yi-member-preview .hero-photo{object-position:64% center;}
 .yi-member-preview .hero-shade{background:linear-gradient(180deg,rgba(242,228,205,.9),rgba(242,228,205,.1) 60%);}
 .yi-member-preview .demo-section .episode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
 .yi-member-preview .how-section{padding:55px 24px;}.yi-member-preview .preview-how-grid{gap:28px;}
 .yi-member-preview .library-result-bar{flex-direction:row;align-items:center;}
 .yi-member-preview .availability-toggle{font-size:11px;gap:6px;}
 .yi-member-preview .availability-toggle i{flex-shrink:0;}
 .yi-member-preview .library-result-bar strong{font-size:22px;}
 .yi-member-preview .library-tools{gap:14px;margin-bottom:20px;}
 .yi-member-preview .library-tools>button{align-self:flex-end;font-size:13px;}
 .yi-member-preview .detail-track-row{grid-template-columns:42px 1fr auto;gap:12px;}
 .yi-member-preview .detail-track-row>p{grid-column:2/-1;}
 .preview-demo-body{padding:24px;}.preview-demo-body h2{font-size:29px;}
}
@media(max-width:520px){.yi-member-preview .demo-section .episode-grid{grid-template-columns:1fr;}.yi-member-preview .episode-title-button h3{font-size:25px;}.yi-member-preview .preview-ask h2{font-size:40px;}.yi-member-preview .hero-player-tracks{grid-template-columns:1fr;}.yi-member-preview .hero-player-heading p{font-size:13px;}}
.yi-member-preview .hero-copy {max-width:none;min-height:0;}
.yi-member-preview .hero-copy>p:not(.hero-eyebrow) {color:var(--ink-soft);margin:0 0 30px;font-weight:400;line-height:1.55;}
@media(max-width:800px){
 .yi-member-preview .marketing-header nav {gap:10px;justify-content:space-between;}
 .yi-member-preview .marketing-header nav a,.yi-member-preview .marketing-header nav button{font-size:12px;padding:9px 0;}
 .yi-member-preview .marketing-hero{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none;overflow:visible;background:var(--cream);}
 .yi-member-preview .hero-copy{order:0;width:calc(100% - 48px);margin:0 24px;padding:38px 0 30px;transform:none;}
 .yi-member-preview .hero-copy h1{font-size:40px;margin-bottom:22px;}
 .yi-member-preview .hero-copy>p:not(.hero-eyebrow){font-size:16px;}
 .yi-member-preview .hero-photo{order:1;position:relative;inset:auto;height:340px;width:100%;object-fit:cover;object-position:70% center;}
 .yi-member-preview .hero-shade{display:none;}
 .yi-member-preview .hero-player{order:2;position:relative;inset:auto;width:calc(100% - 40px);margin:-30px 20px 28px;}
}
.yi-member-preview dialog {margin:auto;}
.yi-member-preview .marketing-header {display:flex;align-items:center;justify-content:space-between;}
.yi-member-preview .marketing-header .member-actions .button {white-space:nowrap;}
@media(min-width:801px) and (max-width:1050px){
 .yi-member-preview .marketing-header nav{order:3;width:100%;justify-content:center;gap:24px;}
 .yi-member-preview .demo-section .episode-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .yi-member-preview .hero-copy{width:calc(100% - 72px);margin:0 36px;padding:44px 0 36px;transform:none;}
 .yi-member-preview .hero-copy h1{font-size:48px;}
 .yi-member-preview .marketing-hero{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none;overflow:visible;background:var(--cream);}
 .yi-member-preview .hero-copy{order:0;}
 .yi-member-preview .hero-photo{order:1;position:relative;inset:auto;height:400px;width:100%;object-position:70% center;}
 .yi-member-preview .hero-shade{display:none;}
 .yi-member-preview .hero-player{order:2;position:relative;inset:auto;width:calc(100% - 72px);margin:-45px 36px 36px;}
}
.yi-member-preview .marketing-header nav {display:flex;align-items:center;gap:18px;}
@media(max-width:800px){.yi-member-preview .marketing-header nav{gap:10px;}}
.yi-member-preview .preview-research h2 {margin:18px 0 28px;line-height:1.2;}
.yi-member-preview .preview-research section {margin:0 0 24px;}
.yi-member-preview .preview-research h3 {margin:0 0 8px;}
.yi-member-preview .preview-research p {margin:0;}

/* Staging editorial refinement: Bellefair with a Traditional Chinese fallback. */
.yi-member-preview { --serif: var(--font-bellefair), 'Songti TC', 'Noto Serif TC', 'PMingLiU', serif; }
.yi-member-preview :is(h1,h2,h3,.brand,.hero-player-heading strong,.preview-dock>button:first-child strong) { font-family:var(--serif);font-weight:400; }
.yi-member-preview[lang='zh-Hant'] :is(h1,h2,h3) {line-height:1.4;letter-spacing:.025em;}
.yi-member-preview .how-section {position:relative;background:linear-gradient(135deg,#eef2e9 0%,#f7f5ed 65%,#e6eddf 100%);border-block:1px solid #d4ddce;}
.yi-member-preview .preview-how-grid {gap:22px;margin:40px 0 30px;}
.yi-member-preview .preview-how-grid article {position:relative;background:rgba(255,254,251,.7);border:1px solid #d4ddce;border-radius:14px;padding:30px;}
.yi-member-preview .research-step-top {display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;}
.yi-member-preview .research-step-icon {display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#dfe9da;color:#075342;}
.yi-member-preview .research-step-icon svg {width:32px;height:32px;}
.yi-member-preview .research-step-number {font:36px var(--serif);color:#82947d;}
.yi-member-preview .preview-how-grid h3 {font-size:30px;margin:0 0 12px;}
.yi-member-preview .preview-how-grid p {margin:0;font-size:16px;line-height:1.7;}
.yi-member-preview .episode-category {display:block!important;color:var(--forest)!important;font:600 12px/1.5 var(--sans);letter-spacing:.07em;text-transform:uppercase;}
.yi-member-preview .demo-section .episode-card {position:relative;padding-top:64px;background:var(--paper);}
.yi-member-preview .demo-section .episode-category {position:absolute;top:0;left:0;right:0;min-height:64px;display:flex!important;align-items:center;padding:12px 18px;border-top:2px solid var(--forest);font:400 25px/1.15 var(--serif);letter-spacing:0;text-transform:none;background:#edf1e8;}
.yi-member-preview .demo-section .episode-card h3 {font-size:25px;}
.yi-member-preview .community-note {font-size:16px;line-height:1.7;color:#4b6255;border-left:3px solid #8ca180;padding-left:18px;}
.yi-member-preview .google-signin {margin:20px 0;width:100%;background:var(--white);color:var(--forest);border:1px solid var(--line-dark);}
.yi-member-preview .google-signin.is-disabled {opacity:.55;cursor:not-allowed;}
.yi-member-preview .auth-card p {line-height:1.7;}
.yi-member-preview .signout-link {font-size:13px;white-space:nowrap;}
.yi-member-preview .ask-form {display:grid;gap:12px;margin:28px 0;}
.yi-member-preview .ask-form label {font-weight:600;}
.yi-member-preview .ask-form textarea {width:100%;min-height:150px;resize:vertical;padding:18px;border:1px solid var(--line-dark);border-radius:10px;background:var(--white);font:inherit;line-height:1.6;}
.yi-member-preview .ask-form>span {text-align:right;color:var(--ink-soft);font-size:13px;}
.yi-member-preview .ask-form .button {justify-self:start;}
.yi-member-preview .member-answers {border-top:1px solid var(--line);margin-top:45px;padding-top:25px;}
.yi-member-preview .member-answers>div {display:flex;justify-content:space-between;align-items:center;gap:18px;}
.yi-member-preview .member-answers h2 {font-size:32px;}
.yi-member-preview .member-answers article {margin:25px 0;padding:25px;background:var(--white);border:1px solid var(--line);border-radius:12px;}
.yi-member-preview .member-answers h3 {font-size:28px;}
.yi-member-preview .member-answers audio {width:100%;margin:15px 0;}
.yi-member-preview .member-answers details p {white-space:pre-line;line-height:1.8;}
.yi-member-preview .ask-related {margin-top:20px;padding-top:15px;border-top:1px solid var(--line);}
.yi-member-preview .ask-related-label {margin:0 0 8px;color:var(--forest);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
.yi-member-preview .ask-related ul {display:grid;gap:5px;margin:0;padding:0;list-style:none;}
.yi-member-preview .ask-related a {color:var(--forest);text-decoration:underline;text-decoration-color:rgba(7,83,67,.35);text-underline-offset:3px;}
.yi-member-preview .ask-progress {display:flex;align-items:flex-start;gap:20px;padding:24px;background:#e8f1ec;border:1px solid #b8cfc3;border-radius:12px;margin:18px 0 26px;color:#075343;}
.yi-member-preview .ask-progress strong {font-size:20px;}
.yi-member-preview .ask-progress p {font-size:15px;margin:8px 0;line-height:1.6;}
.yi-member-preview .ask-progress ol {display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0;margin:15px 0 0;font-size:14px;}
.yi-member-preview .ask-progress li {padding:6px 10px;border-radius:6px;}
.yi-member-preview .ask-progress li.active {background:#075343;color:white;font-weight:600;}
.yi-member-preview .ask-spinner {flex:0 0 34px;width:34px;height:34px;border:4px solid #b8cfc3;border-top-color:#075343;border-radius:50%;animation:ask-spin 1s linear infinite;}
.yi-member-preview .ask-audio-row {display:flex;align-items:center;gap:18px;padding:18px 0;border-top:1px solid var(--line);font-size:15px;}
.yi-member-preview .ask-audio-row .detail-track-play {background:#075343;color:white;flex:0 0 48px;width:48px;height:48px;}
.yi-member-preview .ask-audio-row>span {margin-left:auto;}
.yi-member-preview .ask-share {border-top:1px solid var(--line);margin-top:16px;padding-top:16px;}
.yi-member-preview .ask-share p {font-size:14px;}
.yi-member-preview .ask-saved-note {display:flex;align-items:center;gap:8px;color:#075343;font-size:14px;}
@keyframes ask-spin {to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.yi-member-preview .ask-spinner{animation:none;border-style:dotted;}}
@media(max-width:600px){.yi-member-preview .ask-progress{padding:16px;gap:12px;}.yi-member-preview .ask-progress strong{font-size:18px;}.yi-member-preview .ask-progress ol{gap:3px;}}
@media(max-width:650px){
 .yi-member-preview .preview-how-grid article{padding:24px;}
 .yi-member-preview[lang='zh-Hant'] .hero-copy h1{font-size:38px;}
 .yi-member-preview .demo-section .episode-category{font-size:26px;}
 .yi-member-preview .member-answers>div{align-items:flex-start;flex-direction:column;}
}
.yi-member-preview[lang='zh-Hant'] {--serif:'Bellefair','Songti TC','Noto Serif TC','PMingLiU',serif;}
.yi-member-preview .auth-screen {display:grid;grid-template-columns:1fr 1fr;min-height:calc(100svh - 180px);}
.yi-member-preview .auth-photo {min-height:560px;background-position:65% center;}
.yi-member-preview .auth-card {align-self:center;width:100%;max-width:640px;margin:auto;}
.yi-member-preview .auth-card h1 {font-size:48px;line-height:1.15;margin:20px 0;}
.yi-member-preview .auth-card .kicker {font-size:12px;}
@media(max-width:800px){
 .yi-member-preview .auth-screen{display:block;min-height:55svh;}
 .yi-member-preview .auth-photo{display:none;}
 .yi-member-preview .auth-card{padding:40px 24px;}
 .yi-member-preview .auth-card h1{font-size:38px;}
 .yi-member-preview .preview-panel{padding:50px 24px;}
 .tester-code-option form{grid-template-columns:1fr;align-items:stretch}
 .yi-member-preview .preview-panel h1{font-size:38px;}
}

/* Ask section rhythm: compact display headings, distinct readable text blocks. */
.yi-member-preview .preview-ask h2 {line-height:1.08;margin:0 0 28px;}
.yi-member-preview .preview-ask > div > .kicker {margin:0 0 24px;line-height:1.4;}
.yi-member-preview .preview-ask > div > p:not(.kicker) {line-height:1.85;margin:0 0 24px;}
.yi-member-preview .preview-answer h3 {line-height:1.2;margin:14px 0 18px;}
.yi-member-preview .preview-answer > p {line-height:1.85;margin:0 0 24px;}
.yi-member-preview .preview-answer small {line-height:1.7;margin-top:24px;}
.yi-member-preview .library-catalogue > .ask-workspace {max-width:none;min-height:0;padding:28px 0;margin:0 0 32px;border-bottom:1px solid var(--border,#d8d2c6);}
.yi-member-preview .library-catalogue > .ask-workspace h1 {font-size:30px;}
.yi-member-preview .ask-workspace > .kicker {line-height:1.4;margin:0 0 22px;}
.yi-member-preview .ask-workspace > h1 {line-height:1.12;margin:0 0 28px;}
.yi-member-preview .ask-workspace > p:not(.kicker) {line-height:1.85;margin:0 0 24px;}
.yi-member-preview :is(.preview-ask,.ask-workspace) .community-note {padding-block:4px;margin-bottom:28px;}
.yi-member-preview[lang='zh-Hant'] .preview-ask h2,
.yi-member-preview[lang='zh-Hant'] .ask-workspace > h1 {line-height:1.25;}
.yi-member-preview[lang='zh-Hant'] .preview-answer h3 {line-height:1.35;}
@media(max-width:800px){
 .yi-member-preview .preview-ask h2{font-size:42px;}
 .yi-member-preview .marketing-header nav,.yi-member-preview .member-header nav{flex-wrap:wrap;row-gap:10px;}
 .yi-member-preview .marketing-header nav a,.yi-member-preview .member-header nav button{white-space:nowrap;}
}

/* Email account forms share the established Google sign-in page. */
.yi-member-preview .email-auth-divider{display:flex;align-items:center;gap:14px;color:var(--ink-soft);font-size:13px;margin:4px 0 24px}
.yi-member-preview .email-auth-divider:before,.yi-member-preview .email-auth-divider:after{content:'';height:1px;background:var(--line);flex:1}
.yi-member-preview .email-auth-form{display:grid;gap:18px;margin:24px 0 16px}
.yi-member-preview .email-auth-form label{display:grid;gap:8px;font-size:15px;font-weight:600}
.yi-member-preview .email-auth-form input{width:100%;min-width:0;padding:13px 14px;border:1px solid var(--line-dark);border-radius:6px;background:var(--white);color:var(--ink);font:400 16px/1.4 var(--sans)}
.yi-member-preview .email-auth-form input:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.yi-member-preview .email-password-field{display:flex;position:relative}.yi-member-preview .email-password-field input{padding-right:76px}.yi-member-preview .email-password-field button{position:absolute;right:10px;top:0;bottom:0;background:transparent;border:0;color:var(--forest);font-size:13px;cursor:pointer}
.yi-member-preview .email-auth-form small{font-size:13px;line-height:1.6;color:var(--ink-soft);margin-top:-10px}
.yi-member-preview .email-auth-form .button{width:100%;justify-content:center}.yi-member-preview .email-auth-form .button:disabled{opacity:.55;cursor:not-allowed}
.yi-member-preview .email-auth-form .email-auth-error{margin:0;padding:12px 14px;background:#fff0e9;color:#833a25;border-radius:6px;font-size:14px;line-height:1.6}
.yi-member-preview .email-auth-switch{border-top:1px solid var(--line);margin-top:24px;padding-top:20px;font-size:14px}
.yi-member-preview .email-auth-switch .preview-text-link{display:inline;padding:0;font-weight:600}.yi-member-preview .email-auth-notice{background:#e9efe7;padding:24px;border-radius:10px;margin:24px 0}.yi-member-preview .email-auth-notice h2{font-size:30px;line-height:1.15;margin:16px 0}.yi-member-preview .email-auth-notice p{font-size:15px;line-height:1.7}
.yi-member-preview .auth-card h1{text-wrap:balance}

/* Shared customer navigation on every member-journey page. */
.yi-member-preview .site-header{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px;padding:8px 3%;background:var(--paper);border-bottom:1px solid var(--line);}
.yi-member-preview .brand-logo{display:block;width:280px;max-width:100%;height:auto;}
.yi-member-preview .brand-compact .brand-logo{width:220px;}
.yi-member-preview .site-header .brand{flex-shrink:0;font-size:30px;white-space:nowrap;}
.yi-member-preview .site-navigation{display:flex;align-items:center;justify-content:space-between;flex:1;gap:24px;}
.yi-member-preview .site-navigation nav{display:flex;align-items:center;justify-content:center;gap:20px;flex:1;}
.yi-member-preview .site-navigation nav a,.yi-member-preview .site-navigation nav button{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;border:0;background:none;color:var(--ink);text-decoration:none;font-size:14px;line-height:1.4;white-space:nowrap;cursor:pointer;}
.yi-member-preview .site-navigation nav .active{color:var(--forest);box-shadow:inset 0 -2px var(--forest);font-weight:700;}
.yi-member-preview .site-navigation .member-actions{display:flex;align-items:center;width:auto;height:auto;margin:0;gap:16px;}
.yi-member-preview .site-navigation .member-actions select{max-width:180px;min-height:44px;font-size:14px;}
.yi-member-preview .site-navigation .member-actions .button{min-height:44px;padding:10px 18px;font-size:14px;white-space:nowrap;}
.yi-member-preview .site-navigation .signout-link{white-space:nowrap;min-height:44px;font-size:14px;}
.yi-member-preview .site-menu-toggle{display:none;width:44px;height:44px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--forest);cursor:pointer;}
.yi-member-preview .site-menu-toggle svg{width:26px;height:26px;}
.yi-member-preview .site-header :focus-visible{outline:2px solid var(--forest);outline-offset:4px;}
.yi-member-preview main section[id]{scroll-margin-top:100px;}
@media(max-width:1300px){
 .yi-member-preview .site-header{min-height:78px;height:78px;padding:8px 20px;gap:12px;}
 .yi-member-preview .site-header .brand-logo{width:225px;}
 .yi-member-preview .site-header .brand{font-size:27px;}
 .yi-member-preview .site-menu-toggle{display:flex;flex-shrink:0;}
 .yi-member-preview .site-navigation{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 100px);overflow-y:auto;padding:12px 24px 24px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 12px 20px #17201d12;}
 .yi-member-preview .site-navigation.is-open{display:flex;flex-direction:column;align-items:stretch;gap:18px;}
 .yi-member-preview .site-navigation nav{display:flex;flex-direction:column;align-items:stretch;gap:0;}
 .yi-member-preview .site-navigation nav a,.yi-member-preview .site-navigation nav button{min-height:48px;padding:12px 0;text-align:left;font-size:16px;white-space:normal;border-bottom:1px solid var(--line);}
 .yi-member-preview .site-navigation nav .active{box-shadow:none;}
 .yi-member-preview .site-navigation .member-actions{width:100%;flex-direction:column;align-items:stretch;gap:12px;}
 .yi-member-preview .site-navigation .member-actions label,.yi-member-preview .site-navigation .member-actions select{width:100%;max-width:none;}
 .yi-member-preview .site-navigation .member-actions select,.yi-member-preview .site-navigation .member-actions .button,.yi-member-preview .site-navigation .signout-link{min-height:48px;font-size:16px;}
}
@media(max-width:380px){.yi-member-preview .site-header{padding-inline:14px;}.yi-member-preview .site-header .brand{font-size:24px;}.yi-member-preview .site-header .brand-logo{width:205px;}}
.course-pilot-intro{padding:26px;margin:0 0 24px;background:#eef1e8;border:1px solid #d4dccc;border-radius:16px}
.course-pilot-intro h1{font-family:var(--serif);font-size:clamp(26px,3vw,36px);line-height:1.16;max-width:720px;margin:10px 0 14px;color:#253c31}
.course-pilot-intro>p{max-width:750px;line-height:1.65}
.course-pilot-meta{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:13px;margin:18px 0;color:#45614c}
.course-pilot-intro .course-pilot-note{font-size:12px;color:#59625b;margin:18px 0 0}
.course-pilot-navigation{padding:24px 0;border-top:1px solid #d9ded4;margin-top:28px}
.course-pilot-navigation>p{font-size:13px;color:#526349}
.course-pilot-navigation>div{display:flex;justify-content:space-between;gap:20px}
.course-pilot-navigation button{font:inherit;font-size:14px;text-align:left;border:1px solid #d4dccc;border-radius:10px;background:#eef1e8;padding:14px;max-width:48%;cursor:pointer;color:#253c31}
@media(max-width:600px){.course-pilot-intro{padding:20px}.course-pilot-navigation>div{flex-direction:column}.course-pilot-navigation button{max-width:100%}}
