:root {
  --ink: #16201d;
  --muted: #66726f;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #f8fafb;
  --line: #dce3e0;
  --line-strong: #c8d2ce;
  --green: #0f6f55;
  --green-dark: #0f352f;
  --blue: #225ea8;
  --blue-soft: #e8f0fb;
  --amber: #ad6a17;
  --amber-soft: #fbf0df;
  --red: #b4473a;
  --red-soft: #fae8e4;
  --success-soft: #e5f4ed;
  --shadow: 0 18px 60px rgba(22, 32, 29, 0.12);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.5;
}

:lang(ko) {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

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

a:hover {
  color: var(--green);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(15, 111, 85, 0.3);
  outline-offset: 3px;
}

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

.hidden {
  display: none;
}

.no-break {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(220, 227, 224, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-height: 44px;
  font-weight: 780;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--green-dark);
  font-size: 15px;
}

nav {
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.nav-cta {
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--green-dark);
  background: white;
}

.mobile-cta {
  display: none;
}

.mobile-cta.is-hidden {
  display: none;
}

.product-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 30px;
}

.shell-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: 0;
}

.simple-shell {
  padding-top: 22px;
  padding-bottom: 22px;
}

.simple-shell h1 {
  max-width: 560px;
  font-size: 46px;
}

h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: 0;
}

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

.shell-heading p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 16px;
}

.system-status {
  display: grid;
  gap: 6px;
  min-width: 240px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.system-status span,
.last-checked {
  color: var(--muted);
  font-size: 13px;
}

.system-status strong {
  color: var(--green-dark);
  font-size: 15px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(420px, 1.45fr) minmax(260px, 0.86fr);
  gap: 16px;
  align-items: start;
}

.simple-workspace {
  grid-template-columns: minmax(280px, 0.95fr) minmax(440px, 1.25fr) minmax(260px, 0.8fr);
}

.intake-panel,
.results-panel,
.evidence-panel,
.pilot-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intake-panel,
.results-panel,
.evidence-panel {
  padding: 14px;
}

.panel-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.panel-heading.split {
  justify-content: space-between;
  align-items: center;
}

.panel-heading h2 {
  margin: 0;
  font-size: 19px;
}

.panel-heading p {
  margin: 4px 0 0;
  font-size: 14px;
}

.step-index {
  display: grid;
  min-width: 32px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: var(--green-dark);
  background: var(--success-soft);
  font-size: 12px;
  font-weight: 850;
}

.mock-fields {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

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

legend {
  padding: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface-soft);
  font: inherit;
  font-weight: 500;
}

textarea {
  resize: vertical;
}

input[readonly],
textarea[readonly] {
  color: #43504c;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 780;
  cursor: pointer;
}

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

.button.primary:hover {
  color: white;
  background: #16473f;
}

.button.secondary {
  border-color: var(--line-strong);
  color: var(--green-dark);
  background: var(--surface);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
}

.button.full {
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-hero,
.coverage-section,
.workflow-section,
.difference-section,
.onboarding-page {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.home-hero {
  padding: 42px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: 58px;
}

.hero-copy p {
  max-width: 660px;
  font-size: 17px;
}

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

.hero-points li {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 760;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.showcase-monitor {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101817;
  box-shadow: 0 28px 80px rgba(22, 32, 29, 0.18);
}

.monitor-topbar,
.monitor-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: white;
}

.monitor-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.monitor-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7be0b8;
}

.monitor-topbar small,
.monitor-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.monitor-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.monitor-caption {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 24, 23, 0.92);
}

.opportunity-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.opportunity-row:first-of-type {
  border-top: 0;
}

.opportunity-row.top-match {
  padding-top: 6px;
}

.rank {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.low-match .rank {
  background: #6b7280;
}

.row-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}

.row-topline h3 {
  margin: 0;
}

.fit-score {
  display: inline-grid;
  min-width: 42px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  font-weight: 850;
}

.fit-score.high {
  color: var(--green-dark);
  background: var(--success-soft);
}

.fit-score.medium {
  color: var(--blue);
  background: var(--blue-soft);
}

.fit-score.low {
  color: var(--amber);
  background: var(--amber-soft);
}

.opportunity-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 0 0 8px;
}

