:root {
  --black: #050505;
  --ink: #151515;
  --muted: #646464;
  --line: #d9d9d9;
  --soft: #f5f5f2;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

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

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

.site-header {
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--black);
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  flex: 0 0 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--black);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.header-actions .text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
}

.hero {
  min-height: calc(100svh - 150px);
  display: grid;
  align-items: end;
  padding: clamp(32px, 6vw, 82px);
  color: var(--white);
  background: var(--black);
}

.hero-content {
  max-width: 980px;
}

.home-hero {
  min-height: min(720px, calc(100svh - 76px));
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: currentColor;
  opacity: 0.72;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

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

h1 {
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

p {
  line-height: 1.7;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions,
.consultation-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
}

.trust-bar {
  min-height: 74px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
}

.trust-bar span {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 14px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 54px);
}

.page-hero {
  min-height: 420px;
  display: grid;
  align-content: end;
  padding: clamp(52px, 8vw, 112px) clamp(18px, 4vw, 54px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
  color: var(--black);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.page-hero-image {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)),
    url("assets/diagnostic-hero.png");
  background-size: cover;
  background-position: center;
}

.page-hero-image h1,
.page-hero-image p:not(.eyebrow) {
  color: var(--white);
}

.light-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.mini-metrics article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px;
}

.mini-metrics strong {
  display: block;
  color: var(--white);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.9;
}

.mini-metrics span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.proof-strip {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  background: var(--soft);
}

.proof-strip > div {
  max-width: 900px;
}

.proof-strip p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.process-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-preview-grid article {
  background: var(--white);
  padding: clamp(22px, 4vw, 34px);
  min-height: 260px;
}

.process-preview-grid span {
  display: block;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 70px;
}

.process-preview-grid p {
  color: var(--muted);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}

.intro-section > p {
  color: var(--muted);
  font-size: 18px;
}

.two-column,
.demo-section,
.consultation {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

.copy-stack {
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  padding-top: 0;
}

.feature-grid article {
  background: var(--white);
  padding: 28px;
  min-height: 300px;
}

.compact-grid {
  padding-top: clamp(56px, 8vw, 112px);
}

.compact-grid article {
  min-height: 360px;
}

.number {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 70px;
}

.feature-grid p,
.package p,
.process li,
.consultation p,
.intake-intro p,
.form-note,
.case-card p,
.video-placeholder p,
.expanded-footer p {
  color: var(--muted);
}

.black-section {
  background: var(--black);
  color: var(--white);
}

.benefit-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.benefit-list article {
  background: var(--black);
  padding: 22px;
}

.benefit-list p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0;
}

.demo-section {
  background: var(--soft);
}

.demo-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.demo-top {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.demo-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.demo-body {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 18px;
  padding: 22px;
}

.demo-body small {
  color: var(--muted);
  font-weight: 700;
}

.choice {
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 0 14px;
  margin-bottom: 10px;
  color: var(--muted);
}

.choice.active {
  border-color: var(--black);
  color: var(--black);
  font-weight: 700;
}

.result {
  background: var(--black);
  color: var(--white);
  padding: 24px;
}

.result p {
  color: rgba(255, 255, 255, 0.68);
}

.result span {
  min-height: 42px;
  display: grid;
  place-items: center;
  margin-top: 24px;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

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

.three-packages {
  grid-template-columns: repeat(3, 1fr);
}

.package {
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 38px);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.home-offers .package {
  min-height: 260px;
}

.business-fit {
  background: var(--soft);
}

.embed-code {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
}

.business-fit .section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.business-grid article {
  min-height: 190px;
  padding: 24px;
  background: var(--white);
}

.business-grid h3 {
  margin-bottom: 18px;
}

.business-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background: var(--soft);
}

.pricing-copy {
  max-width: 680px;
}

.pricing-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 0.98;
}

.pricing-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--black);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 14px 14px 0 var(--black);
}

.pricing-card-top {
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.pricing-card-top span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

.pricing-card-top strong {
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1;
}

.pricing-card-top small {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}

.pricing-card li {
  padding-left: 24px;
  position: relative;
  color: var(--ink);
  line-height: 1.45;
}

.pricing-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--black);
  position: absolute;
  left: 0;
  top: 0.65em;
}

.pricing-note {
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-options article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  padding: clamp(26px, 5vw, 48px);
}

.contact-options p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: auto;
}

.contact-options h2 {
  max-width: 620px;
  margin-bottom: 18px;
}

.package-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.package-dark p,
.package-dark li {
  color: rgba(255, 255, 255, 0.7);
}

.package ul {
  padding-left: 20px;
  margin: 20px 0 auto;
  display: grid;
  gap: 10px;
}

.example-section {
  background: var(--soft);
}

.example-section .section-heading p {
  color: var(--muted);
  max-width: 860px;
}

.example-section .section-heading h2 {
  font-size: clamp(42px, 6vw, 78px);
}

