@font-face {
  font-family: "Platypi";
  src: url("fonts/Platypi_wght_.ttf") format("truetype-variations");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Platypi";
  src: url("fonts/Platypi-Italic_wght_.ttf") format("truetype-variations");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2B7CFF;
  --light-blue: #A0C8FF;
  --burgundy: #37071D;
  --cream: #FFFBF3;
  --white: #FEFEFC;
  --yellow: #F9F594;
  --line: rgba(55, 7, 29, 0.16);
  --muted: rgba(55, 7, 29, 0.68);
  --soft: rgba(160, 200, 255, 0.28);
  --shadow: 0 18px 48px rgba(55, 7, 29, 0.13);
  --heading: "Platypi", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--burgundy);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: rgba(255, 251, 243, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 154px;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.top-nav a,
.nav-button {
  border: 0;
  background: transparent;
  color: var(--burgundy);
  text-decoration: none;
  padding: 8px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: 28px;
  align-items: stretch;
  padding: 46px 7vw 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-path {
  position: absolute;
  pointer-events: none;
  opacity: 0.32;
}

.path-a {
  width: min(880px, 70vw);
  right: -13vw;
  top: -10vw;
  transform: rotate(8deg);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 430;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(46px, 6.8vw, 92px);
}

h2 {
  font-size: clamp(38px, 5.4vw, 76px);
}

h3 {
  font-size: clamp(25px, 3vw, 38px);
}

.hero-lede {
  max-width: 640px;
  margin: 18px 0 24px;
  font-family: var(--heading);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--burgundy);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--cream);
}

.button.secondary {
  background: transparent;
  color: var(--burgundy);
}

.button.compact {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 11px;
}

.start-panel {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(55, 7, 29, 0.07);
}

.start-panel div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(55, 7, 29, 0.1);
}

.start-panel div:last-child {
  border-bottom: 0;
}

.start-panel span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 800;
}

.start-panel strong {
  font-family: var(--heading);
  font-size: 28px;
  line-height: 1;
}

.start-panel p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--muted);
}

.intro-section,
.sessions-section,
.app-shell,
.promise-band,
.save-note,
.site-footer {
  padding-inline: 7vw;
}

.save-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(160, 200, 255, 0.2);
}

.save-note strong {
  font-family: var(--heading);
  font-size: 24px;
  line-height: 1.05;
}

.save-note p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 56px;
  padding-top: 92px;
  padding-bottom: 96px;
  border-top: 1px solid var(--line);
}

.intro-copy {
  max-width: 620px;
  font-size: 18px;
  color: var(--muted);
}

.promise-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 42px;
  padding-bottom: 42px;
  background: var(--burgundy);
  color: var(--cream);
}

.promise-band div {
  min-height: 178px;
  padding: 28px;
  border: 1px solid rgba(255, 251, 243, 0.16);
  border-radius: 26px;
  background: rgba(255, 251, 243, 0.06);
}

.promise-band span {
  color: var(--yellow);
  font-weight: 800;
}

.promise-band strong {
  display: block;
  margin: 26px 0 10px;
  font-family: var(--heading);
  font-size: 30px;
  line-height: 1;
}

.promise-band p {
  margin: 0;
  color: rgba(255, 251, 243, 0.75);
}

.sessions-section {
  padding-top: 64px;
  padding-bottom: 82px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.session-card {
  display: grid;
  align-content: space-between;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  text-decoration: none;
}

.session-card:nth-child(2),
.session-card:nth-child(5) {
  background: var(--light-blue);
}

.session-card:nth-child(4),
.session-card:nth-child(7) {
  background: var(--yellow);
}

.session-card .number {
  font-weight: 800;
  color: var(--blue);
}

.session-card strong {
  display: block;
  margin-top: 14px;
  font-family: var(--heading);
  font-size: 29px;
  line-height: 1;
}

.session-card p {
  margin: 20px 0 0;
  color: var(--muted);
}

.app-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 22px;
  padding-top: 28px;
  padding-bottom: 64px;
  align-items: start;
  scroll-margin-top: 86px;
}

.sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.progress-card,
.vault-card,
.workspace-panel,
.tool-card,
.answer-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(55, 7, 29, 0.07);
}

.progress-card {
  padding: 22px;
}

.vault-card {
  padding: 20px;
}

.vault-card .eyebrow {
  margin-bottom: 8px;
}

.vault-help {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

#outputVault {
  display: grid;
  gap: 8px;
}

.vault-item {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(55, 7, 29, 0.1);
}

.vault-item span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(55, 7, 29, 0.54);
}

