:root {
  /* Snappy SaaS — charcoal chrome + electric teal */
  --bg: #e8eef0;
  --ink: #07110e;
  --muted: #4a5c56;
  --card: #ffffff;
  --line: rgba(7, 17, 14, 0.1);
  --line-strong: rgba(7, 17, 14, 0.16);
  --accent: #046f5a;
  --accent-hot: #00c49a;
  --accent-ink: #f0fffa;
  --warn: #9a5b00;
  --warn-bg: #fff6e5;
  --err: #b42318;
  --err-bg: #fef3f2;
  --ok: #046f5a;
  --ok-bg: #d8f5ec;
  --shadow: 0 4px 6px rgba(7, 17, 14, 0.04), 0 22px 48px rgba(7, 17, 14, 0.1);
  --shadow-sm: 0 1px 2px rgba(7, 17, 14, 0.06), 0 10px 24px rgba(7, 17, 14, 0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --brand: "Fraunces", Georgia, serif;
  --nav-bg: rgba(7, 17, 14, 0.92);
  --nav-ink: #f0fffa;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(0, 196, 154, 0.16) 0%, transparent 55%),
    radial-gradient(700px 400px at 0% 0%, rgba(7, 17, 14, 0.06) 0%, transparent 50%),
    var(--bg);
  min-height: 100vh;
}
a { color: var(--accent); transition: color 0.15s ease; }
a:hover { color: var(--accent-hot); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 1.15rem 1.4rem 3.5rem; }

body.app-shell .top {
  background: var(--nav-bg);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 12px 40px rgba(7, 17, 14, 0.28);
}
body.app-shell .brand { color: var(--nav-ink); font-weight: 700; }
body.app-shell .nav-primary a { color: rgba(240, 255, 250, 0.92); font-weight: 650; }
body.app-shell .nav a { color: rgba(240, 255, 250, 0.62); }
body.app-shell .nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
body.app-shell .nav-util {
  border-left-color: rgba(255, 255, 255, 0.12);
}
body.app-shell .nav-util a { color: rgba(240, 255, 250, 0.5); font-weight: 500; }
body.app-shell .nav a.nav-out { color: rgba(240, 255, 250, 0.4); }
body.app-shell .desk-labs {
  border-color: rgba(232, 240, 237, 0.14);
}
body.app-shell .desk-block {
  color: var(--ink);
}
body.app-shell .desk-block h2 { color: var(--ink); }
body.app-shell .desk-block a { color: var(--accent); }
body.app-shell .desk-block a:hover { color: var(--accent-hot); }
body.app-shell .desk-block a.btn { color: #04241c; }
body.app-shell .attention-strip h2 { color: #f0fffa; }
body.app-shell .attention-strip a { color: var(--accent-hot); }
body.app-shell .more-tools,
body.app-shell .more-tools summary {
  color: rgba(232, 240, 237, 0.62);
}
body.app-shell .more-tools summary:hover { color: #f0fffa; }
body.app-shell .pill {
  border-color: rgba(255,255,255,0.14);
  color: rgba(240, 255, 250, 0.7);
  background: rgba(255,255,255,0.06);
}
body.app-shell .pill.on {
  border-color: rgba(0, 196, 154, 0.45);
  color: var(--accent-hot);
  background: rgba(0, 196, 154, 0.12);
}
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  position: sticky; top: 0.65rem; z-index: 40;
  margin: 0 0 1.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(243, 246, 245, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.brand {
  font-family: var(--brand); font-size: 1.35rem; font-weight: 600;
  text-decoration: none; color: var(--ink); letter-spacing: -0.02em;
  padding: 0.15rem 0.45rem;
}
.nav { display: flex; gap: 0.75rem; flex-wrap: wrap; font-size: 0.9rem; align-items: center; justify-content: flex-end; flex: 1; }
.nav-primary { display: flex; gap: 0.15rem; flex-wrap: wrap; align-items: center; }
.nav-util {
  display: flex; gap: 0.1rem; flex-wrap: wrap; align-items: center;
  margin-left: 0.35rem; padding-left: 0.65rem;
  border-left: 1px solid rgba(18, 24, 22, 0.12);
}
.nav-util a {
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.85;
  padding: 0.35rem 0.55rem;
}
.nav-util .pill { opacity: 0.9; }
.nav a {
  text-decoration: none; color: var(--muted);
  padding: 0.4rem 0.7rem; border-radius: 999px; font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-primary a { font-weight: 600; color: var(--ink); }
.nav a:hover { color: var(--ink); background: rgba(18, 24, 22, 0.05); }
.nav a.nav-out { color: var(--muted); }
@media (max-width: 720px) {
  .top {
    border-radius: var(--radius);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
  }
  .nav { gap: 0.15rem; }
  .nav a { padding: 0.35rem 0.55rem; font-size: 0.85rem; }
}
.pill {
  font-size: 0.72rem; font-weight: 600; padding: 0.28rem 0.65rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.pill.on { border-color: rgba(13, 107, 88, 0.35); color: var(--accent); background: var(--ok-bg); }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; }
h1 { font-size: clamp(1.75rem, 3vw, 2.15rem); margin: 0 0 0.45rem; }
h2 { font-size: 1.25rem; }
.lede { color: var(--muted); margin: 0 0 1.35rem; max-width: 40rem; font-size: 1.05rem; line-height: 1.55; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.grid { display: grid; gap: 1.05rem; }
@media (min-width: 800px) { .grid.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-bottom: 0.35rem; letter-spacing: 0.01em; }
input[type=text], input[type=password], select, textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus,
input[type=number]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(13, 107, 88, 0.45);
  box-shadow: 0 0 0 3px rgba(18, 165, 138, 0.18);
}
textarea.code {
  font-family: var(--mono); font-size: 0.82rem; line-height: 1.45;
  min-height: 28rem; white-space: pre;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  border: none; border-radius: 999px; padding: 0.72rem 1.35rem;
  background: var(--accent-hot);
  color: #04241c; font: inherit; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 196, 154, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: #1ad4a8; transform: translateY(-1px); color: #04241c; }
.btn:active { transform: translateY(0); }
.btn.secondary {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.btn.secondary:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--accent); padding-left: 0.35rem; box-shadow: none; }
.btn.ghost:hover { color: var(--accent-hot); }
.row { display: flex; gap: 0.65rem; flex-wrap: wrap; align-items: center; }
.flash { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.flash li { padding: 0.7rem 0.95rem; border-radius: var(--radius-sm); margin-bottom: 0.45rem; font-size: 0.92rem; border: 1px solid transparent; }
.flash .ok { background: var(--ok-bg); color: var(--ok); border-color: rgba(13, 107, 88, 0.18); }
.flash .warn { background: var(--warn-bg); color: var(--warn); }
.flash .error { background: var(--err-bg); color: var(--err); }
.list { list-style: none; padding: 0; margin: 0; }
.list li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.list li:last-child { border-bottom: none; }
.meta { color: var(--muted); font-size: 0.85rem; }
.pre {
  font-family: var(--mono); font-size: 0.82rem; white-space: pre-wrap;
  background: #121816; color: #e8f0ed; padding: 1.1rem; border-radius: var(--radius-sm);
  overflow: auto; max-height: 70vh;
}
.steps { counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li {
  counter-increment: step; position: relative; padding: 0.85rem 0 0.85rem 2.4rem;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.85rem;
  width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ok-bg);
  color: var(--accent); display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
}
.auth-box { max-width: 400px; margin: 4rem auto; }
.auth-layout {
  display: grid;
  gap: 1.25rem;
  margin: -0.5rem 0 1rem;
  align-items: stretch;
}
@media (min-width: 860px) {
  .auth-layout {
    grid-template-columns: 1.35fr minmax(18rem, 24rem);
    min-height: min(68vh, 32rem);
    margin: -1rem 0 1.5rem;
  }
}
.auth-hero {
  min-height: 14rem;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 860px) {
  .auth-hero { min-height: 100%; }
}
.auth-layout .auth-box {
  margin: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.auth-brand {
  font-family: var(--brand);
  font-size: 2.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.prose h1, .prose h2, .prose h3 { font-family: var(--display); }
.prose ul { padding-left: 1.2rem; }
.prose code { font-family: var(--mono); font-size: 0.88em; }
.footer-note { margin-top: 2rem; color: var(--muted); font-size: 0.85rem; }
.site-foot {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.82rem; line-height: 1.5;
}
.site-foot p { margin: 0 0 0.4rem; max-width: 46rem; }
.jobs-grid {
  display: grid; gap: 1rem; margin: 1.1rem 0 1.35rem;
}
@media (min-width: 760px) {
  .jobs-grid { grid-template-columns: repeat(3, 1fr); }
}
.job-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.2rem; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.job-card:hover {
  border-color: rgba(13, 107, 88, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.job-card.static:hover { transform: none; border-color: var(--line); box-shadow: var(--shadow-sm); }
.job-card.is-current-plan {
  border-color: rgba(0, 196, 154, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 196, 154, 0.15), var(--shadow-sm);
}
.job-card h2 { font-size: 1.2rem; margin: 0 0 0.35rem; }
.job-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.landing { padding: 2rem 0 1rem; }
.landing .eyebrow {
  font-family: var(--brand); font-size: 2rem; margin: 0 0 0.75rem; color: var(--ink);
}
.landing h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 18ch; }
.landing .jobs {
  list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem;
}
@media (min-width: 760px) {
  .landing .jobs { grid-template-columns: repeat(3, 1fr); }
}
.landing .jobs li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem; box-shadow: var(--shadow-sm);
}
.landing .jobs h2 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.landing .jobs p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.cta-row { margin: 1.25rem 0 0.5rem; }
.choice {
  display: flex; gap: 0.55rem; align-items: flex-start;
  margin: 0.55rem 0; color: var(--ink); font-size: 0.95rem;
}
.choice input { width: auto; margin-top: 0.2rem; }
.onboarding-form fieldset {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.95rem 1.05rem; margin: 0 0 1rem;
  background: rgba(255,255,255,0.55);
}
.nudge-high { border-left: 3px solid var(--err); padding-left: 0.65rem; }
.nudge-medium { border-left: 3px solid var(--warn); padding-left: 0.65rem; }
input[type=email], input[type=number] {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--ink);
}
.pre.wizard-out { max-height: 50vh; font-size: 0.78rem; }

/* —— Journey scenes (pictorial paths) —— */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.journey-head { margin-bottom: 0.5rem; }
.journey-kicker {
  font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 0.35rem;
}
.journey-lede { max-width: 36rem; }
.journey-status { margin: 0.25rem 0 1.25rem; }

.scene-grid,
.landing-scenes,
.dest-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
@media (min-width: 800px) {
  .scene-grid,
  .landing-scenes { grid-template-columns: repeat(3, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
}

.scene-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, border-color 0.2s ease, box-shadow 0.28s ease;
  animation: scene-in 0.55s ease both;
}
.scene-grid .scene-card:nth-child(2) { animation-delay: 0.08s; }
.scene-grid .scene-card:nth-child(3) { animation-delay: 0.16s; }
.landing-scenes .scene-card:nth-child(2) { animation-delay: 0.1s; }
.landing-scenes .scene-card:nth-child(3) { animation-delay: 0.2s; }
a.scene-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 107, 88, 0.28);
  box-shadow: var(--shadow);
}
a.scene-card:hover .scene-visual {
  transform: scale(1.04);
}
.scene-card.static:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.scene-card.static:hover .scene-visual { transform: none; }

.scene-visual,
.dest-visual,
.landing-backdrop,
.setup-hero-visual,
.page-hero-visual {
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.scene-visual {
  height: 12rem;
  transition: transform 0.5s ease;
}
.scene-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.05rem 1.15rem 1.2rem;
  flex: 1;
}
.scene-fromto {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.scene-fromto em { font-style: normal; color: var(--muted); }
.scene-fromto strong { color: var(--accent); font-weight: 600; }
.scene-body h2 {
  font-size: 1.35rem;
  margin: 0;
}
.scene-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}
.scene-cta {
  margin-top: auto;
  padding-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.more-tools {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.more-tools summary {
  cursor: pointer;
  color: var(--muted);
}
.more-tools summary:hover { color: var(--ink); }

/* —— Desk: attention, labs, status, rows (anti-flat) —— */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.attention-strip {
  margin: 0 0 1.25rem;
  padding: 1rem 1.2rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 196, 154, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 196, 154, 0.1) 0%, transparent 42%),
    rgba(18, 28, 25, 0.55);
  box-shadow: var(--shadow-sm);
}
.attention-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.attention-head h2 { margin: 0; font-size: 1.05rem; }
.attention-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.attention-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 0.75rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.attention-list li .meta { grid-column: 1; }
.attention-list li .pill { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

.desk-labs {
  margin: 0.5rem 0 1.5rem;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(232, 240, 237, 0.18);
  background: rgba(7, 17, 14, 0.35);
}
.desk-labs summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: baseline;
}
.desk-labs summary::-webkit-details-marker { display: none; }
.desk-labs-title {
  font-weight: 650;
  color: #f0fffa;
  letter-spacing: -0.01em;
}
.desk-labs-body {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(232, 240, 237, 0.1);
}
.family-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.family-chips .chip {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 240, 237, 0.18);
  background: rgba(7, 17, 14, 0.35);
  color: rgba(240, 255, 250, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}
body.app-desk .family-chips .chip {
  background: rgba(13, 107, 88, 0.06);
  border-color: rgba(13, 107, 88, 0.18);
  color: var(--ink);
}
.family-chips .chip.is-on,
.family-chips .chip:hover {
  border-color: rgba(0, 196, 154, 0.45);
  color: var(--accent-hot);
}
.cv-first-card {
  border-color: rgba(0, 196, 154, 0.28);
  background: linear-gradient(180deg, rgba(0, 196, 154, 0.06), var(--card));
}
.essentials-progress {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}
.essentials-progress-track {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(18, 24, 22, 0.08);
  overflow: hidden;
}
.essentials-progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  transition: width 0.2s ease;
}
.sec-pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--accent);
  background: rgba(13, 107, 88, 0.1);
  border: 1px solid rgba(13, 107, 88, 0.2);
}
.sec-skip {
  margin: 0.35rem 0 0;
  border: 1px dashed rgba(18, 24, 22, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  background: rgba(13, 107, 88, 0.03);
}
.sec-skip > summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.sec-skip[open] > summary { margin-bottom: 0.65rem; }
.proofread-check { margin-bottom: 1rem; border-color: rgba(0, 196, 154, 0.28); }
.proof-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.proof-list li { margin: 0.45rem 0; }
.proof-list label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
}
.proof-list input { margin-top: 0.2rem; }
.desk-labs-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
}
.desk-labs-links a {
  color: rgba(232, 240, 237, 0.55);
  text-decoration: none;
}
.desk-labs-links a:hover { color: var(--accent-hot); }

.desk-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin: 0 0 1.15rem;
}
.desk-status {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 196, 154, 0.16);
  background: linear-gradient(180deg, rgba(0, 196, 154, 0.08) 0%, rgba(18, 28, 25, 0.4) 100%);
}
.status-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.status-chips li {
  min-width: 7.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.status-k {
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 0.2rem;
}
.status-chips strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0fffa;
}
.desk-status-note { margin: 0.85rem 0 0; color: rgba(232, 240, 237, 0.7); font-size: 0.92rem; }

.desk-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.desk-block h2 { color: var(--ink); margin: 0; }
.desk-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.desk-block .meta { color: var(--muted); }
.desk-rows { list-style: none; margin: 0; padding: 0; }
.desk-rows > li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(18, 24, 22, 0.08);
  transition: background 0.15s ease, padding 0.15s ease;
}
.desk-rows > li:hover {
  background: rgba(13, 107, 88, 0.04);
  margin: 0 -0.45rem;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  border-radius: var(--radius-sm);
}
.desk-rows > li:last-child { border-bottom: none; padding-bottom: 0; }
.desk-rows > li:first-child { padding-top: 0; }
.desk-rows > li:hover:first-child { padding-top: 0.7rem; }
.desk-rows > li:hover:last-child { padding-bottom: 0.7rem; }
.desk-row-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.desk-row-main strong { color: var(--ink); }
.desk-notes {
  margin: 0.35rem 0 0.85rem;
  padding-left: 1.1rem;
  color: var(--ink);
}
.desk-notes li { margin: 0.35rem 0; line-height: 1.45; }
.status-chips-ink li {
  background: rgba(13, 107, 88, 0.06);
  border-color: rgba(13, 107, 88, 0.14);
}
.status-chips-ink .status-k { color: var(--accent); }
.status-chips-ink strong { color: var(--ink); }
.meta.crumb { margin: 0 0 0.65rem; }
.desk-row-main:hover strong { color: var(--accent); }
.empty-hint { margin: 0; }
.desk-plain-list { margin: 0; padding-left: 1.1rem; }
.desk-plain-list li { margin: 0.35rem 0; }
.ready-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ok-bg);
  border: 1px solid rgba(13, 107, 88, 0.2);
  color: var(--accent);
  font-size: 0.92rem;
}
.warn-block { border-color: rgba(180, 83, 9, 0.25); }
.desk-advanced-links { margin: -0.35rem 0 1rem; }
.desk-split { align-items: start; }