.opportunity-facts div,
.result-table td,
.result-table th {
  min-width: 0;
}

.opportunity-facts dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.opportunity-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.evidence-line {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.evidence-line.warning {
  color: var(--amber);
}

.panel-footnote {
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

.confidence-list div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 0 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.confidence-list strong {
  font-size: 14px;
}

.confidence-list p {
  grid-column: 2;
  margin: 3px 0 0;
  font-size: 13px;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
}

.status-dot.good {
  background: var(--green);
}

.status-dot.watch {
  background: var(--amber);
}

.status-dot.stop {
  background: var(--red);
}

.source-map {
  margin: 12px 0 0;
}

.source-map img {
  width: 100%;
  height: 120px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.source-map figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.section-band,
.sample-section,
.operator-section,
.apply {
  padding: 70px 0;
  scroll-margin-top: 84px;
}

#scan,
#request,
#criteria,
#coverage,
#demo,
#workflow,
#sample,
#difference,
#testimonials,
#pricing-preview {
  scroll-margin-top: 84px;
}

.section-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section-grid,
.section-heading,
.operator-section,
.sample-section,
.apply,
footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: start;
}

.body-copy p {
  max-width: 760px;
  font-size: 18px;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-heading.compact {
  text-align: center;
}

.result-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.result-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 14px;
}

.result-table th {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 12px;
  text-align: left;
}

.result-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.result-table tr:last-child td {
  border-bottom: 0;
}

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

.rule-grid article,
.audience-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.rule-grid strong,
.audience-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.rule-grid p,
.audience-grid span {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.steps span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.steps p {
  margin-bottom: 0;
  font-size: 14px;
}

.audience-section {
  text-align: center;
}

.audience-grid {
  width: min(900px, calc(100% - 48px));
  margin: 28px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 780;
}

details p {
  padding: 0 18px 18px;
  margin: 0;
}

.apply {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.apply-copy {
  position: sticky;
  top: 88px;
}

.apply-notes {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.apply-notes li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.pilot-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.embedded-form {
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.embedded-form label {
  gap: 5px;
}

.embedded-form input,
.embedded-form select,
.embedded-form textarea {
  min-height: 40px;
  padding: 8px 10px;
}

.request-panel .form-grid {
  grid-template-columns: 1fr;
  gap: 9px;
}

.embedded-form .submit {
  width: 100%;
}

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

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

.form-section-heading h2 {
  margin: 0;
  font-size: 18px;
}

.form-section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.url-section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.url-field input {
  background: var(--surface);
}

.choice-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

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

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

.choice-grid button {
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--surface-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.choice-grid button:hover,
.choice-grid button.is-selected {
  border-color: var(--green-dark);
  background: var(--success-soft);
}

.choice-grid button.is-selected {
  box-shadow: inset 0 0 0 1px var(--green-dark);
}

.mode-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.mode-option {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface-soft);
  text-align: left;
  cursor: pointer;
}

.mode-option.is-active {
  border-color: var(--green-dark);
  background: var(--success-soft);
  box-shadow: inset 0 0 0 1px var(--green-dark);
}

.mode-option strong {
  color: var(--green-dark);
  font-size: 15px;
}

.mode-option span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.advanced-fields {
  display: grid;
  gap: 16px;
}

.advanced-fields[hidden] {
  display: none;
}

.profile-meter,
.profile-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.profile-meter {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #eef5f2;
}

.profile-meter strong {
  display: block;
  color: var(--green-dark);
}

.profile-meter p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.meter-label,
.plan-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--success-soft);
  font-size: 12px;
  font-weight: 850;
}

.profile-group {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.profile-group-heading {
  display: grid;
  gap: 6px;
}

.profile-group-heading h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 20px;
}

.profile-group-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.locked-group {
  position: relative;
  background: var(--surface-soft);
}

.plan-chip.locked {
  color: var(--amber);
  background: var(--amber-soft);
}

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

.locked-field-grid label {
  color: #44514d;
}

.locked-field-grid input:disabled {
  color: #6d7975;
  border-style: dashed;
  background: #eef1f0;
  cursor: not-allowed;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

[aria-invalid="true"] {
  border-color: var(--red);
  background: var(--red-soft);
}

.submit {
  width: fit-content;
  min-width: 180px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 720;
}

.form-note {
  margin: -2px 0 0;
  font-size: 12px;
}

.demo-section,
.sample-output,
.testimonials,
.pricing-preview,
.pricing-page {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0;
  scroll-margin-top: 84px;
}

.coverage-grid,
.workflow-list,
.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.coverage-grid article,
.workflow-list li,
.difference-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.coverage-grid strong,
.difference-grid strong,
.workflow-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.coverage-grid span,
.difference-grid p,
.workflow-list p {
  margin: 0;
  color: var(--muted);
}

.workflow-list {
  padding: 0;
  list-style: none;
}

.workflow-list span {
  display: inline-grid;
  width: 34px;
  height: 30px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 7px;
  color: var(--green-dark);
  background: var(--success-soft);
  font-size: 12px;
  font-weight: 850;
}

.onboarding-page {
  padding: 42px 0 48px;
}

.onboarding-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.onboarding-intro h1 {
  font-size: 48px;
}

.onboarding-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.onboarding-form,
.onboarding-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.onboarding-aside {
  padding: 22px;
}

.onboarding-aside h2 {
  font-size: 22px;
}

.onboarding-aside ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
}

.profile-preview {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.profile-preview strong {
  color: var(--green-dark);
}

.profile-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.wizard-page {
  min-height: calc(100vh - 64px);
}

.wizard-page .onboarding-intro {
  max-width: 820px;
}

.wizard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.wizard-card,
.wizard-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.wizard-card {
  display: grid;
  gap: 18px;
  min-height: 600px;
  padding: 24px;
}

.wizard-topline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.wizard-progress-track,
.completeness-track {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #e8eeeb;
}

.wizard-progress-track span,
.completeness-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--green-dark);
  transition: width 240ms ease;
}

.wizard-step {
  display: grid;
  gap: 16px;
  align-content: start;
  animation: wizardStepIn 220ms ease both;
}

.wizard-step[hidden] {
  display: none;
}

.wizard-step h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
}

.wizard-step p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.wizard-field {
  position: relative;
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
}

.wizard-field input,
.wizard-field textarea {
  background: var(--surface-soft);
}

.wizard-field textarea {
  min-height: 116px;
}

.analysis-status {
  min-height: 24px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 760;
}

.step-primary-action {
  width: fit-content;
}

#start-local-demo {
  min-height: 45px;
}

