   :root {
      --bg: #05050c;
      --bg-alt: #0c0d1f;
      --fg: #f5f6ff;
      --muted: #b1b3cf;
      --muted-strong: #d0d2e8;
      --border: rgba(255, 255, 255, 0.12);
      --border-strong: rgba(255, 255, 255, 0.22);
      --card: rgba(12, 13, 31, 0.65);
      --card-strong: rgba(20, 21, 46, 0.85);
      --accent: #ffb347;
      --accent-strong: #ff6f61;
      --accent-soft: rgba(255, 179, 71, 0.16);
      --success: #6cf2c6;
      --danger: #ff7b7b;
      --shadow: 0 44px 120px -50px rgba(5, 7, 20, 0.8);
      --radius-lg: 28px;
      --radius-md: 18px;
      --transition: cubic-bezier(.22, 1, .36, 1);
    }

    @media (prefers-color-scheme: light) {
      :root {
        --bg: #f4f4ff;
        --bg-alt: #ffffff;
        --fg: #141530;
        --muted: #5b5e78;
        --muted-strong: #30324b;
        --border: rgba(24, 26, 50, 0.12);
        --border-strong: rgba(24, 26, 50, 0.2);
        --card: rgba(255, 255, 255, 0.92);
        --card-strong: rgba(255, 255, 255, 0.98);
        --accent: #ff8a3d;
        --accent-strong: #ff5252;
        --accent-soft: rgba(255, 138, 61, 0.12);
        --shadow: 0 38px 110px -55px rgba(25, 25, 70, 0.3);
      }
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      margin: 0;
      padding: 0;
    }

    body {
      min-height: 100vh;
      background:
        radial-gradient(120% 120% at 0% 0%, rgba(255, 179, 71, 0.18) 0%, transparent 62%),
        radial-gradient(120% 140% at 100% 0%, rgba(111, 81, 255, 0.16) 0%, transparent 58%),
        linear-gradient(150deg, var(--bg-alt), var(--bg));
      color: var(--fg);
      font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Noto Sans', sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      position: relative;
      overflow-x: hidden;
      padding-bottom: calc(120px + env(safe-area-inset-bottom));
    }

    body::after {
      content: "";
      position: fixed;
      inset: auto -30% 12% 50%;
      height: 460px;
      transform: translateX(-50%);
      background: radial-gradient(60% 80% at 50% 50%, rgba(255, 179, 71, 0.22) 0%, transparent 65%);
      filter: blur(0);
      pointer-events: none;
      z-index: -1;
    }

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

    .top-bar {
      width: min(1080px, calc(100% - 48px));
      margin: 32px auto 12px auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .18em;
      font-size: 12px;
    }

    .logo-img {
      width: 48px;
      height: 48px;
      border-radius: 16px;
      border: 1px solid var(--border);
      background: rgba(255, 255, 255, 0.04);
      padding: 6px;
      box-shadow: 0 18px 40px -22px rgba(10, 12, 40, .65);
      object-fit: contain;
    }

    .logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.3;
      color: var(--muted);
    }

    .pill-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 18px;
      border-radius: 999px;
      border: 1px solid var(--border);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--muted);
      background: rgba(255, 255, 255, .02);
      transition: border-color .25s ease, color .25s ease, transform .25s ease;
    }

    .pill-link:hover,
    .pill-link:focus-visible {
      color: var(--accent);
      border-color: var(--accent);
      transform: translateY(-2px);
      outline: 2px solid rgba(255, 179, 71, 0.4);
      outline-offset: 2px;
    }

    main {
      width: min(1080px, calc(100% - 48px));
      margin: 0 auto;
      display: grid;
      gap: 42px;
    }

    .intro {
      display: grid;
      gap: 18px;
      margin-top: 24px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      letter-spacing: .24em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .eyebrow::before {
      content: "";
      width: 28px;
      height: 1px;
      background: var(--border);
    }

    h1 {
      margin: 0;
      font-size: clamp(34px, 6vw, 56px);
      font-weight: 800;
      letter-spacing: -.02em;
    }

    .subtitle {
      margin: 0;
      font-size: clamp(17px, 3vw, 20px);
      color: var(--muted);
      max-width: 65ch;
    }

    .layout {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 28px;
      align-items: start;
    }

    .progress-panel {
      position: sticky;
      top: 36px;
      display: grid;
      gap: 18px;
      padding: 26px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--card);
      box-shadow: var(--shadow);
    }

    .progress-header {
      display: grid;
      gap: 10px;
    }

    .progress-meter {
      display: grid;
      gap: 12px;
    }

    .progress-track {
      width: 100%;
      height: 6px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      overflow: hidden;
    }

    .progress-bar {
      width: 12.5%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(135deg, var(--accent), var(--accent-strong));
      transition: width .45s var(--transition);
    }

    .progress-count {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: var(--muted);
    }

    .progress-steps {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 12px;
      font-size: 13px;
      color: var(--muted);
    }

    .progress-step-btn {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 12px;
      align-items: baseline;
      width: 100%;
      padding: 12px 14px;
      border-radius: var(--radius-md);
      border: 1px solid transparent;
      background: rgba(255, 255, 255, 0.02);
      transition: border-color .3s ease, background .3s ease, color .3s ease;
      color: inherit;
      font: inherit;
      text-align: left;
    }

    .progress-step-btn::before {
      content: attr(data-step);
      font-weight: 600;
      letter-spacing: .16em;
      color: var(--muted);
      font-size: 11px;
    }

    .progress-step-btn span {
      letter-spacing: .02em;
    }

    .progress-step-btn[disabled] {
      cursor: default;
      opacity: 0.75;
    }

    .progress-steps li.is-clickable .progress-step-btn {
      cursor: pointer;
    }

    .progress-steps li.is-clickable .progress-step-btn:hover,
    .progress-steps li.is-clickable .progress-step-btn:focus-visible {
      border-color: rgba(255, 179, 71, 0.35);
      color: #ffffff;
      background: rgba(255, 179, 71, 0.12);
      outline: 2px solid rgba(255, 179, 71, 0.36);
      outline-offset: 2px;
    }

    .progress-steps li.is-active .progress-step-btn {
      border-color: var(--accent);
      color: var(--muted-strong);
      background: rgba(255, 179, 71, 0.12);
    }

    .progress-steps li.is-focus .progress-step-btn,
    .progress-step-btn[aria-current="step"] {
      box-shadow: 0 0 0 2px rgba(255, 179, 71, 0.22);
    }

    .progress-steps li.is-complete .progress-step-btn {
      border-color: rgba(108, 242, 198, 0.35);
      background: rgba(108, 242, 198, 0.08);
      color: var(--muted-strong);
    }

    .motivation {
      padding: 16px 18px;
      border-radius: var(--radius-md);
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: rgba(12, 14, 32, 0.78);
      font-size: 13px;
      color: rgba(245, 246, 255, 0.92);
      line-height: 1.5;
    }

    .motivation strong {
      color: var(--accent);
    }

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

    form {
      display: grid;
      gap: 24px;
      padding: clamp(22px, 3vw, 36px);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--card-strong);
      box-shadow: var(--shadow);
    }

    fieldset {
      margin: 0;
      border: none;
      padding: 0;
      display: grid;
      gap: 28px;
    }

    legend {
      display: grid;
      gap: 10px;
      font-size: clamp(20px, 3vw, 26px);
      font-weight: 700;
      letter-spacing: -.01em;
      color: var(--fg);
    }

    legend span {
      font-size: 15px;
      font-weight: 500;
      color: var(--muted);
      letter-spacing: 0;
    }

    .fields {
      display: grid;
      gap: 20px;
    }

    .field {
      display: grid;
      gap: 10px;
      transition: border-color .2s ease, background .2s ease;
    }

    .field-label {
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: var(--muted-strong);
    }

    .field-label span {
      font-size: 12px;
      color: var(--muted);
      letter-spacing: 0;
      text-transform: none;
      font-weight: 500;
      margin-left: 0;
    }

    .field.field-error .field-label {
      color: var(--danger);
    }

    .field.field-error .chip {
      border-color: rgba(255, 123, 123, 0.6) !important;
      background: rgba(255, 123, 123, 0.08) !important;
    }

    .field.field-error .option-card {
      border-color: rgba(255, 123, 123, 0.72) !important;
      background: rgba(20, 23, 44, 0.9) !important;
    }

    .field.field-error .option-card .label,
    .field.field-error .option-card .hint {
      color: rgba(245, 246, 255, 0.96) !important;
    }

    .field.field-error .option-card .icon {
      background: rgba(38, 42, 70, 0.95);
      color: rgba(245, 246, 255, 0.92);
    }

    .field.field-error input,
    .field.field-error textarea {
      border-color: var(--danger);
      box-shadow: 0 0 0 3px rgba(255, 123, 123, 0.22);
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    textarea {
      width: 100%;
      padding: 16px 16px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: rgba(4, 4, 12, 0.45);
      color: #f5f6ff;
      -webkit-text-fill-color: #f5f6ff;
      caret-color: #f5f6ff;
      font-size: 16px;
      font-family: inherit;
      transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
    }

    input[type="text"]:-webkit-autofill,
    input[type="email"]:-webkit-autofill,
    input[type="tel"]:-webkit-autofill,
    input[type="date"]:-webkit-autofill,
    textarea:-webkit-autofill {
      -webkit-text-fill-color: #f5f6ff;
      caret-color: #f5f6ff;
      box-shadow: 0 0 0 1000px rgba(4, 4, 12, 0.85) inset;
      transition: background-color 9999s ease-in-out 0s;
    }

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

    input:focus,
    textarea:focus {
      outline: 2px solid rgba(255, 179, 71, 0.45);
      outline-offset: 2px;
      border-color: rgba(255, 179, 71, 0.6);
      box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.2);
      background: rgba(4, 4, 12, 0.62);
    }

    input::placeholder,
    textarea::placeholder {
      color: rgba(241, 242, 255, 0.42);
    }

    input.has-error,
    textarea.has-error {
      border-color: var(--danger);
      box-shadow: 0 0 0 3px rgba(255, 123, 123, 0.22);
    }

    .input-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .option-grid {
      display: grid;
      gap: 12px;
    }

    .range-control {
      display: grid;
      gap: 10px;
      padding: 14px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 14px;
      background: rgba(10, 12, 28, 0.78);
    }

    .range-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .range-caption {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .12em;
      color: #ffffff;
      font-weight: 700;
    }

    .range-value {
      min-width: 38px;
      text-align: center;
      padding: 4px 10px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 14px;
      color: #0b090f;
      background: linear-gradient(135deg, var(--accent), var(--accent-strong));
      box-shadow: 0 10px 20px -14px rgba(255, 111, 97, 0.8);
    }

    .range-input {
      -webkit-appearance: none;
      appearance: none;
      width: 100%;
      height: 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.16);
      outline: none;
      cursor: pointer;
    }

    .range-input::-webkit-slider-runnable-track {
      height: 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.16);
    }

    .range-input::-moz-range-track {
      height: 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.16);
    }

    .range-input::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 24px;
      height: 24px;
      margin-top: -8px;
      border-radius: 50%;
      border: 2px solid rgba(11, 9, 15, 0.6);
      background: linear-gradient(135deg, var(--accent), var(--accent-strong));
      box-shadow: 0 12px 24px -14px rgba(255, 111, 97, 0.88);
    }

    .range-input::-moz-range-thumb {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 2px solid rgba(11, 9, 15, 0.6);
      background: linear-gradient(135deg, var(--accent), var(--accent-strong));
      box-shadow: 0 12px 24px -14px rgba(255, 111, 97, 0.88);
    }

    .range-input:focus-visible {
      box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.28);
    }

    .range-scale {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: rgba(245, 246, 255, 0.74);
    }

    .field.field-error .range-control {
      border-color: rgba(255, 123, 123, 0.72);
      box-shadow: 0 0 0 3px rgba(255, 123, 123, 0.2);
    }

    .option-block {
      position: relative;
      display: block;
    }

    .option-block input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .icon {
      width: 36px;
      height: 36px;
      border-radius: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(18, 20, 40, 0.78);
      color: rgba(245, 246, 255, 0.8);
      font-family: 'Material Symbols Rounded';
      font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
      font-size: 22px;
      transition: color .25s ease, background .25s ease, transform .25s ease;
    }

    .option-card {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 16px;
      align-items: center;
      padding: 18px 20px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      background: rgba(12, 14, 32, 0.6);
      transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease, color .25s ease;
    }

    .option-card .icon {
      font-size: 20px;
      filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
      transition: transform .25s ease;
    }

    .option-card .label {
      font-size: 14px;
      font-weight: 600;
      letter-spacing: .02em;
      color: rgba(245, 246, 255, 0.95);
      transition: color .25s ease;
    }

    .option-content {
      display: grid;
      gap: 4px;
    }

    .option-card .hint {
      font-size: 12px;
      color: rgba(245, 246, 255, 0.72);
      transition: color .25s ease;
    }

    .option-block input:not(:checked) + .option-card .label,
    .option-block input:not(:checked) + .option-card .hint {
      color: rgba(245, 246, 255, 0.95);
    }

    .option-block input:checked + .option-card {
      border-color: rgba(255, 179, 71, 0.75);
      background: rgba(255, 179, 71, 0.1);
      box-shadow: 0 16px 36px -24px rgba(255, 111, 97, 0.55);
      transform: translateY(-1px);
    }

    .option-block input:checked + .option-card .icon {
      background: linear-gradient(135deg, var(--accent), var(--accent-strong));
      color: #0b090f;
      transform: scale(1.05) translateY(-1px);
    }

    .option-block input:checked + .option-card .label,
    .option-block input:checked + .option-card .hint {
      color: var(--accent);
    }

    .option-block input:focus-visible + .option-card {
      border-color: rgba(255, 179, 71, 0.85);
      box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.24);
    }

    .option-block input:focus-visible + .option-card .icon {
      transform: scale(1.05);
    }

    .option-card .badge {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .2em;
      color: var(--muted);
      background: rgba(255, 255, 255, 0.05);
      border-radius: 999px;
      padding: 4px 10px;
      justify-self: start;
    }

    .option-inline {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .chip {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 18px;
      border-radius: 999px;
      border: 1px solid var(--border);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: .02em;
      color: var(--muted-strong);
      background: rgba(8, 9, 22, 0.55);
      transition: border-color .25s ease, background .25s ease, transform .25s ease, color .25s ease;
    }

    .chip input {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
    }

    .chip-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      position: relative;
      z-index: 1;
    }

    .chip-icon {
      font-family: 'Material Symbols Rounded';
      font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
      font-size: 20px;
      line-height: 1;
    }

    .chip-text {
      font-size: inherit;
      font-weight: inherit;
    }

    .chip input:checked + .chip-label {
      color: var(--accent);
    }

    .chip input:checked + .chip-label .chip-icon {
      color: var(--accent);
    }

    .chip input:checked ~ .chip-surface {
      border-color: rgba(255, 179, 71, 0.75);
      background: rgba(255, 179, 71, 0.1);
      box-shadow: 0 18px 32px -22px rgba(255, 111, 97, 0.6);
      transform: translateY(-1px);
      color: var(--accent);
    }

    .chip-surface {
      pointer-events: none;
    }

    .chip:focus-within {
      border-color: rgba(255, 179, 71, 0.8);
      box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.22);
    }

    .addon-grid {
      display: grid;
      gap: 14px;
    }

    @media (min-width: 960px) {
      .addon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .addon-card {
      display: grid;
      gap: 10px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-md);
      background: rgba(18, 20, 40, 0.78);
      padding: 20px;
      color: rgba(245, 246, 255, 0.92);
      box-shadow: 0 28px 60px -38px rgba(10, 12, 32, 0.8);
    }

    .addon-card h4 {
      margin: 0;
      font-size: 15px;
      text-transform: uppercase;
      letter-spacing: .12em;
      color: var(--fg);
    }

    .addon-card p {
      margin: 0;
      font-size: 13px;
      color: rgba(245, 246, 255, 0.72);
      line-height: 1.6;
    }

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

    @media (min-width: 640px) {
      .addon-options {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      }
    }

    .addon-option .option-card {
      background: rgba(8, 9, 22, 0.72);
    }

    .addon-option .option-card .label {
      color: rgba(245, 246, 255, 0.95);
    }

    .addon-option .option-card .hint {
      color: rgba(245, 246, 255, 0.68);
    }

    .conditional-field {
      display: none;
      padding: 16px 18px;
      border-radius: var(--radius-md);
      border: 1px dashed rgba(255, 179, 71, 0.3);
      background: rgba(255, 179, 71, 0.08);
      margin-top: 10px;
    }

    .conditional-field[data-visible="true"] {
      display: grid;
      gap: 10px;
    }

    .group-validation {
      font-size: 12px;
      color: var(--danger);
      min-height: 16px;
    }

    .option-grid[data-error="true"] {
      position: relative;
    }

    .option-grid[data-error="true"]::after {
      content: "Seleziona almeno un'opzione.";
      position: absolute;
      bottom: -22px;
      left: 0;
      font-size: 12px;
      color: var(--danger);
    }

    .step-actions {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 6px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 15px 26px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 700;
      font-size: 15px;
      letter-spacing: .04em;
      text-transform: uppercase;
      cursor: pointer;
      transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
      font-family: inherit;
    }

    .btn.primary {
      background: linear-gradient(135deg, var(--accent), var(--accent-strong));
      color: #0b090f;
      box-shadow: 0 18px 40px -18px rgba(255, 111, 97, .55);
    }

    .btn.primary:hover,
    .btn.primary:focus-visible {
      transform: translateY(-2px);
      box-shadow: 0 21px 44px -16px rgba(255, 111, 97, .65);
      outline: 2px solid rgba(255, 179, 71, 0.55);
      outline-offset: 2px;
    }

    .btn.secondary {
      background: transparent;
      border-color: rgba(255, 255, 255, 0.14);
      color: var(--fg);
    }

    .btn.secondary:hover,
    .btn.secondary:focus-visible {
      transform: translateY(-2px);
      border-color: var(--accent);
      color: var(--accent);
      outline: 2px solid rgba(255, 179, 71, 0.5);
      outline-offset: 2px;
    }

    .btn.textual {
      background: transparent;
      border: none;
      color: var(--muted);
      font-weight: 600;
      font-size: 13px;
      padding: 0;
      text-transform: none;
    }

    .btn.textual:hover,
    .btn.textual:focus-visible {
      color: var(--accent);
      outline: 2px solid rgba(255, 179, 71, 0.4);
      outline-offset: 3px;
    }

    .form-step {
      display: none;
      opacity: 0;
      transform: translateY(12px);
      transition: opacity .35s ease, transform .35s ease;
    }

    .form-step.is-active {
      display: grid;
      opacity: 1;
      transform: translateY(0);
    }

    .alert {
      font-size: 13px;
      color: var(--muted);
    }

    .alert strong {
      color: var(--accent);
    }

    .summary-card {
      display: grid;
      gap: 16px;
      border: 1px solid rgba(15, 18, 32, 0.12);
      border-radius: var(--radius-md);
      background: #ffffff;
      padding: 24px;
      box-shadow: 0 22px 48px -32px rgba(15, 18, 32, 0.28);
    }

    .summary-card h3 {
      margin: 0;
      font-size: 16px;
      text-transform: uppercase;
      letter-spacing: .14em;
      color: #14162b;
    }

    .summary-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 14px;
      font-size: 14px;
      color: #1a1c30;
    }

    .summary-list li strong {
      display: block;
      font-size: 12px;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 6px;
    }

    .completion-state {
      display: none;
      gap: 18px;
      padding: clamp(22px, 3vw, 36px);
      border-radius: var(--radius-lg);
      border: 1px solid rgba(108, 242, 198, 0.45);
      background: rgba(5, 9, 22, 0.95);
      box-shadow: 0 34px 74px -42px rgba(5, 8, 18, 0.85);
      text-align: center;
    }

    .completion-state.is-visible {
      display: grid;
    }

    .completion-state h2 {
      margin: 0;
      font-size: clamp(24px, 4vw, 32px);
      font-weight: 800;
      letter-spacing: -.01em;
      color: var(--accent);
    }

    .completion-state p {
      margin: 0;
      color: rgba(245, 246, 255, 0.9);
      font-size: 15px;
    }

    .completion-actions {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    .completion-actions .btn.textual {
      color: rgba(245, 246, 255, 0.82);
    }

    .completion-actions .btn.textual:hover,
    .completion-actions .btn.textual:focus-visible {
      color: var(--accent);
    }

    .toast {
      position: fixed;
      bottom: calc(26px + env(safe-area-inset-bottom));
      right: 26px;
      padding: 14px 18px;
      border-radius: 12px;
      background: rgba(12, 14, 32, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: #ffffff;
      font-size: 13px;
      box-shadow: 0 22px 46px -28px rgba(0, 0, 0, 0.6);
      opacity: 0;
      transform: translateY(12px);
      transition: opacity .3s ease, transform .3s ease;
      pointer-events: none;
    }

    .toast.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 1024px) {
      .layout {
        grid-template-columns: 1fr;
      }

      .progress-panel {
        position: static;
        order: 1;
      }

      .form-shell {
        order: 2;
      }
    }

    @media (max-width: 720px) {
      body {
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
      }

      .top-bar,
      main {
        width: calc(100% - 24px);
        margin-inline: auto;
        gap: 24px;
      }

      form,
      .progress-panel {
        padding: 18px;
      }

      .progress-panel {
        position: sticky;
        top: 8px;
        z-index: 30;
        border-radius: 18px;
        background: rgba(12, 14, 32, 0.92);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        box-shadow: 0 20px 60px -40px rgba(5, 6, 18, 0.9);
        transform: translateY(0);
        transition: transform .35s ease, opacity .35s ease;
        gap: 10px;
        padding: 12px;
        color: #eef2ff;
      }

      .progress-panel .progress-count,
      .progress-panel .progress-count strong,
      .progress-panel .progress-count span {
        color: rgba(238, 242, 255, 0.92);
      }

      .progress-panel .progress-step-btn {
        color: rgba(238, 242, 255, 0.94);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.14);
      }

      .progress-panel .progress-step-btn span {
        color: inherit;
        font-weight: 600;
      }

      .progress-panel .progress-step-btn::before {
        color: rgba(190, 203, 234, 0.9);
      }

      .progress-panel .progress-step-btn[disabled] {
        opacity: 1;
      }

      .progress-panel .progress-steps li.is-active .progress-step-btn {
        color: #ffffff;
        border-color: rgba(255, 179, 71, 0.85);
        background: rgba(255, 179, 71, 0.2);
        box-shadow: 0 0 0 2px rgba(255, 179, 71, 0.28);
      }

      .progress-panel .progress-steps li.is-active .progress-step-btn::before {
        color: rgba(255, 215, 176, 0.95);
      }

      .progress-panel .progress-steps li.is-complete .progress-step-btn {
        color: rgba(231, 255, 246, 0.95);
        border-color: rgba(108, 242, 198, 0.58);
        background: rgba(108, 242, 198, 0.14);
      }

      .progress-panel .progress-steps li.is-complete .progress-step-btn::before {
        color: rgba(164, 255, 229, 0.96);
      }

      .progress-panel .progress-steps li.is-focus .progress-step-btn,
      .progress-panel .progress-step-btn[aria-current="step"] {
        box-shadow: 0 0 0 2px rgba(255, 179, 71, 0.34);
      }

      .progress-panel.is-hidden {
        transform: translateY(calc(-100% - 18px));
        opacity: 0;
        pointer-events: none;
      }

      .intro.is-condensed {
        display: none;
      }

      .progress-header {
        gap: 8px;
      }

      .progress-steps {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 0 2px 4px;
        margin: 8px -2px -2px;
        scroll-snap-type: x mandatory;
      }

      .progress-steps::-webkit-scrollbar {
        display: none;
      }

      .progress-steps li {
        flex: 0 0 122px;
        scroll-snap-align: start;
      }

      .progress-step-btn {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 8px 10px;
        text-align: left;
      }

      .progress-step-btn::before {
        font-size: 10px;
      }

      .motivation {
        display: none;
      }

      .fields {
        gap: 18px;
      }

      .form-step {
        gap: 18px;
      }

      legend {
        gap: 10px;
      }

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

      .option-card {
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        text-align: left;
      }

      .option-card .icon {
        width: 32px;
        height: 32px;
        border-radius: 11px;
        font-size: 18px;
      }

      .option-card .label:only-child {
        width: 100%;
        text-align: center;
      }

      .option-card .badge {
        justify-self: start;
      }

      .range-control {
        padding: 12px;
      }

      .range-caption {
        font-size: 11px;
        color: #ffffff;
      }

      .range-value {
        min-width: 34px;
        padding: 3px 9px;
        font-size: 13px;
      }

      .step-actions {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
        position: sticky;
        bottom: calc(8px + env(safe-area-inset-bottom));
        z-index: 24;
        padding: 10px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(9, 10, 24, 0.92);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
      }

      .step-actions .btn.secondary {
        color: #f2f5ff;
        border-color: rgba(242, 245, 255, 0.38);
        background: rgba(255, 255, 255, 0.08);
      }

      .step-actions .btn.secondary:hover,
      .step-actions .btn.secondary:focus-visible {
        color: #ffffff;
        border-color: rgba(255, 179, 71, 0.9);
        background: rgba(255, 179, 71, 0.2);
      }

      .step-actions .btn {
        width: auto;
        min-width: 0;
        flex: 1 1 calc(50% - 4px);
        padding: 11px 16px;
        font-size: 13px;
        letter-spacing: .03em;
        margin: 0;
      }

      .step-actions .btn.textual {
        flex: 1 1 100%;
        width: 100%;
        order: 3;
        justify-content: center;
        padding: 8px 10px;
        line-height: 1.3;
      }

      .step-actions .btn[data-nav="prev"],
      .step-actions .btn[data-nav="next"] {
        margin: 0;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        transition-duration: 0s !important;
        animation-duration: 0s !important;
      }
    }
