@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=DM+Sans:wght@300;400;500;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #0d0e11;
  --bg-card: #13151b;
  --bg-hover: #1a1d24;
  --bg-input: #1a1d24;
  --bg-sel: #171920;
  --text: #ffffff;
  --text-dim: #d8d8d8;
  --text-muted: #a8a8a8;
  --text-faint: #989898;
  --amber: #d6b089;
  --amber-dim: rgba(214, 176, 137, 0.36);
  --amber-bg: rgba(214, 176, 137, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-sel: #d6b089;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --site-content: 720px;
  --site-wide: 1120px;
  --site-gutter-total: clamp(40px, 9vw, 72px);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.78;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: fixed;
  z-index: 999;
}

a {
  color: inherit;
}

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

button:disabled,
[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.68;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  align-items: center;
  background: rgba(13, 14, 17, 0.96);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding: 18px max(20px, calc((100vw - 1120px) / 2)) 16px;
  position: relative;
  z-index: 180;
}

.brand {
  align-items: baseline;
  display: inline-flex;
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 33px;
  font-style: italic;
  font-weight: 600;
  gap: 0.24em;
  letter-spacing: 0;
  line-height: 1.08;
  text-decoration: none;
}

.brand-mark {
  display: none;
}

.brand-accent {
  color: var(--amber);
  font-style: italic;
  font-weight: 600;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-end;
  margin-left: auto;
}

.nav a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--amber);
}

.hero {
  background: var(--bg);
  color: var(--text);
  min-height: auto;
  padding: clamp(76px, 10vw, 130px) 0 clamp(66px, 8vw, 104px);
  position: relative;
}

.hero::before {
  background: linear-gradient(to bottom, rgba(214, 176, 137, 0.14), transparent 62%);
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(calc(100% - var(--site-gutter-total)), var(--site-wide));
}

.hero-tight {
  padding-bottom: clamp(52px, 7vw, 84px);
}

.hero-inner {
  display: grid;
  gap: clamp(38px, 6vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(290px, 0.65fr);
  margin: 0 auto;
  width: min(calc(100% - var(--site-gutter-total)), var(--site-wide));
}

.home-page .hero-inner {
  gap: clamp(34px, 4vw, 48px);
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
}

.hero-copy {
  align-self: center;
  max-width: 760px;
  min-width: 0;
}

.hero-note {
  align-self: center;
  min-width: 0;
  padding: 0;
}

.home-page .hero-note {
  margin-top: clamp(22px, 3vw, 44px);
}

.hero-note p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.78;
}

.hero-note p + p {
  margin-top: 14px;
}

.mechanism-board {
  align-self: center;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mechanism-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  min-height: 126px;
  padding: 22px;
}

.mechanism-node strong {
  color: var(--amber);
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
}

.mechanism-node span {
  color: var(--text-dim);
  display: block;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 12px;
}

.eyebrow {
  color: var(--text-dim);
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1.5;
  margin: 0 0 22px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  margin: 0;
}

h1,
h2 {
  color: var(--amber);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

h1 {
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.02;
  max-width: 860px;
  overflow-wrap: break-word;
}

.title-quote {
  display: inline-block;
  font-size: 0.5em;
  font-style: normal;
  line-height: 1;
  margin: 0 0.04em;
  vertical-align: 0.58em;
}

h2 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
}

h3 {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.18;
}

p {
  margin: 0;
}

.lead {
  color: var(--text);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.55;
  margin-top: 24px;
  max-width: 640px;
}

.quote {
  border-left: 1px solid var(--amber-dim);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(25px, 3.4vw, 38px);
  font-style: italic;
  line-height: 1.34;
  margin-top: 44px;
  max-width: 720px;
  padding-left: 22px;
}

.hero-note .quote {
  border-left: 3px solid var(--amber);
  color: var(--text-dim);
  font-size: clamp(20px, 2.5vw, 29px);
  line-height: 1.42;
  margin-top: 0;
  padding-left: 22px;
}

.hero-note .quote p {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.hero-note .quote.is-writing {
  border-left-color: rgba(214, 176, 137, 0.72);
}

.hero-note .quote [data-hero-quote-text] {
  white-space: pre-wrap;
}

.hero-note .quote [data-hero-quote-signature] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 900ms ease, text-shadow 1200ms ease, transform 900ms ease;
}

.hero-note .quote.is-writing [data-hero-quote-signature] {
  opacity: 0;
  transform: translateY(6px);
}

.hero-note .quote.is-signed [data-hero-quote-signature] {
  color: var(--amber);
  text-shadow: 0 0 22px rgba(214, 176, 137, 0.24);
}

.hero-quote-char {
  opacity: 0;
  text-shadow: 0 0 10px rgba(214, 176, 137, 0.28);
  transition: opacity 760ms ease, text-shadow 1100ms ease;
}

.hero-quote-char.is-visible {
  opacity: 1;
  text-shadow: 0 0 0 rgba(214, 176, 137, 0);
}

.quote footer {
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.08em;
  margin-top: 18px;
  text-transform: uppercase;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-dim);
  display: inline-flex;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.4;
  padding: 9px 12px;
  text-transform: uppercase;
}

.section {
  padding: clamp(74px, 8vw, 108px) 0;
}

.section-dark {
  background: #0b0c0f;
  border-bottom: 1px solid var(--border-soft);
  border-top: 1px solid var(--border-soft);
}

.home-page .topbar,
.home-page .section-dark,
.home-page .footer {
  border: 0;
}

.home-page .hero::before {
  content: none;
}

.section-inner {
  margin: 0 auto;
  width: min(calc(100% - var(--site-gutter-total)), var(--site-wide));
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 34px;
  justify-content: space-between;
}

