:root {
  --bg: #f6f3ec;
  --ink: #171717;
  --muted: #68635b;
  --line: rgba(23, 23, 23, 0.14);
  --soft: rgba(255, 255, 255, 0.68);
  --accent: #d8572a;
  --accent-dark: #9e351b;
  --blue: #214f70;
  --green: #4f725f;
  --shadow: 0 24px 80px rgba(34, 26, 19, 0.14);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

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

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

.app-shell {
  min-height: 100svh;
  overflow: hidden;
}

.legal-page {
  width: min(100% - 36px, 820px);
  margin: 0 auto;
  padding: 34px 0 70px;
}

.legal-page .brand {
  margin-bottom: 56px;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 9vw, 5.8rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 1.4rem;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.7;
}

.growth-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 88% 8%, rgba(216, 87, 42, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0) 34%),
    var(--bg);
  color: var(--ink);
}

.growth-nav {
  width: min(100% - 36px, 1120px);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.growth-nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.growth-nav__cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.54);
}

.growth-language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px 8px 14px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.growth-language select {
  width: auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.growth-hero {
  width: min(100% - 36px, 1120px);
  min-height: calc(100svh - 96px);
  margin: 0 auto;
  display: grid;
  align-content: center;
  position: relative;
  padding: 56px 0 76px;
}

.growth-hero h1 {
  width: min(840px, 100%);
  margin: 0 0 22px;
  font-size: clamp(3.7rem, 11vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.growth-lede {
  width: min(680px, 100%);
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.growth-hero > .button {
  justify-self: start;
}

.growth-hero__mark {
  position: absolute;
  right: 0;
  top: 14%;
  width: min(32vw, 320px);
  aspect-ratio: 1;
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0.22;
  transform: rotate(-8deg);
}

.growth-hero__mark span {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
}

.growth-section,
.growth-final {
  width: min(100% - 36px, 940px);
  margin: 0 auto;
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.growth-section--intro {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.growth-section--intro p {
  color: var(--ink);
  margin: 0;
}

.growth-section h2,
.growth-final h2 {
  margin: 0 0 26px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.growth-steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: growth-step;
}

.growth-steps li {
  counter-increment: growth-step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

.growth-steps li::before {
  content: counter(growth-step, decimal-leading-zero);
  color: var(--accent-dark);
  font-weight: 900;
}

.growth-list {
  display: grid;
  gap: 12px;
}

.growth-list p,
.copy-blocks p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 1.05rem;
}

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

.growth-faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.growth-faq summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1.08rem;
}

.growth-faq p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.copy-blocks {
  display: grid;
  gap: 18px;
}

.copy-blocks div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.launch-pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  padding: 18px;
  color: var(--muted);
  line-height: 1.58;
}

.growth-final {
  padding-bottom: 110px;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 24px clamp(18px, 4vw, 64px);
  display: grid;
  grid-template-rows: auto 1fr;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(246, 243, 236, 0.98) 0%, rgba(246, 243, 236, 0.86) 42%, rgba(246, 243, 236, 0.54) 100%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=2200&q=82") center/cover;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--bg) 0 22%, transparent 23%),
    conic-gradient(from 20deg, var(--accent), var(--blue), var(--green), var(--accent));
  box-shadow: inset 0 0 0 2px rgba(23, 23, 23, 0.22);
}

.topbar__nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.topbar__nav a {
  transition: color 160ms ease;
}

.topbar__nav a:hover {
  color: var(--ink);
}

.language-select {
  width: auto;
  flex: 0 0 auto;
  min-width: 76px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  padding: 9px 12px;
  color: var(--ink);
}

.hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 760px);
  max-width: 760px;
  padding: 80px 0 60px;
  animation: riseIn 700ms ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-dark);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
  max-width: 900px;
  overflow-wrap: normal;
}

.hero__copy {
  width: min(100%, 620px);
  max-width: 620px;
  color: #38342f;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.hero__actions,
.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button--ghost {
  border-color: rgba(23, 23, 23, 0.22);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
}

.button--full {
  width: 100%;
}

.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.trace-line,
.trace-node,
.trace-core {
  position: absolute;
}

.trace-line {
  height: 2px;
  width: 44vw;
  min-width: 360px;
  background: linear-gradient(90deg, transparent, rgba(216, 87, 42, 0.72), rgba(33, 79, 112, 0.42), transparent);
  transform-origin: center;
  opacity: 0.85;
}

.trace-line--one {
  right: 5vw;
  top: 28vh;
  transform: rotate(-19deg);
  animation: slideTrace 8s ease-in-out infinite;
}

.trace-line--two {
  right: 12vw;
  top: 63vh;
  transform: rotate(16deg);
  animation: slideTrace 9s ease-in-out infinite reverse;
}

.trace-node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 12px rgba(216, 87, 42, 0.12);
  animation: pulseNode 2.8s ease-in-out infinite;
}

.trace-node--a {
  right: 18vw;
  top: 22vh;
}

.trace-node--b {
  right: 34vw;
  top: 58vh;
  background: var(--blue);
  box-shadow: 0 0 0 12px rgba(33, 79, 112, 0.12);
}

.trace-node--c {
  right: 10vw;
  top: 72vh;
  background: var(--green);
  box-shadow: 0 0 0 12px rgba(79, 114, 95, 0.12);
}

.trace-core {
  right: clamp(28px, 12vw, 180px);
  bottom: clamp(30px, 11vh, 140px);
  width: clamp(140px, 22vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 243, 236, 0.96) 0 18%, transparent 19%),
    conic-gradient(from 210deg, var(--accent), var(--blue), var(--green), var(--accent));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0.96;
}