.check-progress {
  position: relative;
  min-width: 4.5rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(18, 24, 22, 0.06);
  overflow: hidden;
  flex-shrink: 0;
}
.check-progress-bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: rgba(13, 107, 88, 0.35);
  border-radius: 999px;
}
.check-progress-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--muted);
  font-family: var(--mono);
}
.check-rows { list-style: none; margin: 0; padding: 0; }
.check-row {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18, 24, 22, 0.08);
  background: rgba(243, 246, 245, 0.55);
  margin-bottom: 0.45rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.check-row label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}
.check-row input { margin-top: 0.2rem; }
.check-row.is-done {
  background: var(--ok-bg);
  border-color: rgba(13, 107, 88, 0.2);
}
.check-row.is-done label { color: var(--accent); }

.pill.status-active,
.pill.status-paid,
.pill.status-signed { border-color: rgba(13, 107, 88, 0.35); color: var(--accent); background: var(--ok-bg); }
.pill.status-overdue,
.pill.status-lost { border-color: rgba(180, 60, 40, 0.35); color: #9b2c1a; background: #fdf2f0; }
.pill.status-negotiating,
.pill.status-sent,
.pill.status-ending { border-color: rgba(180, 83, 9, 0.3); color: #9a5b12; background: #fff7ed; }
.warn-pill { border-color: rgba(180, 83, 9, 0.35) !important; color: #9a5b12 !important; background: #fff7ed !important; }

/* —— Landing: greyed path backdrop, three jobs centre-stage —— */
body.landing-page {
  background: #0b1210;
}
body.landing-page .wrap {
  position: relative;
  max-width: none;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: block;
}
body.landing-page .site-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 0.55rem 1.35rem 0.75rem;
  border-top: none;
  background: linear-gradient(180deg, transparent, rgba(11, 18, 16, 0.85));
  color: rgba(242, 255, 251, 0.4);
  font-size: 0.7rem;
}
body.landing-page .site-foot a { color: rgba(242, 255, 251, 0.65); }
body.landing-page .site-foot a:hover { color: #fff; }
body.landing-page .site-foot p { max-width: 52rem; margin: 0 0 0.2rem; }
body.landing-page .site-foot p:first-child {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 3.25rem; /* room for overlaid foot */
}
.landing-backdrop {
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  filter: grayscale(0.78) brightness(0.58) contrast(1.02) saturate(0.2);
  animation: hero-drift 22s ease-in-out infinite alternate;
}
.landing-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 16, 0.42) 0%, rgba(11, 18, 16, 0.28) 42%, rgba(11, 18, 16, 0.62) 100%),
    radial-gradient(ellipse 75% 60% at 50% 48%, rgba(6, 122, 98, 0.12) 0%, transparent 68%);
}