.example-section .section-heading > .eyebrow {
  color: var(--black);
  opacity: 1;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.example-section .section-heading > p:not(.eyebrow) {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.55;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.case-card {
  min-height: 300px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
}

.case-card-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.case-card-dark p,
.case-card-dark .number {
  color: rgba(255, 255, 255, 0.68);
}

.story-rotator {
  display: grid;
  gap: 1px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.story-step {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: start;
  padding: clamp(20px, 3vw, 34px);
  background: var(--white);
  opacity: 0.62;
  transition: background 500ms ease, color 500ms ease, opacity 500ms ease, transform 500ms ease;
}

.story-step.active {
  background: var(--black);
  color: var(--white);
  opacity: 1;
  transform: scale(1.01);
}

.story-step > span {
  color: var(--black);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.9;
  font-weight: 900;
}

.story-step.active > span,
.story-step.active p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.story-step h3 {
  font-size: clamp(22px, 3vw, 34px);
  max-width: 860px;
  margin-bottom: 8px;
}

.story-step p:not(.eyebrow) {
  max-width: 920px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 0;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.result-grid article {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(24px, 4vw, 36px);
}

.result-grid strong {
  color: var(--black);
  font-size: clamp(86px, 14vw, 180px);
  line-height: 0.9;
}

.result-grid span {
  color: var(--muted);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.55;
}

.video-placeholder {
  min-height: 320px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(24px, 5vw, 46px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.68)),
    url("assets/diagnostic-hero.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.video-placeholder p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 720px;
}

.case-video {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.45fr);
  gap: 24px;
  align-items: stretch;
}

.solo-video {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.case-video-top {
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.55fr);
}

.case-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  background: var(--black);
  border: 1px solid var(--line);
}

.case-video-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--black);
  color: var(--white);
  padding: clamp(22px, 3vw, 34px);
}

.case-video-copy h2 {
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1;
}

.case-video-copy h3 {
  font-size: clamp(24px, 2.5vw, 34px);
}

.case-video-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.case-video-copy .button {
  width: fit-content;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
  padding: clamp(32px, 5vw, 64px) clamp(18px, 4vw, 54px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.case-hero-copy,
.case-hero-video > div {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
}

.case-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.case-hero-copy h1 {
  color: var(--black);
  font-size: clamp(42px, 6vw, 74px);
}

.case-hero-copy > p {
  color: var(--muted);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.18;
  color: var(--black);
  margin-bottom: 0;
}

.case-hero-points {
  display: grid;
  gap: 1px;
  width: 100%;
  margin: 24px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.case-hero-points article {
  background: var(--white);
  padding: 18px;
}

.case-hero-points span {
  display: block;
  color: var(--black);
  font-weight: 900;
  margin-bottom: 8px;
}

.case-hero-points p {
  color: var(--muted);
  margin-bottom: 0;
}

.case-hero-video {
  display: grid;
  align-content: start;
}

.case-hero-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--black);
  border: 1px solid var(--line);
  border-bottom: 0;
}

.case-hero-video h2 {
  font-size: clamp(28px, 3.6vw, 48px);
}

.case-hero-video p:not(.eyebrow) {
  color: var(--muted);
}

.process {
  background: var(--black);
  color: var(--white);
}

.process ol {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process li {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 18px;
}

.process strong {
  color: var(--white);
}

.process-steps {
  display: grid;
  gap: 1px;
  background: var(--black);
  padding-top: 1px;
  padding-bottom: 1px;
}

.step-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 36px);
  background: var(--white);
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
}

.step-number {
  color: var(--black);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.85;
  font-weight: 900;
}

.step-card h2 {
  max-width: 860px;
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
}

.step-card p:not(.eyebrow) {
  max-width: 840px;
  color: var(--muted);
  font-size: 18px;
}

.step-card strong {
  display: block;
  margin-top: 18px;
  color: var(--black);
}

.consultation {
  align-items: center;
}

.consultation-actions {
  justify-content: flex-start;
}

.text-link {
  color: var(--muted);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--black);
  background: var(--black);
  color: rgba(255, 255, 255, 0.68);
}

.expanded-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(160px, 0.5fr));
  align-items: start;
}

.expanded-footer h3 {
  color: var(--white);
  margin-bottom: 14px;
}

.expanded-footer a:not(.brand) {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.expanded-footer p {
  max-width: 420px;
  margin: 18px 0 0;
}

.footer .brand strong {
  color: var(--white);
}

.footer .brand small {
  color: rgba(255, 255, 255, 0.58);
}

.legal-hero {
  min-height: 340px;
}

.legal-content {
  max-width: 980px;
}

.legal-content h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin: 34px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  font-size: 18px;
}

.legal-content a {
  text-decoration: underline;
}

.intake-page {
  background: var(--soft);
}

.intake-main {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 52px 0 80px;
}

.intake-intro {
  max-width: 820px;
  margin-bottom: 28px;
}

.intake-intro h1 {
  color: var(--black);
}

