:root {
  color-scheme: light dark;
  --page: #f2f0eb;
  --page-soft: #f8f6f1;
  --surface: #fcfbf8;
  --surface-strong: #f7f4ed;
  --ink: #171716;
  --ink-soft: #5d5b56;
  --ink-faint: #77746d;
  --line: #d9d5cc;
  --line-strong: #bcb6ab;
  --accent: #ff6a00;
  --accent-ink: #9c3f00;
  --accent-soft: #ffeadb;
  --success: #14734a;
  --danger: #a13232;
  --danger-soft: #faeaea;
  --shadow: 0 24px 60px rgba(45, 38, 30, 0.08);
  --radius-surface: 16px;
  --radius-control: 12px;
  --header-height: 78px;
  --max-width: 1260px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #151514;
    --page-soft: #1b1a18;
    --surface: #201f1c;
    --surface-strong: #282621;
    --ink: #f3f0e8;
    --ink-soft: #c3beb3;
    --ink-faint: #9f9a90;
    --line: #3e3b35;
    --line-strong: #5c574e;
    --accent: #ff7a1a;
    --accent-ink: #ffb17a;
    --accent-soft: #432716;
    --success: #71d3a4;
    --danger: #ff9d9d;
    --danger-soft: #412222;
    --shadow: 0 24px 60px rgba(5, 5, 4, 0.22);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 10% -10%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 30rem),
    var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  accent-color: var(--accent);
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: #1d130c;
}

button,
input,
textarea {
  font: inherit;
}

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

button,
a {
  touch-action: manipulation;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent);
  outline-offset: 3px;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-faint);
  opacity: 1;
}

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

.app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.consulting-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}

.consulting-logo-mark {
  width: 70px;
  height: auto;
  flex: 0 0 auto;
}

.consulting-brand-copy {
  min-width: 0;
  line-height: 1;
}

.consulting-brand-copy strong,
.consulting-brand-copy span {
  display: block;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.consulting-brand-copy strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.consulting-brand-copy span {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 7.5px;
}

.header-progress {
  width: min(280px, 34vw);
  display: grid;
  gap: 7px;
}

.header-progress > span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  text-align: right;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.workspace {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 82px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
  flex: 1;
}

.journey {
  position: sticky;
  top: 28px;
  align-self: start;
}

.journey-title {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 750;
}

.journey ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.journey li {
  position: relative;
}

.journey button {
  width: 100%;
  padding: 9px 12px 9px 22px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: default;
  transition: color 160ms ease, background-color 160ms ease;
}

.journey button::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  transform: translateY(-50%);
}

.journey li.is-current button {
  background: var(--surface-strong);
  color: var(--ink);
}

.journey li.is-current button::before {
  background: var(--accent);
}

.journey li.is-complete button {
  color: var(--ink-soft);
  cursor: pointer;
}

.journey li.is-complete button::before {
  background: var(--success);
}

.draft-state {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.55;
}

.form-surface {
  width: 100%;
  min-width: 0;
}

.step {
  display: none;
  max-width: 820px;
}

.step.is-active {
  display: block;
  animation: step-enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes step-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

h1,
h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.2vw, 4.85rem);
  font-weight: 720;
  line-height: 0.99;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.15rem, 4.4vw, 4rem);
}

/* I titoli degli step ricevono focus programmatico per gli screen reader,
   ma non devono mostrare l'outline visiva del browser. */
h2[tabindex="-1"]:focus,
h2[tabindex="-1"]:focus-visible {
  outline: none;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.018em;
}

h4 {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.lead,
.step-copy {
  max-width: 65ch;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.58;
}

.step-copy {
  font-size: 1rem;
}

.quiet-copy,
.notice,
.legal-note,
.field-help {
  color: var(--ink-faint);
  font-size: 0.83rem;
  line-height: 1.55;
}

.quiet-copy {
  margin: 14px 0 0;
}

.welcome-step {
  max-width: none;
  padding-top: clamp(26px, 6vh, 78px);
}

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
  min-height: calc(100dvh - var(--header-height) - 170px);
}

