:root {
  color-scheme: light;
  --navy: #0F1D33;
  --cream: #F7F2E7;
  --cream-strong: #FFF9ED;
  --sage: #A7B89A;
  --sage-soft: #E6ECDC;
  --gold: #C9A66A;
  --charcoal: #33363A;
  --ink: #0F1D33;
  --muted: #626A70;
  --line: rgba(15, 29, 51, 0.14);
  --paper: #F7F2E7;
  --panel: rgba(255, 249, 237, 0.92);
  --panel-solid: #FFF9ED;
  --green: #A7B89A;
  --green-dark: #576B4F;
  --blue: #0F1D33;
  --shadow: 0 24px 70px rgba(15, 29, 51, 0.12);
  --shadow-soft: 0 12px 34px rgba(15, 29, 51, 0.08);

  /* Phase 1 brand alignment tokens. Legacy variables stay mapped for existing components. */
  --color-background: #F6F1E7;
  --color-paper: #FBF7EE;
  --color-surface: #FFFDF7;
  --color-surface-soft: #F8F3E9;
  --color-surface-tint: #EEF3E8;
  --color-ink: #102035;
  --color-muted: #5F6870;
  --color-border: rgba(16, 32, 53, 0.12);
  --color-border-strong: rgba(16, 32, 53, 0.2);
  --color-primary: #102035;
  --color-primary-hover: #182D49;
  --color-accent: #C6A15F;
  --color-accent-soft: rgba(198, 161, 95, 0.16);
  --color-success: #58745B;
  --color-success-soft: #EAF1E4;
  --color-error: #8A3F33;
  --color-error-soft: #F8EDE9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 28px rgba(16, 32, 53, 0.07);
  --shadow-panel: 0 18px 54px rgba(16, 32, 53, 0.1);
  --shadow-focus: 0 0 0 3px rgba(198, 161, 95, 0.2);
  --shell-max: 1680px;
  --workspace-max: 1120px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;

  --ink: var(--color-ink);
  --muted: var(--color-muted);
  --line: var(--color-border);
  --paper: var(--color-background);
  --panel: rgba(255, 253, 247, 0.92);
  --panel-solid: var(--color-surface);
  --green-dark: var(--color-success);
  --shadow: var(--shadow-panel);
  --shadow-soft: var(--shadow-card);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 166, 106, 0.17), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(167, 184, 154, 0.26), transparent 30%),
    linear-gradient(180deg, #fbf6ec 0%, var(--cream) 48%, #f1eadc 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  font: inherit;
}

.app-shell {
  width: min(98.5vw, var(--shell-max));
  margin: 0 auto;
  padding: 16px 0 50px;
}

.landing-scene {
  position: relative;
  min-height: min(760px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(15, 29, 51, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 249, 237, 0.9) 0%, rgba(247, 242, 231, 0.46) 42%, rgba(15, 29, 51, 0.1) 100%),
    #f8f1e3;
  box-shadow: 0 28px 80px rgba(15, 29, 51, 0.18);
  isolation: isolate;
  margin-bottom: 36px;
}

.landing-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 250, 238, 0.96) 0 10%, transparent 30%),
    radial-gradient(circle at 66% 25%, rgba(255, 244, 218, 0.86) 0 8%, transparent 31%),
    linear-gradient(115deg, rgba(255, 249, 237, 0.94) 0%, rgba(242, 229, 205, 0.58) 48%, rgba(167, 184, 154, 0.24) 100%);
}

.landing-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 0 51%, rgba(15, 29, 51, 0.1) 100%),
    radial-gradient(ellipse at 42% 74%, rgba(255, 247, 222, 0.44), transparent 38%);
  pointer-events: none;
}

.site-nav {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(0, auto);
  gap: clamp(14px, 2vw, 24px);
  min-width: 0;
  align-items: center;
  padding: 24px 28px 12px;
  background: transparent;
}

.wordmark,
.nav-links a,
.login-link,
.nav-cta,
.primary-cta {
  color: inherit;
  text-decoration: none;
}

.beta-notice {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 28px 8px;
  padding: 10px 14px;
  border: 1px solid rgba(201, 166, 106, 0.38);
  border-radius: 8px;
  background: rgba(255, 249, 237, 0.72);
  color: rgba(15, 29, 51, 0.78);
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow: 0 8px 22px rgba(15, 29, 51, 0.06);
}

.beta-notice strong {
  color: var(--navy);
  font-weight: 820;
}

.beta-notice a {
  color: var(--green-dark);
  font-weight: 760;
  text-underline-offset: 4px;
}

.beta-notice a:hover,
.beta-notice a:focus-visible {
  color: var(--navy);
  outline: none;
  text-decoration-color: var(--gold);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-family: Sora, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 820;
}

.wordmark-mark {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 48px;
  overflow: visible;
  filter: drop-shadow(0 5px 10px rgba(15, 29, 51, 0.1));
}

.logo-orbit {
  fill: none;
  stroke: var(--green-dark);
  stroke-linecap: round;
  stroke-width: 2.6;
}

.logo-path {
  fill: none;
  stroke: var(--green-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

.logo-dot {
  fill: var(--green-dark);
}

.logo-dot-large {
  fill: #6D8069;
}

.logo-swoop {
  fill: #6D8069;
  stroke: none;
}

.logo-star {
  fill: var(--gold);
  stroke: rgba(255, 253, 247, 0.9);
  stroke-linejoin: round;
  stroke-width: 1.1;
}

.wordmark-star {
  position: relative;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
}

.wordmark-star::before,
.wordmark-star::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--gold);
  border-radius: 999px;
}

.wordmark-star::before {
  width: 2px;
  height: 18px;
}

.wordmark-star::after {
  width: 18px;
  height: 2px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  min-width: 0;
  color: rgba(15, 29, 51, 0.72);
  font-size: 0.94rem;
  font-weight: 760;
}

.nav-links a,
.login-link {
  border-radius: 999px;
  padding: 8px 4px;
}

.nav-help-button {
  border: 0;
  border-radius: 999px;
  padding: 8px 4px;
  background: transparent;
  color: rgba(15, 29, 51, 0.72);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.login-link:hover,
.login-link:focus-visible,
.nav-help-button:hover,
.nav-help-button:focus-visible {
  color: var(--navy);
  outline: none;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  justify-self: end;
  min-width: 0;
}

.auth-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  max-width: min(360px, 38vw);
}

.auth-status {
  max-width: 180px;
  color: rgba(15, 29, 51, 0.72);
  font-size: 0.82rem;
  font-weight: 720;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-link {
  color: rgba(15, 29, 51, 0.76);
  font-size: 0.94rem;
  font-weight: 780;
}

.auth-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.auth-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  text-decoration: none;
}

.nav-cta,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 249, 237, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, #132643, #07182c);
  color: var(--cream-strong);
  box-shadow: 0 12px 28px rgba(15, 29, 51, 0.24), inset 0 1px 0 rgba(255, 249, 237, 0.18);
  font-size: 0.95rem;
  font-weight: 820;
  white-space: nowrap;
}

.auth-panel {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 29, 51, 0.34);
  backdrop-filter: blur(8px);
}

.auth-panel[hidden],
.faq-panel[hidden],
.intro-panel[hidden],
.summary-panel[hidden] {
  display: none;
}

.auth-card {
  position: relative;
  width: min(440px, 100%);
  padding: 24px;
  border: 1px solid rgba(15, 29, 51, 0.12);
  border-radius: 20px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.auth-card h2 {
  margin: 4px 0 6px;
  color: var(--navy);
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.55rem;
}

.auth-intro {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5;
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(15, 29, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 249, 237, 0.9);
  color: var(--navy);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.faq-panel,
.intro-panel,
.summary-panel {
  position: fixed;
  inset: 0;
  z-index: 32;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 29, 51, 0.34);
  backdrop-filter: blur(8px);
}

.faq-card,
.intro-card,
.summary-card {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 840px);
  overflow: auto;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(15, 29, 51, 0.12);
  border-radius: 22px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.intro-card {
  width: min(560px, 100%);
}

.faq-panel-header h2,
.summary-panel-header h2,
.intro-card h2,
.faq-section-heading h2 {
  margin: 4px 0 8px;
  color: var(--navy);
}

.faq-panel-header p:last-child,
.summary-panel-header p:last-child,
.intro-card p,
.faq-section-heading p,
.faq-category-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.intro-card ul {
  margin: 16px 0;
  padding-left: 20px;
  color: var(--charcoal);
  line-height: 1.55;
}

.intro-actions,
.faq-panel-actions,
.summary-preview-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.summary-preview-access {
  display: grid;
  width: 100%;
  grid-column: 1 / -1;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(201, 166, 106, 0.36);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 249, 237, 0.92), rgba(230, 236, 220, 0.56));
  box-shadow: var(--shadow-soft);
}