.optional-label {
  color: var(--muted);
  font-size: 0.58em;
  font-weight: 700;
  white-space: nowrap;
}

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

.source-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.source-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.source-panel-heading h3 {
  margin: 0 0 4px;
  color: var(--green-dark);
  font-size: 19px;
}

.source-panel-heading p,
.source-privacy-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.source-count {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--success-soft);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.source-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.72fr) auto;
  gap: 10px;
  align-items: end;
}

.file-source-composer {
  grid-template-columns: minmax(0, 1fr) auto;
}

.source-add-button,
.file-picker {
  min-height: 44px;
  white-space: nowrap;
}

.file-picker {
  align-self: end;
  cursor: pointer;
}

.visually-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden-file:focus-visible + .file-picker {
  outline: 3px solid rgba(15, 111, 85, 0.3);
  outline-offset: 3px;
}

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

.source-empty {
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  font-size: 13px;
  text-align: center;
}

.source-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.source-row-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.source-row-label {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.source-row-meta,
.source-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.source-row-category {
  color: var(--muted);
  font-size: 12px;
}

.source-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 800;
}

.source-status-pill.success {
  color: var(--green-dark);
  background: var(--success-soft);
}

.source-status-pill.attention {
  color: var(--amber);
  background: var(--amber-soft);
}

