:root {
  --canvas: #f7f9fc;
  --surface: #ffffff;
  --ink: #152957;
  --night: #132652;
  --action: #2b5eaa;
  --action-dark: #173e7c;
  --selected: #e9f0fa;
  --muted: #627087;
  --rule: #d8e0eb;
  --danger: #a93434;
  --danger-soft: #f9eded;
  --success: #2f6651;
  --success-soft: #edf5f0;
  --focus: #244f91;
  --body-font: "Manrope", "SF Pro Text", "Segoe UI", sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --page-gutter: 20px;
  --header-height: 60px;
  --content-max: 520px;
  --z-header: 20;
  --z-sticky: 30;
  --z-toast: 40;
  color: var(--ink);
  font-family: var(--body-font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: #e9edf3;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: #e9edf3;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

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

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: var(--action);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--action-dark);
}

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

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.app-root {
  width: 100%;
  min-height: 100dvh;
}

.site-shell {
  width: 100%;
  max-width: var(--content-max);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: clip;
  background: var(--canvas);
  box-shadow: 0 0 0 1px rgba(23, 43, 89, 0.03);
}

.loading-shell {
  display: grid;
  place-content: center;
  gap: 16px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.loading-mark {
  position: relative;
  width: 42px;
  height: 50px;
  margin: 0 auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
}

.loading-mark::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 7px;
  width: 22px;
  height: 2px;
  background: var(--rule);
  box-shadow: 0 9px 0 var(--rule), 0 18px 0 var(--rule);
}

.connection-status {
  position: fixed;
  top: max(8px, env(safe-area-inset-top));
  left: 50%;
  z-index: var(--z-toast);
  width: calc(100% - 32px);
  max-width: 480px;
  min-height: 44px;
  padding: 10px 14px;
  transform: translateX(-50%);
  border: 1px solid #e4b6b6;
  border-radius: var(--radius-md);
  background: var(--danger-soft);
  color: #7f2424;
  font-size: 14px;
  text-align: center;
}

.site-header,
.survey-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: max(10px, env(safe-area-inset-top)) var(--page-gutter) 10px;
  border-bottom: 1px solid var(--rule);
  background: rgba(247, 249, 252, 0.96);
}

.site-header {
  position: relative;
}

.survey-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  gap: 12px;
}

.brand {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-lockup {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  line-height: 1.05;
}

.brand-lockup img {
  flex: 0 0 auto;
  width: 30px;
  height: 33px;
}

.brand-lockup span {
  max-width: 150px;
}

.header-link,
.back-button {
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--action);
  font-size: 14px;
  font-weight: 600;
}