.landing-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem 0.5rem;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}
.landing-top .brand-mark {
  font-family: var(--brand);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 600;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f2fffb;
}
.landing-top .btn {
  box-shadow: 0 10px 28px rgba(0, 168, 132, 0.35);
}

.landing-stage-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.35rem 1.35rem 1.25rem;
  transform: translateY(-3vh);
  animation: copy-rise 0.65s ease both;
}
.landing-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 255, 251, 0.55);
}
.landing-stage-inner > h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  letter-spacing: -0.04em;
  max-width: none;
}
.landing-sub {
  margin: 0 0 0.55rem;
  color: rgba(242, 255, 251, 0.72);
  font-size: 1rem;
  max-width: 28rem;
}

.landing-scenes {
  display: grid;
  gap: 0.85rem;
  margin: 0.2rem 0 0;
  width: 100%;
}
@media (min-width: 800px) {
  .landing-scenes { grid-template-columns: repeat(3, 1fr); gap: 0.95rem; }
}
.landing-scenes .scene-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}
.landing-scenes .scene-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42);
  border-color: #fff;
}
.landing-scenes .scene-visual {
  height: clamp(5.5rem, 12vh, 8rem);
}
.landing-scenes .scene-body {
  padding: 0.75rem 0.9rem 0.9rem;
  gap: 0.2rem;
}
.landing-scenes .scene-body h2 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.landing-scenes .scene-body p {
  font-size: 0.86rem;
}

