:root {
  color-scheme: light;
  --ink: #102033;
  --muted: rgba(16, 32, 51, 0.68);
  --navy: #0a2342;
  --blue: #2878a8;
  --teal: #168c86;
  --leaf: #4f9b63;
  --gold: #f3c94d;
  --coral: #e9664d;
  --paper: #fff8ec;
  --cream: #fffdf7;
  --sky: #edf7fb;
  --line: rgba(16, 32, 51, 0.12);
  --soft-line: rgba(16, 32, 51, 0.08);
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.12);
  --content: min(1180px, calc(100vw - 40px));
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fffdf7 0%, #edf7fb 44%, #fff8ec 100%);
  color: var(--ink);
}

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

button,
textarea,
input {
  font: inherit;
}

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

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

.guide-brand,
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.guide-brand {
  min-width: 0;
  font-weight: 950;
}

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

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

.privacy-pill,
.icon-button,
.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 999px;
  padding: 0 15px;
  background: white;
  color: rgba(16, 32, 51, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(16, 32, 51, 0.06);
}

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

.icon-button {
  cursor: pointer;
}

.hero,
.snap-strip,
.learning-shell,
.workout-section,
.quote-free-note,
.subscribe-band,
.guide-footer {
  width: var(--content);
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: min(720px, calc(100svh - 74px));
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.5fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: 52px 0 68px;
}

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

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

h1 {
  max-width: 900px;
  font-size: clamp(3.3rem, 8vw, 7.4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.64;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
}

.button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.button.secondary {
  background: var(--gold);
  color: var(--navy);
}

.orbit-panel {
  display: grid;
  gap: 28px;
  align-content: start;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 34px);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.orbit {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 25% 18%, rgba(243, 201, 77, 0.3), transparent 21%),
    linear-gradient(135deg, #102033, #0a2342 56%, #168c86);
}

.moon {
  position: absolute;
  top: 96px;
  left: calc(50% - 48px);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 22%, #fff8ec 0 5px, transparent 6px),
    radial-gradient(circle at 33% 30%, #fff8ec 0 7px, transparent 8px),
    radial-gradient(circle at 62% 70%, #f3c94d 0 5px, transparent 6px),
    var(--gold);
  box-shadow: 0 0 0 14px rgba(243, 201, 77, 0.16);
}

.moon::after {
  position: absolute;
  inset: 0 0 0 35px;
  border-radius: 50%;
  background: #0a2342;
  content: "";
}

.ring {
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.ring-two {
  inset: 74px 36px 38px;
  transform: rotate(-22deg);
}

.node {
  position: absolute;
  display: grid;
  min-width: 68px;
  min-height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 0.78rem;
  font-weight: 950;
  backdrop-filter: blur(10px);
}

.node-a {
  top: 42px;
  left: 28px;
}

.node-b {
  top: 42px;
  right: 24px;
}

.node-c {
  bottom: 38px;
  left: 34px;
}

.node-d {
  right: 34px;
  bottom: 38px;
}

.panel-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orbit-panel h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.snap-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 18px 58px rgba(16, 32, 51, 0.08);
}

.snap-strip article {
  min-height: 200px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.snap-strip article:last-child {
  border-right: 0;
}

.snap-strip span,
.idea-card span,
.playbook span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.snap-strip strong {
  display: block;
  font-size: 1.05rem;
}

.snap-strip p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.learning-shell {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

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

.tab-button {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: rgba(16, 32, 51, 0.6);
  cursor: pointer;
  font-weight: 950;
}

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

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

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

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

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

.panel-heading h2,
.workout-heading h2 {
  font-size: clamp(2.05rem, 5.4vw, 4.65rem);
  line-height: 0.98;
}

.panel-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.64;
}

.idea-grid,
.playbook {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.idea-card,
.playbook article,
.model-lane article {
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 32, 51, 0.06);
}

.idea-card h3,
.playbook h3,
.model-lane h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.idea-card p,
.playbook p,
.model-lane p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.model-lane {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.model-lane article {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.model-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-weight: 950;
}

.prompt-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.prompt-board label {
  display: grid;
  gap: 10px;
  min-height: 232px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  padding: 18px;
  background: white;
  box-shadow: 0 16px 40px rgba(16, 32, 51, 0.06);
}

.prompt-board span {
  color: var(--navy);
  font-weight: 950;
}

textarea {
  min-height: 154px;
  resize: vertical;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: #fffdf7;
  color: var(--ink);
  line-height: 1.5;
}

textarea:focus,
.tab-button:focus-visible,
.button:focus-visible,
.icon-button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(40, 120, 168, 0.28);
  outline-offset: 2px;
}

.workout-section {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
  margin-top: 28px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 35, 66, 0.96), rgba(22, 140, 134, 0.92));
  color: white;
}

.workout-heading .eyebrow {
  color: var(--gold);
}

.workout-heading p:not(.eyebrow) {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
  line-height: 1.58;
}

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

.workout-grid label {
  display: grid;
  min-height: 78px;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.workout-grid input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--gold);
}

.workout-grid span {
  min-width: 0;
}

.workout-grid strong {
  display: block;
  margin-bottom: 3px;
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-free-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.quote-free-note strong {
  color: var(--coral);
  font-weight: 950;
  text-transform: uppercase;
}

.quote-free-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

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

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

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

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

.guide-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(16, 32, 51, 0.68);
  font-size: 0.94rem;
}

.guide-footer a {
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .workout-section,
  .subscribe-band,
  .quote-free-note {
    grid-template-columns: 1fr;
  }

  .snap-strip,
  .idea-grid,
  .playbook,
  .prompt-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-lane article {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .model-lane article p {
    grid-column: 2;
  }

  .workout-section {
    padding: 34px;
  }

  .workout-heading p:not(.eyebrow) {
    max-width: 620px;
  }
}

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

  .guide-header {
    min-height: 68px;
  }

  .privacy-pill {
    display: none;
  }

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

  h1 {
    font-size: clamp(3rem, 17vw, 4.9rem);
  }

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

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

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

  .snap-strip,
  .idea-grid,
  .playbook,
  .prompt-board {
    grid-template-columns: 1fr;
  }

  .snap-strip article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .snap-strip article:last-child {
    border-bottom: 0;
  }

  .model-lane article {
    grid-template-columns: 1fr;
  }

  .model-lane article p {
    grid-column: auto;
  }

  .workout-section {
    gap: 22px;
    margin-top: 22px;
    padding: 24px 16px;
  }

  .workout-heading h2 {
    font-size: clamp(2rem, 12vw, 3.35rem);
    line-height: 1;
  }

  .workout-grid {
    grid-template-columns: 1fr;
  }

  .workout-grid label {
    min-height: 0;
    padding: 14px;
  }

  .subscribe-band .button {
    width: 100%;
  }

  .guide-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media print {
  .guide-header,
  .module-tabs,
  .hero-actions {
    display: none;
  }

  body {
    background: white;
  }

  .tab-panel {
    display: block;
  }

  .learning-shell,
  .workout-section,
  .quote-free-note,
  .snap-strip {
    box-shadow: none;
  }
}
