﻿:root {
      --green: #0f7a3f;
      --green-dark: #07582d;
      --green-soft: #eaf7ef;
      --navy: #0a2342;
      --navy-2: #12345c;
      --bg: #f6f9fc;
      --card: #ffffff;
      --text: #102033;
      --muted: #667085;
      --line: #dce6f0;
      --line-strong: #c9d7e6;
      --orange: #f59e0b;
      --danger: #dc2626;
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 16px;
      --shadow: 0 24px 70px rgba(10, 35, 66, 0.12);
      --shadow-soft: 0 12px 34px rgba(10, 35, 66, 0.08);
    }

    * {
      box-sizing: border-box;
    }

    [hidden] {
      display: none !important;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(15, 122, 63, 0.10), transparent 34%),
        radial-gradient(circle at bottom right, rgba(10, 35, 66, 0.10), transparent 32%),
        var(--bg);
    }

    button,
    input {
      font: inherit;
    }

    button {
      -webkit-tap-highlight-color: transparent;
    }

    .page {
      min-height: 100vh;
      padding: 14px;
      display: flex;
      align-items: flex-start;
      justify-content: center;
    }

    .quiz-wrapper {
      width: 100%;
      max-width: 1160px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 22px;
    }

    .desktop-panel {
      display: none;
    }

    .quiz-card {
      width: 100%;
      min-height: calc(100vh - 28px);
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(220, 230, 240, 0.95);
      border-radius: 26px;
      box-shadow: var(--shadow);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      backdrop-filter: blur(14px);
    }

    .quiz-top {
      padding: 18px 16px 10px;
      border-bottom: 1px solid rgba(220, 230, 240, 0.72);
      background: rgba(255, 255, 255, 0.94);
      position: sticky;
      top: 0;
      z-index: 5;
      backdrop-filter: blur(14px);
    }

    .brand {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      margin-bottom: 16px;
      color: var(--navy);
      font-weight: 850;
      letter-spacing: -0.03em;
    }

    .brand-name {
      line-height: 1;
    }

    .brand-mark {
      width: 30px;
      height: 30px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--green), var(--navy));
      color: #fff;
      font-size: 14px;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(15, 122, 63, 0.22);
    }

    .brand-logo {
      width: auto;
      height: 32px;
      max-width: 150px;
      max-height: 34px;
      border-radius: 10px;
      object-fit: contain;
      flex: 0 0 auto;
      display: block;
    }

    .progress-info {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 12px;
      font-weight: 800;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .progress-track {
      width: 100%;
      height: 7px;
      background: #e8eef5;
      border-radius: 999px;
      overflow: hidden;
    }

    .progress-bar {
      height: 100%;
      width: 0%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--green), #34c27a);
      transition: width 0.35s ease;
    }

    .quiz-content {
      flex: 1;
      padding: 18px 16px 16px;
      display: flex;
      flex-direction: column;
    }

    .screen {
      display: none;
      height: 100%;
      min-height: calc(100vh - 150px);
      animation: enter 0.26s ease;
    }

    .screen.active {
      display: flex;
      flex-direction: column;
    }

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

    .intro-screen,
    .question-screen,
    .lead-screen,
    .result-screen {
      justify-content: space-between;
      gap: 18px;
    }

    .intro-visual {
      height: 190px;
      border-radius: 26px;
      background:
        radial-gradient(circle at 78% 18%, rgba(255,255,255,0.18), transparent 24%),
        linear-gradient(145deg, #08213f, #0f3b68);
      position: relative;
      overflow: hidden;
      margin-bottom: 24px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    }

    .intro-visual::before {
      content: "";
      position: absolute;
      width: 118px;
      height: 150px;
      left: 42px;
      bottom: 0;
      border-radius: 18px 18px 0 0;
      background: linear-gradient(180deg, #e7f1fa, #bad2e5);
      opacity: 0.96;
    }

    .intro-visual::after {
      content: "";
      position: absolute;
      width: 72px;
      height: 102px;
      left: 134px;
      bottom: 0;
      border-radius: 16px 16px 0 0;
      background: linear-gradient(180deg, #2fb46d, #0f7a3f);
      opacity: 0.96;
    }

    .window-dots {
      position: absolute;
      left: 62px;
      bottom: 48px;
      display: grid;
      grid-template-columns: repeat(2, 18px);
      gap: 14px;
    }

    .window-dots span {
      width: 18px;
      height: 18px;
      border-radius: 6px;
      background: #0a2342;
      opacity: 0.7;
    }

    .visual-copy {
      position: absolute;
      right: 18px;
      top: 18px;
      width: 132px;
      padding: 14px;
      border-radius: 18px;
      background: rgba(255,255,255,0.92);
      color: var(--navy);
      font-size: 12px;
      font-weight: 850;
      line-height: 1.35;
      box-shadow: 0 20px 40px rgba(0,0,0,0.14);
    }

    .kicker {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      gap: 8px;
      padding: 8px 11px;
      border-radius: 999px;
      background: var(--green-soft);
      color: var(--green-dark);
      font-size: 12px;
      font-weight: 850;
      margin-bottom: 14px;
    }

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

    .title {
      color: var(--navy);
      letter-spacing: -0.055em;
      line-height: 1.08;
      margin-bottom: 12px;
    }

    .intro-title {
      font-size: 31px;
    }

    .question-title,
    .lead-title {
      font-size: 25px;
    }

    .result-title {
      font-size: 25px;
    }

    .subtitle {
      color: var(--muted);
      line-height: 1.62;
      font-size: 15px;
      margin-bottom: 0;
    }

    .mini-benefits {
      display: grid;
      gap: 10px;
      margin-top: 22px;
    }

    .mini-benefit {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 13px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #fff;
      color: var(--navy);
      font-size: 14px;
      font-weight: 750;
    }

    .mini-icon,
    .option-icon,
    .info-icon {
      width: 34px;
      height: 34px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      background: var(--green-soft);
      color: var(--green);
    }

    .mini-icon svg,
    .option-icon svg,
    .info-icon svg {
      width: 18px;
      height: 18px;
    }

    .actions {
      display: grid;
      grid-template-columns: 1fr 1.35fr;
      gap: 12px;
      margin-top: 24px;
    }

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

    .btn {
      min-height: 54px;
      border-radius: 15px;
      border: 0;
      cursor: pointer;
      font-weight: 850;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
      transition: 0.2s ease;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--green), var(--green-dark));
      color: #fff;
      box-shadow: 0 14px 26px rgba(15, 122, 63, 0.26);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 32px rgba(15, 122, 63, 0.30);
    }

    .result-actions .btn-primary:hover {
      transform: translateY(-1px) scale(1.01);
    }

    .btn-secondary {
      background: #fff;
      color: var(--navy);
      border: 1px solid var(--line);
    }

    .btn-secondary:hover {
      border-color: var(--green);
      color: var(--green-dark);
    }

    .btn:disabled {
      cursor: not-allowed;
      opacity: 0.48;
      transform: none;
      box-shadow: none;
    }

    .question-badge {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      padding: 8px 11px;
      border-radius: 999px;
      background: var(--green-soft);
      color: var(--green-dark);
      font-size: 12px;
      font-weight: 850;
      margin-bottom: 14px;
    }

    .options {
      display: grid;
      gap: 11px;
      margin-top: 22px;
    }

    .option-card {
      width: 100%;
      border: 1.5px solid var(--line);
      background: #fff;
      border-radius: 17px;
      min-height: 72px;
      padding: 13px;
      display: grid;
      grid-template-columns: 36px 1fr 24px;
      align-items: center;
      gap: 11px;
      text-align: left;
      color: var(--text);
      cursor: pointer;
      transition: 0.18s ease;
    }

    .option-card:hover {
      border-color: rgba(15, 122, 63, 0.45);
      box-shadow: var(--shadow-soft);
    }

    .option-card.selected {
      border-color: var(--green);
      background: linear-gradient(180deg, #ffffff, var(--green-soft));
      box-shadow: 0 14px 30px rgba(15, 122, 63, 0.12);
    }

    .option-label {
      display: block;
      color: var(--navy);
      font-size: 14.5px;
      font-weight: 850;
      line-height: 1.25;
    }

    .option-helper {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .radio-dot,
    .check-dot {
      width: 23px;
      height: 23px;
      border: 1.5px solid var(--line-strong);
      position: relative;
    }

    .radio-dot {
      border-radius: 999px;
    }

    .check-dot {
      border-radius: 7px;
    }

    .option-card.selected .radio-dot,
    .option-card.selected .check-dot {
      border-color: var(--green);
      background: var(--green);
    }

    .option-card.selected .radio-dot::after,
    .option-card.selected .check-dot::after {
      content: "";
      width: 7px;
      height: 11px;
      border-right: 2px solid #fff;
      border-bottom: 2px solid #fff;
      position: absolute;
      left: 7px;
      top: 3px;
      transform: rotate(45deg);
    }

    .lead-note {
      margin: 18px 0 18px;
      padding: 15px;
      border: 1px solid rgba(15, 122, 63, 0.16);
      background: var(--green-soft);
      color: var(--green-dark);
      border-radius: 17px;
      font-size: 13.5px;
      line-height: 1.5;
      font-weight: 700;
    }

    .lead-form {
      display: grid;
      gap: 12px;
    }

    .field {
      display: grid;
      gap: 6px;
    }

    .field label {
      color: var(--navy);
      font-size: 12.5px;
      font-weight: 850;
    }

    .field input {
      width: 100%;
      min-height: 52px;
      border-radius: 14px;
      border: 1.5px solid var(--line);
      background: #fff;
      padding: 0 14px;
      color: var(--text);
      outline: none;
      transition: 0.18s ease;
    }

    .field input:focus {
      border-color: var(--green);
      box-shadow: 0 0 0 4px rgba(15, 122, 63, 0.10);
    }

    .consent {
      display: grid;
      grid-template-columns: 20px 1fr;
      gap: 10px;
      align-items: flex-start;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .consent input {
      width: 18px;
      height: 18px;
      margin: 1px 0 0;
      accent-color: var(--green);
    }

    .form-error {
      display: none;
      color: var(--danger);
      font-size: 12.5px;
      font-weight: 800;
    }

    .safe-note {
      margin-top: 10px;
      text-align: center;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .result-hero {
      margin: -18px -16px 18px;
      padding: 28px 16px 24px;
      background:
        radial-gradient(circle at 88% 20%, rgba(255,255,255,0.18), transparent 30%),
        linear-gradient(145deg, var(--green-dark), var(--navy));
      color: #fff;
      border-radius: 0 0 28px 28px;
    }

    .result-hero .kicker {
      background: rgba(255,255,255,0.13);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.18);
    }

    .result-hero h2 {
      color: #fff;
      font-size: 29px;
      letter-spacing: -0.055em;
      line-height: 1.08;
      margin-bottom: 8px;
      max-width: 310px;
    }

    .result-hero p {
      color: rgba(255,255,255,0.76);
      font-size: 14px;
      line-height: 1.55;
      margin-bottom: 0;
      max-width: 360px;
    }

    .result-section {
      display: grid;
      gap: 12px;
    }

    .diagnosis-card,
    .plan-card,
    .chart-card,
    .help-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 17px;
      box-shadow: var(--shadow-soft);
    }

    .result-screen.active .diagnosis-card,
    .result-screen.active .chart-card,
    .result-screen.active .plan-card,
    .result-screen.active .result-actions {
      animation: resultFadeUp 0.5s ease both;
    }

    .result-screen.active .chart-card:nth-of-type(2) {
      animation-delay: 0.08s;
    }

    .result-screen.active .chart-card:nth-of-type(3) {
      animation-delay: 0.16s;
    }

    .result-screen.active .plan-card {
      animation-delay: 0.24s;
    }

    .result-screen.active .result-actions {
      animation-delay: 0.32s;
    }

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

    .card-label {
      color: var(--muted);
      font-size: 12px;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 8px;
    }

    .pain-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 11px;
      border-radius: 999px;
      background: var(--green-soft);
      color: var(--green-dark);
      font-size: 13px;
      font-weight: 900;
      margin-bottom: 12px;
    }

    .result-card-title {
      color: var(--navy);
      font-size: 20px;
      letter-spacing: -0.04em;
      line-height: 1.18;
      margin-bottom: 8px;
    }

    .result-copy {
      color: var(--muted);
      line-height: 1.55;
      font-size: 14px;
      margin-bottom: 0;
    }

    .summary-grid {
      display: grid;
      gap: 10px;
      margin-top: 14px;
    }

    .summary-item {
      display: grid;
      grid-template-columns: 34px 1fr;
      gap: 10px;
      align-items: flex-start;
      padding: 13px;
      border-radius: 16px;
      background: #f8fbfd;
      border: 1px solid var(--line);
    }

    .summary-item strong {
      display: block;
      color: var(--navy);
      font-size: 14px;
      line-height: 1.3;
      margin-bottom: 3px;
    }

    .summary-item span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .donut-layout {
      display: grid;
      gap: 16px;
      margin-top: 16px;
      align-items: center;
    }

    .donut-chart {
      width: min(210px, 72vw);
      aspect-ratio: 1;
      margin: 0 auto;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: conic-gradient(var(--green) 0 25%, #2563eb 25% 50%, #f59e0b 50% 75%, #0f3b68 75% 100%);
      position: relative;
      transform: rotate(-90deg);
      animation: donutReveal 0.8s ease both;
    }

    .donut-chart::after {
      content: "";
      width: 62%;
      height: 62%;
      border-radius: inherit;
      background: #fff;
      box-shadow: inset 0 0 0 1px var(--line);
      position: absolute;
    }

    .donut-center {
      position: relative;
      z-index: 1;
      display: grid;
      place-items: center;
      text-align: center;
      transform: rotate(90deg);
    }

    .donut-center strong {
      color: var(--navy);
      font-size: 16px;
      line-height: 1.1;
    }

    .donut-center span {
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      margin-top: 3px;
    }

    .donut-legend {
      display: grid;
      gap: 8px;
    }

    .legend-item {
      display: grid;
      grid-template-columns: 12px 1fr auto;
      gap: 8px;
      align-items: center;
      padding: 9px 10px;
      border: 1px solid var(--line);
      border-radius: 13px;
      background: #f8fbfd;
      color: var(--navy);
      font-size: 13px;
      font-weight: 850;
    }

    .legend-color {
      width: 12px;
      height: 12px;
      border-radius: 999px;
    }

    .legend-value {
      color: var(--muted);
      font-size: 12px;
    }

    @keyframes donutReveal {
      from {
        opacity: 0;
        transform: rotate(-90deg) scale(0.94);
      }
      to {
        opacity: 1;
        transform: rotate(-90deg) scale(1);
      }
    }

    .bars-chart {
      display: grid;
      gap: 12px;
      margin-top: 16px;
    }

    .bar-row {
      display: grid;
      gap: 7px;
    }

    .bar-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: var(--navy);
      font-size: 13px;
      font-weight: 850;
    }

    .attention-level {
      color: var(--muted);
      font-size: 12px;
      font-weight: 850;
    }

    .bar-track {
      width: 100%;
      height: 10px;
      border-radius: 999px;
      background: #e8eef5;
      overflow: hidden;
    }

    .bar-fill {
      width: 0%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--green), #34c27a);
      transition: width 0.8s ease;
    }

    .result-screen.active .bar-fill {
      width: var(--bar-value);
    }

    .plan-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 10px;
    }

    .plan-badge {
      width: 42px;
      height: 42px;
      border-radius: 15px;
      background: #fff7ed;
      border: 1px solid #fed7aa;
      color: #ea580c;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
    }

    .benefits {
      list-style: none;
      padding: 0;
      margin: 14px 0 0;
      display: grid;
      gap: 9px;
    }

    .benefits li {
      display: grid;
      grid-template-columns: 18px 1fr;
      gap: 8px;
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.4;
      position: relative;
    }

    .benefits li::before {
      content: "";
      width: 18px;
      height: 18px;
      border-radius: 999px;
      background: var(--green-soft);
    }

    .benefits li::after {
      content: "";
      width: 5px;
      height: 9px;
      border-right: 2px solid var(--green);
      border-bottom: 2px solid var(--green);
      position: absolute;
      transform: rotate(45deg);
      left: 6px;
      top: 3px;
    }

    .result-actions {
      display: grid;
      gap: 10px;
      margin-top: 18px;
      padding-bottom: env(safe-area-inset-bottom);
    }

    .text-link {
      display: inline-flex;
      justify-content: center;
      color: var(--muted);
      text-decoration: none;
      font-size: 13px;
      font-weight: 750;
      margin-top: 2px;
    }

    .text-button {
      border: 0;
      background: transparent;
      cursor: pointer;
      padding: 0;
    }

    .privacy-modal {
      position: fixed;
      inset: 0;
      z-index: 20;
      display: grid;
      place-items: end center;
      padding: 14px;
      background: rgba(10, 35, 66, 0.46);
      backdrop-filter: blur(8px);
    }

    .privacy-dialog {
      width: min(100%, 560px);
      max-height: min(86vh, 720px);
      display: flex;
      flex-direction: column;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 24px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .privacy-content {
      padding: 20px 18px 12px;
      overflow: auto;
    }

    .privacy-title {
      color: var(--navy);
      font-size: 23px;
      line-height: 1.12;
      letter-spacing: -0.04em;
      margin-bottom: 10px;
    }

    .privacy-content p,
    .privacy-content li {
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.48;
    }

    .privacy-content p {
      margin-bottom: 12px;
    }

    .privacy-block {
      padding: 13px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #f8fbfd;
      margin-bottom: 10px;
    }

    .privacy-required {
      padding: 13px;
      border-radius: 16px;
      background: var(--green-soft);
      border: 1px solid rgba(15, 122, 63, 0.18);
      color: var(--green-dark);
      font-weight: 750;
    }

    .privacy-block strong {
      display: block;
      color: var(--navy);
      font-size: 13.5px;
      margin-bottom: 7px;
    }

    .privacy-block ul {
      margin: 0;
      padding-left: 18px;
    }

    .privacy-block li + li {
      margin-top: 4px;
    }

    .privacy-note {
      color: var(--green-dark);
      font-weight: 800;
    }

    .privacy-actions {
      display: grid;
      grid-template-columns: 0.9fr 1.25fr;
      gap: 10px;
      padding: 12px 18px 18px;
      border-top: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.96);
    }

    .privacy-decline-message {
      margin: 0 18px 18px;
      padding: 12px;
      border-radius: 14px;
      background: #fff7ed;
      border: 1px solid #fed7aa;
      color: #9a3412;
      font-size: 12.5px;
      font-weight: 800;
      line-height: 1.42;
    }

    @media (max-width: 899px) {
      .page {
        padding: 10px;
      }

      .quiz-card {
        min-height: calc(100vh - 20px);
        border-radius: 22px;
      }

      .quiz-top {
        padding: 14px 14px 10px;
      }

      .brand {
        margin-bottom: 12px;
      }

      .brand-logo {
        height: 30px;
        max-height: 32px;
      }

      .quiz-content {
        padding: 14px 14px 16px;
      }

      .screen {
        min-height: calc(100vh - 130px);
      }

      .intro-visual {
        height: 146px;
        margin-bottom: 18px;
        border-radius: 22px;
      }

      .visual-copy {
        right: 14px;
        top: 14px;
        width: 126px;
        padding: 12px;
      }

      .intro-title {
        font-size: 29px;
      }

      .subtitle {
        line-height: 1.52;
      }

      .mini-benefits {
        gap: 8px;
        margin-top: 16px;
      }

      .mini-benefit {
        padding: 11px;
      }

      .options {
        gap: 10px;
        margin-top: 18px;
      }

      .lead-note {
        margin: 14px 0;
      }

      .result-hero {
        padding: 24px 16px 22px;
      }

      .privacy-modal {
        padding: 10px;
      }

      .privacy-dialog {
        border-radius: 22px;
      }
    }

    @media (min-width: 900px) {
      .page {
        padding: 32px;
        align-items: center;
      }

      .quiz-wrapper {
        grid-template-columns: 1.08fr 430px;
        align-items: stretch;
      }

      .desktop-panel {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 650px;
        padding: 42px;
        border-radius: var(--radius-xl);
        background: rgba(255,255,255,0.82);
        border: 1px solid rgba(220, 230, 240, 0.92);
        box-shadow: var(--shadow);
        backdrop-filter: blur(14px);
        position: relative;
        overflow: hidden;
      }

      .desktop-panel::after {
        content: "";
        position: absolute;
        right: -70px;
        bottom: -90px;
        width: 360px;
        height: 360px;
        border-radius: 90px;
        background: linear-gradient(145deg, rgba(15,122,63,0.11), rgba(10,35,66,0.10));
        transform: rotate(12deg);
      }

      .desktop-brand {
        justify-content: flex-start;
        margin-bottom: 34px;
        position: relative;
        z-index: 1;
      }

      .desktop-panel h1 {
        position: relative;
        z-index: 1;
        color: var(--navy);
        font-size: 52px;
        line-height: 1.02;
        letter-spacing: -0.065em;
        margin-bottom: 18px;
        max-width: 600px;
      }

      .desktop-panel p {
        position: relative;
        z-index: 1;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.7;
        max-width: 560px;
      }

      .desktop-features {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        max-width: 560px;
        margin-top: 34px;
      }

      .desktop-feature {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 15px;
        border-radius: 17px;
        border: 1px solid var(--line);
        background: #fff;
        color: var(--navy);
        font-size: 14px;
        font-weight: 800;
        box-shadow: var(--shadow-soft);
      }

      .quiz-card {
        min-height: 650px;
        border-radius: var(--radius-xl);
      }

      .quiz-card > .quiz-top .brand {
        display: none;
      }

      .desktop-brand {
        display: flex;
      }

      .quiz-top {
        padding: 26px 26px 12px;
      }

      .quiz-content {
        padding: 22px 26px 26px;
      }

      .screen {
        min-height: 560px;
      }

      .intro-title {
        font-size: 34px;
      }

      .question-title,
      .lead-title {
        font-size: 29px;
      }

      .result-hero {
        margin: -22px -26px 20px;
        padding: 34px 26px 28px;
      }
    }

    @media (max-width: 380px) {
      .page {
        padding: 10px;
      }

      .quiz-card {
        min-height: calc(100vh - 20px);
      }

      .intro-title {
        font-size: 28px;
      }

      .question-title,
      .lead-title {
        font-size: 23px;
      }

      .option-card {
        grid-template-columns: 34px 1fr 22px;
        gap: 9px;
        padding: 12px;
      }

      .actions {
        grid-template-columns: 0.9fr 1.3fr;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      * {
        animation: none !important;
        transition: none !important;
      }

      .bar-fill {
        width: var(--bar-value);
      }
    }