.summary-preview-copy {
  min-width: 0;
  max-width: 66ch;
}

.summary-preview-copy strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.summary-preview-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.summary-preview-button {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid rgba(15, 29, 51, 0.2);
  border-radius: 10px;
  background: linear-gradient(180deg, #132643, #07182c);
  color: var(--cream-strong);
  box-shadow: 0 12px 26px rgba(15, 29, 51, 0.18), inset 0 1px 0 rgba(255, 249, 237, 0.18);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 840;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.summary-preview-button:hover,
.summary-preview-button:focus-visible {
  border-color: rgba(201, 166, 106, 0.72);
  box-shadow: 0 14px 30px rgba(15, 29, 51, 0.22), 0 0 0 3px rgba(201, 166, 106, 0.16);
  outline: none;
}

.summary-preview-message {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.summary-preview-message.is-error {
  color: #8d5e1f;
  font-weight: 750;
}

.summary-preview-content {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.summary-section {
  padding: 14px 16px;
  border: 1px solid rgba(15, 29, 51, 0.1);
  border-radius: 14px;
  background: rgba(255, 249, 237, 0.72);
}

.summary-section h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1rem;
}

.summary-section-subtitle {
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.summary-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.summary-section li,
.summary-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.summary-section strong {
  color: var(--ink);
}

.summary-checklist-section {
  background: linear-gradient(180deg, rgba(255, 249, 237, 0.86), rgba(247, 242, 231, 0.74));
}

.summary-checklist-group {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
}

.summary-checklist-group h4 {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
}

.summary-checklist-group.is-done {
  border: 1px solid rgba(47, 111, 100, 0.22);
  background: rgba(230, 236, 220, 0.55);
}

.summary-checklist-group.is-needed {
  border: 1px solid rgba(201, 151, 58, 0.32);
  background: rgba(255, 250, 240, 0.86);
}

.summary-checklist-group.is-done li::marker {
  color: #2f6f64;
}

.summary-checklist-group.is-needed li::marker {
  color: #9b722c;
}

.summary-needed-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.summary-needed-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(201, 151, 58, 0.28);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.86);
}

.summary-needed-card.is-empty {
  border-color: rgba(47, 111, 100, 0.22);
  background: rgba(230, 236, 220, 0.5);
}

.summary-needed-card h5 {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.3;
}

.summary-needed-count {
  margin: 0;
  color: #71592b;
  font-size: 0.86rem;
  font-weight: 780;
}

.summary-needed-card ul {
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.summary-needed-card li {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.summary-more-details {
  color: #71592b;
  font-weight: 760;
}

.summary-card-action {
  justify-self: start;
  max-width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(201, 151, 58, 0.42);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.summary-card-action:hover,
.summary-card-action:focus-visible {
  border-color: rgba(47, 111, 100, 0.44);
  background: #edf6f2;
  color: #2f6f64;
  box-shadow: 0 0 0 3px rgba(47, 111, 100, 0.1);
  outline: none;
}

.faq-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 18px;
}

.faq-category-tab,
.related-faq-button {
  border: 1px solid rgba(15, 29, 51, 0.12);
  border-radius: 999px;
  background: rgba(247, 242, 231, 0.78);
  color: var(--navy);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 780;
}

.faq-category-tab {
  padding: 8px 11px;
}

.faq-category-tab.is-active {
  border-color: rgba(201, 166, 106, 0.78);
  background: rgba(230, 236, 220, 0.78);
}

.faq-panel-body {
  display: grid;
  gap: 10px;
}

.faq-category-heading {
  padding: 14px 16px;
  border: 1px solid rgba(167, 184, 154, 0.44);
  border-radius: 16px;
  background: rgba(230, 236, 220, 0.42);
}

.faq-category-heading h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.faq-item {
  border: 1px solid rgba(15, 29, 51, 0.11);
  border-radius: 14px;
  background: rgba(255, 249, 237, 0.78);
}

.faq-item summary {
  cursor: pointer;
  padding: 13px 15px;
  color: var(--navy);
  font-weight: 820;
  line-height: 1.35;
}

.faq-item summary:focus-visible {
  border-radius: 14px;
  outline: 3px solid rgba(201, 166, 106, 0.28);
}

.faq-item p {
  margin: 0;
  padding: 0 15px 14px;
  color: var(--muted);
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-message {
  min-height: 1.2em;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.88rem;
  line-height: 1.45;
}

.auth-message.is-error {
  color: #8a3f33;
}

.auth-inline-action {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.auth-inline-action[hidden] {
  display: none;
}

.auth-inline-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.auth-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.primary-cta:hover,
.primary-cta:focus-visible {
  border-color: rgba(201, 166, 106, 0.8);
  background: linear-gradient(180deg, #18304f, #0b1d34);
  outline: none;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 520px;
  padding: clamp(54px, 8vw, 108px) clamp(34px, 6vw, 66px) 180px;
  overflow: visible;
}

.hero-copy,
.hero-visual {
  position: relative;
}

.hero-copy {
  z-index: 3;
  max-width: 430px;
}

.hero .eyebrow,
.hero-description {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero h1 {
  max-width: 430px;
  margin: 0;
  color: var(--navy);
  font-family: Sora, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3.8rem, 6vw, 5.95rem);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: 0;
}

.supporting {
  max-width: 360px;
  margin: 30px 0 0;
  color: rgba(15, 29, 51, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 680;
  line-height: 1.5;
}

.supporting::after {
  content: "";
  display: block;
  width: min(292px, 70vw);
  height: 20px;
  margin-top: 24px;
  background:
    linear-gradient(var(--gold), var(--gold)) left 50% / calc(50% - 26px) 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right 50% / calc(50% - 26px) 1px no-repeat,
    radial-gradient(circle, var(--gold) 0 5px, transparent 6px),
    linear-gradient(45deg, transparent 43%, var(--gold) 44% 56%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, var(--gold) 44% 56%, transparent 57%);
  opacity: 0.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 32px;
}

.primary-cta {
  min-width: 268px;
  min-height: 68px;
  border-radius: 8px;
  font-size: 1.05rem;
}

.hero-note {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-visual {
  position: absolute;
  inset: 68px 0 0 0;
  z-index: 1;
  pointer-events: none;
}

.journey-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sun-glow {
  position: absolute;
  top: 15%;
  left: 40%;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 252, 240, 0.86) 0 18%, rgba(250, 228, 185, 0.36) 38%, transparent 68%);
  filter: blur(2px);
}

.sky-orbit {
  position: absolute;
  top: 4%;
  right: 7%;
  width: min(460px, 48vw);
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.orbit-two {
  top: 9%;
  right: 13%;
  width: min(330px, 36vw);
  opacity: 0.72;
}

.horizon {
  position: absolute;
  left: 50%;
  width: 128%;
  transform: translateX(-50%);
  clip-path: polygon(0 54%, 8% 47%, 17% 53%, 27% 39%, 37% 50%, 48% 34%, 58% 47%, 69% 36%, 80% 48%, 91% 38%, 100% 46%, 100% 100%, 0 100%);
}

.horizon-one {
  bottom: 33%;
  height: 28%;
  background: linear-gradient(180deg, rgba(113, 132, 126, 0.1), rgba(113, 132, 126, 0.24));
  filter: blur(1px);
}

.horizon-two {
  bottom: 22%;
  height: 30%;
  width: 136%;
  background: linear-gradient(180deg, rgba(109, 128, 113, 0.12), rgba(109, 128, 113, 0.36));
  opacity: 0.78;
}

.horizon-three {
  bottom: 7%;
  height: 34%;
  width: 142%;
  background: linear-gradient(180deg, rgba(70, 93, 77, 0.18), rgba(55, 86, 72, 0.58));
}

.horizon-four {
  bottom: -9%;
  height: 34%;
  width: 136%;
  background: linear-gradient(180deg, rgba(50, 82, 70, 0.22), rgba(15, 45, 55, 0.72));
  clip-path: polygon(0 46%, 8% 62%, 18% 40%, 29% 58%, 39% 34%, 52% 60%, 63% 42%, 74% 56%, 86% 35%, 100% 52%, 100% 100%, 0 100%);
}

.hero-path-map {
  position: absolute;
  right: 7%;
  top: 11%;
  width: min(54vw, 620px);
  height: min(64vw, 620px);
  overflow: visible;
  filter: drop-shadow(0 10px 24px rgba(201, 166, 106, 0.16));
}

.path-glow,
.path-core {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.path-glow {
  stroke: rgba(255, 211, 130, 0.62);
  stroke-width: 14;
  filter: blur(9px);
}

.path-core {
  stroke: rgba(255, 255, 247, 0.94);
  stroke-width: 4.5;
  filter: drop-shadow(0 0 9px rgba(255, 210, 123, 0.92));
}

.path-dot {
  fill: rgba(255, 249, 237, 0.8);
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 7;
  filter: drop-shadow(0 0 10px rgba(255, 210, 123, 0.86));
}

.path-dot-small {
  stroke-width: 4;
}

.hero-star {
  position: absolute;
  top: 24%;
  right: 18%;
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 0 20px rgba(255, 249, 237, 0.96));
}

.hero-star::before,
.hero-star::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: rgba(255, 255, 247, 0.96);
  border-radius: 999px;
}

.hero-star::before {
  width: 7px;
  height: 92px;
}

.hero-star::after {
  width: 92px;
  height: 7px;
}

.feature-strip {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(15, 29, 51, 0.08);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: rgba(255, 252, 244, 0.88);
  box-shadow: 0 -12px 42px rgba(15, 29, 51, 0.11);
  backdrop-filter: blur(18px);
}

.feature-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: 28px 32px;
  border-right: 1px solid rgba(15, 29, 51, 0.1);
}

.feature-card:last-child {
  border-right: 0;
}

.feature-icon {
  position: relative;
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #537266;
}

.icon-compass {
  border: 2px solid rgba(83, 114, 102, 0.72);
  border-radius: 50%;
}

.icon-compass::before,
.icon-compass::after {
  content: "";
  position: absolute;
  inset: 13px;
  margin: auto;
  background: var(--gold);
  border-radius: 999px;
}

.icon-compass::before {
  width: 2px;
  height: 32px;
}

.icon-compass::after {
  width: 32px;
  height: 2px;
}

.icon-path::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 7px;
  width: 22px;
  height: 42px;
  border: 3px solid #537266;
  border-right: 0;
  border-bottom: 0;
  border-radius: 26px 0 0 0;
}

.icon-path::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 28px;
  border-bottom: 3px dotted #537266;
  transform: rotate(22deg);
}

.icon-songs {
  border: 3px solid #537266;
  border-radius: 3px;
}

.icon-songs::before,
.icon-songs::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 3px;
  background: #537266;
  box-shadow: 0 12px 0 #537266;
}

.icon-songs::before {
  top: 15px;
}

.icon-songs::after {
  top: 39px;
  box-shadow: none;
}

.feature-card h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.15;
}

.feature-card p {
  margin: 0;
  color: rgba(51, 54, 58, 0.74);
  font-size: 0.95rem;
  line-height: 1.55;
}

.workspace-intro {
  display: grid;
  gap: 8px;
  max-width: 740px;
  margin: 0 auto 22px;
  text-align: center;
}

.workspace-intro h2 {
  margin-bottom: 2px;
}

.workspace-intro p:last-child {
  margin: 0;
  color: rgba(51, 54, 58, 0.74);
  font-size: 1rem;
  line-height: 1.6;
}

.my-songs-shell {
  max-width: 940px;
  margin: 0 auto 22px;
}

.my-songs-card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(15, 29, 51, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 249, 237, 0.96), rgba(230, 236, 220, 0.64)),
    var(--panel-solid);
  box-shadow: var(--shadow-soft);
}