.source-status-pill.error {
  color: var(--red);
  background: var(--red-soft);
}

.source-row-action {
  min-width: 58px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.source-row-action.delete {
  color: var(--red);
}

.source-privacy-note {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: var(--success-soft);
}

.source-feedback {
  min-height: 22px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
}

.source-feedback.error {
  color: var(--red);
}

.source-analysis-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.is-analyzing .analysis-status::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--green-dark);
  animation: pulseDot 820ms ease-in-out infinite;
}

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

.industry-field {
  grid-column: 1 / -1;
}

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

.profile-confirm-action {
  width: fit-content;
}

.structured-fieldset,
.secondary-location-editor {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.structured-fieldset legend {
  padding: 0 6px;
  font-weight: 800;
}

.combobox-label {
  display: block;
  margin-bottom: -5px;
}

.combobox-shell {
  position: relative;
}

.combobox-options {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  overflow-y: auto;
  max-height: min(320px, 45vh);
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(22, 32, 29, 0.16);
}

.combobox-option {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.combobox-option:hover,
.combobox-option:focus-visible,
.combobox-option.is-active {
  background: var(--success-soft);
}

.selection-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
  align-items: center;
}

.industry-picker-trigger {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.industry-picker-trigger:hover,
.industry-picker-trigger:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 111, 85, 0.14);
}

.industry-picker-is-open {
  overflow: hidden;
}

.industry-picker-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 18, 16, 0.62);
}

.industry-picker-backdrop[hidden] {
  display: none;
}

.industry-picker-dialog {
  display: flex;
  overflow: hidden;
  width: min(1180px, 100%);
  max-height: min(860px, calc(100dvh - 48px));
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(6, 24, 19, 0.28);
}

.industry-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.industry-picker-header h2,
.industry-picker-header p {
  margin: 0;
}

.industry-picker-icon-button {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink-muted);
  background: transparent;
  font: inherit;
  font-size: 28px;
  cursor: pointer;
}

.industry-picker-icon-button:hover,
.industry-picker-icon-button:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
}

.industry-picker-search {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}

.industry-picker-search label {
  font-size: 14px;
  font-weight: 800;
}

.industry-picker-search input {
  min-height: 48px;
}

.industry-picker-suggestions {
  margin-top: 12px;
}

.industry-picker-suggestions[hidden] {
  display: none;
}

.industry-picker-suggestions p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 8px;
  color: var(--ink-muted);
  font-size: 13px;
}

.industry-picker-suggestions strong {
  color: var(--ink);
}

