/* ============================================================
   SILENOS — Shared Stylesheet
   ============================================================ */

:root {
  --bg: #F4EFE6;
  --bg2: #EDE6D8;
  --ink: #1A1814;
  --muted: #6B6358;
  --terra: #C8793A;
  --terra-d: #A85E26;
  --line: #DAD1C0;
  --card: #FBF8F1;
  --max: 1080px;
  --r: 14px;
  --gap-green: #2DB57A;
  --gap-yellow: #E8A020;
  --gap-red: #D94F4F;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--terra-d); font-weight: 600; }
h1, h2, h3 { line-height: 1.12; font-weight: 650; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(26px, 4vw, 38px); }
p { color: var(--ink); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 60ch; }

/* ---- Navigation ---- */
header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(244,239,230,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.brand svg { display: block; }
.navlinks { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.navlinks a:hover { color: var(--ink); }
@media (max-width: 720px) { .navlinks { display: none; } }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--ink); color: var(--bg);
  padding: 11px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--ink);
  transition: .2s; cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.terra { background: var(--terra); border-color: var(--terra); color: #fff; }
.btn.terra:hover { background: transparent; color: var(--terra-d); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---- Hero ---- */
.hero {
  padding: 72px 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding: 48px 0 24px; } }
.pillars { display: flex; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.pill { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }
.cta-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* ---- Delta SVG ---- */
.mark { display: flex; justify-content: center; padding: 8px 0; }
.mark svg { width: 100%; max-width: 470px; height: auto; }
.gridline { stroke: #DAD1C0; stroke-width: 1; opacity: .45; }
.griddot { fill: #CFC6B4; opacity: .6; }
.tri-edge { fill: none; stroke: var(--terra); stroke-width: 4; stroke-dasharray: 14 14; opacity: .7; transition: .5s; }
.spoke { stroke: var(--terra); stroke-width: 2; stroke-dasharray: 3 12; opacity: .4; }
.mid { fill: var(--terra); }
.vnode { fill: var(--card); stroke: var(--terra-d); stroke-width: 4; }
.vt { font-size: 30px; font-weight: 700; letter-spacing: .06em; fill: var(--ink); }
.vt-terra { fill: var(--terra-d); }
.vs { font-size: 20px; font-weight: 500; fill: var(--muted); letter-spacing: .01em; }
.cnode-outer { fill: none; stroke: var(--line); stroke-width: 2.5; opacity: .8; }
.cnode { fill: #fff; stroke: var(--terra); stroke-width: 4; }
.c-pct { font-size: 58px; font-weight: 700; fill: var(--terra-d); }
.c-lab { font-size: 24px; font-weight: 700; fill: var(--ink); letter-spacing: .12em; }
.mark:hover .tri-edge { opacity: 1; stroke: var(--terra-d); stroke-dashoffset: 28; }
.markcap { text-align: center; font-size: 12px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 14px; font-family: ui-monospace, monospace; }

/* ---- Sections ---- */
section { padding: 64px 0; border-top: 1px solid var(--line); }
.sec-head { max-width: 60ch; margin-bottom: 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.num { font-family: ui-monospace, monospace; color: var(--terra-d); font-size: 13px; font-weight: 700; }

/* ---- Design Partner Band ---- */
.partner {
  background: var(--ink); color: var(--bg); border-radius: 24px; padding: 48px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center;
}
@media (max-width: 820px) { .partner { grid-template-columns: 1fr; padding: 32px; } }
.partner h2 { color: var(--bg); }
.partner .lead { color: #C9C2B4; }
.slots { display: flex; gap: 10px; margin-top: 18px; }
.slot { flex: 1; text-align: center; border: 1px solid #3a352c; border-radius: 12px; padding: 14px 8px; }
.slot.open { border-color: var(--terra); background: rgba(200,121,58,.12); }
.slot b { display: block; font-size: 22px; color: var(--bg); }
.slot span { font-size: 11px; color: #9c9484; letter-spacing: .08em; text-transform: uppercase; }

/* ---- Assessment Teaser ---- */
.assess {
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border: 1px solid var(--line); border-radius: 24px;
  padding: 44px; text-align: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 22px 0 28px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; color: var(--muted); }

/* ---- Founders ---- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .founders { grid-template-columns: 1fr; } }
.f-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.av {
  width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(135deg, var(--terra), var(--terra-d));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .02em; flex-shrink: 0;
}
.f-card h3 { font-size: 19px; }
.f-title { font-size: 12.5px; color: var(--terra-d); font-weight: 600; margin-top: 4px; line-height: 1.35; }
.f-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; line-height: 1.5; }
.f-link { font-size: 13px; font-weight: 600; color: var(--ink); }
.f-link:hover { color: var(--terra-d); }

/* ---- Services expandable catalog ---- */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 820px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: 18px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.svc-card:hover { border-color: rgba(200,121,58,.35); box-shadow: 0 4px 20px rgba(200,121,58,.07); }
.svc-card[open] { border-color: var(--terra); box-shadow: 0 8px 32px rgba(200,121,58,.12); }

.svc-summary {
  list-style: none; cursor: pointer; user-select: none;
  padding: 24px 24px 20px; outline: none;
  display: flex; flex-direction: column; gap: 0; flex: 1;
}
.svc-summary::-webkit-details-marker { display: none; }
.svc-summary::marker { content: ''; }

.svc-summary-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px;
}
.svc-num {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  background: rgba(200,121,58,.1);
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, monospace; font-size: 13px; font-weight: 800;
  color: var(--terra); letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.svc-card[open] .svc-num { background: var(--terra); color: #fff; }

.svc-arrow {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted);
  transition: background .2s, color .2s, transform .25s, border-color .2s;
}
.svc-card[open] .svc-arrow { background: var(--terra); color: #fff; border-color: var(--terra); transform: rotate(180deg); }

.svc-title { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 7px; line-height: 1.2; }
.svc-tags {
  font-size: 11.5px; color: var(--muted); font-weight: 500; line-height: 1.4;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.svc-tag {
  background: var(--bg2); border-radius: 999px; padding: 2px 9px;
  font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .03em;
}

.svc-body {
  border-top: 1px solid var(--line);
  padding: 20px 24px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 500px) { .svc-body { grid-template-columns: 1fr; } }
.svc-body p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.7; }

.svc-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.svc-list li {
  font-size: 13px; color: var(--ink);
  padding: 9px 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 9px;
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.45;
}
.svc-list li::before {
  content: '→'; color: var(--terra); font-weight: 800; font-size: 11px; margin-top: 2px; flex-shrink: 0;
}

/* ---- Governance ---- */
.gov { display: flex; flex-wrap: wrap; gap: 10px; }
.gov span { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 8px 12px; font-size: 13px; color: var(--muted); }

/* ---- Footer ---- */
footer { padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footgrid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }

/* ---- Brand mark ---- */
.brand-mark {
  display: inline-block; width: 25px; height: 30px; flex: none;
}

/* ---- Founder compact cards ---- */
.f-compact-header { display: flex; gap: 14px; align-items: flex-start; }
.f-compact-info { flex: 1; min-width: 0; }
.f-compact-info h3 { font-size: 17px; margin-bottom: 2px; }
.f-compact-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.f-compact-tag {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); background: var(--bg2); border-radius: 5px; padding: 2px 7px;
}
.f-expand { border-top: 1px solid var(--line); margin-top: 16px; }
.f-expand > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--terra-d);
  padding: 12px 0; outline: none;
}
.f-expand > summary::-webkit-details-marker { display: none; }
.f-expand > summary::marker { content: ''; }
.f-expand-icon { font-size: 12px; transition: transform .22s; display: inline-block; }
.f-expand[open] > summary .f-expand-icon { transform: rotate(180deg); }
.f-bio-body { padding-bottom: 4px; }
.f-bio-body p { font-size: 14px; color: var(--muted); margin: 0 0 10px; line-height: 1.6; }
.f-bio-body p:last-child { margin-bottom: 8px; }

/* ============================================================
   ASSESSMENT PAGE — Redesigned
   ============================================================ */

.assess-page { background: var(--bg); min-height: 100vh; }

.assess-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 24px 120px;
}

/* Step trail */
.step-trail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.step-trail::-webkit-scrollbar { display: none; }

.trail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 48px;
  position: relative;
}
.trail-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(50% + 14px);
  width: calc(100% - 28px);
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.trail-item.done:not(:last-child)::after { background: var(--terra); }

.trail-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--muted);
  position: relative; z-index: 1;
  transition: all .2s;
  flex-shrink: 0;
}
.trail-item.done .trail-dot { background: var(--terra); border-color: var(--terra); color: #fff; }
.trail-item.active .trail-dot {
  background: var(--ink); border-color: var(--ink); color: var(--bg);
  box-shadow: 0 0 0 4px rgba(26,24,20,.1);
}
.trail-label {
  font-size: 8px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); margin-top: 5px; text-align: center;
  white-space: nowrap; opacity: .55; line-height: 1.3;
}
.trail-item.active .trail-label { color: var(--ink); opacity: 1; }
.trail-item.done .trail-label { color: var(--terra-d); opacity: .9; }

/* Step animation */
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
#step-container { animation: stepIn .22s ease; }

/* Section header */
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-badge {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg); font-size: 17px; font-weight: 800;
  flex-shrink: 0;
}
.section-badge.terra { background: var(--terra); }
.section-header-text .eyebrow { margin-bottom: 4px; display: block; }
.section-header-text h2 { font-size: clamp(19px, 2.8vw, 24px); margin-bottom: 5px; }
.section-header-text p { color: var(--muted); font-size: 14px; margin: 0; }

/* Scale key strip */
.scale-strip {
  display: flex;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  gap: 4px 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.s-item { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); }
.s-num {
  width: 20px; height: 20px; border-radius: 5px;
  background: var(--card); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--terra-d);
}

/* Question card */
.q-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px 18px;
  margin-bottom: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.q-card.answered {
  border-color: rgba(200,121,58,.3);
  box-shadow: 0 2px 10px rgba(200,121,58,.07);
}
.q-card-top {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px;
}
.q-num {
  font-family: ui-monospace, monospace;
  font-size: 10px; font-weight: 700;
  color: #fff; background: var(--terra);
  border-radius: 5px; padding: 2px 6px;
  flex-shrink: 0; margin-top: 3px;
}
.q-text { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.5; }

/* Rating selector */
.rating-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}
.rating-opt {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--bg); border: 2px solid var(--line);
  border-radius: 10px; padding: 10px 3px 8px;
  cursor: pointer; transition: all .13s; user-select: none;
}
.rating-opt:hover { border-color: var(--terra); background: rgba(200,121,58,.06); }
.rating-opt.selected { background: var(--terra); border-color: var(--terra-d); }
.r-num { font-size: 19px; font-weight: 800; color: var(--muted); line-height: 1; }
.rating-opt:hover .r-num { color: var(--terra-d); }
.rating-opt.selected .r-num { color: #fff; }
.r-lab {
  font-size: 8.5px; font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase; color: var(--muted);
  text-align: center; line-height: 1.2;
}
.rating-opt.selected .r-lab { color: rgba(255,255,255,.75); }
.rating-opt:hover .r-lab { color: var(--terra-d); }

@media (max-width: 480px) {
  .r-lab { display: none; }
  .rating-opt { padding: 10px 2px; }
  .r-num { font-size: 17px; }
}

/* Notes */
.notes-block { margin-top: 20px; }
.notes-block label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .07em;
}
.notes-area {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--ink); font-size: 14px;
  padding: 12px 14px; resize: vertical; min-height: 80px;
  font-family: inherit; line-height: 1.55; transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.notes-area:focus {
  outline: none; border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(200,121,58,.1);
}