.my-songs-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(18px, 3vw, 28px);
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--sage));
}

.my-songs-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.my-songs-heading h2 {
  margin: 4px 0 8px;
}

.my-songs-heading p {
  max-width: 560px;
  margin: 0;
  color: rgba(51, 54, 58, 0.74);
  line-height: 1.55;
}

.my-songs-status {
  flex: 0 1 auto;
  max-width: 260px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 29, 51, 0.1);
  border-radius: 999px;
  background: rgba(255, 249, 237, 0.76);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 780;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-songs-empty {
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed rgba(15, 29, 51, 0.18);
  border-radius: 16px;
  background: rgba(255, 249, 237, 0.74);
}

.my-songs-empty strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.my-songs-empty p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.my-songs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.my-songs-message {
  min-height: 1.2em;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 720;
}

.my-songs-message.is-error {
  color: #8a3f33;
}

.saved-songs-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.saved-song-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(15, 29, 51, 0.1);
  border-radius: 14px;
  background: rgba(255, 249, 237, 0.82);
}

.saved-song-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1rem;
}

.saved-song-card p,
.saved-song-details {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.saved-song-details {
  display: grid;
  gap: 2px;
  min-width: 130px;
}

.homepage-faq {
  margin: 0 0 28px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(15, 29, 51, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 249, 237, 0.96), rgba(230, 236, 220, 0.56)),
    var(--panel-solid);
  box-shadow: var(--shadow-soft);
}

.faq-section-heading {
  display: grid;
  gap: 4px;
  max-width: 720px;
  margin-bottom: 18px;
}

.homepage-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.faq-open-all {
  margin-top: 16px;
}

.journey-panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(15, 29, 51, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 249, 237, 0.96), rgba(247, 242, 231, 0.92)),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.progress-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.progress-step {
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 29, 51, 0.12);
}

.progress-step.is-active {
  background: linear-gradient(90deg, var(--navy), var(--sage), var(--gold));
}

.question-block + .question-block,
.checklist {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(15, 29, 51, 0.1);
}

.question-block.is-revealed,
.checklist.is-revealed {
  animation: reveal-step 220ms ease-out;
}

@keyframes reveal-step {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  margin: 0 0 18px;
  font-family: Sora, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 720;
  line-height: 1.15;
}

.starter-card {
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(15, 29, 51, 0.11);
  border-radius: 18px;
  background: rgba(255, 249, 237, 0.82);
  box-shadow: var(--shadow-soft);
}

.starter-card .field-panel {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.song-details-card {
  display: grid;
  gap: 14px;
}

.field select {
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(15, 29, 51, 0.16);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  background: #fffdf8;
}

.field select:focus {
  border-color: rgba(201, 166, 106, 0.72);
  box-shadow: 0 0 0 3px rgba(201, 166, 106, 0.18);
  outline: none;
}

.path-grid,
.stage-grid,
.snapshot-grid {
  display: grid;
  gap: 14px;
}

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

.stage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card,
.stage-button,
.snapshot-card,
.checklist-card {
  border: 1px solid rgba(15, 29, 51, 0.12);
  border-radius: 18px;
  background: var(--panel-solid);
  box-shadow: var(--shadow-soft);
}

.choice-card,
.stage-button {
  min-height: 96px;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.choice-card:hover,
.stage-button:hover,
.choice-card:focus-visible,
.stage-button:focus-visible {
  border-color: rgba(201, 166, 106, 0.56);
  box-shadow: 0 16px 34px rgba(15, 29, 51, 0.13);
  outline: none;
  transform: translateY(-1px);
}

.choice-card.is-selected,
.stage-button.is-selected {
  border-color: rgba(15, 29, 51, 0.28);
  background: linear-gradient(180deg, var(--sage-soft), rgba(167, 184, 154, 0.32));
  box-shadow: inset 0 0 0 1px rgba(15, 29, 51, 0.08), var(--shadow-soft);
}

.choice-card strong,
.stage-button strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.choice-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.snapshot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.checklist-heading > div {
  min-width: 0;
}

#nextRequiredItem {
  max-width: none;
  color: var(--navy);
  font-weight: 800;
  text-align: left;
}

.snapshot-card,
.checklist-card {
  padding: 18px;
}

.snapshot-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.snapshot-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.3;
}