.landing-note {
  margin: 0.75rem 0 0;
  color: rgba(242, 255, 251, 0.55);
  font-size: 0.9rem;
}
.landing-note a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.landing-note a:hover { border-bottom-color: #fff; color: #fff; }

@media (max-width: 799px) {
  .landing-stage-inner { justify-content: flex-start; padding-top: 0.75rem; }
  .landing-scenes .scene-visual { height: 5.5rem; }
  .landing-stage { min-height: auto; }
}

/* Legacy landing bits (unused on new stage) */
.landing { padding: 2rem 0 1rem; }
.cta-row { margin: 1.25rem 0 0.5rem; }

/* Setup / onboarding destination picker */
.setup-hero {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 720px) {
  .setup-hero {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    min-height: 12rem;
  }
}
.setup-hero-visual {
  min-height: 10rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.setup-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.setup-form { margin: 0; }
.dest-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.dest-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
  animation: scene-in 0.5s ease both;
}
.dest-grid .dest-card:nth-child(2) { animation-delay: 0.06s; }
.dest-grid .dest-card:nth-child(3) { animation-delay: 0.12s; }
.dest-grid .dest-card:nth-child(4) { animation-delay: 0.18s; }
.dest-card:hover {
  border-color: rgba(13, 107, 88, 0.28);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.dest-card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 165, 138, 0.2), var(--shadow-sm);
}
.dest-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dest-visual {
  height: 7.5rem;
}
.dest-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem 1rem;
}
.dest-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.dest-hint {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}
.setup-details {
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.setup-details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.setup-details-body { margin-top: 0.85rem; }

/* Page heroes (Operate, project) */
.page-hero {
  display: grid;
  gap: 0;
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) {
  .page-hero {
    grid-template-columns: 1.25fr 1fr;
    min-height: 11.5rem;
  }
}
.page-hero-visual { min-height: 9.5rem; }
.page-hero-copy {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero-copy h1 { margin-bottom: 0.35rem; }
.page-hero-copy .lede { margin-bottom: 0; }

@keyframes scene-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes copy-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .scene-card,
  .dest-card,
  .landing-stage-inner,
  .landing-backdrop,
  a.scene-card:hover .scene-visual {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Config map — calm section editor (replaces dizzy nested tree) */
.config-tree { margin-top: 0.75rem; }
.cm-shell {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .cm-shell {
    grid-template-columns: 11.5rem 1fr;
    gap: 1.25rem;
    align-items: start;
  }
}
.cm-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem 0;
  border-right: none;
}
@media (min-width: 800px) {
  .cm-nav {
    position: sticky;
    top: 0.75rem;
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding-right: 0.75rem;
    border-right: 1px solid var(--line);
  }
}
@media (max-width: 799px) {
  .cm-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
  }
}
.cm-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
}
@media (max-width: 799px) {
  .cm-nav-item { width: auto; }
}
.cm-nav-item:hover { color: var(--ink); background: rgba(18, 24, 22, 0.04); }
.cm-nav-item.is-active {
  color: var(--ink);
  background: var(--ok-bg);
  border-color: rgba(13, 107, 88, 0.22);
  font-weight: 600;
}
.cm-nav-count {
  font-size: 0.72rem;
  color: var(--muted);
  min-width: 1.2rem;
  text-align: right;
}
.cm-main { min-width: 0; }
.cm-main-head { margin-bottom: 1rem; }
.cm-title {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.cm-fields { display: flex; flex-direction: column; gap: 0.85rem; }
.cm-field { display: flex; flex-direction: column; gap: 0.3rem; }
.cm-label {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.cm-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.cm-area { min-height: 4.5rem; resize: vertical; line-height: 1.45; }
.cm-json { font-family: var(--mono); font-size: 0.8rem; }
.cm-json.is-invalid { border-color: var(--err); background: var(--err-bg); }
.cm-sub {
  margin: 0.25rem 0 0.5rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
}
.cm-sub-title {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
  font-weight: 600;
}
.cm-list { display: flex; flex-direction: column; gap: 0.65rem; }
.cm-list-item {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  gap: 0.5rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.cm-list-index {
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 0.55rem;
}
.cm-list-object { display: flex; flex-direction: column; gap: 0.65rem; }
.cm-remove {
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.35rem 0.4rem;
  white-space: nowrap;
}
.cm-remove:hover { color: var(--err); }
.cm-advanced {
  margin-top: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.cm-advanced summary { cursor: pointer; color: var(--muted); }
.cm-advanced summary:hover { color: var(--ink); }
.cm-adv-body { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.cm-add-row { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.cm-add-row .cm-input { width: auto; min-width: 10rem; flex: 1; }
.cm-select-sm { max-width: 8rem; }
.cm-del-list { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* —— Transition walkthrough (essentials) —— */
.journey-rail {
  position: sticky;
  top: 4.4rem;
  z-index: 20;
  margin: 0 0 1.1rem;
  padding: 0.6rem 0.45rem;
  background: rgba(243, 246, 245, 0.82);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.journey-rail ol {
  list-style: none;
  margin: 0;
  padding: 0 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: space-between;
}
.journey-rail li { flex: 1 1 auto; min-width: 4.2rem; }
.journey-rail a,
.journey-rail .jr-goal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.25rem;
  border-radius: 999px;
}
.journey-rail a:hover { color: var(--accent); background: var(--ok-bg); }
.journey-rail .jr-goal { color: var(--accent); }
.jr-ico {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.jr-ico svg { width: 1.1rem; height: 1.1rem; }
.journey-rail .jr-goal .jr-ico {
  background: linear-gradient(180deg, var(--accent-hot) 0%, var(--accent) 100%);
  border-color: transparent;
  color: var(--accent-ink);
}

.goal-banner {
  margin: 0 0 1.35rem;
  padding: 0.95rem 1.15rem;
  background: var(--ok-bg);
  border: 1px solid rgba(13, 107, 88, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 44rem;
  box-shadow: var(--shadow-sm);
}
.goal-banner strong { color: var(--accent); }

.transition-walk {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.4rem;
  scroll-margin-top: 7rem;
  box-shadow: var(--shadow-sm);
  animation: scene-in 0.45s ease both;
}
.field-group:nth-child(2) { animation-delay: 0.04s; }
.field-group:nth-child(3) { animation-delay: 0.08s; }
.field-group:nth-child(4) { animation-delay: 0.12s; }
.field-group:nth-child(5) { animation-delay: 0.16s; }
.field-group:nth-child(6) { animation-delay: 0.2s; }

.fg-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  margin-bottom: 1.1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .fg-head {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}
.fg-ico {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 14px;
  background: var(--ok-bg);
  color: var(--accent);
  flex-shrink: 0;
}
.fg-ico svg { width: 1.45rem; height: 1.45rem; }
.fg-head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.28rem;
}
.fg-why {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
  max-width: 36rem;
}
.fg-goal {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
@media (max-width: 719px) {
  .fg-goal {
    grid-column: 2;
    white-space: normal;
  }
}
.field-group .hint {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin: -0.1rem 0 0.4rem;
  line-height: 1.4;
}
.field-group label { margin-bottom: 0.15rem; }
.field-group .grid.two .span-2 { grid-column: 1 / -1; }
.fg-finish {
  border-color: rgba(13, 107, 88, 0.22);
  background: linear-gradient(180deg, #f2fbf7 0%, var(--card) 55%);
}
.assist-match {
  margin: 0.75rem 0 1.35rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 107, 88, 0.18);
  background: var(--ok-bg);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: var(--shadow-sm);
}
.assist-match[hidden] { display: none; }
.assist-match strong { color: var(--accent); }

.cv-found-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.cv-found-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.92rem;
  line-height: 1.35;
}
.cv-found-label {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cv-found-value {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.cv-gaps-panel .req { color: var(--accent-hot, #b45309); }
.cv-gaps-panel .span-2 { grid-column: 1 / -1; }
.cv-found-panel {
  border-color: rgba(13, 107, 88, 0.18);
  background: linear-gradient(180deg, #f2fbf7 0%, var(--card) 70%);
}

.cv-gaps-wizard .cv-wiz-status {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cv-gaps-wizard .cv-wiz-progress {
  margin: 0 0 1rem;
}
.cv-gaps-wizard .cv-wiz-step > p { margin-top: 0; }
.cv-gaps-wizard .cv-wiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  align-items: center;
}
.cv-gaps-wizard .cv-wiz-finish h2 { margin-top: 0; }
.cv-gaps-wizard .cv-wiz-invalid {
  border-color: #b45309;
  outline: 1px solid rgba(180, 83, 9, 0.35);
}

.transition-walk input::placeholder,
.transition-walk textarea::placeholder {
  color: #7a8a84;
  opacity: 1;
}


/* —— Focused phase desk (one path) —— */
.focus-stage {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0b1210;
  min-height: min(52vh, 26rem);
}
@media (min-width: 800px) {
  .focus-stage {
    grid-template-columns: 1.15fr 1fr;
    min-height: 22rem;
  }
}
.focus-hero {
  min-height: 12rem;
  background-size: cover;
  background-position: center;
}
.focus-copy {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.45rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f0fffa;
  background: linear-gradient(160deg, #0f1a17 0%, #0b1210 100%);
}
.focus-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 255, 250, 0.5);
}
.focus-fromto { color: rgba(240, 255, 250, 0.7) !important; margin: 0 0 0.35rem; }
.focus-fromto em { color: rgba(240, 255, 250, 0.55) !important; }
.focus-fromto strong { color: var(--accent-hot) !important; }
.focus-copy h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.55rem;
}
.focus-copy .lede {
  color: rgba(240, 255, 250, 0.72);
  margin-bottom: 1.1rem;
}
.focus-copy .btn.secondary {
  background: rgba(255,255,255,0.08);
  color: #f0fffa;
  border-color: rgba(255,255,255,0.22);
}
.focus-copy .btn.secondary:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.focus-switch { margin: 1rem 0 0; color: rgba(240, 255, 250, 0.5) !important; }
.focus-switch a { color: #fff; font-weight: 600; }
.focus-plan { opacity: 0.75; }

.dest-switch-grid .dest-card {
  cursor: pointer;
  opacity: 0.42;
  filter: saturate(0.75);
  transition:
    opacity 0.22s ease,
    filter 0.22s ease,
    border-color 0.2s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.dest-switch-grid .dest-card:hover {
  opacity: 0.72;
  filter: saturate(0.9);
}
.dest-switch-grid .dest-card:has(input:checked) {
  opacity: 1;
  filter: none;
  border-color: var(--accent-hot);
  box-shadow: 0 0 0 3px rgba(0, 196, 154, 0.22), var(--shadow-sm);
}
.dest-switch-grid .dest-card:has(input:checked):hover {
  opacity: 1;
  filter: none;
}
.dest-switch-form .dest-pick-pill {
  margin-top: 0.35rem;
  display: none;
  width: fit-content;
}
.dest-switch-grid .dest-card:has(input:checked) .dest-pick-pill {
  display: inline-flex;
}

body.app-desk h1 { letter-spacing: -0.04em; }

/* —— Phase explainers (landing overlays) —— */
button.scene-card {
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
button.scene-card .scene-cta {
  margin-top: 0.45rem;
  display: inline-block;
}
.phase-dialog {
  border: none;
  padding: 0;
  max-width: min(52rem, calc(100vw - 1.5rem));
  width: 100%;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}
.phase-dialog::backdrop {
  background: rgba(7, 17, 14, 0.72);
  backdrop-filter: blur(6px);
}
.phase-dialog-inner {
  display: grid;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 720px) {
  .phase-dialog-inner { grid-template-columns: 0.9fr 1.15fr; min-height: 22rem; }
}
.phase-dialog-visual {
  min-height: 10rem;
  background-size: cover;
  background-position: center;
}
.phase-dialog-body {
  position: relative;
  padding: 1.35rem 1.4rem 1.5rem;
}
.phase-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem 0.45rem;
}
.phase-close:hover { color: var(--ink); }
.phase-dialog-body h2 {
  margin: 0.2rem 0 0.75rem;
  font-size: 1.75rem;
}
.phase-who, .phase-promise {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
}
.phase-steps-label {
  margin: 0.85rem 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.phase-steps {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}
.phase-steps li { margin-bottom: 0.4rem; }
.phase-not { margin: 0; }

/* Desk project picker overlay */
@media (min-width: 720px) {
  .desk-picker-dialog .phase-dialog-inner {
    grid-template-columns: 0.7fr 1.3fr;
    min-height: 18rem;
  }
}
.desk-picker-scroll {
  margin-top: 0.75rem;
  height: 14.5rem; /* ~5 rows — dialog chrome stays put */
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.15rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(7, 17, 14, 0.02);
}
.desk-picker-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.desk-picker-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.6rem;
  min-height: 2.55rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(7, 17, 14, 0.03);
}
.desk-picker-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
}
.desk-picker-item:hover strong { color: var(--accent-hot); }
.desk-picker-continue { flex-shrink: 0; }
.win-inline-form {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
body.app-shell .desk-picker-scroll {
  border-color: rgba(7, 17, 14, 0.12);
  background: rgba(7, 17, 14, 0.03);
}
body.app-shell .desk-picker-list li {
  background: rgba(7, 17, 14, 0.04);
  border-color: rgba(7, 17, 14, 0.1);
}

/* —— Auth page (same stage language as landing) —— */
body.auth-page {
  background: #0b1210;
}
body.auth-page .wrap {
  max-width: none;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}
body.auth-page .site-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 0.55rem 1.35rem 0.75rem;
  border: none;
  background: linear-gradient(180deg, transparent, rgba(11, 18, 16, 0.85));
  color: rgba(242, 255, 251, 0.4);
  font-size: 0.7rem;
}
body.auth-page .site-foot a { color: rgba(242, 255, 251, 0.65); }
body.auth-page .site-foot p { margin: 0 0 0.2rem; max-width: 40rem; }
body.auth-page .site-foot p:first-child {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.auth-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3.5rem;
}
.auth-stage-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 24rem;
  padding: 1.6rem 1.5rem 1.7rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  animation: copy-rise 0.55s ease both;
}
.auth-stage .auth-brand {
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.auth-lede { margin-bottom: 0.25rem; }
.auth-meta { margin: 0 0 1.1rem; }
.auth-form .btn { width: 100%; }
.auth-google {
  width: 100%;
  background: #fff !important;
  color: #04241c !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.auth-google:hover {
  background: #f4fffb !important;
  color: #04241c !important;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.85rem;
  color: rgba(232, 240, 237, 0.45);
  font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.auth-switch {
  margin: 1.1rem 0 0;
  text-align: center;
}
.auth-switch a { color: var(--accent-hot); }
.landing-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.landing-top .btn.secondary.ghost-on-hero,
.landing-top a.btn.secondary {
  background: transparent;
  color: #f0fffa;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}
.landing-top .btn.secondary.ghost-on-hero:hover,
.landing-top a.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* —— Carry landing theme into signed-in desk —— */
body.app-shell {
  background:
    radial-gradient(900px 520px at 70% -15%, rgba(0, 196, 154, 0.12) 0%, transparent 55%),
    #0b1210;
  color: #e8f0ed;
}
body.app-shell .wrap { color: #e8f0ed; }
body.app-shell h1, body.app-shell h2 { color: #f0fffa; }
body.app-shell .lede,
body.app-shell .meta,
body.app-shell .journey-kicker,
body.app-shell .journey-lede,
body.app-shell .more-tools,
body.app-shell .more-tools summary {
  color: rgba(232, 240, 237, 0.62);
}
body.app-shell .more-tools summary:hover { color: #f0fffa; }
body.app-shell a { color: var(--accent-hot); }
body.app-shell a:hover { color: #7dffd4; }
body.app-shell a.btn {
  color: #04241c;
}
body.app-shell a.btn:hover {
  color: #04241c;
}
body.app-shell button.btn {
  color: #04241c;
}
body.app-shell button.btn:hover {
  color: #04241c;
}
body.app-shell a.btn.secondary {
  color: var(--ink);
}
body.app-shell a.btn.secondary:hover {
  color: var(--ink);
}
body.app-shell .focus-copy a.btn.secondary,
body.app-shell .focus-copy a.btn.secondary:hover,
body.app-shell .focus-copy button.btn.secondary,
body.app-shell .focus-copy button.btn.secondary:hover {
  color: #f0fffa;
}
body.app-shell a.btn.ghost,
body.app-shell button.btn.ghost {
  color: var(--accent-hot);
  box-shadow: none;
}
body.app-shell a.btn.ghost:hover,
body.app-shell button.btn.ghost:hover {
  color: #7dffd4;
}
body.app-shell .panel,
body.app-shell .field-group,
body.app-shell .page-hero,
body.app-shell .cm-list-item,
body.app-shell .setup-details,
body.app-shell .dest-card,
body.app-shell .job-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.12);
}
body.app-shell .panel h1,
body.app-shell .panel h2,
body.app-shell .field-group h2,
body.app-shell .page-hero-copy h1,
body.app-shell .dest-title,
body.app-shell .job-card h2 {
  color: var(--ink);
}
body.app-shell .panel .lede,
body.app-shell .panel .meta,
body.app-shell .field-group .hint,
body.app-shell .field-group .fg-why,
body.app-shell .page-hero-copy .lede {
  color: var(--muted);
}
body.app-shell .list li { border-color: rgba(7, 17, 14, 0.08); }
body.app-shell .site-foot {
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(232, 240, 237, 0.4);
}
body.app-shell .site-foot a { color: rgba(232, 240, 237, 0.65); }
body.app-shell .journey-rail {
  background: rgba(11, 18, 16, 0.75);
  border-color: rgba(255, 255, 255, 0.1);
}
body.app-shell .journey-rail a,
body.app-shell .journey-rail .jr-goal { color: rgba(240, 255, 250, 0.55); }
body.app-shell .journey-rail a:hover {
  color: var(--accent-hot);
  background: rgba(0, 196, 154, 0.12);
}
body.app-shell .goal-banner,
body.app-shell .assist-match {
  background: rgba(0, 196, 154, 0.12);
  border-color: rgba(0, 196, 154, 0.28);
  color: #e8f0ed;
}
body.app-shell .goal-banner strong,
body.app-shell .assist-match strong { color: var(--accent-hot); }
body.app-shell label { color: var(--muted); }
body.app-shell .flash .ok {
  background: rgba(0, 196, 154, 0.14);
  color: #b8ffe8;
  border-color: rgba(0, 196, 154, 0.28);
}

@media (min-width: 800px) {
  .dest-grid-three { grid-template-columns: repeat(3, 1fr); }
}

/* —— Guided tour —— */
.bridge-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: auto;
}
.bridge-tour-overlay[hidden] { display: none !important; }
.bridge-tour-spotlight {
  position: absolute;
  border-radius: 12px;
  box-shadow:
    0 0 0 9999px rgba(4, 12, 10, 0.72),
    0 0 0 2px rgba(0, 196, 154, 0.85);
  pointer-events: none;
  transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
}
.bridge-tour-tip {
  position: fixed;
  z-index: 81;
  width: min(22rem, calc(100vw - 2rem));
  padding: 1rem 1.1rem 0.95rem;
  background: #0b1613;
  border: 1px solid rgba(0, 196, 154, 0.35);
  border-radius: 14px;
  color: #e8f0ed;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  font-family: var(--body, "Outfit", system-ui, sans-serif);
}
.bridge-tour-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 196, 154, 0.95);
  font-weight: 600;
}
.bridge-tour-title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-family: var(--brand, "Fraunces", Georgia, serif);
  font-weight: 700;
  color: #f0fffa;
}
.bridge-tour-body {
  margin: 0 0 0.95rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(232, 240, 237, 0.88);
}
.bridge-tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}
.bridge-tour-actions .btn { margin: 0; }
.bridge-tour-target {
  position: relative;
  z-index: 82;
}
body.bridge-tour-active { overflow: hidden; }

.tour-offer {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(0, 196, 154, 0.1);
  border: 1px solid rgba(0, 196, 154, 0.28);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  justify-content: space-between;
}
.tour-offer p {
  margin: 0;
  flex: 1 1 14rem;
  font-size: 0.9rem;
  color: var(--ink);
}
body.app-shell .tour-offer {
  background: rgba(0, 196, 154, 0.12);
  border-color: rgba(0, 196, 154, 0.28);
  color: #e8f0ed;
}
body.app-shell .tour-offer p { color: rgba(232, 240, 237, 0.9); }
.tour-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

@media (prefers-reduced-motion: reduce) {
  .bridge-tour-spotlight { transition: none; }
}