.industry-suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.industry-suggestion-chip {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--success-soft);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.industry-suggestion-chip:hover,
.industry-suggestion-chip:focus-visible,
.industry-suggestion-chip.is-selected {
  color: var(--surface);
  background: var(--green-dark);
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.product-form-summary {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-form-summary > strong,
.product-form-summary > p {
  margin: 0;
}

.product-form-picker {
  display: grid;
  gap: 10px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.product-form-picker-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-form-picker-heading h3,
.product-form-picker-heading p {
  margin: 0;
}

.product-form-picker-heading > p {
  color: var(--ink-muted);
  font-weight: 800;
  white-space: nowrap;
}

.product-form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-form-chip {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.product-form-chip:hover,
.product-form-chip:focus-visible,
.product-form-chip.is-selected {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--success-soft);
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.industry-search-results {
  position: absolute;
  z-index: 3;
  top: calc(100% - 8px);
  right: 24px;
  left: 24px;
  overflow-y: auto;
  max-height: min(360px, 48vh);
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(15, 38, 31, 0.2);
}

.industry-search-result {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.industry-search-result:hover,
.industry-search-result:focus-visible,
.industry-search-result[aria-selected="true"] {
  background: var(--success-soft);
}

.industry-search-empty {
  margin: 0;
  padding: 16px 12px;
  color: var(--ink-muted);
}

.industry-picker-breadcrumb {
  display: none;
  margin: 0;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--green-dark);
  background: var(--success-soft);
  font-size: 14px;
  font-weight: 800;
}

.industry-picker-columns {
  display: grid;
  overflow: hidden;
  min-height: 240px;
  flex: 1;
  grid-template-columns: 2fr 1fr 1.35fr;
}

.industry-picker-column {
  overflow-y: auto;
  min-width: 0;
  border-right: 1px solid var(--line);
}

.industry-picker-column:last-child {
  border-right: 0;
}

.industry-picker-column h3 {
  position: sticky;
  z-index: 1;
  top: 0;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  background: var(--surface-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
}

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

.industry-root-list .industry-category-row:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.industry-category-row {
  display: block;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.industry-category-row.is-active {
  background: var(--success-soft);
}

.industry-category-navigation {
  width: 100%;
  min-height: 48px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.industry-category-navigation {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  text-align: left;
  font-weight: 750;
}

.industry-category-navigation:hover,
.industry-category-navigation:focus-visible {
  color: var(--green-dark);
  outline: 2px solid var(--green);
  outline-offset: -3px;
}

.industry-leaf-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
  padding: 18px;
}

.industry-leaf-chip {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.industry-leaf-chip:hover,
.industry-leaf-chip:focus-visible,
.industry-leaf-chip.is-selected {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--success-soft);
}

.industry-picker-footer {
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
  grid-template-columns: 1fr auto 1fr;
}

.industry-picker-reset {
  width: fit-content;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.industry-picker-reset:hover,
.industry-picker-reset:focus-visible {
  color: var(--green-dark);
  text-decoration: underline;
}

.industry-picker-count {
  margin: 0;
  color: var(--ink-muted);
  font-weight: 800;
}

.industry-picker-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.industry-picker-actions .button {
  min-width: 116px;
}

.industry-picker-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.selection-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  padding: 2px 2px 2px 12px;
  border: 1px solid rgba(15, 111, 85, 0.25);
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--success-soft);
  font-weight: 750;
}

.selection-chip button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.selection-chip button:hover,
.selection-chip button:focus-visible {
  background: rgba(15, 111, 85, 0.12);
}

.selection-empty,
.character-counter {
  color: var(--muted);
  font-size: 13px;
}

.character-counter {
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.structured-grid {
  display: grid;
  gap: 10px;
}

.structured-grid.three-columns,
.history-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  cursor: pointer;
}

.checkbox-row input {
  width: 22px;
  min-height: 22px;
  margin: 0;
}

.secondary-location-editor summary {
  min-height: 44px;
  padding: 10px 0;
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
}

.secondary-location-editor[open] summary {
  margin-bottom: 8px;
}

.structured-row-list {
  display: grid;
  gap: 8px;
}

.structured-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.structured-row > div {
  display: grid;
  gap: 3px;
}

.structured-row span {
  color: var(--muted);
  font-size: 13px;
}

.button.compact-action {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 12px;
}

.source-badge {
  width: fit-content;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.source-badge.confirmed {
  color: var(--green-dark);
  background: var(--success-soft);
}

.source-badge.inferred {
  color: var(--blue);
  background: var(--blue-soft);
}

.source-badge.needs {
  color: var(--amber);
  background: var(--amber-soft);
}

.analysis-suggestions {
  display: grid;
  gap: 16px;
  margin: 22px 0;
  padding: 20px;
  border: 1px solid #bfd8ce;
  border-radius: 14px;
  background: #f5fbf8;
}

.analysis-suggestions[hidden] {
  display: none;
}

.analysis-suggestions-heading,
.suggestion-card-heading,
.suggestion-actions,
.suggestion-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.analysis-suggestions-heading h3,
.suggestion-card h4 {
  margin: 0;
}

.analysis-suggestion-list {
  display: grid;
  gap: 14px;
}

.suggestion-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.suggestion-confidence,
.suggestion-conflict {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.suggestion-conflict {
  color: #8a4b18;
  font-weight: 700;
}

.suggestion-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e2f2eb;
  color: #0d4638;
  font-weight: 700;
}

.suggestion-evidence {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.suggestion-actions .button {
  min-height: 44px;
}

.suggestion-card.is-resolved {
  opacity: 0.72;
}

@media (max-width: 640px) {
  .analysis-suggestions {
    padding: 16px;
  }

  .suggestion-actions .button {
    flex: 1 1 100%;
  }
}

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

.opportunity-map button {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface-soft);
  text-align: left;
  cursor: pointer;
}

.opportunity-map button:hover,
.opportunity-map button.is-selected {
  border-color: var(--green-dark);
  background: var(--success-soft);
}

.opportunity-map button.is-selected {
  box-shadow: inset 0 0 0 1px var(--green-dark);
}

.opportunity-map strong {
  color: var(--green-dark);
  font-size: 15px;
}

.opportunity-map span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.final-summary {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

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

.review-group,
.review-source-failures {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.review-group h3,
.review-source-failures h3,
.review-source-failures p {
  margin: 0;
}

.review-items {
  display: grid;
  gap: 8px;
}

.review-item {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--surface);
  text-align: left;
  font: inherit;
}

button.review-item {
  cursor: pointer;
}

button.review-item:hover,
button.review-item:focus-visible {
  border-color: var(--green-dark);
  background: var(--success-soft);
}

.review-item span,
.review-empty,
.review-source-failures p {
  color: var(--muted);
  font-size: 13px;
}

.review-source-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

@media (max-width: 900px) {
  .final-review-grid { grid-template-columns: 1fr; }
}

.final-summary strong {
  color: var(--green-dark);
  font-size: 18px;
}

.final-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}

.wizard-actions .button[hidden] {
  display: none;
}

.wizard-side {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
  padding: 18px;
}

.completeness-card {
  display: grid;
  gap: 10px;
}

.completeness-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.completeness-card strong {
  color: var(--green-dark);
  font-size: 32px;
  line-height: 1;
}

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

.evidence-coverage {
  display: grid;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.evidence-coverage strong {
  font-size: 24px;
}

.wizard-checklist {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wizard-checklist li {
  position: relative;
  padding: 9px 10px 9px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 14px;
  font-weight: 760;
}

.wizard-checklist li::before {
  position: absolute;
  top: 11px;
  left: 10px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  content: "";
}

.wizard-checklist li.is-complete {
  color: var(--green-dark);
  background: var(--success-soft);
}

.wizard-checklist li.is-complete::before {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

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

@keyframes pulseDot {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wizard-step,
  .source-row,
  .is-analyzing .analysis-status::after,
  .wizard-progress-track span,
  .completeness-track span {
    animation: none;
    transition: none;
  }
}

@media (max-width: 720px) {
  .structured-grid.three-columns,
  .history-detail-grid {
    grid-template-columns: 1fr;
  }

  .combobox-options {
    position: static;
    max-height: none;
    margin-top: 6px;
    box-shadow: none;
  }

  .structured-fieldset,
  .secondary-location-editor {
    padding: 12px;
  }

  .structured-row {
    align-items: flex-start;
  }

  .industry-picker-backdrop {
    display: block;
    padding: 0;
  }

  .industry-picker-backdrop[hidden] {
    display: none;
  }

  .industry-picker-dialog {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .industry-picker-header,
  .industry-picker-search {
    padding-right: 16px;
    padding-left: 16px;
  }

  .product-form-picker {
    padding: 12px 16px;
  }

  .product-form-picker-heading {
    display: grid;
    gap: 6px;
  }

  .product-form-picker-heading > p {
    white-space: normal;
  }

  .product-form-options {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
  }

  .product-form-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .industry-search-results {
    right: 16px;
    left: 16px;
  }

  .industry-picker-breadcrumb {
    display: block;
  }

  .industry-picker-columns {
    display: block;
    overflow-y: auto;
    min-height: 0;
  }

  .industry-picker-column {
    overflow: visible;
    border-right: 0;
    border-bottom: 8px solid var(--surface-soft);
  }

  .industry-root-list {
    grid-template-columns: 1fr;
  }

  .industry-root-list .industry-category-row:nth-child(odd) {
    border-right: 0;
  }

  .industry-picker-footer {
    position: sticky;
    z-index: 4;
    bottom: 0;
    gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    grid-template-columns: 1fr auto;
  }

  .industry-picker-count {
    text-align: right;
  }

  .industry-picker-actions {
    grid-column: 1 / -1;
  }

  .industry-picker-actions .button {
    min-width: 0;
    flex: 1;
  }
}

.demo-section.section-band,
.testimonials.section-band,
.pricing-note.section-band {
  width: 100%;
}

.demo-section.section-band > *,
.testimonials.section-band > *,
.pricing-note.section-band > * {
  width: min(var(--max), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.demo-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101817;
  box-shadow: var(--shadow);
}

.demo-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.88;
}

.demo-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: white;
  background: rgba(15, 53, 47, 0.78);
}

.demo-overlay span {
  font-size: 12px;
  opacity: 0.82;
}

.sample-card-grid,
.weekly-summary,
.testimonial-grid,
.pricing-cards {
  display: grid;
  gap: 14px;
}

.sample-card-grid,
.testimonial-grid,
.pricing-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sample-card-grid article,
.profile-snapshot,
.weekly-opportunities,
.must-check-list li,
.testimonial-grid article,
.price-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sample-card-grid h3,
.price-card h2 {
  margin-top: 12px;
}

.sample-card-grid p,
.profile-snapshot p,
.must-check-list p,
.testimonial-grid p,
.price-card p {
  margin-bottom: 0;
}

.weekly-summary {
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.profile-snapshot,
.weekly-opportunities {
  box-shadow: none;
}

.profile-snapshot {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  background: var(--surface-soft);
}

.sample-label {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--success-soft);
  font-size: 12px;
  font-weight: 850;
}

.profile-snapshot h3 {
  margin: 0;
  font-size: 24px;
}

.profile-snapshot dl,
.sample-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.profile-snapshot dl div {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.profile-snapshot dt,
.sample-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.profile-snapshot dd,
.sample-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
}

.weekly-opportunities {
  display: grid;
  gap: 14px;
}

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

.weekly-stats div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.weekly-stats strong,
.weekly-stats span {
  display: block;
}

.weekly-stats strong {
  color: var(--green-dark);
  font-size: 30px;
  line-height: 1;
}

.weekly-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

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

.must-check-list li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  box-shadow: none;
}

.must-check-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.must-check-list p {
  color: var(--muted);
}

.must-check-list p strong {
  color: var(--green-dark);
}

.sample-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.sample-facts div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

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

.testimonial-grid span,
.plan-label {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.pricing-preview {
  text-align: center;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.pricing-hero {
  max-width: 760px;
  padding: 32px 0 20px;
}

.pricing-hero h1 {
  font-size: 48px;
}

.pricing-cards {
  align-items: stretch;
  margin-bottom: 40px;
}

.price-card {
  display: grid;
  gap: 14px;
  align-content: start;
  box-shadow: none;
}

.price-card h2 {
  margin: 0;
  font-size: 28px;
}

.price-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
}

.trial-card {
  border-color: var(--green);
  background: #f4fbf7;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 6px 0 0;
}

footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--green-dark);
  font-weight: 760;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.not-found {
  width: min(100%, 560px);
  display: grid;
  gap: 18px;
}

.not-found h1 {
  margin: 4px 0 0;
  font-size: 42px;
  line-height: 1.08;
}

.not-found p {
  margin: 0;
  color: var(--muted);
}

.not-found .button {
  width: fit-content;
}

@media (max-width: 1120px) {
  .workspace-grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
  }

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

  .evidence-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
    gap: 16px;
  }

  .evidence-panel .panel-heading {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 18px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

	  .product-shell,
	  .home-hero,
	  .coverage-section,
	  .workflow-section,
	  .difference-section,
	  .onboarding-page,
	  .section-grid,
	  .section-heading,
	  .operator-section,
	  .sample-section,
	  .apply,
	  .demo-section,
	  .sample-output,
	  .testimonials,
	  .pricing-preview,
	  .pricing-page,
	  footer {
	    width: min(100% - 32px, var(--max));
	  }

	  .shell-heading,
	  .hero-grid,
	  .workspace-grid,
	  .section-grid,
	  .apply,
	  .onboarding-layout,
	  .wizard-layout,
	  .profile-confirm-grid,
	  .source-panel-grid,
	  .opportunity-map {
	    grid-template-columns: 1fr;
	  }

  .system-status,
  .apply-copy {
    position: static;
  }

  .system-status {
    display: none;
  }

  .evidence-panel {
    grid-template-columns: 1fr;
  }

	  .steps,
	  .audience-grid,
	  .rule-grid,
	  .coverage-grid,
	  .workflow-list,
	  .difference-grid,
		  .sample-card-grid,
		  .weekly-summary,
		  .weekly-stats,
		  .sample-facts,
	  .mode-switch,
	  .locked-field-grid,
	  .wizard-topline,
	  .choice-grid,
	  .choice-grid.compact,
	  .industry-choice-grid,
	  .testimonial-grid,
	  .pricing-cards {
	    grid-template-columns: 1fr;
	  }

	  .audience-grid {
	    width: min(100% - 32px, var(--max));
	  }

  .wizard-side {
    position: static;
  }

	  .mobile-cta {
	    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
	    z-index: 30;
	    display: grid;
	    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 40px rgba(22, 32, 29, 0.18);
  }

  .mobile-cta a {
    display: grid;
    min-height: 42px;
    place-items: center;
    border-radius: 7px;
    color: white;
    background: var(--green-dark);
    font-weight: 780;
  }
}

@media (max-width: 640px) {
  .product-shell {
    padding-top: 28px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 28px;
  }

  .shell-heading p,
  .body-copy p {
    font-size: 16px;
  }

	  .intake-panel,
	  .results-panel,
	  .evidence-panel {
	    padding: 14px;
	  }

	  .embedded-form {
	    padding: 0;
	  }

  .field-row,
  .form-grid,
  .opportunity-facts {
    grid-template-columns: 1fr;
  }

  .opportunity-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .row-topline {
    grid-template-columns: 1fr;
  }

  .fit-score {
    width: fit-content;
  }

  .profile-snapshot {
    position: static;
  }

  .must-check-list li {
    grid-template-columns: 1fr;
  }

	  .section-band,
	  .sample-section,
	  .operator-section,
	  .apply,
	  .home-hero,
	  .coverage-section,
	  .workflow-section,
	  .difference-section,
	  .onboarding-page,
	  .demo-section,
	  .sample-output,
	  .testimonials,
	  .pricing-preview,
	  .wizard-page {
	    padding: 48px 0;
	  }

  .wizard-card,
  .wizard-side {
    padding: 16px;
  }

  .wizard-card {
    min-height: 560px;
  }

  .wizard-step h2 {
    font-size: 30px;
  }

  .wizard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .source-composer,
  .file-source-composer,
  .source-row {
    grid-template-columns: 1fr;
  }

  .source-analysis-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .source-analysis-actions .button,
  .source-add-button,
  .file-picker {
    width: 100%;
  }

	  .demo-section.section-band > *,
	  .testimonials.section-band > *,
	  .pricing-note.section-band > * {
	    width: min(100% - 32px, var(--max));
	  }

	  .demo-overlay {
	    right: 10px;
	    bottom: 10px;
	    max-width: calc(100% - 20px);
	  }

	  .pricing-hero h1 {
	    font-size: 38px;
	  }

	  .hero-copy h1,
	  .onboarding-intro h1 {
	    font-size: 38px;
	  }

  .wizard-page .onboarding-intro h1 {
    font-size: 32px;
  }

	  .monitor-caption {
	    display: grid;
	    grid-template-columns: 1fr;
	  }

  .submit {
    width: 100%;
  }

  footer {
    display: grid;
    padding-bottom: 92px;
  }
}
