:root {
    --blue-deep: #1a3f7a;
    --blue-mid: #2557a7;
    --blue-line: #dbe4f3;
    --ink: #1c2430;
    --ink-soft: #4a5568;
    --border-grey: #d7dbe1;
    --bg: #eef1f6;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    display: flex;
    justify-content: center;
    padding: 32px 16px;
    color: var(--ink);
  }

  .app-frame {
    width: 100%;
    max-width: 420px;
    height: 720px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(20, 40, 80, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  /* ---- Top bar: logo only, no progress/timer per spec ---- */
  .topbar {
    padding: 18px 20px;
    border-bottom: 1px solid #eceff3;
    display: flex;
    align-items: center;
  }

  .logo-placeholder {
    width: clamp(110px, 32vw, 170px);
    aspect-ratio: 1000 / 300;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  /* ---- Scrollable question area ---- */
  .scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px 20px 28px;
  }


  
  .title-intro-line {
    font-size: 20px;
    line-height: 1.5;
    font-weight:600;
    margin: 4px 0 10px;
    padding-bottom: 20px;
   
  }


  .intro-line {
    font-size: 15px;
    line-height: 1.5;
    
    margin: 4px 0 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eceff3;
  }

  .question-index {
    font-size: 15px;
    font-weight: 700;
    margin: 32px 0 18px;
    color: var(--ink);
  }

  .question-index:first-of-type {
    margin-top: 4px;
  }

  .question-text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 20px;
    color: var(--ink);
  }

  .question-prompt {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px;
  }

  .options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .option {
    display: flex;
    align-items: center;        /* vertically centers the radio against wrapped text */
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border-grey);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .option:hover {
    border-color: #b7c2d1;
    background: #f8fafc;
  }

  .option input[type="radio"] {
    display: none;
  }

  .radio-dot {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #b6bfcc;
    position: relative;
  }

  .option input[type="radio"]:checked + .radio-dot {
    border-color: var(--blue-mid);
  }

  .option input[type="radio"]:checked + .radio-dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--blue-mid);
  }

  .option-text {
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink);
  }

  .validation-message {
    background: #fdecec;
    border: 1px solid #f3b7b7;
    color: #a12626;
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
  }

  .continue-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: var(--blue-mid);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 18px;
  }

  .continue-btn:hover {
    background: var(--blue-deep);
  }

  .report-link {
    display: block;
    text-align: center;
    color: var(--blue-mid);
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 10px;
  }

  .footer-note {
    text-align: center;
    font-size: 12px;
    color: #9aa5b1;
    margin: 0;
  }