.readiness-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
  margin-top: 14px;
}

.card-heading {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 14px;
}

h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card-heading p,
.missing-list,
.empty-report {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.missing-action-cards {
  grid-template-columns: 1fr;
}

.missing-action-card {
  border-color: rgba(201, 151, 58, 0.32);
  background: rgba(255, 253, 248, 0.9);
}

.outcome-section .missing-action-cards {
  margin-top: 2px;
}

.outcome-section .missing-action-card {
  padding: 10px;
}


.card-heading p {
  max-width: 220px;
  font-size: 0.88rem;
  text-align: right;
}

.checklist-items {
  display: grid;
  gap: 8px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  position: relative;
  border: 1px solid rgba(15, 29, 51, 0.1);
  border-radius: 16px;
  background: rgba(255, 249, 237, 0.72);
}

.checklist-item.is-expanded {
  border-color: rgba(201, 166, 106, 0.45);
  background: #fffdf8;
  box-shadow: 0 14px 34px rgba(15, 29, 51, 0.08);
}

.checklist-item.is-complete {
  background: rgba(230, 236, 220, 0.52);
}

.checklist-item input {
  accent-color: var(--sage);
}

.primary-control {
  min-height: 22px;
  display: grid;
  place-items: start center;
  padding-top: 2px;
}

.primary-control input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid rgba(15, 29, 51, 0.28);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.primary-control input[type="checkbox"]:checked {
  border-color: var(--navy);
  background: radial-gradient(circle, var(--navy) 0 43%, transparent 47%);
}

.primary-control input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 111, 100, 0.15);
  outline: none;
}

.input-status {
  width: 18px;
  height: 18px;
  margin-top: 0;
  border: 2px solid rgba(15, 29, 51, 0.24);
  border-radius: 50%;
  background: #ffffff;
  cursor: default;
}

.input-status.is-complete {
  border-color: var(--navy);
  background: radial-gradient(circle, var(--navy) 0 43%, transparent 47%);
}

.input-status.is-guidance {
  border-color: rgba(167, 184, 154, 0.75);
  background: linear-gradient(180deg, #fffdf8, var(--sage-soft));
}

.input-status.is-guidance::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin: 4.5px auto 0;
  border-radius: 50%;
  background: var(--gold);
}

.checklist-body {
  min-width: 0;
}

.item-header {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.item-header.can-expand {
  cursor: pointer;
}

.item-header.can-expand:hover .details-toggle,
.item-header.can-expand:focus-visible .details-toggle {
  color: var(--navy);
  text-decoration: underline;
}

.item-header.can-expand:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(47, 111, 100, 0.12);
  outline: none;
}

.item-copy {
  min-width: 0;
}

.checklist-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.98rem;
  line-height: 1.3;
}

.item-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.42;
}

.item-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 0;
}

.item-status {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-complete {
  color: var(--navy);
}

.status-needs-info {
  color: #8a6625;
}

.status-guidance {
  color: #56756a;
}

.details-toggle {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.field-panel {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(15, 29, 51, 0.1);
  border-radius: 16px;
  background: rgba(247, 242, 231, 0.72);
}


.field-section + .field-section {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 29, 51, 0.1);
}

.early-guidance-note {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(167, 184, 154, 0.42);
  border-radius: 14px;
  background: rgba(230, 236, 220, 0.5);
}

.early-guidance-note h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 0.86rem;
  line-height: 1.25;
}

.early-guidance-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.related-faq {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.related-faq-button {
  padding: 7px 10px;
}

.related-faq-button:hover,
.related-faq-button:focus-visible,
.faq-category-tab:hover,
.faq-category-tab:focus-visible {
  border-color: rgba(201, 166, 106, 0.78);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 166, 106, 0.15);
}

.field-section h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.field,
.mini-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.field-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-weight: 700;
}

.term-help {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--muted);
  font-weight: 600;
}

.term-help.item-help {
  margin-top: 6px;
}

.term-help.item-help span {
  max-width: min(520px, 100%);
}

.term-help summary {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid #cbd8df;
  border-radius: 50%;
  background: #ffffff;
  color: var(--muted);
  cursor: help;
  font-size: 0.7rem;
  line-height: 1;
  list-style: none;
}


.term-help summary::-webkit-details-marker {
  display: none;
}

.term-help span {
  display: block;
  margin-top: 5px;
  padding: 7px 8px;
  border: 1px solid rgba(15, 29, 51, 0.1);
  border-radius: 10px;
  background: var(--cream-strong);
  color: var(--charcoal);
  font-size: 0.78rem;
  line-height: 1.35;
}

.field-helper {
  margin: -1px 0 1px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.mini-helper {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.field input,
.field textarea,
.field select,
.mini-field input,
.mini-field select {
  width: min(100%, var(--field-width, 100%));
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(15, 29, 51, 0.16);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  background: #fffdf8;
}

.field textarea {
  min-height: 54px;
  resize: vertical;
  line-height: 1.4;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.mini-field input:focus,
.mini-field select:focus {
  border-color: rgba(201, 166, 106, 0.72);
  box-shadow: 0 0 0 3px rgba(201, 166, 106, 0.18);
  outline: none;
}

.field-short {
  --field-width: 320px;
}

.field-medium {
  --field-width: 400px;
}

.field.is-wide,
.field-contributor-group {
  grid-column: 1 / -1;
  --field-width: 100%;
}

.field.is-optional {
  opacity: 0.86;
}

.choice-group,
.choice-group.compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
}

.follow-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid rgba(15, 29, 51, 0.14);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: normal;
}

.follow-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.follow-choice:has(input:checked) {
  border-color: rgba(47, 111, 100, 0.75);
  background: #edf6f2;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(47, 111, 100, 0.18);
}

.follow-choice:focus-within {
  border-color: rgba(201, 166, 106, 0.72);
  box-shadow: 0 0 0 3px rgba(201, 166, 106, 0.16);
  outline: none;
}


.guidance-note {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-left: 3px solid rgba(201, 151, 58, 0.55);
  border-radius: 6px;
  background: #fffaf0;
  color: #71592b;
  font-size: 0.86rem;
  line-height: 1.45;
}

.field-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.continue-button {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(47, 111, 100, 0.45);
  border-radius: 999px;
  background: #edf6f2;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.continue-button:hover,
.continue-button:focus-visible {
  border-color: var(--gold);
  background: #162844;
  outline: none;
}

.contributor-list {
  display: grid;
  gap: 8px;
}

.contributor-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(15, 29, 51, 0.11);
  border-radius: 14px;
  background: #fffdf8;
}

.small-action {
  width: fit-content;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #d7e1e8;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.small-action:hover,
.small-action:focus-visible {
  border-color: rgba(201, 166, 106, 0.5);
  background: #fff8e8;
  outline: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef5f2;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill.optional {
  background: rgba(201, 166, 106, 0.16);
  color: #6e5521;
}

.missing-list {
  display: grid;
  gap: 8px;
}

.missing-item {
  padding: 9px 10px;
  border-left: 3px solid rgba(201, 166, 106, 0.58);
  border-radius: 10px;
  background: rgba(255, 249, 237, 0.8);
}

.missing-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.92rem;
}

.missing-item p {
  font-size: 0.88rem;
}

.empty-report {
  padding: 12px;
  border: 1px solid rgba(47, 111, 100, 0.22);
  border-radius: 8px;
  background: #f5faf7;
  color: var(--navy);
}

.stage-outcome {
  margin-top: 14px;
}

.outcome-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.outcome-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outcome-title {
  margin: 0;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.25;
}

.outcome-summary {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.outcome-primary-action {
  margin-top: 10px;
}

.outcome-score {
  min-width: 142px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f5faf7;
  color: var(--navy);
  text-align: right;
}

.outcome-score strong,
.outcome-score span {
  display: block;
}

.outcome-score strong {
  font-size: 0.96rem;
}

.outcome-score span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.progression-strip {
  display: flex;
  gap: 6px;
  margin: 14px 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.progression-step {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #dce7e2;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.progression-step:hover,
.progression-step:focus-visible {
  border-color: rgba(47, 111, 100, 0.55);
  background: #f5faf7;
  color: var(--navy);
  outline: none;
}

.progression-step:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 111, 100, 0.12);
}

.progression-step.is-current {
  border-color: rgba(47, 111, 100, 0.48);
  background: #edf6f2;
  color: var(--navy);
}

.progression-step.is-module {
  border-style: dashed;
}

span.progression-step {
  cursor: default;
}

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

.outcome-section {
  padding-top: 2px;
}

.outcome-section h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 0.88rem;
}

.outcome-section p,
.outcome-section li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.outcome-section p {
  margin: 0;
}

.outcome-section ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.earlier-checkpoints {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(201, 151, 58, 0.28);
  border-radius: 8px;
  background: #fffaf0;
}

.earlier-checkpoints p {
  margin-bottom: 8px;
  color: #71592b;
}

.outcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 29, 51, 0.1);
}