.vault-item strong {
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.vault-actions,
.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vault-actions {
  margin-top: 14px;
}

.progress-ring {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  margin: 18px 0;
  border-radius: 999px;
  background: conic-gradient(var(--blue) var(--progress, 0deg), rgba(55, 7, 29, 0.1) 0deg);
}

.progress-ring span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--heading);
  font-size: 30px;
}

.progress-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.session-nav {
  display: grid;
  gap: 8px;
}

.session-tab {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--burgundy);
  text-align: left;
}

.session-tab.is-active {
  background: var(--burgundy);
  color: var(--cream);
}

.session-tab .tab-number {
  display: grid;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--burgundy);
  font-weight: 800;
}

.session-tab span:nth-child(2) {
  font-size: 13px;
  font-weight: 800;
}

.session-tab .done-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(55, 7, 29, 0.22);
}

.session-tab.is-done .done-dot {
  background: var(--blue);
}

.workspace-panel {
  min-height: 720px;
  padding: 30px;
}

.workspace-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.workspace-top h2 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.deliverable-line {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.session-lede {
  max-width: 780px;
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--muted);
}

.guide-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.guide-strip div {
  min-height: 126px;
  padding: 18px;
  border-radius: 22px;
  background: var(--soft);
}

.guide-strip div:last-child {
  background: rgba(249, 245, 148, 0.52);
}

.guide-strip p {
  margin: 12px 0 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .guide-strip {
    grid-template-columns: 1fr;
  }
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 28px;
}

.tool-card,
.answer-card {
  padding: 22px;
}

.tool-card.full,
.answer-card.full {
  grid-column: 1 / -1;
}

.tool-card h3 {
  margin-bottom: 12px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.check-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  transform: translateY(2px);
}

.score-pill,
.mini-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--yellow);
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 800;
}

.mini-pill.blue {
  background: var(--light-blue);
}

.results-row,
.calc-row,
.audit-row,
.tracker-row {
  display: grid;
  gap: 10px;
  align-items: center;
}

.results-row {
  grid-template-columns: 1fr 90px 90px;
}

.calc-row {
  grid-template-columns: minmax(130px, 1fr) minmax(120px, 180px) minmax(130px, 170px) 44px;
}

.audit-row {
  grid-template-columns: minmax(160px, 1.2fr) 110px 130px 92px 44px;
}

.tracker-row {
  grid-template-columns: 80px minmax(150px, 1fr) minmax(150px, 1fr) 100px 130px 44px;
}

.table-head {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(55, 7, 29, 0.54);
}

.row-stack {
  display: grid;
  gap: 10px;
}

input[type="text"],
input[type="number"],
input[type="date"],
textarea,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  color: var(--burgundy);
  padding: 10px 12px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--burgundy);
  font-weight: 800;
}

.totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.total-box {
  padding: 18px;
  border-radius: 20px;
  background: var(--burgundy);
  color: var(--cream);
}

.total-box span {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 251, 243, 0.7);
}

.total-box strong {
  font-family: var(--heading);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 430;
  overflow-wrap: anywhere;
}

.slider-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) 1fr 54px;
  gap: 12px;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

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

.path-card {
  min-height: 172px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream);
}

.path-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--heading);
  font-size: 25px;
  line-height: 1;
}

.path-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.complete-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 22px;
  background: var(--soft);
}

.complete-strip label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.site-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 54px;
  padding-bottom: 54px;
  overflow: hidden;
  background: var(--burgundy);
  color: var(--cream);
}

.site-footer img {
  position: absolute;
  right: -120px;
  top: -120px;
  width: 520px;
  opacity: 0.18;
}

.site-footer div {
  position: relative;
  max-width: 620px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 251, 243, 0.76);
}

.site-footer .eyebrow {
  color: var(--yellow);
}

@media (max-width: 760px) {
  .session-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    grid-template-columns: minmax(220px, 0.35fr) 1fr;
  }

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

  .tool-grid,
  .answer-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .top-nav a {
    display: none;
  }

  .hero,
  .intro-section,
  .promise-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding: 42px 22px 62px;
  }

  .intro-section,
  .sessions-section,
  .app-shell,
  .promise-band,
  .save-note,
  .site-footer {
    padding-inline: 22px;
  }

  .session-grid,
  .sidebar,
  .session-nav,
  .totals,
  .guide-strip,
  .save-note {
    grid-template-columns: 1fr;
  }

  .workspace-panel {
    padding: 20px;
  }

  .workspace-top {
    display: grid;
  }

  .results-row,
  .calc-row,
  .audit-row,
  .tracker-row,
  .slider-row {
    grid-template-columns: 1fr;
  }

  .table-head {
    display: none;
  }
}
