:root {
      --bg: #f7f9fc;
      --surface: rgba(255, 255, 255, 0.76);
      --surface-solid: #ffffff;
      --text: #101828;
      --muted: #667085;
      --line: rgba(16, 24, 40, 0.10);
      --primary: #2563eb;
      --primary-dark: #164cc5;
      --primary-soft: #eaf1ff;
      --accent: #7c3aed;
      --success: #12b76a;
      --warning: #f79009;
      --danger: #f04438;
      --shadow-lg: 0 32px 80px rgba(15, 23, 42, 0.14);
      --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.10);
      --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --radius-sm: 12px;
      --container: 1160px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 12% 12%, rgba(37, 99, 235, .13), transparent 28%),
        radial-gradient(circle at 84% 8%, rgba(124, 58, 237, .10), transparent 24%),
        linear-gradient(180deg, #fbfdff 0%, var(--bg) 42%, #ffffff 100%);
      min-height: 100vh;
      line-height: 1.7;
      overflow-x: hidden;
    }

    body.modal-open { overflow: hidden; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button { font: inherit; }
    a { color: inherit; text-decoration: none; }

    .container {
      width: min(calc(100% - 40px), var(--container));
      margin: 0 auto;
    }

    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 40;
      padding: 16px 0;
      transition: .3s ease;
    }

    .site-header.scrolled {
      padding: 10px 0;
      background: rgba(247, 249, 252, .78);
      border-bottom: 1px solid rgba(16, 24, 40, .07);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

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

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: -.03em;
      white-space: nowrap;
    }

    .brand-mark {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 50%;
      background: rgba(255,255,255,.82);
      border: 1px solid rgba(37,99,235,.14);
      box-shadow: 0 10px 24px rgba(37, 99, 235, .18);
      overflow: hidden;
    }

    .brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .brand-name { font-size: 16px; }

    .btn {
      border: 0;
      border-radius: 999px;
      min-height: 48px;
      padding: 0 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      font-weight: 800;
      letter-spacing: -.01em;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
    }

    .btn:hover { transform: translateY(-2px); }
    .btn:active { transform: translateY(0); }

    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, var(--primary), #1d4ed8 58%, var(--accent));
      box-shadow: 0 14px 30px rgba(37, 99, 235, .24);
    }

    .btn-primary:hover { box-shadow: 0 18px 38px rgba(37, 99, 235, .32); }

    .btn-secondary {
      color: var(--text);
      background: rgba(255,255,255,.72);
      border: 1px solid var(--line);
      box-shadow: var(--shadow-sm);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .btn-large { min-height: 58px; padding: 0 30px; font-size: 16px; }
    .btn-full { width: 100%; }

    .hero {
      min-height: 100svh;
      display: grid;
      align-items: center;
      padding: 134px 0 82px;
      position: relative;
    }

    .hero::before,
    .hero::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      filter: blur(2px);
      pointer-events: none;
      animation: floatOrb 8s ease-in-out infinite;
    }

    .hero::before {
      width: 180px;
      height: 180px;
      right: -40px;
      top: 170px;
      background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(124,58,237,.08));
    }

    .hero::after {
      width: 120px;
      height: 120px;
      left: -30px;
      bottom: 70px;
      background: linear-gradient(135deg, rgba(18,183,106,.10), rgba(37,99,235,.10));
      animation-delay: -3s;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.08fr .92fr;
      gap: 64px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid rgba(37,99,235,.16);
      background: rgba(255,255,255,.72);
      color: var(--primary-dark);
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 13px;
      font-weight: 800;
      box-shadow: var(--shadow-sm);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .eyebrow-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 0 5px rgba(18,183,106,.12);
    }

    h1 {
      margin: 24px 0 24px;
      font-size: clamp(44px, 6.8vw, 82px);
      line-height: 1.08;
      letter-spacing: -.055em;
      font-weight: 850;
    }

    .gradient-text {
      color: transparent;
      background: linear-gradient(100deg, var(--primary) 8%, #2563eb 48%, var(--accent) 94%);
      -webkit-background-clip: text;
      background-clip: text;
    }

    .hero-copy {
      max-width: 650px;
      font-size: clamp(16px, 1.6vw, 20px);
      color: var(--muted);
      margin: 0 0 34px;
      letter-spacing: -.01em;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
    }

    .microcopy {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      margin-top: 22px;
      color: #475467;
      font-size: 13px;
      font-weight: 700;
    }

    .microcopy span { display: inline-flex; align-items: center; gap: 7px; }
    .microcopy svg { width: 16px; height: 16px; color: var(--success); }

    .diagnosis-preview {
      position: relative;
      min-height: 520px;
      display: grid;
      place-items: center;
    }

    .glass-card {
      background: var(--surface);
      border: 1px solid rgba(255,255,255,.86);
      box-shadow: var(--shadow-lg);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
    }

    .preview-card {
      width: min(100%, 500px);
      border-radius: var(--radius-xl);
      padding: 30px;
      position: relative;
      overflow: hidden;
      transform: rotate(-1.3deg);
      animation: cardFloat 6s ease-in-out infinite;
    }

    .preview-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,.50), transparent 40%);
      pointer-events: none;
    }

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

    .preview-label { font-size: 13px; color: var(--muted); font-weight: 700; }
    .preview-step { font-size: 12px; font-weight: 800; color: var(--primary); background: var(--primary-soft); border-radius: 999px; padding: 6px 10px; }
    .preview-question { font-size: 24px; line-height: 1.45; letter-spacing: -.035em; font-weight: 850; margin: 0 0 22px; }

    .fake-option {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 15px 16px;
      margin-top: 11px;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.62);
      color: #344054;
      font-size: 14px;
      font-weight: 700;
    }

    .fake-option.active {
      border-color: rgba(37,99,235,.45);
      background: rgba(234,241,255,.84);
      color: var(--primary-dark);
      box-shadow: inset 0 0 0 1px rgba(37,99,235,.08);
    }

    .fake-radio {
      width: 19px;
      height: 19px;
      border-radius: 50%;
      border: 2px solid #98a2b3;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
    }

    .fake-option.active .fake-radio { border-color: var(--primary); }
    .fake-option.active .fake-radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }

    .floating-chip {
      position: absolute;
      border-radius: 18px;
      padding: 13px 16px;
      background: rgba(255,255,255,.84);
      border: 1px solid rgba(255,255,255,.92);
      box-shadow: var(--shadow-md);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      font-size: 13px;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .floating-chip svg { width: 19px; height: 19px; }
    .chip-a { right: -16px; top: 52px; animation: chipFloat 5s ease-in-out infinite; }
    .chip-b { left: -26px; bottom: 60px; animation: chipFloat 5.5s ease-in-out infinite -1.5s; }
    .chip-a svg { color: var(--primary); }
    .chip-b svg { color: var(--success); }

    section { padding: 110px 0; }

    .section-heading {
      max-width: 760px;
      margin: 0 auto 52px;
      text-align: center;
    }

    .section-kicker {
      color: var(--primary);
      font-size: 13px;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .section-heading h2 {
      margin: 12px 0 16px;
      font-size: clamp(32px, 4.4vw, 54px);
      line-height: 1.18;
      letter-spacing: -.045em;
    }

    .section-heading p { margin: 0; color: var(--muted); font-size: 17px; }

    .type-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .type-card {
      padding: 30px;
      border-radius: var(--radius-lg);
      min-height: 360px;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
      transition: transform .3s ease, box-shadow .3s ease;
    }

    .type-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
    .type-card::after { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; right: -70px; bottom: -70px; opacity: .18; }
    .type-card:nth-child(1)::after { background: var(--primary); }
    .type-card:nth-child(2)::after { background: var(--accent); }
    .type-card:nth-child(3)::after { background: var(--success); }

    .type-icon {
      width: 54px;
      height: 54px;
      border-radius: 17px;
      display: grid;
      place-items: center;
      margin-bottom: 28px;
    }
    .type-icon svg { width: 26px; height: 26px; }
    .icon-blue { color: var(--primary); background: var(--primary-soft); }
    .icon-purple { color: var(--accent); background: #f1eafe; }
    .icon-green { color: var(--success); background: #e8f8f0; }

    .type-card h3 { font-size: 24px; letter-spacing: -.03em; margin: 0 0 12px; }
    .type-card p { margin: 0; color: var(--muted); font-size: 15px; }
    .type-points { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
    .type-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: #344054; font-weight: 700; }
    .type-points svg { width: 17px; height: 17px; color: var(--success); margin-top: 3px; flex: 0 0 auto; }

    .stars-wrap { margin-top: auto; padding-top: 26px; }
    .stars-label { font-size: 12px; color: var(--muted); font-weight: 800; margin-bottom: 6px; }
    .stars { letter-spacing: 4px; color: #f5b301; font-size: 20px; }

    .process {
      position: relative;
    }

    .process-shell {
      border-radius: var(--radius-xl);
      padding: 46px;
      display: grid;
      grid-template-columns: .92fr 1.08fr;
      gap: 54px;
      align-items: center;
    }

    .process-copy h2 { font-size: clamp(31px, 4vw, 50px); line-height: 1.2; letter-spacing: -.045em; margin: 12px 0 18px; }
    .process-copy p { color: var(--muted); margin: 0 0 28px; }

    .steps { display: grid; gap: 14px; }
    .step-item { display: grid; grid-template-columns: 44px 1fr; gap: 15px; align-items: start; padding: 17px; border-radius: 18px; background: rgba(255,255,255,.62); border: 1px solid var(--line); }
    .step-number { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 850; color: var(--primary); background: var(--primary-soft); }
    .step-item h3 { font-size: 16px; margin: 1px 0 3px; }
    .step-item p { font-size: 13px; margin: 0; color: var(--muted); }

    .bottom-cta { padding-top: 30px; }
    .cta-card {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-xl);
      padding: 70px 50px;
      text-align: center;
      color: #fff;
      background: linear-gradient(135deg, #0f172a 0%, #172554 48%, #312e81 100%);
      box-shadow: 0 34px 90px rgba(15,23,42,.24);
    }

    .cta-card::before,
    .cta-card::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      filter: blur(2px);
      pointer-events: none;
    }
    .cta-card::before { width: 260px; height: 260px; right: -80px; top: -100px; background: rgba(59,130,246,.30); }
    .cta-card::after { width: 220px; height: 220px; left: -80px; bottom: -120px; background: rgba(124,58,237,.28); }
    .cta-card > * { position: relative; z-index: 1; }
    .cta-card h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.2; letter-spacing: -.045em; margin: 0 0 18px; }
    .cta-card p { max-width: 650px; margin: 0 auto 30px; color: rgba(255,255,255,.72); }
    .cta-card .btn { background: #fff; color: #172554; box-shadow: 0 18px 34px rgba(0,0,0,.18); }

    footer { padding: 36px 0 54px; color: var(--muted); font-size: 12px; }
    .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; }

    .modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background: rgba(15, 23, 42, .46);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      opacity: 0;
      transition: opacity .25s ease;
    }

    .modal-backdrop.is-open { display: flex; }
    .modal-backdrop.is-visible { opacity: 1; }

    .modal {
      width: min(100%, 720px);
      max-height: min(90svh, 820px);
      overflow-y: auto;
      border-radius: 30px;
      background: rgba(255,255,255,.94);
      border: 1px solid rgba(255,255,255,.92);
      box-shadow: 0 40px 120px rgba(15,23,42,.28);
      transform: translateY(18px) scale(.985);
      transition: transform .25s ease;
    }

    .modal-backdrop.is-visible .modal { transform: translateY(0) scale(1); }

    .modal-header {
      position: sticky;
      top: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 22px 26px 16px;
      background: rgba(255,255,255,.88);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--line);
    }

    .modal-title { margin: 0; font-size: 18px; letter-spacing: -.02em; }
    .icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: #475467; }
    .icon-btn svg { width: 19px; height: 19px; }

    .progress-wrap { padding: 18px 26px 0; }
    .progress-info { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; font-weight: 800; margin-bottom: 8px; }
    .progress-bar { height: 7px; border-radius: 999px; background: #edf1f7; overflow: hidden; }
    .progress-fill { height: 100%; width: 25%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .35s ease; }

    .modal-body { padding: 28px 26px 28px; }
    .question-screen { animation: fadeSlide .32s ease; }
    .question-kicker { font-size: 13px; color: var(--primary); font-weight: 850; margin-bottom: 10px; }
    .question-title { margin: 0 0 8px; font-size: clamp(25px, 4vw, 34px); line-height: 1.35; letter-spacing: -.04em; }
    .question-note { margin: 0 0 24px; color: var(--muted); font-size: 14px; }

    .option-list { display: grid; gap: 12px; }
    .option-card {
      display: grid;
      grid-template-columns: 24px 1fr;
      gap: 14px;
      align-items: center;
      width: 100%;
      text-align: left;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.72);
      padding: 17px 18px;
      cursor: pointer;
      transition: .2s ease;
      color: var(--text);
    }

    .option-card:hover { border-color: rgba(37,99,235,.36); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,23,42,.06); }
    .option-card.selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgba(37,99,235,.08); }
    .option-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #98a2b3; display: grid; place-items: center; }
    .option-card.selected .option-radio { border-color: var(--primary); }
    .option-card.selected .option-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
    .option-main { font-weight: 800; font-size: 15px; line-height: 1.45; }
    .option-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }

    .modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
    .btn-back { visibility: hidden; }
    .btn-back.is-visible { visibility: visible; }
    .btn-next[disabled] { opacity: .45; pointer-events: none; }

    .result-body { padding: 34px 28px 30px; }
    .result-hero { text-align: center; }
    .result-badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; color: var(--primary); background: var(--primary-soft); padding: 8px 13px; font-size: 12px; font-weight: 850; }
    .result-icon { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; margin: 22px auto 18px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 18px 38px rgba(37,99,235,.26); }
    .result-icon svg { width: 34px; height: 34px; }
    .result-title { font-size: clamp(30px, 5vw, 44px); line-height: 1.2; letter-spacing: -.045em; margin: 0 0 10px; }
    .result-lead { color: var(--muted); max-width: 560px; margin: 0 auto; }

    .expectation-card { margin-top: 26px; padding: 20px; border-radius: 20px; background: linear-gradient(135deg, #fff9e7, #fffdf7); border: 1px solid rgba(245,179,1,.22); text-align: center; }
    .expectation-label { font-size: 12px; color: #7a5a00; font-weight: 850; }
    .expectation-stars { font-size: 30px; letter-spacing: 5px; color: #f5b301; margin: 5px 0 3px; }
    .expectation-text { font-size: 12px; color: #8a6a15; }

    .result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
    .result-panel { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: rgba(255,255,255,.76); }
    .result-panel h3 { margin: 0 0 12px; font-size: 15px; }
    .result-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
    .result-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: #475467; }
    .result-list svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; color: var(--success); }
    .score-bars { display: grid; gap: 11px; }
    .score-row { display: grid; grid-template-columns: 104px 1fr 34px; gap: 9px; align-items: center; font-size: 12px; font-weight: 800; color: #475467; }
    .score-track { height: 8px; border-radius: 999px; background: #edf1f7; overflow: hidden; }
    .score-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .7s ease .2s; }
    .result-cta { margin-top: 20px; padding: 22px; border-radius: 22px; background: #f8faff; border: 1px solid rgba(37,99,235,.14); text-align: center; }
    .result-cta p { margin: 0 0 14px; color: #475467; font-size: 13px; }
    .result-subactions { display: flex; justify-content: center; margin-top: 12px; }
    .text-button { border: 0; background: transparent; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }

    .lead-gate { padding: 34px 28px 30px; }
    .lead-gate-head { text-align: center; }
    .lead-gate-icon { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; margin: 0 auto 18px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 18px 38px rgba(37,99,235,.26); }
    .lead-gate-icon svg { width: 36px; height: 36px; }
    .lead-gate h2 { margin: 0 0 10px; font-size: clamp(30px, 5vw, 44px); line-height: 1.2; letter-spacing: -.045em; }
    .lead-gate-lead { margin: 0 auto; max-width: 560px; color: var(--muted); }
    .found-count { margin: 24px 0 18px; padding: 20px; border-radius: 22px; background: linear-gradient(135deg, #f8faff, #f5f3ff); border: 1px solid rgba(37,99,235,.14); text-align: center; }
    .found-count strong { display: block; font-size: 30px; line-height: 1.25; letter-spacing: -.04em; }
    .found-count span { color: var(--muted); font-size: 13px; }
    .lead-form { display: grid; gap: 16px; margin-top: 22px; }
    .form-field { display: grid; gap: 8px; }
    .form-field label { font-size: 13px; font-weight: 850; color: #344054; }
    .required-badge { margin-left: 7px; color: var(--danger); font-size: 11px; }
    .form-field input { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; background: #fff; color: var(--text); font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
    .form-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.10); }
    .form-field input.is-error { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(240,68,56,.08); }
    .field-note { color: var(--muted); font-size: 11px; }
    .field-error { display: none; color: var(--danger); font-size: 11px; font-weight: 700; }
    .field-error.show { display: block; }
    .privacy-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; text-align: center; }
    .improvement-list { display: grid; gap: 12px; margin-top: 18px; }
    .improvement-item { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; padding: 17px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.78); }
    .improvement-number { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); font-size: 13px; font-weight: 900; }
    .improvement-item h4 { margin: 0 0 4px; font-size: 15px; }
    .improvement-item p { margin: 0; color: var(--muted); font-size: 12px; }
    .free-offer { margin-top: 20px; padding: 22px; border-radius: 22px; text-align: center; color: #fff; background: linear-gradient(135deg, #0f172a, #312e81); box-shadow: var(--shadow-md); }
    .free-offer strong { display: block; font-size: 20px; margin-bottom: 6px; }
    .free-offer span { font-size: 12px; color: rgba(255,255,255,.72); }

    .toast {
      position: fixed;
      left: 50%;
      bottom: 28px;
      z-index: 150;
      transform: translate(-50%, 20px);
      opacity: 0;
      pointer-events: none;
      background: #101828;
      color: #fff;
      border-radius: 999px;
      padding: 12px 18px;
      font-size: 13px;
      font-weight: 700;
      box-shadow: var(--shadow-md);
      transition: .3s ease;
    }
    .toast.show { opacity: 1; transform: translate(-50%, 0); }

    .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    @keyframes cardFloat { 0%,100% { transform: rotate(-1.3deg) translateY(0); } 50% { transform: rotate(-.4deg) translateY(-10px); } }
    @keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
    @keyframes floatOrb { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-14px,0); } }
    @keyframes fadeSlide { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }


    .analysis-loader { padding: 54px 28px 48px; text-align: center; }
    .analysis-orbit { width: 96px; height: 96px; margin: 0 auto 24px; position: relative; display: grid; place-items: center; }
    .analysis-orbit::before, .analysis-orbit::after { content: ""; position: absolute; border-radius: 50%; }
    .analysis-orbit::before { inset: 0; border: 3px solid rgba(37,99,235,.12); border-top-color: var(--primary); border-right-color: var(--accent); animation: analysisSpin 1.1s linear infinite; }
    .analysis-orbit::after { inset: 14px; border: 2px solid rgba(124,58,237,.10); border-bottom-color: var(--accent); animation: analysisSpinReverse 1.5s linear infinite; }
    .analysis-orbit-icon { width: 48px; height: 48px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--primary),var(--accent)); box-shadow: 0 14px 30px rgba(37,99,235,.25); animation: analysisPulse 1.7s ease-in-out infinite; }
    .analysis-orbit-icon svg { width: 25px; height: 25px; }
    .analysis-loader h2 { margin: 0 0 8px; font-size: clamp(27px,4vw,38px); letter-spacing: -.04em; }
    .analysis-loader > p { margin: 0 auto; max-width: 520px; color: var(--muted); }
    .analysis-steps { width: min(100%, 470px); margin: 30px auto 0; display: grid; gap: 10px; text-align: left; }
    .analysis-step { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.72); color: #667085; font-size: 13px; font-weight: 750; transition: .35s ease; }
    .analysis-step-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: #edf1f7; color: #98a2b3; font-size: 11px; }
    .analysis-step.active { border-color: rgba(37,99,235,.3); background: var(--primary-soft); color: var(--primary-dark); transform: translateX(4px); }
    .analysis-step.active .analysis-step-dot { background: var(--primary); color: #fff; box-shadow: 0 0 0 5px rgba(37,99,235,.10); }
    .analysis-step.done { color: #166534; background: #effcf5; border-color: rgba(18,183,106,.22); }
    .analysis-step.done .analysis-step-dot { background: var(--success); color: #fff; }
    .submit-status { min-height: 22px; margin-top: 8px; text-align: center; color: var(--danger); font-size: 12px; font-weight: 700; }
    @keyframes analysisSpin { to { transform: rotate(360deg); } }
    @keyframes analysisSpinReverse { to { transform: rotate(-360deg); } }
    @keyframes analysisPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }

    @media (max-width: 920px) {
      .hero { min-height: auto; padding-top: 130px; }
      .hero-grid, .process-shell { grid-template-columns: 1fr; }
      .hero-grid { gap: 44px; }
      .hero-copy br { display: none; }
      .diagnosis-preview { min-height: 460px; }
      .type-grid { grid-template-columns: 1fr; }
      .type-card { min-height: auto; }
      .process-shell { padding: 34px; gap: 36px; }
    }

    @media (max-width: 640px) {
      .container { width: min(calc(100% - 28px), var(--container)); }
      .site-header { padding-top: 12px; }
      .brand-name { font-size: 14px; }
      .brand-mark { width: 40px; height: 40px; }
      .header-inner .btn { min-height: 42px; padding: 0 16px; font-size: 13px; }
      .hero { padding: 112px 0 64px; }
      h1 { font-size: clamp(42px, 13vw, 60px); }
      .hero-actions { display: grid; }
      .hero-actions .btn { width: 100%; }
      .microcopy { gap: 10px 16px; }
      .diagnosis-preview { min-height: 420px; }
      .preview-card { padding: 22px; border-radius: 24px; }
      .preview-question { font-size: 20px; }
      .chip-a { right: -8px; top: 20px; }
      .chip-b { left: -6px; bottom: 22px; }
      .floating-chip { font-size: 11px; padding: 10px 12px; }
      section { padding: 78px 0; }
      .section-heading { margin-bottom: 34px; }
      .section-heading p { font-size: 15px; }
      .type-card { padding: 24px; }
      .process-shell { padding: 25px 20px; border-radius: 26px; }
      .cta-card { padding: 52px 22px; border-radius: 26px; }
      .footer-inner { flex-direction: column; align-items: flex-start; }
      .modal-backdrop { padding: 0; align-items: flex-end; }
      .modal { width: 100%; max-height: 94svh; border-radius: 26px 26px 0 0; }
      .modal-header { padding: 18px 18px 14px; }
      .progress-wrap { padding: 16px 18px 0; }
      .modal-body, .result-body, .lead-gate { padding: 24px 18px 24px; }
      .modal-actions { position: sticky; bottom: 0; padding-top: 14px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.98) 28%); }
      .modal-actions .btn { min-height: 50px; }
      .result-grid { grid-template-columns: 1fr; }
      .score-row { grid-template-columns: 92px 1fr 32px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
      .reveal { opacity: 1; transform: none; }
    }