.next-stage-button {
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(47, 111, 100, 0.55);
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream-strong);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.next-stage-button:hover,
.next-stage-button:focus-visible {
  background: #162844;
  outline: none;
}

.split-future-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px dashed rgba(167, 184, 154, 0.58);
  border-radius: 14px;
  background: rgba(230, 236, 220, 0.36);
}

.split-future-actions p {
  flex: 1 1 240px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.split-total-status {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-left: 3px solid rgba(201, 166, 106, 0.72);
  border-radius: 6px;
  background: #fffaf0;
  color: #71592b;
  font-size: 0.84rem;
  line-height: 1.45;
}

.split-total-status.is-valid {
  border-left-color: rgba(96, 130, 94, 0.78);
  background: rgba(230, 236, 220, 0.56);
  color: var(--navy);
}

.split-export-button {
  flex: 0 0 auto;
}

.future-module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.coming-soon-button {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(15, 29, 51, 0.12);
  border-radius: 999px;
  background: rgba(15, 29, 51, 0.06);
  color: #767b72;
  cursor: not-allowed;
  font-size: 0.82rem;
  font-weight: 850;
}

/* SongPath visual polish refinements */
.brand-mark {
  position: relative;
  z-index: 1;
}

.checklist-card,
.snapshot-card,
.starter-card {
  backdrop-filter: blur(10px);
}

.snapshot-card {
  background:
    linear-gradient(180deg, rgba(255, 249, 237, 0.96), rgba(255, 249, 237, 0.78));
}

.snapshot-card strong,
.checklist-card h3,
.outcome-section h4 {
  color: var(--navy);
}

.checklist-item::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 34px;
  bottom: -9px;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 166, 106, 0.38), transparent);
}

.checklist-item:last-child::before,
.checklist-item.is-expanded::before {
  display: none;
}

.follow-choice:has(input:checked),
.progression-step.is-current {
  border-color: rgba(15, 29, 51, 0.24);
  background: var(--sage-soft);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(15, 29, 51, 0.08);
}

.continue-button,
.next-stage-button {
  border-color: rgba(15, 29, 51, 0.72);
  background: var(--navy);
  color: var(--cream-strong);
  box-shadow: 0 8px 18px rgba(15, 29, 51, 0.14);
}

.continue-button:hover,
.continue-button:focus-visible,
.next-stage-button:hover,
.next-stage-button:focus-visible {
  border-color: var(--gold);
  background: #162844;
  color: var(--cream-strong);
  box-shadow: 0 10px 22px rgba(15, 29, 51, 0.18);
}

.small-action,
.progression-step {
  border-color: rgba(15, 29, 51, 0.16);
  background: var(--cream-strong);
  color: var(--navy);
}

.progression-step:hover,
.progression-step:focus-visible {
  border-color: rgba(201, 166, 106, 0.55);
  background: #fff8e8;
  color: var(--navy);
}

.empty-report,
.outcome-score {
  border: 1px solid rgba(167, 184, 154, 0.52);
  border-radius: 14px;
  background: rgba(230, 236, 220, 0.56);
  color: var(--navy);
}

.outcome-header {
  border-bottom-color: rgba(15, 29, 51, 0.1);
}

.earlier-checkpoints,
.guidance-note,
.split-total-status {
  border-radius: 12px;
  background: rgba(255, 248, 232, 0.82);
}

.split-total-status.is-valid {
  background: rgba(230, 236, 220, 0.64);
}

.term-help summary {
  border-color: rgba(15, 29, 51, 0.16);
  background: var(--cream-strong);
  color: var(--navy);
}

.term-help[open] summary {
  border-color: rgba(201, 166, 106, 0.6);
  background: #fff8e8;
}

.field input,
.field textarea,
.field select,
.mini-field input,
.mini-field select {
  box-shadow: inset 0 1px 0 rgba(15, 29, 51, 0.03);
}

.pill {
  background: var(--sage-soft);
  color: var(--navy);
}

.pill.optional {
  background: rgba(201, 166, 106, 0.16);
  color: #6e5521;
}

[hidden],
.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .site-nav {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
  }

  .nav-actions {
    justify-self: end;
  }

  .auth-status {
    max-width: 180px;
  }
}

@media (max-width: 900px) {
  .landing-scene {
    min-height: auto;
  }

  .site-nav {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 22px 8px;
  }

  .nav-links,
  .nav-actions {
    justify-content: flex-start;
  }

  .nav-links {
    order: 3;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 620px;
    padding: 52px 28px 220px;
  }

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

  .hero-visual {
    inset: 122px 0 0;
  }

  .hero-path-map {
    right: -4%;
    top: 18%;
    width: min(82vw, 610px);
  }

  .feature-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    margin: -134px 18px 0;
    border: 1px solid rgba(15, 29, 51, 0.08);
    border-radius: 22px;
  }

  .homepage-faq-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 29, 51, 0.1);
    padding: 22px 24px;
  }

  .feature-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(calc(100% - 24px), 620px);
    padding: 16px 0 32px;
  }

  .landing-scene {
    border-radius: 22px;
  }

  .site-nav {
    gap: 12px;
    padding: 16px 16px 4px;
  }

  .wordmark {
    font-size: 1.28rem;
  }

  .wordmark-mark {
    width: 32px;
    height: 32px;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .auth-controls {
    flex: 1 1 100%;
    flex-wrap: wrap;
  }

  .auth-status {
    max-width: 100%;
    white-space: normal;
  }

  .faq-panel,
  .intro-panel,
  .summary-panel {
    align-items: start;
    padding: 10px;
  }

  .faq-card,
  .intro-card,
  .summary-card {
    max-height: calc(100vh - 20px);
    padding: 18px 14px;
    border-radius: 18px;
  }

  .faq-category-tabs {
    max-height: 180px;
    overflow: auto;
  }

  .faq-category-tab,
  .related-faq-button {
    max-width: 100%;
    white-space: normal;
  }

  .summary-preview-access {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .summary-preview-actions-row {
    align-items: stretch;
    flex-direction: column;
  }

  .summary-preview-button,
  .summary-card-action,
  .summary-preview-actions-row .small-action,
  .summary-preview-actions-row .continue-button {
    width: 100%;
  }

  .nav-cta,
  .primary-cta {
    width: 100%;
  }

  .hero {
    min-height: 590px;
    padding: 46px 22px 212px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.35rem);
  }

  .supporting {
    max-width: 310px;
    margin-top: 22px;
  }

  .supporting::after {
    width: min(250px, 70vw);
  }

  .hero-actions {
    align-items: stretch;
  }

  .primary-cta {
    min-width: 0;
    min-height: 56px;
  }

  .hero-visual {
    inset: 124px 0 0;
  }

  .hero-path-map {
    right: -24%;
    top: 22%;
    width: 118vw;
  }

  .hero-star {
    top: 28%;
    right: 18%;
    width: 62px;
    height: 62px;
  }

  .hero-star::before {
    height: 62px;
  }

  .hero-star::after {
    width: 62px;
  }

  .feature-strip {
    margin: -122px 12px 0;
  }

  .feature-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
  }

  .workspace-intro {
    text-align: left;
  }

  .my-songs-shell {
    margin-bottom: 18px;
  }

  .my-songs-heading {
    display: grid;
  }

  .my-songs-status {
    max-width: 100%;
    white-space: normal;
  }

  .saved-song-card {
    grid-template-columns: 1fr;
  }

  .saved-song-details {
    min-width: 0;
  }

  .journey-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .path-grid,
  .stage-grid,
  .snapshot-grid,
  .readiness-grid,
  .outcome-header,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .card-heading {
    display: block;
  }

  .card-heading p {
    max-width: none;
    text-align: left;
  }

  .outcome-score {
    text-align: left;
  }

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

  .item-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .item-meta {
    justify-content: flex-start;
  }

  .field-grid,
  .contributor-row {
    grid-template-columns: 1fr;
  }

  .field-short,
  .field-medium {
    --field-width: 100%;
  }

  .choice-card,
  .stage-button {
    min-height: 78px;
  }
}