.trace-core span {
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 900;
  color: white;
}

.mission-workspace,
.how,
.guardrails {
  padding: clamp(64px, 8vw, 118px) clamp(18px, 5vw, 72px);
}

.workspace-header,
.how,
.guardrails {
  max-width: 1180px;
  margin: 0 auto;
}

.workspace-header {
  margin-bottom: 34px;
}

.workspace-header h2,
.how h2,
.guardrails h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.workspace-header p:not(.section-kicker),
.guardrails p,
.how p {
  color: var(--muted);
  line-height: 1.6;
}

.workspace-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.next-step {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.next-step p {
  color: var(--muted);
  line-height: 1.55;
}

.solution-lab {
  max-width: 1180px;
  margin: clamp(28px, 5vw, 56px) auto 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
  animation: riseIn 460ms ease both;
}

.space-dock,
.space-panel,
.trace-panel,
.solution-panel,
.share-panel,
.memory-panel {
  min-width: 0;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.space-dock {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
}

.space-panel {
  grid-column: span 4;
}

.trace-panel {
  grid-column: span 8;
}

.solution-panel {
  grid-column: span 7;
  border-top-color: var(--accent);
}

.share-panel {
  grid-column: span 5;
}

.memory-panel {
  grid-column: 1 / -1;
}

.solution-lab h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1.02;
  margin-bottom: 14px;
}

.solution-lab p {
  color: var(--muted);
  line-height: 1.56;
}

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

.space-steps a {
  display: grid;
  gap: 7px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.54);
  text-decoration: none;
  color: inherit;
}

.space-steps span,
.space-steps strong {
  color: var(--accent-dark);
  font-weight: 900;
}

.space-steps em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.35;
}

.space-facts {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.space-facts div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.space-facts dt {
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.space-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.3;
}

.first-cases {
  margin-top: 24px;
}

.first-cases ol {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.evidence-bars {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.evidence-bar div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 850;
}

.evidence-bar strong {
  color: var(--accent-dark);
}

.evidence-bar i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.1);
}

.evidence-bar b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--green));
}

.trace-sources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.trace-source {
  min-height: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.46);
}

.trace-source span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trace-source--linked span {
  color: var(--green);
}

.trace-source strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.trace-source p {
  margin: 0;
  font-size: 0.88rem;
}

.room-preview {
  margin-top: 18px;
}