.section-heading > p {
  color: var(--text-dim);
  max-width: 430px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card,
.phase-card,
.pattern-card,
.price-card,
.question,
.result-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.card,
.phase-card,
.pattern-card,
.price-card {
  padding: 28px;
}

.card p,
.phase-card p,
.pattern-card p,
.price-card p,
.muted {
  color: var(--text-dim);
}

.card h3 + p,
.phase-card p,
.pattern-card p,
.price-card p {
  margin-top: 12px;
}

.mechanisms-grid .card h3 + p,
.steps-list .card h3 + p {
  color: var(--text);
}

.pattern-card-heat {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.pattern-card-heat::before {
  background: radial-gradient(circle at 82% 0%, rgba(214, 176, 137, var(--heat-glow, 0.04)), transparent 54%),
    linear-gradient(180deg, rgba(214, 176, 137, var(--heat-wash, 0.02)), rgba(214, 176, 137, 0));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.pattern-card-heat > * {
  position: relative;
  z-index: 1;
}

.heat-1 {
  --heat-glow: 0.025;
  --heat-wash: 0.012;
}

.heat-2 {
  --heat-glow: 0.045;
  --heat-wash: 0.018;
}

.heat-3 {
  --heat-glow: 0.07;
  --heat-wash: 0.026;
}

.heat-4 {
  --heat-glow: 0.105;
  --heat-wash: 0.038;
}

.heat-5 {
  --heat-glow: 0.145;
  --heat-wash: 0.052;
}

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

.pattern-head .eyebrow {
  margin: 0;
  min-width: 0;
}

.pattern-heat {
  align-items: flex-end;
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 2px;
  line-height: 1;
  padding-top: 1px;
}

.pattern-stars {
  color: var(--amber);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 16px rgba(214, 176, 137, 0.2);
}

.step-card {
  border-left: 3px solid var(--amber);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.step-card::before {
  background: linear-gradient(90deg, rgba(214, 176, 137, 0.16), rgba(214, 176, 137, 0.04));
  content: "";
  inset: 0 auto 0 0;
  pointer-events: none;
  position: absolute;
  width: var(--step-share, 0%);
  z-index: 0;
}

.step-card > * {
  position: relative;
  z-index: 1;
}

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

.step-share {
  color: var(--amber);
  flex-shrink: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.cta-sphere-layout {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cta-panel {
  max-width: 520px;
}

.cta-panel .lead {
  margin: 20px 0 32px;
}

.cta-panel .btn {
  font-size: 15px;
  padding: 18px 40px;
}

.cta-panel .muted {
  margin-top: 16px;
}

.cta-sphere-layout .verbatim-sphere {
  height: clamp(500px, 44vw, 640px);
  margin-top: 0;
  min-width: 0;
}

.verbatim-sphere {
  height: clamp(560px, 64vw, 760px);
  margin-top: 42px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.verbatim-canvas,
.verbatim-labels {
  inset: 0;
  position: absolute;
}

.verbatim-canvas {
  height: 100%;
  width: 100%;
}

.verbatim-labels {
  pointer-events: none;
}

.verbatim-label {
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  left: 0;
  letter-spacing: 0;
  line-height: 1.25;
  max-width: min(190px, 36vw);
  overflow: hidden;
  position: absolute;
  text-overflow: ellipsis;
  text-shadow: 0 1px 14px rgba(13, 14, 17, 0.9);
  top: 0;
  transform-origin: center;
  transition: color 180ms ease, opacity 180ms ease;
  white-space: nowrap;
  will-change: transform, opacity;
}

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

.verbatim-focus {
  background: radial-gradient(ellipse at center, rgba(11, 12, 15, 0.78) 0%, rgba(11, 12, 15, 0.52) 48%, rgba(11, 12, 15, 0) 74%);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(24px, 4.2vw, 48px);
  font-style: italic;
  font-weight: 500;
  left: 50%;
  line-height: 1.12;
  margin: 0;
  max-width: 90%;
  padding: 22px 34px;
  pointer-events: none;
  position: absolute;
  text-align: center;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.92);
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
  width: min(600px, 90%);
  z-index: 500;
}

.list {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
}

.list li {
  color: var(--text);
  list-style: none;
  padding-left: 24px;
  position: relative;
}

.list li::before {
  color: var(--amber);
  content: "+";
  font-weight: 700;
  left: 0;
  position: absolute;
}

.danger-list li::before {
  content: "!";
}

.button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  align-items: center;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.08em;
  line-height: 1.1;
  min-height: 48px;
  padding: 14px 22px;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--amber);
  border: 1px solid var(--amber);
  color: var(--bg);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--amber-dim);
  color: var(--amber);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--amber-dim);
  color: var(--amber);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  opacity: 0.9;
}

.btn-full {
  width: 100%;
}

.notice {
  background: var(--amber-bg);
  border: 1px solid var(--amber-dim);
  border-left: 3px solid var(--amber);
  border-radius: 2px;
  color: var(--text);
  margin-top: 22px;
  padding: 18px;
}

.notice.danger {
  border-color: #8a3b12;
  border-left-color: #b45309;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.question legend {
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  min-height: 50px;
  padding: 13px 14px;
  width: 100%;
}

.hp-field {
  height: 1px !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 1px !important;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.consent {
  align-items: flex-start;
  color: var(--text-dim);
  display: flex;
  font-size: 14px;
  gap: 9px;
}

.consent input {
  margin-top: 7px;
}

.diagnostic {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.diagnostic-progress .eyebrow {
  margin-bottom: 8px;
}
.question {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.question[hidden] {
  display: none;
}

.question.is-active {
  box-shadow: var(--shadow);
}

.question legend {
  color: var(--amber);
  font-family: var(--serif);
  font-size: clamp(25px, 3.5vw, 38px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  padding: 0;
  text-transform: none;
}

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

.option {
  align-items: flex-start;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  gap: 11px;
  padding: 18px 20px;
}

.option:hover {
  border-color: var(--amber-dim);
}

.option:has(input:checked) {
  background: var(--bg-sel);
  border-color: var(--border-sel);
}
.diagnostic-controls .btn-primary {
  justify-self: end;
  min-width: min(100%, 240px);
}

.diagnostic-controls .btn-outline {
  min-width: 150px;
}

.diagnostic-page .topbar,
.diagnostic-page .footer {
  border: 0;
}
.diagnostic-intro .lead {
  color: var(--text);
  font-size: clamp(21px, 2.6vw, 29px);
  line-height: 1.52;
  margin-top: 24px;
  max-width: 640px;
}
.diagnostic-page .diagnostic-shell {
  margin: 0;
  max-width: none;
}

.diagnostic-page .diagnostic-progress {
  align-items: start;
  gap: 16px;
  grid-template-columns: 1fr;
}

.diagnostic-page .diagnostic-progress .eyebrow {
  margin-bottom: 10px;
}

.diagnostic-page .diagnostic-step {
  font-size: clamp(28px, 3.4vw, 42px);
}

.diagnostic-page .diagnostic-progress-track {
  background: rgba(255, 255, 255, 0.07);
  width: 100%;
}

.diagnostic-page .diagnostic {
  margin-top: clamp(28px, 4vw, 42px);
  min-height: 390px;
}

.diagnostic-page .question {
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: 22px;
  padding: 0;
}

.diagnostic-page .question.is-active {
  box-shadow: none;
}

.diagnostic-page .question legend {
  color: var(--text);
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.12;
  max-width: 760px;
}

.diagnostic-page .options {
  gap: 12px;
}

.diagnostic-page .option {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.09);
  color: var(--text);
  gap: 14px;
  min-height: 66px;
  padding: 17px 18px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.diagnostic-page .option input {
  appearance: none;
  border: 1px solid var(--amber-dim);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 12px;
  margin: 0;
  width: 12px;
}

.diagnostic-page .option:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--amber-dim);
}

.diagnostic-page .option:has(input:checked) {
  background: rgba(214, 176, 137, 0.13);
  border-color: var(--amber);
  transform: translateX(3px);
}

.diagnostic-page .option:has(input:checked) input {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(214, 176, 137, 0.14);
}

.diagnostic-page .diagnostic-error {
  color: var(--amber);
  margin-top: 8px;
  min-height: 26px;
}

.diagnostic-page .diagnostic-controls {
  border-top: 1px solid var(--border);
  grid-template-columns: 150px minmax(0, 1fr);
  margin-top: 14px;
  padding-top: 20px;
}

.diagnostic-page .diagnostic-controls .btn-primary {
  min-width: min(100%, 260px);
}
.diagnostic-page .result-box.is-visible {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}
.diagnostic-page .diagnostic-stage {
  padding-top: clamp(62px, 8vw, 112px);
}

.diagnostic-page .diagnostic-stage-inner {
  align-items: start;
  gap: clamp(48px, 7vw, 92px);
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1fr);
}

.diagnostic-page .diagnostic-intro {
  padding-top: 10px;
}

.diagnostic-page .diagnostic-intro h1 {
  max-width: 620px;
}

.diagnostic-page .diagnostic-intro .lead {
  max-width: 540px;
}

.diagnostic-page .diagnostic-facts {
  background: transparent;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.diagnostic-page .diagnostic-facts span {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  min-height: 0;
  padding: 9px 11px;
}

.diagnostic-page .diagnostic-note {
  border-left-color: rgba(214, 176, 137, 0.7);
  margin-top: 34px;
}

.diagnostic-page .diagnostic-panel {
  background: transparent;
  border: 0;
  border-left: 3px solid var(--amber);
  box-shadow: none;
  overflow: visible;
  padding: 0 0 0 clamp(28px, 4vw, 48px);
}

.diagnostic-page .diagnostic-panel::before {
  content: none;
}

.diagnostic-page .diagnostic-progress {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

.diagnostic-page .diagnostic-progress-track {
  height: 2px;
}

.diagnostic-page .diagnostic {
  margin-top: 34px;
  min-height: 0;
}

.diagnostic-page .question legend {
  color: var(--amber);
  font-size: clamp(34px, 4.5vw, 58px);
  max-width: 850px;
}

.diagnostic-page .options {
  background: var(--border);
  gap: 1px;
  margin-top: 8px;
}

.diagnostic-page .option {
  background: var(--bg);
  border: 0;
  color: var(--text-dim);
  min-height: 68px;
  padding: 18px 20px;
}

.diagnostic-page .option:hover {
  background: #101116;
  color: var(--text);
}

.diagnostic-page .option:has(input:checked) {
  background: rgba(214, 176, 137, 0.12);
  color: var(--text);
  transform: none;
}

.diagnostic-page .diagnostic-controls {
  border-top: 0;
  grid-template-columns: 150px minmax(0, 1fr);
  padding-top: 4px;
}

.diagnostic-page .diagnostic-controls .btn-primary {
  justify-self: end;
}

.diagnostic-page .diagnostic-email {
  background: #0b0c0f;
}

.diagnostic-page .diagnostic-email-form {
  background: transparent;
  border-left: 3px solid var(--amber);
  border-radius: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 0;
  padding: 0 0 0 28px;
}
.result-box.is-visible {
  display: block;
}
.phase-card {
  display: grid;
  gap: 16px;
}

.phase-number {
  align-items: center;
  border: 1px solid var(--amber-dim);
  border-radius: 2px;
  color: var(--amber);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  width: 44px;
}

.phase-card[data-phase="3"] {
  border-color: var(--amber-dim);
}

.pattern-card {
  display: grid;
  gap: 12px;
}

.pattern-meta {
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pattern-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-top: 12px;
}

.pattern-detail summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  list-style: none;
  padding: 20px 22px;
}

.pattern-detail summary::-webkit-details-marker {
  display: none;
}

.pattern-detail summary span:first-child {
  color: var(--amber);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pattern-detail summary strong {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.1;
}

.pattern-detail summary small {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pattern-detail-body {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 17px;
  padding: 22px;
}

.verbatim {
  border-left: 1px solid var(--amber-dim);
  color: var(--text-dim);
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
  line-height: 1.42;
  padding-left: 16px;
}
.price-card {
  display: grid;
  gap: 16px;
}

.price {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 52px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.price-compact {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  margin: 12px 0;
}

.status {
  color: var(--text-dim);
  font-size: 14px;
  min-height: 24px;
}

.autodiag-v2 {
  background: #0b0c0f;
}

.autodiag-tool {
  padding: clamp(24px, 3vw, 36px) 0 clamp(54px, 6vw, 78px);
}

.autodiag-shell {
  --autodiag-columns: 330px 330px minmax(505px, 1fr);
  margin: 0 auto;
  width: min(calc(100% - var(--site-gutter-total)), 1280px);
}

.autodiag-command {
  align-items: end;
  display: grid;
  gap: clamp(24px, 4vw, 64px);
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: clamp(310px, 39vh, 470px);
}

.autodiag-title-block {
  max-width: 900px;
  padding: 0;
}

.autodiag-title-block h1 {
  font-size: clamp(38px, 4.4vw, 62px);
}

.text-white {
  color: #fff;
}

.autodiag-title-block p:not(.eyebrow) {
  color: var(--text);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  margin-top: 18px;
  max-width: 760px;
}

.autodiag-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.autodiag-hero-actions .btn {
  white-space: nowrap;
}
.autodiag-workspace {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: var(--autodiag-columns);
  margin-top: clamp(32px, 4vw, 54px);
}

.autodiag-table-actions {
  display: grid;
  gap: 14px;
  grid-template-columns: var(--autodiag-columns);
  margin-top: 14px;
}

.autodiag-table-actions .btn {
  min-height: 52px;
  width: 100%;
}

.autodiag-board-card,
.autodiag-phase-panel,
.autodiag-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.autodiag-phase-panel {
  height: auto;
  padding: 10px 10px 14px;
  position: sticky;
  top: 14px;
}

.autodiag-page .autodiag-panel-head {
  display: none;
}

.autodiag-panel-head {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.autodiag-panel-head .eyebrow {
  margin: 0;
}

.autodiag-panel-head a {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.autodiag-board-card {
  height: var(--autodiag-panel-height, auto);
  min-width: 0;
  overflow: auto;
  padding: 10px 10px 14px;
}
.autodiag-board-head .eyebrow {
  margin-bottom: 8px;
}
.auto-phase-rail {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.auto-phase-card,
.auto-head-cell,
.auto-cell,
.auto-check-cell {
  background: rgba(13, 14, 17, 0.76);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-dim);
}

.auto-phase-card,
.auto-head-cell,
.auto-cell {
  cursor: pointer;
  min-width: 0;
  text-align: left;
}

.auto-phase-card {
  display: grid;
  gap: 4px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 78px;
  padding: 11px;
  position: relative;
}

.auto-phase-card span,
.auto-head-cell span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.auto-phase-card strong,
.auto-head-cell strong {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.08;
}

.auto-phase-card .auto-phase-number {
  align-items: center;
  align-self: center;
  color: #fff;
  display: inline-grid;
  font-family: var(--serif);
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-size: 36px;
  font-style: italic;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 500;
  height: 40px;
  justify-items: center;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
  text-transform: none;
  width: 40px;
}

.auto-phase-card strong {
  align-self: center;
  font-size: 22px;
  line-height: 1.04;
  padding-right: 42px;
}

.auto-phase-card em {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-soft);
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 4px 5px;
  position: absolute;
  right: 8px;
  text-transform: uppercase;
  top: 8px;
}

.auto-phase-card:hover,
.auto-phase-card.is-active,
.auto-head-cell:hover,
.auto-head-cell.is-active,
.auto-cell:hover,
.auto-cell.is-active {
  border-color: var(--amber-dim);
  color: var(--text);
}

.auto-phase-card.is-active,
.auto-head-cell.is-active,
.auto-cell.is-active {
  background: rgba(214, 176, 137, 0.075);
}

.is-guided-next {
  animation: autodiagGuidePulse 1.05s ease-in-out 0s 3;
  border-color: rgba(214, 176, 137, 0.62) !important;
  box-shadow: 0 0 0 1px rgba(214, 176, 137, 0.18), 0 0 26px rgba(214, 176, 137, 0.16), inset 0 0 0 999px rgba(214, 176, 137, 0.035);
}

@keyframes autodiagGuidePulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(214, 176, 137, 0.12), 0 0 18px rgba(214, 176, 137, 0.1), inset 0 0 0 999px rgba(214, 176, 137, 0.025);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(214, 176, 137, 0.34), 0 0 34px rgba(214, 176, 137, 0.24), inset 0 0 0 999px rgba(214, 176, 137, 0.055);
  }
}

.auto-matrix-wrap {
  height: 100%;
  max-width: 100%;
  overflow: visible;
}

.auto-matrix {
  display: grid;
  gap: 10px;
  height: 100%;
  min-width: 0;
}

.auto-phase-focus {
  align-items: stretch;
  background: #0b0c0f;
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
  padding: 12px;
  text-align: left;
}

.auto-phase-focus:hover,
.auto-phase-focus.is-active {
  border-color: var(--amber-dim);
  color: var(--text);
}

.auto-phase-focus.is-active {
  background: var(--amber-bg);
}

.auto-phase-focus .eyebrow {
  margin-bottom: 8px;
}

.auto-phase-focus h3 {
  font-size: 31px;
}

.auto-phase-focus p:not(.eyebrow) {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.62;
  margin-top: 10px;
  max-width: 620px;
}

/* Autodiagnostic middle overview hidden v1 - remove this block to restore the column 2 title block. */
.autodiag-page .auto-phase-focus {
  display: none;
}
/* End autodiagnostic middle overview hidden v1. */

.auto-option-grid {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(8, minmax(0, 1fr));
  height: 100%;
}

.auto-option-card {
  background: rgba(13, 14, 17, 0.76);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-dim);
  cursor: pointer;
  display: grid;
  gap: 6px;
  min-height: 0;
  padding: 10px 12px;
  position: relative;
  text-align: left;
}

.auto-option-card strong {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.06;
  padding-right: 42px;
}

.auto-option-card p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.46;
  margin: 0;
}

.auto-option-card small {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 4px 5px;
  position: absolute;
  right: 8px;
  text-transform: uppercase;
  top: 8px;
}

.auto-option-card:hover,
.auto-option-card.is-active {
  border-color: var(--amber-dim);
  color: var(--text);
}

.auto-option-card.is-active {
  background: rgba(214, 176, 137, 0.075);
}
.autodiag-detail {
  height: var(--autodiag-panel-height, auto);
  overflow: auto;
  padding: 18px;
}

.autodiag-detail h2 {
  color: var(--amber);
  font-size: clamp(34px, 3.2vw, 46px);
}
.autodiag-quote {
  color: var(--text);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.36;
  margin: 18px 0 24px;
}

.autodiag-detail-section,
.autodiag-detail-grid {
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 18px;
}

.autodiag-detail-section.is-first {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.autodiag-detail-section.is-category-first {
  margin-top: 22px;
}

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

.autodiag-detail h3 {
  color: var(--text-dim);
  font-size: 24px;
  margin-bottom: 10px;
}

.autodiag-detail p,
.autodiag-detail li {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.62;
}

.autodiag-detail .list {
  margin-top: 0;
}

.autodiag-pattern-picker,
.autodiag-checklist {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.autodiag-pattern-choice,
.autodiag-check-choice {
  background: rgba(13, 14, 17, 0.76);
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  display: grid;
  gap: 6px 12px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 12px;
}

.autodiag-pattern-choice:hover,
.autodiag-pattern-choice:has(input:checked),
.autodiag-check-choice:hover,
.autodiag-check-choice:has(input:checked) {
  border-color: var(--amber-dim);
}

.autodiag-pattern-choice:has(input:checked),
.autodiag-check-choice:has(input:checked) {
  background: rgba(214, 176, 137, 0.075);
}

.autodiag-pattern-choice input,
.autodiag-check-choice input {
  accent-color: var(--amber);
  margin-top: 6px;
}

.autodiag-pattern-title,
.autodiag-check-title {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.14;
}

.autodiag-pattern-choice:has(input:checked) .autodiag-pattern-title,
.autodiag-check-choice:has(input:checked) .autodiag-check-title {
  color: #fff;
}

.autodiag-pattern-copy,
.autodiag-check-copy {
  color: var(--text);
  font-size: 15px;
  grid-column: 2;
  line-height: 1.54;
}
.footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  padding: 42px max(20px, calc((100vw - 1120px) / 2));
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a,
.footer-note {
  color: var(--text-faint);
  font-size: 13px;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

/* Focused diagnostic experience */
.diagnostic-page .diagnostic-stage {
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 7vw, 96px) 0 clamp(58px, 8vw, 104px);
}
.diagnostic-page .diagnostic-shell {
  margin: 0;
  max-width: none;
}
.diagnostic-page .diagnostic-step {
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.diagnostic-page .diagnostic-progress-track {
  background: rgba(255, 255, 255, 0.08);
  height: 1px;
  margin-top: 24px;
  overflow: hidden;
  width: 100%;
}

.diagnostic-page .diagnostic-progress-track span {
  background: var(--amber);
  display: block;
  height: 100%;
  transition: width 260ms ease;
  width: 5%;
}

.diagnostic-page .diagnostic {
  margin-top: clamp(46px, 7vw, 82px);
  min-height: 0;
}

.diagnostic-page .question {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: clamp(34px, 5vw, 58px);
  padding: 0;
}

.diagnostic-page .question[hidden] {
  display: none;
}

.diagnostic-page .question.is-active {
  box-shadow: none;
}

.diagnostic-page .question legend {
  color: var(--amber);
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.02;
  max-width: 930px;
  padding: 0;
  text-transform: none;
}

.diagnostic-page .options {
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  counter-reset: answer;
  display: grid;
  gap: 0;
}

.diagnostic-page .option {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  display: grid;
  gap: 18px;
  grid-template-columns: 44px minmax(0, 1fr) 14px;
  min-height: 72px;
  padding: 18px 0;
  transition: background 160ms ease, color 160ms ease, padding 160ms ease;
}

.diagnostic-page .option:last-child {
  border-bottom: 0;
}

.diagnostic-page .option::before {
  color: var(--text-faint);
  content: "0" counter(answer);
  counter-increment: answer;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.diagnostic-page .option span {
  grid-column: 2;
  line-height: 1.55;
}

.diagnostic-page .option input {
  appearance: none;
  border: 1px solid var(--amber-dim);
  border-radius: 50%;
  grid-column: 3;
  grid-row: 1;
  height: 12px;
  margin: 0;
  width: 12px;
}

.diagnostic-page .option:hover {
  color: var(--text);
  padding-left: 12px;
}

.diagnostic-page .option:has(input:checked) {
  background: linear-gradient(90deg, rgba(214, 176, 137, 0.12), rgba(214, 176, 137, 0));
  color: var(--text);
  padding-left: 16px;
}

.diagnostic-page .option:has(input:checked)::before {
  color: var(--amber);
}

.diagnostic-page .option:has(input:checked) input {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(214, 176, 137, 0.14);
}

.diagnostic-page .diagnostic-error {
  color: var(--amber);
  margin-top: 16px;
  min-height: 26px;
}

.diagnostic-page .diagnostic-controls {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 150px minmax(0, 1fr);
  margin-top: 22px;
}

.diagnostic-page .diagnostic-controls .btn-primary {
  justify-self: end;
  min-width: min(100%, 250px);
}

.diagnostic-page .diagnostic-controls .btn-outline {
  min-width: 150px;
}
.diagnostic-page .diagnostic-result-wrap {
  margin-top: clamp(32px, 5vw, 64px);
}

.diagnostic-page .result-box.is-visible {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}

.diagnostic-page .diagnostic-email {
  background: #0b0c0f;
}

.diagnostic-page .diagnostic-email-inner {
  align-items: start;
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.58fr);
}

.diagnostic-page .diagnostic-email-form {
  background: transparent;
  border: 0;
  border-left: 3px solid var(--amber);
  padding: 0 0 0 28px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1270px) {
  .autodiag-workspace,
  .autodiag-table-actions,
  .autodiag-detail-grid,
  .auto-phase-focus {
    grid-template-columns: 1fr;
  }

  .autodiag-phase-panel,
  .autodiag-detail {
    height: auto;
    max-height: none;
    position: static;
  }

  .autodiag-board-card {
    height: auto;
  }

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

@media (max-width: 980px) {
  .hero-inner,
  .grid-2,
  .grid-3,
  .grid-4,
  .pricing {
    grid-template-columns: 1fr;
  }

  .home-page .hero-inner {
    grid-template-columns: 1fr;
  }

  .home-page .hero-note {
    margin-top: 0;
  }

  .cta-sphere-layout {
    grid-template-columns: 1fr;
  }

  .diagnostic-stage-inner,
  .diagnostic-email-inner {
    grid-template-columns: 1fr;
  }

  .diagnostic-stage-inner {
    align-items: start;
  }

  .diagnostic-panel {
    width: 100%;
  }

  .diagnostic-page .diagnostic-panel {
    border-left: 0;
    border-top: 3px solid var(--amber);
    padding: 32px 0 0;
  }

  .cta-sphere-layout .verbatim-sphere {
    height: 620px;
  }

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

  .autodiag-command,
  .autodiag-board-head {
    grid-template-columns: 1fr;
  }

  .autodiag-hero-actions {
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .autodiag-summary,
  .autodiag-workspace,
  .autodiag-table-actions,
  .autodiag-detail-grid,
  .auto-phase-focus {
    grid-template-columns: 1fr;
  }

  .autodiag-phase-panel,
  .autodiag-detail {
    height: auto;
    max-height: none;
    position: static;
  }

  .autodiag-board-card {
    height: auto;
  }

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

@media (max-width: 860px) {
  :root {
    --site-gutter-total: 40px;
  }

  body {
    font-size: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand {
    font-size: 30px;
  }

  .nav {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-left: 0;
    width: 100%;
  }

  .nav a {
    align-items: center;
    border: 1px solid var(--border);
    display: inline-flex;
    justify-content: center;
    min-height: 36px;
    white-space: normal;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .diagnostic-stage {
    padding-top: 36px;
  }

  .diagnostic-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .diagnostic-facts {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .diagnostic-page .diagnostic {
    min-height: 0;
  }

  .diagnostic-progress {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .diagnostic-controls {
    grid-template-columns: 1fr;
  }

  .diagnostic-controls .btn-primary,
  .diagnostic-controls .btn-outline {
    justify-self: stretch;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --site-gutter-total: 32px;
  }

  .verbatim-sphere {
    height: 620px;
  }

  .verbatim-label {
    font-size: 9px;
    max-width: 140px;
  }

  .verbatim-focus {
    max-width: 86%;
    width: 86%;
  }

  h1 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .diagnostic-panel,
  .diagnostic-email-form {
    padding: 22px;
  }

  .diagnostic-page .diagnostic-panel {
    padding: 26px 0 0;
  }

  .diagnostic-page .diagnostic-email-form {
    padding: 0 0 0 20px;
  }

  .diagnostic-page .question legend {
    font-size: clamp(29px, 9vw, 38px);
  }

  .diagnostic-page .option {
    grid-template-columns: 34px minmax(0, 1fr) 14px;
    min-height: auto;
    padding: 16px;
  }

  .mechanism-board,
  .nav {
    grid-template-columns: 1fr;
  }

  .pattern-detail summary {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .pattern-detail summary small {
    grid-column: 2;
  }

  .auto-phase-rail {
    grid-template-columns: 1fr;
  }

  .auto-option-grid {
    grid-template-columns: 1fr;
  }

  .autodiag-tool {
    padding-top: 20px;
  }

  .autodiag-title-block {
    padding-left: 14px;
  }

  .autodiag-board-card,
  .autodiag-phase-panel,
  .autodiag-detail {
    padding: 14px;
  }

  .autodiag-summary .btn {
    width: 100%;
  }
}

/* Diagnostic rebuild */
.diagnostic-redesign {
  background: var(--bg);
}

.diagnostic-page .topbar,
.diagnostic-page .footer {
  border: 0;
}
.diagnostic-header .eyebrow {
  margin-bottom: 18px;
}
.diagnostic-redesign .diagnostic {
  margin-top: clamp(36px, 5vw, 62px);
  min-height: clamp(420px, 45vw, 560px);
}

.diagnostic-redesign .question {
  background: transparent;
  border: 0;
  display: grid;
  gap: clamp(32px, 5vw, 74px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.62fr);
  padding: 0;
  position: relative;
}

.diagnostic-redesign .question[hidden] {
  display: none;
}

.diagnostic-redesign .question::before {
  color: rgba(214, 176, 137, 0.075);
  content: attr(data-question-label);
  font-family: var(--serif);
  font-size: clamp(150px, 19vw, 260px);
  font-style: italic;
  font-weight: 500;
  left: -0.06em;
  line-height: 0.78;
  pointer-events: none;
  position: absolute;
  top: -0.07em;
  z-index: 0;
}

.diagnostic-redesign .question legend {
  color: var(--amber);
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 5.6vw, 74px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.04;
  padding: clamp(70px, 9vw, 128px) 0 0;
  position: relative;
  text-transform: none;
  z-index: 1;
}
.diagnostic-redesign .options {
  align-self: start;
  background: transparent;
  border: 0;
  display: grid;
  gap: 10px;
  padding-top: clamp(16px, 3vw, 42px);
}

.diagnostic-redesign .option {
  align-items: center;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  min-height: 76px;
  padding: 17px 18px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.diagnostic-redesign .option:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(214, 176, 137, 0.34);
  color: var(--text);
}

.diagnostic-redesign .option input {
  appearance: none;
  border: 1px solid var(--amber-dim);
  border-radius: 50%;
  grid-column: 3;
  height: 12px;
  margin: 0;
  width: 12px;
}

.diagnostic-redesign .option::before {
  content: none;
}
.diagnostic-redesign .option:has(input:checked) {
  background: rgba(214, 176, 137, 0.12);
  border-color: var(--amber);
  color: var(--text);
  transform: translateX(-6px);
}

.diagnostic-redesign .option:has(input:checked) input {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(214, 176, 137, 0.14);
}
.diagnostic-redesign .diagnostic-controls .btn-primary {
  justify-self: end;
  min-width: min(100%, 250px);
}

.diagnostic-redesign .diagnostic-controls .btn-outline {
  min-width: 150px;
}
.diagnostic-redesign .result-box.is-visible {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}
.diagnostic-bottom-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  padding: 28px;
}

@media (max-width: 980px) {
  .diagnostic-header,
  .diagnostic-redesign .question,
  .diagnostic-bottom-inner {
    grid-template-columns: 1fr;
  }

  .diagnostic-header > p {
    max-width: 680px;
  }

  .diagnostic-redesign .diagnostic {
    min-height: 0;
  }

  .diagnostic-redesign .question legend {
    padding-top: clamp(58px, 12vw, 96px);
  }

  .diagnostic-redesign .options {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .diagnostic-workbench {
    padding-top: 42px;
  }

  .diagnostic-meter {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .diagnostic-redesign .question legend {
    font-size: clamp(34px, 10vw, 48px);
  }

  .diagnostic-redesign .option {
    grid-template-columns: 30px minmax(0, 1fr) 14px;
    min-height: auto;
    padding: 16px 14px;
  }

  .diagnostic-redesign .diagnostic-controls {
    grid-template-columns: 1fr;
  }

  .diagnostic-redesign .diagnostic-controls .btn-primary,
  .diagnostic-redesign .diagnostic-controls .btn-outline {
    justify-self: stretch;
    width: 100%;
  }

  .diagnostic-bottom-form {
    padding: 22px;
  }
}

/* Diagnostic compact pass from real screenshots */
.diagnostic-workbench {
  min-height: auto;
  padding: clamp(38px, 5vw, 68px) 0 clamp(54px, 7vw, 86px);
}
.diagnostic-header .eyebrow {
  margin-bottom: 12px;
}
.diagnostic-redesign .diagnostic {
  margin-top: clamp(26px, 4vw, 38px);
  min-height: 0;
}

.diagnostic-redesign .question {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
  grid-template-columns: 1fr;
}

.diagnostic-redesign .question::before {
  content: none;
}

.diagnostic-redesign .question legend {
  color: var(--amber);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  max-width: 880px;
  padding: 0;
}
.diagnostic-redesign .options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
}

.diagnostic-redesign .option {
  align-content: start;
  align-items: start;
  background: rgba(255, 255, 255, 0.028);
  min-height: 118px;
  padding: 18px;
}

.diagnostic-redesign .option:hover {
  transform: translateY(-1px);
}

.diagnostic-redesign .option:has(input:checked) {
  transform: translateY(-1px);
}
@media (max-width: 980px) {
  .diagnostic-header {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .diagnostic-header > p {
    max-width: 640px;
  }
}

@media (max-width: 560px) {
  .diagnostic-workbench {
    padding-top: 30px;
  }

  .diagnostic-form {
    padding: 20px;
  }

  .diagnostic-meter {
    grid-template-columns: 1fr;
  }

  .diagnostic-redesign .question legend {
    font-size: clamp(30px, 8.5vw, 42px);
  }

  .diagnostic-redesign .options {
    grid-template-columns: 1fr;
  }

  .diagnostic-redesign .option {
    min-height: auto;
  }
}

/* Diagnostic variation: compact tool with progress rail */
.diagnostic-v3 {
  background: var(--bg);
}

.diagnostic-v3 .diagnostic-console {
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 5vw, 72px) 0 clamp(58px, 7vw, 94px);
}

.diagnostic-v3 .diagnostic-console-inner {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  grid-template-areas:
    "side tool"
    "legal tool";
  grid-template-columns: 280px minmax(0, 1fr);
  margin: 0 auto;
  width: min(calc(100% - var(--site-gutter-total)), var(--site-wide));
}
.diagnostic-sidebar .eyebrow {
  margin-bottom: 18px;
}
.diagnostic-rail span.is-complete {
  border-color: rgba(214, 176, 137, 0.28);
  color: var(--text-muted);
}

.diagnostic-rail span.is-current {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg);
}

.diagnostic-tool {
  background: linear-gradient(180deg, rgba(19, 21, 27, 0.94), rgba(12, 13, 17, 0.96));
  border: 1px solid var(--border);
  grid-area: tool;
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
}
.diagnostic-v3 .diagnostic {
  margin-top: clamp(28px, 4vw, 44px);
  min-height: 0;
}

.diagnostic-v3 .question {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 26px;
  padding: 0;
}

.diagnostic-v3 .question[hidden] {
  display: none;
}

.diagnostic-v3 .question::before {
  content: none;
}

.diagnostic-v3 .question legend {
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(29px, 3.2vw, 42px);
  font-style: normal;
  font-weight: 300;
  line-height: 1.22;
  max-width: 860px;
  padding: 0;
  text-transform: none;
}
.diagnostic-v3 .options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.diagnostic-v3 .option {
  align-content: start;
  align-items: start;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  min-height: 118px;
  padding: 18px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.diagnostic-v3 .option:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(214, 176, 137, 0.34);
  color: var(--text);
}

.diagnostic-v3 .option input {
  appearance: none;
  border: 1px solid var(--amber-dim);
  border-radius: 50%;
  grid-column: 3;
  height: 12px;
  margin: 0;
  width: 12px;
}

.diagnostic-v3 .option::before {
  content: none;
}
.diagnostic-v3 .option:has(input:checked) {
  background: rgba(214, 176, 137, 0.12);
  border-color: var(--amber);
  color: var(--text);
}

.diagnostic-v3 .option:has(input:checked) input {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(214, 176, 137, 0.14);
}
.diagnostic-v3 .diagnostic-controls .btn-primary {
  justify-self: end;
  min-width: min(100%, 250px);
}

.diagnostic-v3 .diagnostic-controls .btn-outline {
  min-width: 150px;
}
.diagnostic-bottom-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  padding: 28px;
}

@media (max-width: 980px) {
  .diagnostic-v3 .diagnostic-console-inner {
    grid-template-areas:
      "side"
      "tool"
      "legal";
    grid-template-columns: 1fr;
  }

  .diagnostic-rail {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .diagnostic-bottom-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .diagnostic-v3 .diagnostic-console {
    padding-top: 34px;
  }

  .diagnostic-v3 .diagnostic-tool {
    padding: 20px;
  }

  .diagnostic-toolbar {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .diagnostic-v3 .options {
    grid-template-columns: 1fr;
  }

  .diagnostic-v3 .option {
    min-height: auto;
    padding: 16px;
  }

  .diagnostic-v3 .diagnostic-controls {
    grid-template-columns: 1fr;
  }

  .diagnostic-v3 .diagnostic-controls .btn-primary,
  .diagnostic-v3 .diagnostic-controls .btn-outline {
    justify-self: stretch;
    width: 100%;
  }
}

/* Diagnostic variation: asymmetric questionnaire console */
.diagnostic-v4 {
  background: #0a0b0e;
}

.diagnostic-v4 .diagnostic-console {
  background:
    linear-gradient(90deg, rgba(214, 176, 137, 0.055), transparent 34%),
    linear-gradient(180deg, #0d0e11 0%, #08090c 74%, #0b0c0f 100%);
  min-height: calc(100vh - 72px);
  padding: clamp(76px, 10vw, 130px) 0 clamp(62px, 8vw, 108px);
}

.diagnostic-v4 .diagnostic-console-inner {
  display: grid;
  gap: clamp(30px, 4vw, 54px);
  grid-template-areas: "tool";
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  width: min(calc(100% - var(--site-gutter-total)), var(--site-wide));
}

.diagnostic-v4 .diagnostic-sidebar {
  align-self: start;
  grid-area: side;
  padding-top: 8px;
  position: sticky;
  top: 24px;
}

.diagnostic-v4 .diagnostic-sidebar .eyebrow {
  margin-bottom: 16px;
}

.diagnostic-v4 .diagnostic-sidebar h1 {
  color: var(--amber);
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 68px);
  font-style: italic;
  font-weight: 500;
  line-height: 0.95;
  margin: 0;
  max-width: 310px;
}

.diagnostic-v4 .diagnostic-sidebar > p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.62;
  margin: 26px 0 0;
  max-width: 300px;
}

.diagnostic-v4 .diagnostic-mini-stats {
  border-left: 2px solid rgba(214, 176, 137, 0.72);
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding-left: 14px;
}

.diagnostic-v4 .diagnostic-mini-stats span {
  border: 0;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.11em;
  line-height: 1.4;
  padding: 0;
  text-transform: uppercase;
}

.diagnostic-v4 .diagnostic-rail {
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr;
  margin-top: 36px;
  max-width: 210px;
}

.diagnostic-v4 .diagnostic-rail span {
  background: rgba(255, 255, 255, 0.09);
  border: 0;
  display: block;
  font-size: 0;
  height: 4px;
  opacity: 0.72;
  transition: background 180ms ease, height 180ms ease, opacity 180ms ease;
}

.diagnostic-v4 .diagnostic-rail span.is-complete {
  background: rgba(214, 176, 137, 0.36);
}

.diagnostic-v4 .diagnostic-rail span.is-current {
  background: var(--amber);
  height: 8px;
  opacity: 1;
}

.diagnostic-v4 .diagnostic-tool {
  background:
    linear-gradient(180deg, rgba(19, 21, 27, 0.78), rgba(10, 11, 15, 0.82)),
    #111319;
  border: 1px solid var(--border);
  border-left-color: rgba(214, 176, 137, 0.38);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  grid-area: tool;
  min-width: 0;
  padding: clamp(24px, 4vw, 44px);
}

.diagnostic-v4 .diagnostic-shell {
  margin: 0;
  max-width: none;
}

.diagnostic-v4 .diagnostic-toolbar {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr);
}

.diagnostic-v4 .diagnostic-toolbar p {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.diagnostic-v4 .diagnostic-progress-track {
  background: rgba(255, 255, 255, 0.08);
  height: 2px;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.diagnostic-v4 .diagnostic-progress-track span {
  background: var(--amber);
  display: block;
  height: 100%;
  transition: width 260ms ease;
  width: 5%;
}

.diagnostic-v4 .diagnostic {
  margin-top: clamp(30px, 5vw, 58px);
  min-height: 0;
}

.diagnostic-v4 .question {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: clamp(28px, 3.4vw, 44px);
  grid-template-columns: minmax(340px, 0.78fr) minmax(380px, 1fr);
  padding: 0;
  position: relative;
}

.diagnostic-v4 .question[hidden] {
  display: none;
}

.diagnostic-v4 .question.is-active {
  box-shadow: none;
}

.diagnostic-v4 .question::before {
  content: none;
}

.diagnostic-v4 .sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.diagnostic-v4 .question-copy {
  align-self: start;
  color: var(--text);
  display: block;
  font-family: var(--sans);
  font-size: clamp(29px, 2.75vw, 40px);
  font-style: normal;
  font-weight: 300;
  grid-column: 1;
  grid-row: 1;
  letter-spacing: 0;
  line-height: 1.18;
  max-width: 470px;
  padding: clamp(80px, 8vw, 126px) 0 0;
  position: relative;
  text-transform: none;
  z-index: 1;
}

.diagnostic-v4 .question-copy::before {
  color: rgba(214, 176, 137, 0.075);
  content: attr(data-question-label);
  font-family: var(--serif);
  font-size: clamp(118px, 12vw, 190px);
  font-style: italic;
  font-weight: 500;
  left: -0.07em;
  line-height: 0.78;
  pointer-events: none;
  position: absolute;
  top: -0.02em;
  z-index: -1;
}

.diagnostic-v4 .question-kicker {
  color: var(--amber);
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.diagnostic-v4 .question-text {
  display: block;
}

.diagnostic-v4 .options {
  align-self: start;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0;
  grid-column: 2;
  grid-row: 1;
  margin-top: clamp(36px, 3.7vw, 58px);
  padding: 0;
}

.diagnostic-v4 .option {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  display: grid;
  gap: 16px;
  grid-template-columns: 32px minmax(0, 1fr) 14px;
  min-height: 82px;
  padding: 18px 0;
  transition: background 160ms ease, color 160ms ease, padding 160ms ease;
}

.diagnostic-v4 .option:last-child {
  border-bottom: 0;
}

.diagnostic-v4 .option:hover {
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  padding-left: 12px;
}

.diagnostic-v4 .option::before {
  content: none;
}

.diagnostic-v4 .option input {
  appearance: none;
  border: 1px solid var(--amber-dim);
  border-radius: 50%;
  grid-column: 3;
  height: 12px;
  margin: 0;
  width: 12px;
}

.diagnostic-v4 .option-index {
  color: var(--amber);
  font-size: 12px;
  grid-column: 1;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.diagnostic-v4 .option-copy {
  grid-column: 2;
  line-height: 1.5;
}

.diagnostic-v4 .option:has(input:checked) {
  background: linear-gradient(90deg, rgba(214, 176, 137, 0.13), rgba(214, 176, 137, 0));
  color: var(--text);
  padding-left: 16px;
}

.diagnostic-v4 .option:has(input:checked) input {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(214, 176, 137, 0.14);
}

.diagnostic-v4 .diagnostic-error {
  color: var(--amber);
  margin-top: 16px;
  min-height: 26px;
}

.diagnostic-v4 .diagnostic-controls {
  align-items: center;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
  grid-template-columns: 150px minmax(0, 1fr);
  margin-top: 22px;
  padding-top: 22px;
}

.diagnostic-v4 .diagnostic-controls .btn-primary {
  justify-self: end;
  min-width: min(100%, 250px);
}

.diagnostic-v4 .diagnostic-controls .btn-outline {
  min-width: 150px;
}

.diagnostic-v4 .diagnostic-legal {
  align-self: end;
  color: var(--text-faint);
  font-size: 12px;
  grid-area: legal;
  line-height: 1.65;
  margin: 0;
  max-width: 330px;
}

.diagnostic-v4 .diagnostic-result-wrap {
  margin-top: clamp(36px, 5vw, 68px);
}

.diagnostic-v4 .diagnostic-bottom-cta {
  background:
    linear-gradient(180deg, #0b0c0f, #08090b);
  padding: clamp(70px, 8vw, 108px) 0;
}

.diagnostic-v4 .diagnostic-bottom-inner {
  align-items: start;
  display: grid;
  gap: clamp(32px, 5vw, 74px);
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.56fr);
}

.diagnostic-v4 .diagnostic-bottom-form {
  background: transparent;
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  padding: 30px;
}

@media (max-width: 980px) {
  .diagnostic-v4 .diagnostic-console-inner {
    grid-template-areas: "tool";
    grid-template-columns: 1fr;
  }

  .diagnostic-v4 .diagnostic-sidebar {
    position: static;
  }

  .diagnostic-v4 .diagnostic-sidebar h1,
  .diagnostic-v4 .diagnostic-sidebar > p,
  .diagnostic-v4 .diagnostic-legal {
    max-width: 680px;
  }

  .diagnostic-v4 .diagnostic-mini-stats {
    display: flex;
    flex-wrap: wrap;
  }

  .diagnostic-v4 .diagnostic-mini-stats span {
    margin-right: 14px;
  }

  .diagnostic-v4 .diagnostic-rail {
    grid-template-columns: repeat(20, minmax(0, 1fr));
    max-width: none;
  }

  .diagnostic-v4 .diagnostic-rail span {
    height: 5px;
  }

  .diagnostic-v4 .diagnostic-rail span.is-current {
    height: 5px;
  }

  .diagnostic-v4 .question {
    grid-template-columns: 1fr;
  }

  .diagnostic-v4 .question-copy {
    max-width: 760px;
    padding-top: clamp(58px, 10vw, 94px);
  }

  .diagnostic-v4 .options {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }

  .diagnostic-v4 .diagnostic-bottom-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .diagnostic-v4 .diagnostic-console {
    padding-top: clamp(76px, 10vw, 130px);
  }

  .diagnostic-v4 .diagnostic-console-inner {
    gap: 28px;
  }

  .diagnostic-v4 .diagnostic-sidebar h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .diagnostic-v4 .diagnostic-tool {
    padding: 20px;
  }

  .diagnostic-v4 .diagnostic-toolbar {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .diagnostic-v4 .question {
    gap: 24px;
  }

  .diagnostic-v4 .question-copy {
    font-size: clamp(25px, 7.2vw, 34px);
    line-height: 1.18;
    padding-top: 58px;
  }

  .diagnostic-v4 .question-copy::before {
    font-size: clamp(94px, 28vw, 132px);
    top: 0;
  }

  .diagnostic-v4 .option {
    grid-template-columns: 30px minmax(0, 1fr) 14px;
    min-height: auto;
    padding: 16px 0;
  }

  .diagnostic-v4 .option:hover,
  .diagnostic-v4 .option:has(input:checked) {
    padding-left: 10px;
  }

  .diagnostic-v4 .diagnostic-controls {
    grid-template-columns: 1fr;
  }

  .diagnostic-v4 .diagnostic-controls .btn-primary,
  .diagnostic-v4 .diagnostic-controls .btn-outline {
    justify-self: stretch;
    width: 100%;
  }

  .diagnostic-v4 .diagnostic-bottom-form {
    padding: 24px;
  }
}

/* Diagnostic profile flow imported from dbr_diagnostic_ajout.html */
.diagnostic-v4 .profile-diagnostic.diagnostic-tool {
  overflow: hidden;
  padding: 0;
  position: relative;
}

.profile-progress-wrap {
  background: var(--border);
  height: 2px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 2;
}

.profile-progress-bar {
  background: var(--amber);
  display: block;
  height: 100%;
  transition: width 500ms ease;
  width: 0%;
}

.profile-screen {
  display: none;
  min-height: clamp(620px, calc(100svh - 170px), 760px);
  padding: clamp(46px, 6vw, 74px) clamp(26px, 5vw, 62px);
}

.profile-screen.is-active {
  animation: profileScreenIn 500ms ease forwards;
  display: flex;
}

@keyframes profileScreenIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.profile-container {
  align-self: center;
  margin: 0 auto;
  max-width: 760px;
  width: 100%;
}
.profile-question-text {
  color: #ffffff;
  font-family: var(--serif);
  font-size: clamp(25px, 3.6vw, 38px);
  font-weight: 400;
  line-height: 1.42;
  margin: 0 0 40px;
}
.profile-question-hint {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin: -24px 0 28px;
  text-transform: uppercase;
}

.profile-options {
  display: grid;
  gap: 12px;
}

.profile-option {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-dim);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  padding: 20px 22px;
  text-align: left;
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease;
  width: 100%;
}
.profile-option:hover {
  background: var(--bg-hover);
  border-color: var(--amber-dim);
  color: var(--text);
}

.profile-option.is-selected {
  background: var(--bg-sel);
  border-color: var(--amber);
  color: var(--text);
}

.profile-next-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--text-faint);
  cursor: default;
  display: inline-flex;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-top: 32px;
  min-height: 48px;
  min-width: 170px;
  padding: 14px 22px;
  text-transform: uppercase;
  transition: none;
}

.profile-next-btn.is-visible {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg);
  cursor: pointer;
}

.profile-next-btn[aria-disabled="true"] {
  cursor: default;
  opacity: 1;
}

.profile-next-btn:hover {
  opacity: 1;
}

.profile-loading {
  text-align: center;
}

.profile-loading-dots {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 32px;
}

.profile-loading-dots span {
  animation: profileDotPulse 1400ms ease-in-out infinite;
  background: var(--amber-dim);
  border-radius: 50%;
  height: 14px;
  width: 14px;
}

.profile-loading-dots span:nth-child(2) {
  animation-delay: 200ms;
}

.profile-loading-dots span:nth-child(3) {
  animation-delay: 400ms;
}

@keyframes profileDotPulse {
  0%,
  80%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
  }

  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.profile-loading p {
  color: var(--text-muted);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  margin: 0;
}

.profile-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.profile-loading-label {
  color: var(--text-faint);
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.4;
  margin-top: 10px;
  text-transform: uppercase;
  transition: opacity 200ms ease;
}
.profile-result-stage {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100%;
  position: relative;
  text-align: center;
  width: 100%;
}

.profile-absolution,
.profile-alone,
.profile-phase-reveal {
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 860px);
}

.profile-absolution {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
  transition: opacity 700ms ease;
}

.profile-absolution.is-visible {
  opacity: 1;
}
.profile-alone.is-visible {
  opacity: 1;
}
.profile-phase-reveal.is-visible,
.profile-result-verbatim.is-visible,
.profile-scroll-hint.is-visible {
  opacity: 1;
}
@keyframes profileScrollHint {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(-4px);
  }

  50% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .profile-screen {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .profile-screen {
    padding: 42px 22px;
  }

  .profile-label,
  .profile-counter {
    margin-bottom: 30px;
  }

  .profile-intro-title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .profile-question-text {
    font-size: clamp(23px, 6.6vw, 31px);
  }

  .profile-option {
    padding: 18px;
  }
}

/* Diagnostic: no framed boxes */
.diagnostic-v4 .diagnostic-tool,
.diagnostic-v4 .profile-diagnostic.diagnostic-tool,
.diagnostic-v4 .diagnostic-bottom-form {
  border: 0;
  box-shadow: none;
}

.diagnostic-v4 .profile-diagnostic.diagnostic-tool {
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.045), transparent 46%),
    transparent;
}

.diagnostic-v4 .profile-progress-wrap {
  display: none;
}

.diagnostic-v4 .profile-option {
  background: rgba(255, 255, 255, 0.025);
  border: 0;
}

.diagnostic-v4 .profile-option:hover {
  background: rgba(255, 255, 255, 0.055);
  border: 0;
}

.diagnostic-v4 .profile-option.is-selected {
  background: linear-gradient(90deg, rgba(214, 176, 137, 0.2), rgba(214, 176, 137, 0.09));
  border: 0;
}

.diagnostic-v4 .profile-question-hint {
  color: var(--text-dim);
}

.diagnostic-v4 .profile-start-btn,
.diagnostic-v4 .profile-result-cta {
  background: rgba(214, 176, 137, 0.12);
  border: 0;
}

.diagnostic-v4 .profile-start-btn:hover,
.diagnostic-v4 .profile-result-cta:hover {
  background: var(--amber);
}

.diagnostic-v4 .profile-result-insight {
  border-left: 0;
  padding-left: 0;
}

.diagnostic-v4 .profile-result-divider {
  display: none;
}

.diagnostic-v4 .diagnostic-bottom-form {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.diagnostic-v4 .diagnostic-bottom-form .field input,
.diagnostic-v4 .diagnostic-bottom-form .field textarea,
.diagnostic-v4 .diagnostic-bottom-form .field select {
  border: 0;
}

@media (max-width: 860px) {
  .diagnostic-page .nav a {
    border: 0;
  }
}

.diagnostic-v4 .diagnostic-bottom-inner .eyebrow {
  color: var(--text-dim);
}

.diagnostic-v4 .diagnostic-bottom-inner h2 {
  color: var(--amber);
}

.diagnostic-v4 .diagnostic-bottom-inner .lead {
  color: var(--text);
}

.diagnostic-v4 .profile-label,
.diagnostic-v4 .profile-intro-meta {
  color: var(--text-dim);
}

.diagnostic-v4 .profile-intro-title,
.diagnostic-v4 .profile-intro-title em,
.diagnostic-v4 .profile-question-text,
.diagnostic-v4 .profile-result-title,
.diagnostic-v4 .profile-result-title em {
  color: var(--amber);
}

.diagnostic-v4 .profile-intro-body,
.diagnostic-v4 .profile-option,
.diagnostic-v4 .profile-option:hover,
.diagnostic-v4 .profile-option.is-selected,
.diagnostic-v4 .profile-result-insight p,
.diagnostic-v4 .profile-result-insight strong,
.diagnostic-v4 .profile-result-future {
  color: var(--text);
}

.diagnostic-v4 .profile-label,
.diagnostic-v4 .profile-counter {
  font-size: 14px;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.diagnostic-v4 .profile-intro-title,
.diagnostic-v4 .profile-question-text,
.diagnostic-v4 .profile-result-title {
  font-size: clamp(36px, 5vw, 58px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
}

.diagnostic-v4 .profile-intro-body,
.diagnostic-v4 .profile-result-insight p,
.diagnostic-v4 .profile-result-future {
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.55;
}

.diagnostic-v4 .profile-option {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.42;
}

.diagnostic-v4 .profile-screen {
  padding-left: 0;
  padding-right: 0;
}

.diagnostic-v4 .profile-screen.is-active {
  animation: none;
}

.diagnostic-v4 .profile-container {
  align-self: flex-start;
  margin: 0 auto;
  max-width: none;
  text-align: center;
}

.diagnostic-v4 .profile-intro-title,
.diagnostic-v4 .profile-question-text,
.diagnostic-v4 .profile-result-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

.diagnostic-v4 .profile-intro-body {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.diagnostic-v4 .profile-intro-meta {
  text-align: center;
}

.diagnostic-v4 .profile-options {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  min-height: 270px;
}

.diagnostic-v4 .profile-option {
  text-align: center;
}

.diagnostic-v4 .profile-result-insight,
.diagnostic-v4 .profile-result-verbatim,
.diagnostic-v4 .profile-result-cta {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.diagnostic-v4 .profile-result-verbatim {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(25px, 3.2vw, 38px);
  font-style: italic;
  line-height: 1.35;
  margin-bottom: 34px;
  opacity: 0;
  transition: opacity 900ms ease;
}

.diagnostic-v4 .profile-result-verbatim.is-visible {
  opacity: 1;
}

.diagnostic-v4 .profile-screen[data-profile-screen="intro"] {
  isolation: isolate;
}

.diagnostic-v4 .profile-screen[data-profile-screen="intro"]::before {
  aspect-ratio: 1.16;
  background:
    radial-gradient(ellipse at 50% 53%, rgba(214, 176, 137, 0.13), rgba(214, 176, 137, 0.045) 42%, rgba(214, 176, 137, 0.014) 63%, transparent 75%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 900 720' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cmarker id='arrow' markerWidth='8' markerHeight='8' refX='6.5' refY='4' orient='auto' markerUnits='strokeWidth'%3E%3Cpath d='M0 0L8 4L0 8Q2 4 0 0Z' fill='%23d6b089' opacity='.58'/%3E%3C/marker%3E%3C/defs%3E%3Cg fill='none' stroke='%23d6b089' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' opacity='.7'%3E%3Cpath d='M450 70c-130 0-236 88-236 198 0 58 23 98 75 138'/%3E%3Cpath d='M450 108c-106 0-191 71-191 160 0 72 38 108 94 154'/%3E%3Cpath d='M450 148c-80 0-145 53-145 119 0 83 67 109 111 176'/%3E%3Cpath d='M450 190c-53 0-96 34-96 78 0 73 78 88 87 166'/%3E%3Cpath d='M450 230c-27 0-50 17-50 39 0 49 70 54 70 126'/%3E%3Cpath d='M504 75c108 20 190 96 190 194 0 121-63 173-69 273'/%3E%3Cpath d='M512 116c80 20 139 77 139 153 0 103-64 149-64 238'/%3E%3Cpath d='M516 158c55 20 94 61 94 111 0 81-61 127-61 203'/%3E%3Cpath d='M512 204c32 17 53 39 53 67 0 58-52 99-52 166'/%3E%3Cpath d='M222 360c30 73 98 120 164 176'/%3E%3Cpath d='M260 386c34 52 86 88 135 134'/%3E%3Cpath d='M672 360c-25 69-69 105-105 153'/%3E%3Cpath d='M640 392c-25 47-58 79-91 123'/%3E%3C/g%3E%3Cg fill='none' stroke='%23d6b089' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' opacity='.52'%3E%3Cpath d='M248 407C303 482 369 541 430 647' marker-end='url(%23arrow)'/%3E%3Cpath d='M306 421C354 492 402 549 446 655' marker-end='url(%23arrow)'/%3E%3Cpath d='M382 404C411 482 433 548 452 662' marker-end='url(%23arrow)'/%3E%3Cpath d='M473 410C469 490 463 553 456 665' marker-end='url(%23arrow)'/%3E%3Cpath d='M552 405C520 484 491 552 466 660' marker-end='url(%23arrow)'/%3E%3Cpath d='M623 394C573 477 521 544 474 650' marker-end='url(%23arrow)'/%3E%3Cpath d='M686 374C617 468 543 542 486 635' marker-end='url(%23arrow)'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, 100% 100%;
  border-radius: 50%;
  content: "";
  filter: drop-shadow(0 0 44px rgba(214, 176, 137, 0.14));
  inset: 50% auto auto 50%;
  opacity: 0.54;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, -50%);
  width: min(92vw, 980px);
  z-index: -1;
}

.diagnostic-v4 .profile-screen[data-profile-screen="intro"]::after {
  content: none;
}

.diagnostic-v4 .profile-screen[data-profile-screen="intro"]::before {
  content: none;
}

.diagnostic-v4 .profile-diagnostic.diagnostic-tool {
  height: clamp(760px, calc(100svh - 110px), 900px);
}

.diagnostic-v4 .profile-screen {
  inset: 0;
  min-height: 0;
  overflow: hidden;
  padding-top: clamp(24px, 3vw, 42px);
  position: absolute;
}

.diagnostic-v4 .profile-screen.is-active {
  align-items: flex-start;
}

.diagnostic-v4 .profile-screen[data-profile-screen="loading"].is-active {
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.diagnostic-v4 .profile-screen[data-profile-screen="loading"] .profile-container {
  align-self: center;
}

.diagnostic-v4 .profile-screen[data-profile-screen="loading"] .profile-loading-dots {
  margin-bottom: 0;
}

.diagnostic-v4 .profile-screen[data-profile-screen="loading"] .profile-loading-dots + .profile-loading-label {
  margin-top: 28px;
}

.diagnostic-v4 .profile-screen[data-profile-screen="result"].is-active {
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.diagnostic-v4 .profile-diagnostic.diagnostic-tool.is-result-halo::before {
  background: radial-gradient(ellipse at center, rgba(214, 176, 137, 0.13), transparent 64%);
  content: "";
  height: 520px;
  left: 50%;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 92vw);
}

.profile-result-content[hidden] {
  display: none;
}

.profile-result-content {
  background: #0b0c0f;
}

.profile-result-page-active .diagnostic-console {
  display: none;
}

.profile-result-hero {
  margin: 0 auto;
  max-width: 820px;
  opacity: 0;
  padding: clamp(58px, 8vw, 96px) 0 clamp(42px, 6vw, 70px);
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.profile-result-hero.is-visible {
  opacity: 1;
  transform: none;
}

.profile-result-hero h2 {
  max-width: 820px;
}

.profile-result-main-quote,
.profile-result-question,
.profile-result-quotes blockquote {
  border-left: 0;
  color: var(--text-dim);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
  padding-left: 0;
}

.profile-result-main-quote {
  color: var(--text);
  font-size: clamp(26px, 3.4vw, 42px);
  margin-top: 28px;
}

.profile-result-percent,
.profile-result-percent-sub {
  color: var(--text-dim);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  margin: 24px 0 0;
  max-width: 680px;
}

.profile-result-percent strong {
  color: var(--amber);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.profile-result-percent-sub {
  margin-top: 10px;
}

.profile-result-question {
  color: var(--text);
  font-size: clamp(26px, 3.2vw, 38px);
}

.profile-result-question span {
  display: block;
}

.profile-result-question span + span {
  margin-top: 18px;
}

.profile-result-quotes {
  display: grid;
  gap: 16px;
}

.profile-result-quotes blockquote {
  font-size: clamp(22px, 2.6vw, 30px);
}

.profile-result-block {
  border-bottom: 1px solid var(--border-soft);
  margin: 0 auto;
  max-width: 760px;
  opacity: 0;
  padding: clamp(52px, 7vw, 82px) 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.profile-result-block.is-visible {
  opacity: 1;
  transform: none;
}

.profile-result-block h2 {
  max-width: 760px;
}

.profile-result-copy {
  color: var(--text-dim);
  display: grid;
  gap: 18px;
  font-size: 16px;
  line-height: 1.85;
}

.profile-result-copy-large {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.78;
}

.profile-result-copy p,
.profile-result-card p {
  color: var(--text-dim);
  margin: 0;
}

.profile-result-copy strong,
.profile-result-gap strong {
  color: var(--text);
  font-weight: 500;
}
.profile-result-program {
  border-left: 1px solid var(--amber-dim);
  display: grid;
  gap: 14px;
  padding-left: 18px;
}

.profile-result-program p {
  color: var(--text-dim);
  font-family: var(--serif);
  font-size: clamp(21px, 2.5vw, 29px);
  font-style: italic;
  line-height: 1.42;
  margin: 0;
}

.profile-result-email {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: clamp(28px, 5vw, 44px);
}

.profile-result-email form {
  margin-top: 26px;
}
.profile-dist-bar.is-active .profile-dist-bar-fill {
  background: var(--amber);
}
.profile-dist-bar.is-active .profile-dist-bar-label {
  color: var(--amber);
}

@media (max-width: 560px) {
  .diagnostic-v4 .profile-diagnostic.diagnostic-tool {
    height: min(840px, calc(100svh - 24px));
    min-height: 760px;
  }

  .diagnostic-v4 .profile-screen {
    padding: 30px 0;
  }

  .diagnostic-v4 .profile-question-text {
    font-size: clamp(21px, 5.8vw, 26px);
    line-height: 1.28;
    margin-bottom: 26px;
  }

  .diagnostic-v4 .profile-question-hint {
    font-size: 10px;
    margin: -12px 0 18px;
  }

  .diagnostic-v4 .profile-options {
    gap: 8px;
    min-height: 0;
  }

  .diagnostic-v4 .profile-option {
    font-size: 15px;
    line-height: 1.34;
    padding: 12px 13px;
  }

  .diagnostic-v4 .profile-next-btn {
    margin-top: 18px;
    min-height: 44px;
    padding: 13px 18px;
  }

  .diagnostic-v4 .profile-screen[data-profile-screen="intro"]::before {
    opacity: 0.42;
    width: min(118vw, 560px);
  }
}

/* ============================================================
   Verbatim cards (corpus 36 087 anonymized fragments)
   Used on dbr_sales_page.html + 8 SEO phase pages
   ============================================================ */
.verbatim-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.verbatim-card blockquote {
  margin: 0;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  font-size: 0.95em;
}

.verbatim-card figcaption {
  color: var(--text-dim);
  font-size: 0.82em;
  font-style: normal;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* ============================================================
   FAQ accordion items (used on 8 SEO phase pages)
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 48px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4em;
  color: var(--text-dim);
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px 24px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================================
   Skip link (WCAG 2.4.1 — Aller au contenu)
   sr-only pattern : VRAIMENT invisible jusqu'au focus clavier
   ============================================================ */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: transparent;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--accent, #d6b089);
  color: #0d0e11;
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ============================================================
   Nav touch target — WCAG 2.5.5 AAA (44×44 min)
   ============================================================ */
.nav > a {
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 640px) {
  .nav > a {
    padding-top: 14px;
    padding-bottom: 14px;
    min-height: 48px;
  }
}

.brand {
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