.header-link {
  display: inline-flex;
  align-items: center;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-button::before {
  content: "←";
  font-size: 20px;
  line-height: 1;
}

.survey-header .brand {
  max-width: 132px;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero {
  padding: 28px var(--page-gutter) 32px;
}

.eyebrow {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 16px;
  font-size: clamp(2rem, 8.4vw, 2.35rem);
  font-weight: 720;
  letter-spacing: -0.042em;
  line-height: 1.04;
}

.hero-copy {
  max-width: 39ch;
  margin-bottom: 14px;
  color: #4f6079;
  font-size: 15px;
  line-height: 1.52;
}

.survey-purpose {
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 2px solid #a9bbd2;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.button-stack {
  display: grid;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button:active:not(:disabled) {
  transform: scale(0.985);
}

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

.button-primary:hover:not(:disabled) {
  background: var(--action-dark);
  color: white;
}

.button-primary:focus-visible,
.button-primary:active {
  color: white;
}

.button-primary:disabled {
  background: #94a0b2;
  color: white;
}

.button-secondary {
  border-color: #8490a2;
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--action);
  background: var(--selected);
}

.button-danger {
  border-color: #d99b9b;
  background: transparent;
  color: var(--danger);
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-reward {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 13px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #c9d6e7;
  border-radius: var(--radius-md);
  background: #edf3fa;
}

.hero-reward > span {
  color: var(--action);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-reward strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  line-height: 1.25;
}

.hero-reward p {
  margin: 0;
  color: #52627a;
  font-size: 12px;
  line-height: 1.4;
}

.concept-note {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 10px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.concept-note::before {
  content: "i";
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.survey-overview {
  scroll-margin-top: 12px;
  padding: 36px var(--page-gutter) 40px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: #edf2f8;
}

.survey-overview h2 {
  max-width: 16ch;
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 8vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.survey-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cbd6e5;
}

.survey-step-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #cbd6e5;
}

.survey-step-list li > span {
  color: var(--action);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.survey-step-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.survey-step-list p {
  margin: 0;
  color: #52627a;
  font-size: 13px;
  line-height: 1.45;
}

.privacy-note::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid currentColor;
  border-radius: 7px 7px 4px 4px;
}

.disclaimer {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.trust-strip {
  padding: 20px var(--page-gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.trust-strip ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  min-height: 64px;
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--rule);
  color: #4f6079;
  font-size: 13px;
  line-height: 1.4;
}

.trust-strip li:nth-child(odd) {
  padding-right: 14px;
  border-right: 1px solid var(--rule);
}

.trust-strip li:nth-child(even) {
  padding-left: 14px;
}

.trust-strip li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.landing-section {
  padding: 46px var(--page-gutter) 50px;
}

.landing-section h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 9vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.landing-section > p {
  color: #4f6079;
  font-size: 16px;
  line-height: 1.6;
}

.privacy-section {
  border-top: 1px solid var(--rule);
  background: #f1f5fa;
}

.privacy-section .privacy-lead {
  color: #43546d;
}

.privacy-assurances {
  margin-top: 28px;
  border-top: 1px solid #cdd8e6;
}

.privacy-assurances > div {
  padding: 18px 0;
  border-bottom: 1px solid #cdd8e6;
}

.privacy-assurances strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.privacy-assurances p,
.privacy-section .research-only-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.privacy-section .research-only-note {
  margin-top: 18px;
  padding-left: 12px;
  border-left: 2px solid #a9bbd2;
}

.night-section {
  background: var(--night);
  color: #f6f8fc;
}

.night-section .eyebrow,
.night-section > p {
  color: #aebbd2;
}

.report-rows {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.report-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.report-row strong {
  font-size: 17px;
  font-weight: 650;
}

.report-row span {
  color: #aebbd2;
  font-size: 13px;
}

.sample-report {
  margin-top: 30px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.sample-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
}

.sample-report-body {
  padding: 22px 16px 24px;
}

.sample-report-body h3 {
  margin-bottom: 18px;
  font-size: 22px;
  line-height: 1.16;
}

.analysis-chain {
  display: grid;
  gap: 10px;
}

.analysis-chain div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

.analysis-chain dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.analysis-chain dd {
  margin: 0;
}

.process-list {
  counter-reset: process;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  min-height: 82px;
  padding-bottom: 20px;
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--action);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 0;
  left: 17px;
  width: 1px;
  background: var(--rule);
}

.process-list strong {
  display: block;
  margin: 5px 0 5px;
  font-size: 17px;
}

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

.survey-invite {
  padding: 52px var(--page-gutter) calc(58px + env(safe-area-inset-bottom));
  background: #e9f0f8;
}

.survey-invite ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 30px;
  padding: 0;
  color: #4f6079;
  list-style: none;
}

.not-needed-label {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.survey-invite li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
}

.survey-invite li::before {
  content: "×";
  color: var(--danger);
  font-weight: 800;
}

.invite-reward {
  margin: 15px 0 0;
  color: #4f6079;
  font-size: 13px;
  line-height: 1.45;
}

.landing-footer {
  padding: 30px var(--page-gutter) calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  background: var(--canvas);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 18px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.resume-banner {
  margin: 0 var(--page-gutter) 24px;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.resume-banner strong {
  display: block;
  margin-bottom: 5px;
}

.resume-banner p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.resume-actions {
  display: grid;
  gap: 12px;
}

.text-action {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--action);
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-action-danger {
  color: var(--danger);
}

.survey-shell {
  min-height: 100dvh;
  background: var(--canvas);
}

.progress-wrap {
  padding: 24px var(--page-gutter) 10px;
}

.progress-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.progress-labels span:nth-child(2) {
  text-align: center;
}

.progress-labels span:last-child {
  text-align: right;
}

.progress-labels .active {
  color: var(--action);
  font-weight: 700;
}

.progress-track {
  height: 2px;
  overflow: hidden;
  background: var(--rule);
}

.progress-fill {
  height: 100%;
  transform-origin: left;
  background: var(--action);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-fill-1 {
  transform: scaleX(0.3333);
}

.progress-fill-2 {
  transform: scaleX(0.6667);
}

.progress-fill-3 {
  transform: scaleX(1);
}

.question-layout {
  min-height: calc(100dvh - 142px);
  padding: 42px var(--page-gutter) calc(40px + env(safe-area-inset-bottom));
}

.question-layout.has-sticky-action {
  padding-bottom: calc(118px + env(safe-area-inset-bottom));
}

.question-header {
  margin-bottom: 28px;
}

.question-header .eyebrow {
  margin-bottom: 16px;
}

.question-title {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 7.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.question-description {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.selection-counter {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.choice-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 15px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.choice:hover {
  border-color: #9fb0c9;
}

.choice:active {
  transform: scale(0.992);
}

.choice.is-selected {
  border-color: var(--action);
  background: var(--selected);
  box-shadow: 0 0 0 1px var(--action);
}

.choice.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.choice-control {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border: 1.5px solid #8490a2;
  background: white;
}

.choice-radio .choice-control {
  border-radius: 50%;
}

.choice-checkbox .choice-control {
  border-radius: 4px;
}

.choice input:checked + .choice-control {
  border-color: var(--action);
  background: var(--action);
}

.choice-radio input:checked + .choice-control::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: white;
}

.choice-checkbox input:checked + .choice-control::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 10px;
  transform: rotate(45deg);
  border-right: 2px solid white;
  border-bottom: 2px solid white;
}

.choice input:focus-visible + .choice-control {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.choice-label {
  font-size: 16px;
  line-height: 1.4;
}

.question-actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.sticky-action {
  position: fixed;
  right: max(0px, calc((100vw - var(--content-max)) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - var(--content-max)) / 2));
  z-index: var(--z-sticky);
  padding: 12px var(--page-gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  background: rgba(247, 249, 252, 0.96);
  backdrop-filter: blur(12px);
}

.sticky-action .button {
  width: 100%;
}

.inline-error {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0 0;
  padding: 13px 14px;
  border: 1px solid #e4b6b6;
  border-radius: var(--radius-md);
  background: var(--danger-soft);
  color: #7f2424;
  font-size: 14px;
}

.inline-error::before {
  content: "!";
  display: grid;
  flex: 0 0 22px;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.save-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.concept-card {
  margin-top: 26px;
  border-top: 1px solid var(--rule);
}

.concept-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.concept-row-index {
  color: var(--action);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.concept-row strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.concept-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.concept-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--rule);
}

.concept-meta div {
  min-height: 76px;
  padding: 14px;
  background: var(--surface);
}

.concept-meta strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.concept-meta span {
  color: var(--muted);
  font-size: 12px;
}

.urgent-panel {
  padding: 22px;
  border: 1px solid #d79f9f;
  border-radius: var(--radius-md);
  background: var(--danger-soft);
}

.urgent-panel .eyebrow {
  color: var(--danger);
}

.urgent-panel h1 {
  margin-bottom: 18px;
  font-size: 31px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.urgent-panel p {
  color: #662b2b;
}

.lawyer-card {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.lawyer-identity {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.lawyer-photo,
.lawyer-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: 50% 32%;
}

.lawyer-photo-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  background: var(--selected);
  color: var(--action);
  font-size: 20px;
  font-weight: 800;
}

.lawyer-identity strong {
  display: block;
  margin-bottom: 4px;
  line-height: 1.25;
}

.lawyer-identity span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.lawyer-actions {
  display: grid;
  gap: 10px;
}

.lawyer-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.price-block {
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.price-value {
  margin-bottom: 14px;
  font-size: clamp(3rem, 14vw, 4rem);
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
  line-height: 0.98;
  white-space: nowrap;
}

.price-summary {
  margin-bottom: 0;
  color: #4f6079;
  font-size: 15px;
}

.price-includes {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.price-includes li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14px;
}

.price-includes li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
}

.complete-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border: 1px solid #a9c8b8;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 24px;
  font-weight: 800;
}

.complete-layout h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 8.8vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.complete-layout > p {
  color: #4f6079;
}

.promo-reward {
  margin: 30px 0 36px;
  padding: 22px 18px;
  border: 1px solid #aebfda;
  border-radius: var(--radius-md);
  background: #eaf1fa;
}

.promo-reward .eyebrow {
  margin-bottom: 10px;
  color: var(--action);
}

.promo-reward h2 {
  margin-bottom: 10px;
  font-size: 23px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.promo-reward > p:not(.eyebrow, .promo-copy-status) {
  margin-bottom: 18px;
  color: #52627a;
  font-size: 14px;
  line-height: 1.5;
}

.promo-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.promo-code {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  border: 1px dashed #7b92b3;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.promo-copy-button {
  min-height: 48px;
  padding: 10px 12px;
  font-size: 12px;
}

.promo-copy-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--success);
  font-size: 12px;
}

.complete-lawyer {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.delete-confirmation {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #d99b9b;
  border-radius: var(--radius-md);
  background: var(--danger-soft);
}

.delete-confirmation p {
  margin-bottom: 14px;
  color: #662b2b;
  font-size: 14px;
}

.delete-confirmation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.deleted-state {
  display: grid;
  min-height: 100dvh;
  place-content: center;
  padding: 32px var(--page-gutter);
  text-align: center;
}

.deleted-state h1 {
  margin-bottom: 14px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.deleted-state p {
  max-width: 34ch;
  margin: 0 auto 24px;
  color: var(--muted);
}

.noscript-message {
  max-width: 480px;
  margin: 24px auto;
  padding: 20px;
  border: 1px solid var(--rule);
  background: var(--surface);
}

@media (min-width: 521px) {
  .site-shell {
    box-shadow: 0 18px 70px rgba(18, 38, 79, 0.08);
  }
}

@media (max-width: 359px) {
  :root {
    --page-gutter: 16px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .brand-lockup span {
    max-width: 94px;
    font-size: 15px;
  }

  .survey-header .brand {
    max-width: 106px;
  }

  .header-link,
  .back-button {
    font-size: 13px;
  }

  .choice {
    padding: 14px 12px;
  }

  .hero-reward,
  .promo-code-row {
    grid-template-columns: 1fr;
  }

  .lawyer-identity {
    grid-template-columns: 72px 1fr;
  }

  .lawyer-photo,
  .lawyer-photo-placeholder {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .sticky-action,
  .survey-header {
    background: var(--canvas);
    backdrop-filter: none;
  }
}