.intake-form {
  display: grid;
  gap: 18px;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.wizard-progress span {
  min-height: 48px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.wizard-progress span.active {
  background: var(--black);
  color: var(--white);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.setup-group + .setup-group {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.setup-group h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.color-card {
  min-height: 108px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  text-align: center;
}

.color-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.color-card span {
  width: 38px;
  height: 38px;
  border: 1px solid var(--black);
  background: var(--swatch);
}

.color-card:has(input:checked) {
  border-color: var(--black);
  box-shadow: inset 0 0 0 2px var(--black);
}

.color-card strong {
  font-size: 13px;
}

.wizard-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: rgba(245, 245, 242, 0.92);
  backdrop-filter: blur(18px);
  padding: 16px 0;
}

.wizard-controls[hidden],
.form-actions[hidden] {
  display: none;
}

.intake-form section {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 34px);
}

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

.option-grid,
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

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

.option-card,
.avatar-card {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
}

.avatar-card {
  min-height: 310px;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 0 0 18px;
}

.option-card input,
.avatar-card input {
  position: absolute;
  inset: 14px 14px auto auto;
  width: 18px;
  min-height: 18px;
  accent-color: var(--black);
}

.option-card span,
.avatar-card strong {
  padding-right: 24px;
  font-size: 16px;
  line-height: 1.25;
}

.avatar-card small,
.field-help {
  color: var(--muted);
  font-size: 13px;
}

.field-help {
  margin-bottom: 18px;
  font-weight: 700;
}

.avatar-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.avatar-card strong {
  margin-top: 12px;
  padding: 0 18px;
}

.avatar-card small {
  padding: 0 18px;
}

.option-card:has(input:checked),
.avatar-card:has(input:checked) {
  border-color: var(--black);
  box-shadow: inset 0 0 0 2px var(--black);
}

.question-card.is-hidden {
  display: none;
}

.service-examples {
  margin-top: 16px;
}

.service-examples article {
  display: none;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  padding: 18px;
}

.service-examples article.is-visible {
  display: grid;
  gap: 8px;
}

.service-examples strong {
  font-size: 15px;
}

.service-examples span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  padding: 10px 12px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-actions {
  position: sticky;
  bottom: 0;
  background: rgba(245, 245, 242, 0.92);
  backdrop-filter: blur(18px);
  padding: 16px 0;
}

.auth-main,
.dashboard-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 90px;
}

.auth-card {
  max-width: 560px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(26px, 5vw, 48px);
}

.auth-card h1,
.dashboard-hero h1 {
  color: var(--black);
  font-size: clamp(42px, 6vw, 72px);
}

.auth-card p,
.dashboard-hero p,
.dashboard-panel p {
  color: var(--muted);
}

.auth-card form {
  margin-top: 22px;
}

.auth-divider {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 24px;
}

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

.dashboard-panel,
.dashboard-empty {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 38px);
}

.dashboard-empty {
  max-width: 760px;
}

.dashboard-panel textarea {
  min-height: 112px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  margin: 12px 0;
}

.dashboard-panel dl {
  display: grid;
  gap: 14px;
}

.dashboard-panel dt {
  color: var(--muted);
  font-weight: 800;
}

.dashboard-panel dd {
  margin: 4px 0 0;
}

.color-dot {
  width: 13px;
  height: 13px;
  display: inline-block;
  margin-right: 8px;
  border: 1px solid var(--black);
  background: var(--dot);
  vertical-align: -1px;
}

.assistant-page {
  background: var(--soft);
}

.assistant-shell {
  width: min(1080px, calc(100% - 36px));
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
  margin: 0 auto;
  padding: 36px 0;
}

.assistant-panel,
.assistant-diagnostic,
.assistant-result {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 34px);
}

.assistant-panel {
  position: sticky;
  top: 22px;
  border-top: 8px solid var(--assistant-accent, var(--black));
}

.assistant-panel h1 {
  color: var(--black);
  font-size: clamp(36px, 5vw, 62px);
}

.assistant-photo {
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
  border-bottom: 8px solid var(--assistant-accent, var(--black));
  margin-bottom: 20px;
}

.assistant-shell .button {
  background: var(--assistant-accent, var(--black));
  border-color: var(--assistant-accent, var(--black));
}

.assistant-result {
  grid-column: 2;
}

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

@media (max-width: 940px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 78svh;
    background: var(--black);
  }

  .trust-bar,
  .feature-grid,
  .package-grid,
  .three-packages,
  .dashboard-grid,
  .assistant-shell,
  .business-grid,
  .contact-options,
  .intro-section,
  .mini-metrics,
  .process-preview-grid,
  .case-grid,
  .story-step,
  .result-grid,
  .pricing-section,
  .case-video,
  .case-hero,
  .video-placeholder,
  .expanded-footer,
  .step-card,
  .two-column,
  .demo-section,
  .consultation,
  .demo-body,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .assistant-panel {
    position: static;
  }

  .assistant-result {
    grid-column: auto;
  }

  .wizard-progress {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .trust-bar span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .number {
    margin-bottom: 36px;
  }

  .package {
    min-height: auto;
  }

  .case-video {
    gap: 0;
  }

  .case-video video {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .case-video-copy {
    padding: 24px;
  }

  .case-video-copy h2 {
    font-size: 32px;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .consultation-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .header-actions .button {
    width: auto;
  }
}