.prep-sheet {
  padding: 28px;
  border-radius: var(--radius-surface);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.prep-sheet h2 {
  margin-bottom: 18px;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.prep-sheet ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.prep-sheet li + li {
  margin-top: 10px;
}

.prep-sheet p {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.field-grid,
.field-stack,
.upload-grid {
  display: grid;
  gap: 18px;
}

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

.field-stack {
  gap: 22px;
}

.field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.field > span:first-child {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  padding: 14px 15px;
  line-height: 1.45;
  caret-color: var(--accent);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.field input:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.choice-section {
  min-width: 0;
  margin: 32px 0 0;
  padding: 0;
  border: 0;
}

.choice-section legend {
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 750;
}

.choice-grid,
.option-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

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

.choice,
.check-option {
  position: relative;
  display: block;
}

.choice input,
.check-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0.001;
  pointer-events: none;
}

.choice > span,
.check-option > span {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.choice > span {
  min-height: 118px;
}

.check-option > span {
  min-height: 64px;
  align-items: center;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.choice small {
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.4;
}

.choice:hover > span,
.check-option:hover > span {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.choice input:focus-visible + span,
.check-option input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent);
  outline-offset: 3px;
}

.choice input:checked + span,
.check-option input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.compact-choices .choice > span {
  min-height: 96px;
}

.group-error,
.step-error,
.field-error {
  display: block;
  min-height: 20px;
  margin-top: 8px;
  color: var(--danger);
  font-size: 0.8rem;
  font-weight: 650;
}

.field-error {
  min-height: 0;
  margin: 0;
}

.step-error:empty,
.group-error:empty {
  min-height: 0;
  margin: 0;
}

.conditional-panel {
  margin-top: 22px;
  padding: 22px;
  display: grid;
  gap: 18px;
  border-radius: var(--radius-surface);
  background: var(--surface-strong);
}

.conditional-panel[hidden],
.social-details[hidden] {
  display: none;
}

.social-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.social-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.social-toggle,
.feed-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
}

.social-toggle input,
.feed-choice input,
.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.social-details {
  margin-top: 16px;
  padding-left: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.feed-choice {
  min-height: 49px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.team-editor {
  margin-top: 24px;
}

.team-editor-header,
.team-member-heading {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
}

.team-editor-header p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

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

.team-member {
  padding: 20px;
  border-radius: var(--radius-surface);
  background: var(--surface);
}

.team-member .field-grid {
  margin: 16px 0;
}

.team-member-heading h4 {
  margin: 0;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.file-inline input {
  padding: 10px;
}

.upload-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 10px;
}

.upload-field {
  min-height: 180px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-surface);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.upload-field:hover,
.upload-field:focus-within {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.upload-field.wide {
  grid-column: 1 / -1;
  min-height: 145px;
}

.upload-title {
  font-weight: 750;
}

.upload-copy {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.upload-field input {
  margin-top: 16px;
  max-width: 100%;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.file-list {
  margin-top: 12px;
  color: var(--accent-ink);
  font-size: 0.76rem;
  font-weight: 650;
}

.summary {
  margin: 28px 0;
  display: grid;
  gap: 14px;
}

.summary-section {
  padding: 22px;
  border-radius: var(--radius-surface);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(45, 38, 30, 0.05);
}

.summary-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.summary-heading h3 {
  margin: 0;
}

.summary-heading button {
  flex: 0 0 auto;
}

.summary-section dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.summary-section dl > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
}

.summary-section dt {
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 650;
}

.summary-section dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.86rem;
  white-space: pre-line;
}

.consent {
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.86rem;
}

.consent:has(input[aria-invalid="true"]) {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.legal-note {
  margin: 10px 0 0;
}

.summary-tools {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.submission-feedback {
  min-height: 24px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.button {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button:disabled {
  opacity: 0.58;
  cursor: wait;
  transform: none;
}

.button-primary,
.button-dark {
  background: var(--ink);
  color: var(--page-soft);
}

.button-primary:hover,
.button-dark:hover {
  background: color-mix(in srgb, var(--ink) 88%, var(--accent));
}

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

.button-secondary:hover {
  border-color: var(--line-strong);
}

.button-quiet {
  padding-left: 2px;
  padding-right: 2px;
  background: transparent;
  color: var(--ink-soft);
}

.footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--page-soft);
}

.footer-main,
.footer-bottom {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.footer-main {
  padding: 46px 0 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 58px;
}

.footer-main > div:first-child > p {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-brand .consulting-logo-mark {
  width: 82px;
}

.footer-contact {
  justify-self: end;
  width: min(100%, 340px);
}

.footer-contact p {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-contact .button {
  width: 100%;
}

.footer-link {
  display: inline-block;
  margin-top: 13px;
  font-size: 0.8rem;
  font-weight: 650;
}

.footer-bottom {
  padding: 22px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.74rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--ink);
  font-weight: 700;
}

.success-modal[hidden] {
  display: none;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 20px;
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 62%, transparent);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 36px;
  border-radius: var(--radius-surface);
  background: var(--surface);
  box-shadow: 0 32px 90px rgba(5, 5, 4, 0.3);
  animation: modal-enter 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 14%, var(--surface));
  color: var(--success);
}

.success-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal-card h2 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 3.75rem);
  line-height: 0.98;
}

.modal-copy {
  max-width: 45ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.request-id {
  margin-top: 24px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: var(--radius-control);
  background: var(--surface-strong);
}

.request-id span {
  color: var(--ink-faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.request-id strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.success-auto-close {
  margin-top: 18px;
}

.success-countdown {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.success-countdown strong {
  color: var(--ink);
}

.success-timer {
  height: 3px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 3px;
  background: color-mix(in srgb, var(--success) 16%, var(--surface-strong));
}

.success-timer span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--success);
  transform-origin: left center;
}

.success-modal.timer-active .success-timer span {
  animation: success-timer 8s linear forwards;
}

.success-auto-close.is-paused .success-timer span {
  animation-play-state: paused;
  opacity: 0.45;
}

@keyframes success-timer {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

.modal-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-actions .button-quiet {
  margin-left: auto;
}

.modal-card > .footer-link {
  margin-top: 18px;
}

#modalFeedback {
  min-height: 20px;
  margin-top: 8px;
  color: var(--success);
  font-size: 0.8rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 40;
  max-width: min(500px, calc(100% - 28px));
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--page-soft);
  font-size: 0.82rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 920px) {
  .workspace {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .journey {
    position: static;
    overflow: hidden;
  }

  .journey-title,
  .journey ol {
    display: none;
  }

  .draft-state {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .welcome-grid {
    min-height: auto;
  }

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

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .topbar,
  .workspace,
  .footer-main,
  .footer-bottom {
    width: min(100% - 28px, var(--max-width));
  }

  .topbar {
    gap: 16px;
  }

  .consulting-logo-mark {
    width: 54px;
  }

  .consulting-brand-copy strong {
    font-size: 12px;
  }

  .consulting-brand-copy span {
    display: none;
  }

  .header-progress {
    width: min(150px, 42vw);
  }

  .workspace {
    padding: 24px 0 62px;
  }

  .welcome-step {
    padding-top: 18px;
  }

  .welcome-grid,
  .two-columns,
  .upload-grid,
  .footer-main,
  .summary-section dl > div {
    grid-template-columns: 1fr;
  }

  .welcome-grid {
    gap: 34px;
  }

  .prep-sheet {
    padding: 22px;
  }

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

  .social-details {
    padding-left: 0;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .team-editor-header {
    flex-direction: column;
  }

  .upload-field.wide {
    grid-column: auto;
  }

  .summary-section dl > div {
    gap: 3px;
  }

  .actions {
    position: sticky;
    bottom: 8px;
    z-index: 10;
    margin: 34px -7px 0;
    padding: 9px 7px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--page) 91%, transparent);
    backdrop-filter: blur(12px);
  }

  .footer-main {
    gap: 32px;
  }

  .footer-contact {
    justify-self: stretch;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .choice > span,
  .check-option > span {
    padding: 15px;
  }

  .actions .button {
    padding-inline: 14px;
  }

  .modal-card {
    padding: 24px 20px;
  }

  .request-id,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .modal-actions .button,
  .modal-actions .button-quiet {
    width: 100%;
    margin-left: 0;
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .actions,
  .modal-backdrop {
    backdrop-filter: none;
  }

  .actions {
    background: var(--page);
  }
}