/* Phase 1 brand alignment: tokens and core components */
body {
  background:
    linear-gradient(180deg, var(--color-paper) 0%, var(--color-background) 54%, #EFE7D8 100%);
  color: var(--color-ink);
}

.landing-scene {
  border-color: var(--color-border);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(246, 241, 231, 0.72)),
    var(--color-paper);
  box-shadow: var(--shadow-panel);
}

.site-nav {
  color: var(--color-ink);
}

.beta-notice {
  gap: var(--space-2) var(--space-3);
  border-color: rgba(198, 161, 95, 0.28);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.84);
  color: var(--color-muted);
  box-shadow: none;
}

.beta-notice strong,
.wordmark,
.saved-song-card h3,
.my-songs-heading h2,
.snapshot-card strong,
.checklist-card h3,
.item-title,
.outcome-title,
.summary-section h3,
.summary-needed-card h5 {
  color: var(--color-ink);
}

.beta-notice a,
.nav-links a,
.nav-help-button,
.login-link,
.auth-status {
  color: var(--color-muted);
}

.beta-notice a:hover,
.beta-notice a:focus-visible,
.nav-links a:hover,
.nav-links a:focus-visible,
.login-link:hover,
.login-link:focus-visible,
.nav-help-button:hover,
.nav-help-button:focus-visible {
  color: var(--color-primary);
  text-decoration-color: var(--color-accent);
}

.nav-cta,
.primary-cta,
.summary-preview-button,
.next-stage-button,
.continue-button,
.summary-preview-actions-row .continue-button {
  min-height: 42px;
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--cream-strong);
  box-shadow: 0 8px 18px rgba(16, 32, 53, 0.16);
  font-weight: 820;
  letter-spacing: 0;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.primary-cta:hover,
.primary-cta:focus-visible,
.summary-preview-button:hover,
.summary-preview-button:focus-visible,
.next-stage-button:hover,
.next-stage-button:focus-visible,
.continue-button:hover,
.continue-button:focus-visible,
.summary-preview-actions-row .continue-button:hover,
.summary-preview-actions-row .continue-button:focus-visible {
  border-color: rgba(198, 161, 95, 0.72);
  background: var(--color-primary-hover);
  color: var(--cream-strong);
  box-shadow: var(--shadow-focus), 0 10px 22px rgba(16, 32, 53, 0.18);
  outline: none;
}

.small-action,
.summary-card-action,
.progression-step,
.faq-category-tab,
.related-faq-button,
.auth-inline-action {
  min-height: 34px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: none;
  font-weight: 780;
}

.small-action:hover,
.small-action:focus-visible,
.summary-card-action:hover,
.summary-card-action:focus-visible,
.progression-step:hover,
.progression-step:focus-visible,
.faq-category-tab:hover,
.faq-category-tab:focus-visible,
.related-faq-button:hover,
.related-faq-button:focus-visible,
.auth-inline-action:hover,
.auth-inline-action:focus-visible {
  border-color: rgba(198, 161, 95, 0.62);
  background: var(--color-surface-soft);
  color: var(--color-primary);
  box-shadow: var(--shadow-focus);
  outline: none;
}

.auth-card,
.faq-card,
.intro-card,
.summary-card,
.my-songs-card,
.homepage-faq,
.workspace-intro,
.journey-panel,
.starter-card,
.checklist-card,
.stage-outcome,
.saved-song-card,
.snapshot-card,
.checklist-item,
.field-panel,
.field-section,
.summary-section,
.summary-needed-card,
.missing-action-card,
.missing-item,
.empty-report {
  border-color: var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.auth-card,
.faq-card,
.intro-card,
.summary-card {
  box-shadow: var(--shadow-panel);
}

.my-songs-card,
.homepage-faq,
.workspace-intro,
.journey-panel,
.starter-card,
.checklist-card,
.stage-outcome {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(248, 243, 233, 0.88)),
    var(--color-surface);
}

.my-songs-card::before,
.workspace-intro::after {
  background: linear-gradient(90deg, var(--color-accent), var(--sage));
}

.field input,
.field textarea,
.field select,
.mini-field input,
.mini-field select {
  min-height: 38px;
  border-color: var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-ink);
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.mini-field input:focus,
.mini-field select:focus,
.field select:focus {
  border-color: rgba(198, 161, 95, 0.72);
  box-shadow: var(--shadow-focus);
  outline: none;
}

.follow-choice {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
}

.follow-choice:has(input:checked),
.progression-step.is-current,
.choice-card.is-selected,
.stage-button.is-selected {
  border-color: rgba(88, 116, 91, 0.42);
  background: var(--color-success-soft);
  color: var(--color-primary);
  box-shadow: inset 0 0 0 1px rgba(88, 116, 91, 0.12), var(--shadow-card);
}

.follow-choice:focus-within,
.primary-control input[type="checkbox"]:focus-visible,
.item-header.can-expand:focus-visible,
.stage-button:focus-visible,
.choice-card:focus-visible {
  border-color: rgba(198, 161, 95, 0.72);
  box-shadow: var(--shadow-focus);
  outline: none;
}

.choice-card,
.stage-button {
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.choice-card:hover,
.stage-button:hover,
.choice-card:focus-visible,
.stage-button:focus-visible {
  border-color: rgba(198, 161, 95, 0.44);
  box-shadow: var(--shadow-focus), var(--shadow-card);
  transform: translateY(-1px);
}

.guidance-note,
.earlier-checkpoints {
  border-left-color: rgba(198, 161, 95, 0.58);
  background: rgba(198, 161, 95, 0.1);
  color: #6E5521;
}

.pill {
  background: var(--color-success-soft);
  color: var(--color-primary);
}

.pill.optional {
  background: var(--color-accent-soft);
  color: #6E5521;
}

.summary-preview-access {
  border-color: rgba(198, 161, 95, 0.24);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.outcome-score {
  border: 1px solid rgba(16, 32, 53, 0.18);
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--cream-strong);
}

.stage-outcome::before,
#songBasicsSection .starter-card::after {
  opacity: 0.38;
}

.auth-panel,
.faq-panel,
.intro-panel,
.summary-panel {
  background: rgba(16, 32, 53, 0.28);
}


/* Corrected scenic hero and workspace direction */
.landing-scene {
  min-height: min(760px, calc(100vh - 36px));
  margin-bottom: 24px;
  overflow: hidden;
  border-color: rgba(16, 32, 53, 0.07);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(251, 247, 238, 0.94) 0%, rgba(251, 247, 238, 0.78) 32%, rgba(251, 247, 238, 0.24) 60%, rgba(16, 32, 53, 0.06) 100%),
    linear-gradient(180deg, rgba(251, 247, 238, 0.5) 0%, rgba(251, 247, 238, 0.06) 44%, rgba(16, 32, 53, 0.26) 100%),
    url("assets/songpath-hero-journey.png") center center / cover no-repeat,
    var(--color-paper);
  box-shadow: 0 10px 34px rgba(16, 32, 53, 0.08);
}

.landing-scene::before,
.landing-scene::after {
  content: none;
}

.site-nav {
  padding: 22px 28px 10px;
}

.wordmark-mark {
  width: 40px;
  height: 46px;
  filter: drop-shadow(0 5px 10px rgba(16, 32, 53, 0.09));
}

.wordmark-mark::after {
  content: none;
}

