/* Find the Friction Assessment, Akinu Systems.
   Dark theme matched to akinusystems.com. */

:root {
  --bg: #0e1a22;
  --navy: #17242d;
  --panel: #1b2b35;
  --panel-2: #22343f;
  --panel-3: #2a3e4a;
  --line: rgba(233, 238, 240, 0.1);
  --line-strong: rgba(233, 238, 240, 0.18);
  --text: #e9eef0;
  --muted: #a9b8c0;
  --dim: #7d8f99;
  --teal: #2b7ea1;
  --teal-deep: #1b546e;
  --sky: #8cc6de;
  --orange: #e8663c;
  --orange-hover: #f07a52;
  --red: #e5604b;
  --amber: #f0b429;
  --green: #4db37a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: 'Archivo', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1160px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(43, 126, 161, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(27, 84, 110, 0.25), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  /* faint dot field, a nod to the website hero */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(140, 198, 222, 0.11) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
  z-index: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--sky);
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sky);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.eyebrow::before {
  content: '';
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

/* ---------- Header ---------- */

.top {
  position: relative;
  z-index: 5;
  padding: 22px 0;
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo__mark {
  height: 34px;
  width: auto;
}

.logo__word {
  height: 20px;
  width: auto;
}

.top__link {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 16px;
  transition: color 0.2s, border-color 0.2s;
}

.top__link:hover {
  color: var(--text);
  border-color: var(--sky);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font: inherit;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 30px rgba(232, 102, 60, 0.28);
}

.btn--primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.btn--primary .btn__arrow {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: -10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--sky);
}

.btn--lg {
  padding: 20px 32px;
  font-size: 1.08rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* ---------- Landing: hero ---------- */

.hero {
  padding: 40px 0 90px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34ch;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__facts li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* The first question, inline in the hero */
.q-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.q-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--dim);
  margin-bottom: 14px;
}

.q-card__meta strong {
  color: var(--sky);
  font-weight: 500;
}

.q-card__q {
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  line-height: 1.25;
  margin: 0 0 22px;
  letter-spacing: -0.015em;
}

.q-card__hint {
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: var(--dim);
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 1.02rem;
  color: var(--text);
  background: rgba(233, 238, 240, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.option:hover {
  border-color: var(--sky);
  background: rgba(140, 198, 222, 0.08);
}

.option:active {
  transform: scale(0.995);
}

.option:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.option__key {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  font-size: 0.8rem;
  color: var(--muted);
  transition: all 0.15s;
}

.option.is-selected {
  border-color: var(--orange);
  background: rgba(232, 102, 60, 0.12);
}

.option.is-selected .option__key {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ---------- Landing: sections ---------- */

.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section--band {
  background: rgba(23, 36, 45, 0.7);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section__head p {
  color: var(--muted);
  font-size: 1.1rem;
}

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

.area {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.area__num {
  color: var(--orange);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.area h3 {
  font-size: 1.3rem;
}

.area p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Report preview on the landing page */
.preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.preview__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.preview__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
}

.preview__list strong {
  display: block;
  font-weight: 500;
  font-size: 1.08rem;
}

.preview__list span {
  color: var(--muted);
  font-size: 0.98rem;
}

.tick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232, 102, 60, 0.15);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.sheet {
  background: #f4f6f6;
  color: #17242d;
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
  position: relative;
}

.sheet--dark {
  background: linear-gradient(180deg, #1f313c, #17242d);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.sheet__top {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--dim);
  margin-bottom: 14px;
}

.sheet__title {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.sheet__title b {
  color: var(--orange);
  font-weight: 500;
  margin-right: 8px;
}

.sheet__label {
  position: absolute;
  top: -12px;
  right: 18px;
  font-size: 0.72rem;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  background: rgba(233, 238, 240, 0.05);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  padding: 14px;
}

.stat--orange {
  border-left-color: var(--orange);
}

.stat__value {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat__value small {
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: 4px;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.35;
}

.stat__working {
  font-size: 0.78rem;
  color: var(--dim);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.sheet__band {
  margin-top: 10px;
  background: #0e1a22;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.sheet__band b {
  color: var(--sky);
  font-weight: 500;
  font-size: 1rem;
}

/* Justin */
.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: center;
}

.founder img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1);
  border: 1px solid var(--line-strong);
}

.founder blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.founder cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.98rem;
}

.final-cta {
  text-align: center;
}

.final-cta p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.footer {
  padding: 44px 0 60px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer p {
  max-width: 640px;
  margin: 0;
}

.footer a {
  color: var(--muted);
}

/* ---------- Quiz ---------- */

.quiz {
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  padding: 10px 0 60px;
}

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

.progress__stage {
  font-size: 0.78rem;
  color: var(--dim);
}

.progress__bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(233, 238, 240, 0.1);
  overflow: hidden;
  margin-bottom: 8px;
}

.progress__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
  border-radius: 4px;
  transition: width 0.35s ease;
}

.progress__stage.is-active {
  color: var(--text);
}

.quiz__body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.quiz__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.quiz__count {
  color: var(--dim);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.quiz__count strong {
  color: var(--sky);
  font-weight: 500;
}

.quiz__lead {
  display: inline-block;
  background: rgba(232, 102, 60, 0.12);
  color: #ffb79e;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.quiz__q {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.quiz__why {
  margin-top: 22px;
  color: var(--dim);
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
}

.quiz__why::before {
  content: 'Why we ask';
  flex: none;
  color: var(--sky);
  font-size: 0.78rem;
  border: 1px solid rgba(140, 198, 222, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
  height: fit-content;
  margin-top: 2px;
}

.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  min-height: 40px;
}

.linkbtn {
  font: inherit;
  font-size: 0.95rem;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 0;
}

.linkbtn:hover {
  color: var(--text);
}

.fade-in {
  animation: fadeIn 0.35s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Gate ---------- */

.gate {
  padding: 30px 0 80px;
}

.gate .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.gate__score {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 26px 0 30px;
}

.ring {
  position: relative;
  width: 168px;
  height: 168px;
  flex: none;
}

.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring__track {
  stroke: rgba(233, 238, 240, 0.1);
}

.ring__value {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ring__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.ring__num {
  font-size: 3rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ring__num small {
  font-size: 1.1rem;
  color: var(--muted);
}

.ring__cap {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.tier-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.bars {
  display: grid;
  gap: 16px;
}

.bar__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.98rem;
  margin-bottom: 7px;
}

.bar__head span:last-child {
  color: var(--muted);
}

.bar__track {
  height: 8px;
  border-radius: 8px;
  background: rgba(233, 238, 240, 0.08);
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  border-radius: 8px;
  width: 0;
  transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.form-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.locked {
  position: relative;
  margin-bottom: 26px;
}

.locked__content {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  opacity: 0.85;
}

.locked__badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.locked__badge span {
  background: rgba(14, 26, 34, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text);
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(14, 26, 34, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.15s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--sky);
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  font-size: 0.8rem;
  color: var(--dim);
  margin: 14px 0 0;
  line-height: 1.5;
}

.form-error {
  color: #ff9a85;
  font-size: 0.9rem;
  margin: 10px 0 0;
}

/* ---------- Results ---------- */

.r-hero {
  padding: 30px 0 70px;
}

.r-hero .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}

.r-hero .ring {
  width: 220px;
  height: 220px;
}

.r-hero .ring__num {
  font-size: 4rem;
}

.r-hero__summary {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 62ch;
}

.r-section {
  padding: 70px 0;
  position: relative;
  z-index: 1;
}

.r-section + .r-section {
  border-top: 1px solid var(--line);
}

.r-num {
  color: var(--orange);
  font-size: 0.9rem;
  margin-right: 10px;
}

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

.headline .stat {
  padding: 22px;
  border-radius: 14px;
  background: var(--panel);
}

.headline .stat__value {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.headline .stat--total {
  background: linear-gradient(160deg, #23404f, #17242d);
  border-left-color: var(--sky);
}

.auto-band {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auto-band > div {
  background: #0b151c;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.auto-band b {
  display: block;
  color: var(--sky);
  font-weight: 500;
  font-size: 1.35rem;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.assume {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  font-size: 0.92rem;
  color: var(--muted);
  background: rgba(233, 238, 240, 0.03);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 16px 20px;
}

.assume label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.assume input,
.assume select {
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 6px 10px;
  width: 90px;
}

.assume select {
  width: auto;
}

.assume__note {
  flex-basis: 100%;
  color: var(--dim);
  font-size: 0.85rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

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

.card__head h3 {
  margin: 0;
}

.card__score {
  font-size: 2.3rem;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
}

.card__score small {
  font-size: 0.95rem;
  color: var(--muted);
}

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

.bottlenecks {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.bn__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.bn__head b {
  font-weight: 500;
}

.bn__track {
  position: relative;
  height: 12px;
  border-radius: 12px;
  background: rgba(233, 238, 240, 0.07);
  overflow: hidden;
}

.bn__spent,
.bn__back {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 12px;
}

.bn__spent {
  background: rgba(140, 198, 222, 0.28);
}

.bn__back {
  background: var(--teal);
}

.bn__sub {
  font-size: 0.88rem;
  color: var(--dim);
  margin-top: 7px;
}

.legend {
  display: flex;
  gap: 22px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 18px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.findings {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.finding {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.finding__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.finding__head h3 {
  margin: 4px 0 0;
}

.finding__area {
  font-size: 0.82rem;
  color: var(--dim);
}

.sev {
  flex: none;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(229, 96, 75, 0.14);
  color: #ff9a85;
}

.sev--mild {
  background: rgba(240, 180, 41, 0.12);
  color: #f6cd6b;
}

.finding__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 30px;
}

.finding__grid h4 {
  font-size: 0.82rem;
  color: var(--sky);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.finding__grid p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.quickwin {
  margin-top: 20px;
  background: rgba(232, 102, 60, 0.1);
  border: 1px solid rgba(232, 102, 60, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.98rem;
}

.quickwin b {
  color: #ffb79e;
  font-weight: 500;
  margin-right: 6px;
}

.more-findings {
  margin-top: 6px;
}

.more-findings summary {
  cursor: pointer;
  color: var(--sky);
  padding: 10px 0;
}

.working-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.working-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  color: var(--muted);
}

.working-list .tick {
  background: rgba(77, 179, 122, 0.15);
  color: var(--green);
}

.method {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.92rem;
}

.method th,
.method td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.method th {
  color: var(--dim);
  font-weight: 500;
  font-size: 0.82rem;
}

.method td {
  color: var(--muted);
}

.method td:first-child {
  color: var(--text);
}

.method-wrap {
  overflow-x: auto;
}

.assumptions {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* The Diagnostic pitch */
.diag {
  background: linear-gradient(150deg, #1d3a49 0%, #17242d 55%, #121e26 100%);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.diag::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 102, 60, 0.18), transparent 70%);
  pointer-events: none;
}

.diag h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.diag p {
  color: var(--muted);
  font-size: 1.08rem;
}

.diag__compare {
  display: grid;
  gap: 12px;
}

.diag__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.diag__row:first-child {
  color: var(--dim);
  font-size: 0.8rem;
  padding-top: 0;
}

.diag__row span:nth-child(2),
.diag__row span:nth-child(3) {
  text-align: right;
  min-width: 96px;
}

.diag__row span:nth-child(3) {
  color: var(--sky);
}

.diag__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.95rem;
}

.diag__facts li::before {
  content: '✓';
  color: var(--orange);
  margin-right: 8px;
}

.note {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 34px;
  align-items: start;
  max-width: 900px;
}

.note img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  border: 1px solid var(--line-strong);
}

.note p {
  color: var(--muted);
}

.note__sig {
  color: var(--text) !important;
  margin-top: 20px;
}

.note__sig small {
  display: block;
  color: var(--dim);
}

.prep {
  max-width: 820px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chip {
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: rgba(233, 238, 240, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.15s;
}

.chip:hover {
  border-color: var(--sky);
}

.chip.is-selected {
  border-color: var(--orange);
  background: rgba(232, 102, 60, 0.14);
}

.prep__q {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.prep__done {
  color: var(--green);
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 140%);
  z-index: 20;
  transition: transform 0.35s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.sticky-cta.is-visible {
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero .wrap,
  .preview,
  .gate .wrap,
  .diag {
    grid-template-columns: 1fr;
  }

  /* On smaller screens the first question sits right under the headline. */
  .hero .wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero__text {
    display: contents;
  }

  .hero .eyebrow { order: 1; align-self: flex-start; }
  .hero h1 { order: 2; margin-bottom: 22px; }
  .hero .q-card { order: 3; }
  .hero__lede { order: 4; margin-top: 28px; max-width: none; }
  .hero__facts { order: 5; margin-top: 4px; }

  /* Gate: the form comes straight after the score, the area bars after the form. */
  .gate .wrap { display: flex; flex-direction: column; gap: 0; }
  .gate__text { display: contents; }
  .gate__text > * { order: 1; }
  .gate .form-card { order: 2; margin-bottom: 36px; }
  .gate .gate__bars { order: 3; }

  .areas,
  .headline {
    grid-template-columns: 1fr 1fr;
  }

  .r-hero .wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .diag {
    padding: 36px 28px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .hero {
    padding: 16px 0 60px;
  }

  .q-card,
  .form-card {
    padding: 22px;
  }

  .section {
    padding: 64px 0;
  }

  .areas,
  .cards,
  .finding__grid,
  .auto-band,
  .field--row {
    grid-template-columns: 1fr;
  }

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

  .founder,
  .note {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .founder img {
    width: 140px;
    height: 140px;
  }

  .gate__score {
    flex-direction: column;
    align-items: flex-start;
  }

  .progress__stage {
    font-size: 0.68rem;
  }

  .top__link {
    display: none;
  }

  .sheet {
    transform: none;
  }

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

  .r-hero .ring {
    width: 180px;
    height: 180px;
  }

  .diag__row span:nth-child(2),
  .diag__row span:nth-child(3) {
    min-width: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 680px) {
  .locked .stats {
    grid-template-columns: 1fr 1fr;
  }

  .locked .stat {
    padding: 10px;
  }

  .locked .stat__value {
    font-size: 1.15rem;
  }
}

.sticky-cta {
  white-space: nowrap;
}

/* Labelled calculations under each headline figure */
.headline {
  grid-template-columns: repeat(2, 1fr);
}

.calc {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.calc__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 6px 0;
}

.calc dt {
  color: var(--muted);
  min-width: 0;
}

.calc dt small {
  display: block;
  color: var(--dim);
  font-size: 0.78rem;
  margin-top: 1px;
}

.calc dd {
  margin: 0;
  color: var(--text);
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.calc__row--sum {
  border-top: 1px dashed var(--line-strong);
  margin-top: 4px;
}

.calc__row--total {
  border-top: 1px solid var(--line-strong);
  margin-top: 4px;
  padding-top: 9px;
}

.calc__row--total dt,
.calc__row--total dd {
  color: var(--text);
  font-weight: 600;
}

.calc__row--total dd:empty {
  display: none;
}

.auto-band__how {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--dim);
}

.bn__sub {
  line-height: 1.5;
}

@media (max-width: 680px) {
  .headline {
    grid-template-columns: 1fr;
  }
}