/* About-you / intro form */
.about-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px 30px;
}
.field-group { margin-bottom: 18px; }
.field-group:last-child { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field-label .req { color: var(--terra); }
.field-input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); font-size: 14px;
  padding: 10px 13px; font-family: inherit; transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.field-input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(200,121,58,.1); }
.field-input.error { border-color: var(--gap-red); }

/* Use-case cards */
.uc-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px; margin-bottom: 14px;
}
.uc-card-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.uc-badge {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.uc-card-head h3 { font-size: 15px; margin: 0; }
.uc-criteria-label {
  font-size: 11px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 7px; margin-top: 14px;
}
.uc-criteria-label:first-of-type { margin-top: 4px; }

/* Fixed bottom nav */
.form-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(244,239,230,.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  z-index: 20;
}
.form-nav-inner {
  max-width: 720px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.form-nav .btn { min-width: 120px; text-align: center; }

/* Validation error */
.form-error {
  background: rgba(217,79,79,.07);
  border: 1px solid rgba(217,79,79,.22);
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; color: #B03030; margin-bottom: 18px;
}

/* Submit spinner */
.submit-spinner {
  display: none; width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite;
  vertical-align: middle; margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Review step */
.review-hero {
  background: var(--ink); border-radius: 20px; padding: 30px;
  margin-bottom: 18px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.review-score-big {
  font-size: 52px; font-weight: 800;
  font-family: ui-monospace, monospace; color: var(--terra); line-height: 1; flex-shrink: 0;
}
.review-score-big span { font-size: 22px; color: rgba(255,255,255,.25); }
.review-meta h3 { color: var(--bg); font-size: 17px; margin-bottom: 3px; }
.review-meta p { color: #C9C2B4; font-size: 13px; margin: 0; }

.dim-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
@media (max-width: 480px) { .dim-preview { grid-template-columns: 1fr; } }
.dim-pill {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 13px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.dim-pill-name { font-size: 12px; font-weight: 500; color: var(--ink); }
.dim-pill-score { font-family: ui-monospace, monospace; font-weight: 700; font-size: 13px; }

.status-pill { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.pill-gap { background: rgba(217,79,79,.12); color: var(--gap-red); }
.pill-dev { background: rgba(232,160,32,.12); color: #B87B00; }
.pill-ready { background: rgba(45,181,122,.12); color: #0E8A55; }

/* Intro step styling */
.intro-step h2 { font-size: clamp(22px, 3.5vw, 30px); margin-bottom: 12px; }
.intro-step p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.intro-meta {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px;
}
.intro-chip {
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
}

/* ============================================================
   RESULTS PAGE
   ============================================================ */

.results-page { min-height: 100vh; }
.results-wrap { max-width: 900px; margin: 0 auto; padding: 40px 24px 80px; }

.score-hero {
  background: var(--ink); border-radius: 24px; padding: 36px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-bottom: 28px;
}
@media (max-width: 600px) { .score-hero { grid-template-columns: 1fr; padding: 28px 24px; } }
.score-hero h2 { color: var(--bg); margin-bottom: 6px; font-size: clamp(20px, 3vw, 28px); }
.score-hero .sub { color: #C9C2B4; font-size: 14px; }
.score-badge {
  background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.14);
  border-radius: 18px; padding: 18px 28px; text-align: center; min-width: 140px;
}
.score-num { font-size: 52px; font-weight: 800; line-height: 1; font-family: ui-monospace, monospace; }
.score-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #9c9484; margin-top: 4px; }
.score-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-top: 8px; display: inline-block; }
.status-gap { background: rgba(217,79,79,.25); color: #FF8A8A; }
.status-dev { background: rgba(232,160,32,.25); color: #F5C560; }
.status-ready { background: rgba(45,181,122,.25); color: #5FDFAB; }

.results-section-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); font-weight: 700; margin: 0 0 14px;
}

.dim-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.dim-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 12px 16px; border-bottom: 2px solid var(--line); background: var(--bg2); }
.dim-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.dim-table tr:last-child td { border-bottom: none; }
.dim-bar-wrap { display: flex; align-items: center; gap: 8px; }
.dim-bar-outer { background: var(--line); border-radius: 999px; height: 8px; flex: 1; min-width: 60px; }
.dim-bar-inner { height: 100%; border-radius: 999px; transition: width .5s ease; }
.bar-gap { background: var(--gap-red); }
.bar-dev { background: var(--gap-yellow); }
.bar-ready { background: var(--gap-green); }
.dim-score-val { font-family: ui-monospace, monospace; font-weight: 700; font-size: 13px; min-width: 28px; }

.charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
@media (max-width: 700px) { .charts-row { grid-template-columns: 1fr; } }
.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.chart-card h3 { font-size: 16px; margin-bottom: 4px; }
.chart-card .chart-sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

.next-steps { margin-bottom: 28px; }
.next-steps h2 { font-size: clamp(20px, 3vw, 26px); margin-bottom: 6px; }
.next-steps .sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.next-step-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 20px; margin-bottom: 10px;
}
.next-step-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(200,121,58,.12); color: var(--terra-d);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0; font-weight: 700;
}
.next-step-text h4 { font-size: 15px; margin: 0 0 4px; }
.next-step-text p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

.results-cta {
  background: linear-gradient(135deg, var(--terra), var(--terra-d));
  border-radius: 24px; padding: 40px; text-align: center; color: #fff;
}
.results-cta h2 { color: #fff; margin-bottom: 10px; }
.results-cta p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.results-cta .btn { background: #fff; color: var(--terra-d); border-color: #fff; }
.results-cta .btn:hover { background: transparent; color: #fff; }
.results-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.quadrant-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 10px; }
.q-label { font-size: 10px; padding: 4px 8px; border-radius: 6px; text-align: center; font-weight: 600; }
.q-tl { background: rgba(45,181,122,.1); color: #0E8A55; }
.q-tr { background: rgba(200,121,58,.1); color: var(--terra-d); }
.q-bl { background: rgba(107,99,88,.1); color: var(--muted); }
.q-br { background: rgba(232,160,32,.1); color: #B87B00; }

.loading-state { text-align: center; padding: 80px 24px; color: var(--muted); }
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--line); border-top-color: var(--terra);
  border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 20px;
}