.wordmark-star::before,
.wordmark-star::after {
  background: var(--color-accent);
}

.beta-notice {
  margin: 0 28px;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(255, 253, 247, 0.58);
  backdrop-filter: blur(8px);
}

.hero {
  grid-template-columns: minmax(280px, 0.56fr) minmax(320px, 0.44fr);
  min-height: 520px;
  padding: clamp(54px, 7vw, 96px) clamp(34px, 6vw, 66px) 170px;
}

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

.hero h1 {
  max-width: 520px;
  color: var(--color-primary);
  font-size: clamp(3.2rem, 5.8vw, 5.45rem);
  line-height: 1;
}

.supporting {
  max-width: 360px;
  margin-top: 24px;
  color: rgba(16, 32, 53, 0.76);
}

.supporting::after {
  opacity: 0.76;
}

.primary-cta {
  min-width: 238px;
  min-height: 56px;
  box-shadow: 0 12px 28px rgba(16, 32, 53, 0.2);
}

.hero-visual {
  display: none;
}

.feature-strip {
  position: relative;
  z-index: 2;
  width: auto;
  margin: -108px 28px 28px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 253, 247, 0.62);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 247, 0.82);
  box-shadow: 0 18px 46px rgba(16, 32, 53, 0.16);
  backdrop-filter: blur(14px);
}

.feature-card {
  padding: 0 18px;
  border: 0;
  border-right: 1px solid rgba(16, 32, 53, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature-card:last-child {
  border-right: 0;
}

.feature-icon {
  background: rgba(255, 253, 247, 0.74);
  box-shadow: none;
}

.homepage-faq,
.workspace-intro,
.my-songs-shell,
.journey-panel {
  width: min(100%, var(--max, var(--workspace-max)));
  margin-right: auto;
  margin-left: auto;
}

.workspace-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(250px, 0.28fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: end;
  max-width: none;
  margin: 0 auto 22px;
  padding: clamp(18px, 3vw, 26px) 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.workspace-intro::before,
.workspace-intro::after {
  content: none;
}

.workspace-copy {
  display: grid;
  gap: 9px;
  max-width: 700px;
}

.workspace-badge,
.step-label,
.module-label {
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #7a622e;
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-badge::before,
.step-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  vertical-align: 1px;
}

.workspace-copy h2 {
  max-width: 640px;
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.workspace-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.58;
}

.workspace-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 0 0 0 clamp(16px, 2vw, 24px);
  border-top: 0;
  border-left: 1px solid var(--color-border);
  color: var(--color-muted);
}

.workspace-actions .continue-button,
.workspace-actions .small-action {
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
}

.workspace-actions p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.my-songs-shell {
  max-width: none;
  margin: 0 auto 22px;
}

.my-songs-card {
  display: grid;
  gap: 14px;
  overflow: visible;
  padding: clamp(16px, 2.5vw, 22px) 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.my-songs-card::before {
  content: none;
}

.my-songs-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.my-songs-heading h2 {
  margin: 3px 0 5px;
  color: var(--color-ink);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.my-songs-heading p {
  max-width: 58ch;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
}

.my-songs-status,
#requiredProgress,
.saved-song-details span:first-child {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(88, 116, 91, 0.18);
  border-radius: var(--radius-pill);
  background: var(--color-success-soft);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 780;
  white-space: nowrap;
}

.my-songs-empty {
  margin-top: 0;
  padding: 14px 0;
  border: 0;
  border-top: 1px dashed var(--color-border-strong);
  border-bottom: 1px dashed var(--color-border-strong);
  border-radius: 0;
  background: transparent;
}

.my-songs-empty strong {
  color: var(--color-ink);
}

.my-songs-empty p,
.my-songs-message,
.saved-song-card p,
.saved-song-details {
  color: var(--color-muted);
}

.my-songs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.saved-songs-list {
  display: grid;
  gap: 0;
  margin-top: 0;
  border-top: 1px solid var(--color-border);
}

.saved-song-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.saved-song-card h3 {
  margin: 0 0 4px;
  color: var(--color-ink);
  font-size: 1rem;
  line-height: 1.25;
}

.saved-song-card p,
.saved-song-details {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
}

.saved-song-details {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 150px;
  text-align: right;
}

.journey-panel {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 3vw, 26px) 0 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.progress-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.progress-line::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 10px;
  height: 1px;
  background: var(--color-border-strong);
}

.progress-step {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 44px;
  place-items: start center;
  gap: 6px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-muted);
  box-shadow: none;
}

.progress-step.is-active,
.progress-step.is-complete {
  border: 0;
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-surface);
  border-radius: 50%;
  background: var(--color-border-strong);
  box-shadow: 0 0 0 4px rgba(16, 32, 53, 0.04);
}

.progress-step.is-active .progress-dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(198, 161, 95, 0.14);
}

.progress-step.is-complete .progress-dot {
  background: var(--color-success);
  box-shadow: 0 0 0 5px rgba(88, 116, 91, 0.12);
}

.progress-label {
  color: inherit;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
}

.question-block,
.checklist {
  position: relative;
  padding: clamp(18px, 3vw, 26px) 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.question-block + .question-block,
.checklist {
  margin-top: 0;
  padding-top: clamp(18px, 3vw, 26px);
  border-top: 1px solid var(--color-border);
}

.question-block::before,
.checklist::before,
#songBasicsSection .starter-card::after,
.snapshot-grid::before,
.stage-outcome::before {
  content: none;
}

.question-block > .step-label,
.checklist .snapshot-title-block .step-label,
.question-block > h2,
.snapshot-title-block h2,
.step-helper,
.snapshot-intro {
  margin-left: 0;
}

.question-block > h2,
.snapshot-title-block h2 {
  color: var(--color-ink);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.step-helper,
.snapshot-intro {
  max-width: 72ch;
  margin-top: -8px;
  color: var(--color-muted);
  line-height: 1.55;
}

.starter-card,
.song-details-card,
.checklist-card,
.stage-outcome,
.summary-preview-access {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 8px 22px rgba(16, 32, 53, 0.05);
}

.starter-card,
.song-details-card {
  padding: clamp(16px, 2.4vw, 22px);
}

#songBasicsSection .starter-card::before {
  content: "Song Record";
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-success-soft);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stage-grid,
.path-grid,
.snapshot-grid {
  display: grid;
  gap: 0;
}

.stage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stage-button,
.choice-card {
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: none;
}

.stage-button strong::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin-bottom: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(88, 116, 91, 0.12);
}

.stage-button::after,
.stage-button.is-selected::before {
  content: none;
}

.stage-button.is-selected,
.choice-card.is-selected,
.follow-choice:has(input:checked) {
  border-color: rgba(88, 116, 91, 0.38);
  background: var(--color-success-soft);
  box-shadow: inset 0 0 0 1px rgba(88, 116, 91, 0.1);
}

.stage-button.is-selected strong::before {
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(198, 161, 95, 0.14);
}

.choice-card:hover,
.stage-button:hover,
.choice-card:focus-visible,
.stage-button:focus-visible {
  border-color: rgba(198, 161, 95, 0.48);
  box-shadow: var(--shadow-focus);
  transform: none;
}

.snapshot-title-block {
  margin-bottom: 16px;
}

.snapshot-title-block h2::after {
  content: none;
}

.snapshot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 8px 22px rgba(16, 32, 53, 0.05);
}

.snapshot-card {
  position: relative;
  z-index: 1;
  min-height: 106px;
  padding: 16px;
  border: 0;
  border-left: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.snapshot-card:first-child {
  border-left: 0;
}

.snapshot-card span {
  display: block;
  margin-bottom: 9px;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.snapshot-card strong,
#readinessScore,
#fullPathReadinessScore {
  display: block;
  color: var(--color-ink);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.16;
}

.snapshot-card:nth-child(3),
.snapshot-card:nth-child(4) {
  background: linear-gradient(180deg, #fffef9, var(--color-surface-soft));
}

.readiness-helper {
  max-width: 78ch;
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.summary-preview-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 16px 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.summary-preview-copy strong {
  font-size: 1.03rem;
}

.summary-preview-copy p {
  color: var(--color-muted);
}

.readiness-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: start;
  margin-top: 18px;
}

.checklist-card {
  padding: clamp(16px, 2.4vw, 22px);
}

.card-heading,
.checklist-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.card-heading h3 {
  margin: 0 0 4px;
  color: var(--color-ink);
  font-size: 1.08rem;
}

.card-heading p,
#nextRequiredItem {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.45;
}

#nextRequiredItem {
  font-weight: 760;
}