.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.room-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.room-preview h4 {
  font-size: 1.22rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.room-roles {
  display: grid;
  gap: 10px;
}

.room-role {
  display: grid;
  grid-template-columns: minmax(110px, 0.46fr) minmax(130px, 0.54fr);
  gap: 8px 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.room-role span {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.room-role strong {
  color: var(--ink);
  line-height: 1.2;
}

.room-role p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.94rem;
}

.room-role em {
  grid-column: 1 / -1;
  color: var(--green);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.room-bridge {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.room-bridge__header {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.room-bridge__header span {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.room-bridge__header h4 {
  margin: 0;
  font-size: 1.05rem;
}

.room-routes {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.room-route {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.room-route span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.room-route strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
}

.room-route p {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.button--compact {
  width: auto;
  padding-inline: 14px;
}

.room-sprint {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.room-sprint__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.room-sprint__head span,
.room-sprint__head strong {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.room-sprint h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.room-sprint__steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sprint-step {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.sprint-step > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.sprint-step strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
}

.sprint-step p {
  margin: 4px 0 0;
  font-size: 0.88rem;
}

.sprint-step button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  padding: 7px 10px;
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
}

.sprint-step.is-done > span,
.sprint-step.is-done button {
  border-color: rgba(79, 114, 95, 0.38);
  background: rgba(79, 114, 95, 0.12);
  color: var(--green);
}

.proof-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.proof-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 7px;
  border: 1px solid rgba(158, 53, 27, 0.18);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(216, 87, 42, 0.08);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-empty,
.proof-item {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.proof-item time {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.proof-item p {
  margin: 0;
}

.mission-form,
.result-panel {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 70px rgba(34, 26, 19, 0.08);
}

.mission-form {
  padding: clamp(18px, 3vw, 34px);
}

fieldset {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 16px;
  font-weight: 900;
  font-size: 1.1rem;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #2c2925;
  font-weight: 750;
}

label span,
.field-note,
.consent-row {
  line-height: 1.45;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(216, 87, 42, 0.72);
  box-shadow: 0 0 0 4px rgba(216, 87, 42, 0.12);
  background: white;
}

textarea {
  resize: vertical;
}

.field-note {
  margin-bottom: 16px;
  color: var(--muted);
}

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

.choice-grid label,
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  min-height: 48px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  padding: 12px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.choice-grid label:hover,
.consent-row:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 87, 42, 0.38);
  background: white;
}

.choice-grid input,
.consent-row input {
  width: auto;
  margin-top: 3px;
}

.consent-row {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 650;
}

.result-panel {
  position: sticky;
  top: 18px;
  padding: clamp(18px, 3vw, 30px);
  min-height: 520px;
}

.result-empty {
  min-height: 460px;
  display: grid;
  align-content: center;
}

.result-empty h3,
.result-heading h3 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.96;
  margin-bottom: 18px;
}

.basis-note {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.is-hidden {
  display: none;
}

.result-content {
  animation: riseIn 420ms ease both;
}

.vector-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.vector-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.vector-row strong {
  color: var(--ink);
}

.vector-score {
  font-weight: 900;
  color: var(--accent-dark);
}

.mission-box,
.offer-box,
.deal-box {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}

.inside-box {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}

.inside-box h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.inside-box p {
  color: var(--muted);
  line-height: 1.58;
}

.inside-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.inside-flow div {
  min-height: 84px;
  padding: 12px;
  border: 1px solid rgba(32, 54, 47, 0.12);
  border-radius: 8px;
  background: rgba(244, 250, 246, 0.72);
}

.inside-flow span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.inside-flow strong {
  display: block;
  line-height: 1.2;
}

.turnstile-box {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(32, 54, 47, 0.12);
  border-radius: 8px;
  background: rgba(244, 250, 246, 0.78);
}

.turnstile-box p {
  margin: 0;
  font-size: 0.82rem;
}

.feedback-box,
.share-link-box {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(32, 54, 47, 0.12);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.92);
}

.feedback-box h4 {
  margin: 0;
  font-size: 1.1rem;
}

.feedback-box p {
  margin: 0;
}

.share-link-box input {
  font-size: 0.88rem;
}

.result-actions--tight {
  margin-top: 14px;
}

.room-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.mission-box h4 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.deal-box h4 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.mission-box ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.offer-box p {
  color: var(--muted);
  line-height: 1.58;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
}

.deal-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.42);
}

.deal-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.deal-grid strong {
  display: block;
  color: var(--ink);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.deal-script,
.deal-note {
  color: var(--muted);
  line-height: 1.58;
}

.deal-script {
  margin: 0 0 12px;
}

.deal-note {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 900;
  cursor: pointer;
}

.share-canvas {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 24px auto 0;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(34, 26, 19, 0.16);
}

.share-language {
  max-width: 360px;
  margin: 16px auto 0;
}

.process,
.guardrails-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin-top: 38px;
}

.process div {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.process span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-weight: 900;
}

.process h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.market,
.guardrails {
  padding-bottom: 120px;
}

.market {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 118px) clamp(18px, 5vw, 72px);
}

.market h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.market-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.market-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  margin-top: 38px;
}

.market-flow div {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

.market-flow span {
  display: block;
  margin-bottom: 20px;
  color: var(--accent-dark);
  font-weight: 900;
}

.market-flow h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.market-flow p {
  color: var(--muted);
  line-height: 1.55;
}

.market-model {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 46px;
}

.market-model div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 2.4vw, 24px);
  background: rgba(255, 255, 255, 0.46);
}

.market-model span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.market-model h3 {
  font-size: 1.3rem;
  line-height: 1.12;
  margin-bottom: 10px;
}

.market-model p {
  color: var(--muted);
  line-height: 1.55;
}

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

.guardrails-grid p {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 20;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(18px, 4vw, 64px) 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 800;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideTrace {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 30px -10px;
  }
}

@keyframes pulseNode {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.16);
  }
}

@media (max-width: 960px) {
  .topbar__nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 86px 0 160px;
  }

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

  .result-panel {
    position: static;
  }

  .process,
  .market-flow,
  .market-model,
  .guardrails-grid,
  .space-dock,
  .solution-lab {
    grid-template-columns: 1fr;
  }

  .space-panel,
  .trace-panel,
  .solution-panel,
  .share-panel,
  .memory-panel {
    grid-column: 1 / -1;
  }

  .space-steps,
  .trace-sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    gap: 8px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .language-select {
    min-width: 64px;
    max-width: 68px;
    padding: 8px 9px;
  }

  .hero__content {
    padding: 78px 0 120px;
  }

  .hero__copy {
    width: min(100%, 335px);
    font-size: 1rem;
  }

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

  .space-steps,
  .trace-sources,
  .inside-flow {
    grid-template-columns: 1fr;
  }

  .trace-core {
    opacity: 0.46;
    right: -30px;
    bottom: 16px;
  }

  .sprint-step {
    grid-template-columns: 28px 1fr;
  }

  .sprint-step button {
    grid-column: 2;
    justify-self: start;
  }

  .trace-line,
  .trace-node {
    opacity: 0.4;
  }

  h1 {
    font-size: clamp(2.72rem, 11vw, 4rem);
    line-height: 0.96;
    max-width: min(100%, 350px);
  }
}