.checklist-items,
.missing-list,
.missing-action-cards {
  display: grid;
  gap: 0;
}

.checklist-items::before {
  content: none;
}

.checklist-item {
  position: relative;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.checklist-item:first-child {
  border-top: 0;
}

.checklist-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(198, 161, 95, 0.12);
}

.checklist-item.is-complete::before {
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(88, 116, 91, 0.12);
}

.checklist-item.is-expanded,
.checklist-item.is-complete {
  border-color: var(--color-border);
  background: transparent;
  box-shadow: none;
}

.item-header {
  padding-left: 24px;
}

.item-meta {
  gap: 6px;
}

.missing-action-card,
.missing-item,
.summary-needed-card {
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.missing-action-card:first-child,
.missing-item:first-child,
.summary-needed-card:first-child {
  border-top: 0;
}

.missing-action-card h4,
.missing-item strong,
.summary-needed-card h5 {
  color: var(--color-ink);
}

.missing-action-card p,
.missing-item p,
.summary-needed-card li,
.summary-needed-count {
  color: var(--color-muted);
}

.stage-outcome {
  margin-top: 18px;
  padding: clamp(16px, 2.4vw, 22px);
}

.field-section {
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.field-section:first-child {
  border-top: 0;
}

.summary-card {
  width: min(980px, 100%);
  background: var(--color-surface);
}

.summary-section,
.summary-checklist-group,
.summary-needed-card {
  box-shadow: none;
}

@media (max-width: 900px) {
  .hero,
  .workspace-intro,
  .readiness-grid {
    grid-template-columns: 1fr;
  }

  .workspace-actions {
    justify-items: start;
  }

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

  .saved-song-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .saved-song-details {
    justify-items: start;
    min-width: 0;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 3.6rem);
  }

  .workspace-copy h2 {
    font-size: clamp(1.55rem, 9vw, 2.05rem);
  }

  .my-songs-heading,
  .card-heading,
  .checklist-heading,
  .summary-preview-access {
    grid-template-columns: 1fr;
  }

  .snapshot-grid,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-card,
  .snapshot-card:first-child {
    border-left: 0;
    border-top: 1px solid var(--color-border);
  }

  .snapshot-card:first-child {
    border-top: 0;
  }

  .progress-label {
    font-size: 0.68rem;
  }

  .workspace-actions .continue-button,
  .workspace-actions .small-action,
  .summary-preview-button,
  .summary-card-action {
    width: 100%;
  }
}

/* Mobile workspace overflow fixes */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.app-shell,
.landing-scene,
.workspace-intro,
.journey-panel,
.question-block,
.checklist,
.starter-card,
.snapshot-grid,
.readiness-grid,
.checklist-card,
.stage-outcome,
.field-panel,
.field-section,
.checklist-item,
.outcome-section {
  max-width: 100%;
}

.workspace-copy,
.workspace-intro,
.journey-panel,
.question-block,
.checklist,
.snapshot-grid,
.snapshot-card,
.readiness-grid,
.checklist-card,
.card-heading,
.checklist-body,
.item-copy,
.field,
.mini-field,
.field-section,
.outcome-header,
.outcome-grid,
.outcome-section,
.outcome-actions {
  min-width: 0;
}

.workspace-copy,
.question-block,
.checklist,
.starter-card,
.snapshot-card,
.checklist-card,
.checklist-item,
.field-panel,
.field-section,
.outcome-section,
.missing-item,
.empty-report {
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .app-shell {
    width: min(calc(100% - 20px), 620px);
    padding-bottom: 34px;
  }

  .workspace-intro {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 18px 0;
    border-radius: 0;
  }

  .journey-panel {
    padding: 18px 0 0;
    gap: 14px;
    border-radius: 0;
  }

  .progress-line {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 9px;
  }

  .progress-line::before {
    left: 26px;
    right: auto;
    top: 22px;
    bottom: 22px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(167, 184, 154, 0.62), rgba(201, 166, 106, 0.62), rgba(15, 29, 51, 0.2));
  }

  .progress-step {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 50px;
    justify-items: start;
    padding: 9px 10px;
  }

  .progress-label {
    text-align: left;
  }

  .question-block,
  .checklist {
    padding: 18px 0;
  }

  .step-helper,
  .snapshot-intro {
    margin-left: 0;
  }

  .question-block > .step-label,
  .question-block > h2,
  .checklist .snapshot-title-block .step-label,
  .snapshot-title-block h2 {
    margin-left: 0;
  }

  .stage-grid,
  .snapshot-grid,
  .readiness-grid,
  .outcome-header,
  .outcome-grid,
  .field-grid,
  .contributor-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .readiness-grid {
    gap: 14px;
  }

  .snapshot-grid {
    gap: 0;
  }

  .snapshot-card,
  .checklist-card,
  .stage-outcome {
    width: 100%;
  }

  .card-heading,
  .outcome-header,
  .outcome-actions,
  .item-meta {
    align-items: stretch;
  }

  .card-heading,
  .outcome-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .card-heading p {
    max-width: none;
    text-align: left;
  }

  #requiredProgress,
  .details-toggle,
  .pill,
  .item-status {
    white-space: normal;
  }

  .checklist-item {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 12px;
  }

  .item-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .item-meta,
  .outcome-actions,
  .choice-group,
  .choice-group.compact {
    flex-wrap: wrap;
  }

  .field input,
  .field textarea,
  .field select,
  .mini-field input,
  .mini-field select,
  .next-stage-button,
  .continue-button,
  .coming-soon-button,
  .small-action {
    max-width: 100%;
  }

  .field-short,
  .field-medium,
  .field.is-wide,
  .field-contributor-group {
    --field-width: 100%;
  }

  .follow-choice {
    max-width: 100%;
  }

  .stage-progression {
    max-width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 460px) {
  .app-shell {
    width: min(calc(100% - 16px), 430px);
  }

  .workspace-copy h2,
  .question-block > h2,
  .snapshot-title-block h2 {
    overflow-wrap: normal;
  }

  .workspace-intro,
  .journey-panel,
  .question-block,
  .checklist {
    padding-left: 10px;
    padding-right: 10px;
  }

  .starter-card,
  .field-panel,
  .field-section,
  .checklist-card,
  .stage-outcome {
    padding-left: 10px;
    padding-right: 10px;
  }

  .snapshot-grid {
    padding: 8px;
  }

  .stage-button {
    min-height: 82px;
  }
}

@media (max-width: 820px) {
  .progression-strip {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .progression-step,
  span.progression-step {
    flex: 1 1 150px;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .beta-notice {
    margin: 0 16px 8px;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .landing-scene {
    min-height: auto;
    background-position: 58% center;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .nav-links {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .nav-actions,
  .auth-controls {
    width: 100%;
    max-width: none;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

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

  .auth-controls {
    align-items: flex-start;
  }

  .auth-status {
    flex: 1 1 100%;
  }

  .auth-button {
    flex: 0 1 auto;
  }

  .nav-cta {
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .beta-notice > span {
    flex: 1 1 220px;
    min-width: 0;
  }

  .hero {
    min-height: 560px;
    padding: 54px 28px 136px;
  }

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

  .feature-strip {
    margin: -86px 22px 24px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 18px;
  }

  .feature-card {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 32, 53, 0.1);
  }

  .feature-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .landing-scene {
    background-position: 63% center;
  }

  .hero {
    min-height: 540px;
    padding: 46px 24px 126px;
  }

  .hero h1 {
    max-width: 360px;
  }

  .nav-cta {
    width: 100%;
  }

  .beta-notice {
    display: block;
  }

  .beta-notice strong,
  .beta-notice span,
  .beta-notice a {
    display: block;
  }

  .beta-notice span {
    margin-top: 8px;
    max-width: 30ch;
  }

  .beta-notice a {
    margin-top: 10px;
  }

  .feature-strip {
    margin: -72px 14px 20px;
  }
}
