    :root {
      --dmm-navy: #07111f;
      --dmm-ink: #0f172a;
      --dmm-slate: #64748b;
      --dmm-muted: #94a3b8;
      --dmm-line: #e2e8f0;
      --dmm-soft: #f8fafc;
      --dmm-card: #ffffff;
      --dmm-cyan: #06b6d4;
      --dmm-blue: #2563eb;
      --dmm-violet: #7c3aed;
      --dmm-emerald: #059669;
      --dmm-amber: #d97706;
      --dmm-rose: #e11d48;
      --shadow-xl: 0 28px 90px rgba(15, 23, 42, 0.14);
      --shadow-md: 0 14px 38px rgba(15, 23, 42, 0.08);
      --radius-xl: 34px;
      --radius-lg: 26px;
      --radius-md: 18px;
      --max: 1240px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      color: var(--dmm-ink);
      font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.55;
      background:
        radial-gradient(circle at 8% 2%, rgba(6, 182, 212, 0.16), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(124, 58, 237, 0.14), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #eef2ff 100%);
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    a { color: inherit; text-decoration: none; }
    button, input, select { font: inherit; }

    .page { min-height: 100vh; padding: 24px 16px 42px; }
    .container { width: min(100%, var(--max)); margin: 0 auto; }

    .brand-shell {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .logo-mark {
      width: 46px;
      height: 46px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      color: #fff;
      font-weight: 950;
      letter-spacing: -0.08em;
      background: linear-gradient(135deg, var(--dmm-blue), var(--dmm-violet));
      box-shadow: 0 16px 34px rgba(37, 99, 235, 0.26);
    }

    .brand-name strong {
      display: block;
      font-size: 17px;
      letter-spacing: -0.03em;
    }

    .brand-name span {
      display: block;
      color: var(--dmm-slate);
      font-size: 12px;
      font-weight: 700;
    }

    .top-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(15, 23, 42, 0.08);
      border-radius: 999px;
      padding: 11px 15px;
      background: #fff;
      color: var(--dmm-ink);
      font-size: 13px;
      font-weight: 850;
      box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    }

    .hero {
      overflow: hidden;
      border-radius: var(--radius-xl);
      display: grid;
      grid-template-columns: 1.12fr 0.88fr;
      background: rgba(255,255,255,0.86);
      border: 1px solid rgba(255,255,255,0.82);
      box-shadow: var(--shadow-xl);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .hero-copy { padding: 46px; position: relative; }
    .hero-copy::after {
      content: "";
      position: absolute;
      right: -120px;
      bottom: -160px;
      width: 330px;
      height: 330px;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(6, 182, 212, 0.14), transparent 68%);
      pointer-events: none;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 13px;
      border-radius: 999px;
      color: #075985;
      background: #ecfeff;
      border: 1px solid #a5f3fc;
      font-size: 13px;
      font-weight: 900;
    }

    .hero h1 {
      margin: 18px 0 0;
      max-width: 760px;
      font-size: clamp(35px, 6vw, 66px);
      line-height: 0.94;
      letter-spacing: -0.065em;
    }

    .gradient-text {
      background: linear-gradient(120deg, var(--dmm-blue), var(--dmm-violet), var(--dmm-cyan));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero .lead {
      margin: 18px 0 0;
      max-width: 740px;
      color: var(--dmm-slate);
      font-size: 18px;
    }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--dmm-line);
      background: #fff;
      color: #334155;
      border-radius: 999px;
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 850;
      box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    }

    .services-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 22px;
      color: #475569;
      font-size: 12px;
      font-weight: 850;
    }

    .service-chip {
      border-radius: 999px;
      background: #f1f5f9;
      padding: 7px 10px;
    }

    .hero-score {
      padding: 42px;
      color: #fff;
      background:
        radial-gradient(circle at 28% 0%, rgba(255,255,255,0.12), transparent 32%),
        linear-gradient(145deg, #07111f 0%, #111827 58%, #1e1b4b 100%);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .score-label {
      color: #cbd5e1;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .score-line {
      display: flex;
      align-items: flex-end;
      gap: 10px;
      margin-top: 12px;
    }

    .score-line strong {
      font-size: 86px;
      line-height: 0.94;
      letter-spacing: -0.08em;
    }

    .score-line span {
      padding-bottom: 10px;
      color: #cbd5e1;
      font-weight: 800;
    }

    .hero-score h2 {
      margin: 10px 0 0;
      font-size: 28px;
      line-height: 1.05;
      letter-spacing: -0.045em;
    }

    .hero-score p {
      margin: 10px 0 0;
      color: #cbd5e1;
      font-size: 14px;
    }

    .meter {
      margin-top: 24px;
      height: 12px;
      border-radius: 999px;
      background: rgba(255,255,255,0.12);
      overflow: hidden;
    }

    .meter span {
      display: block;
      width: 0%;
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--dmm-cyan), #fff);
      transition: width 280ms ease;
    }

    .mini-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 24px;
    }

    .mini-card {
      border: 1px solid rgba(255,255,255,0.10);
      background: rgba(255,255,255,0.07);
      border-radius: 18px;
      padding: 14px;
    }

    .mini-card span {
      display: block;
      color: #cbd5e1;
      font-size: 12px;
      font-weight: 800;
    }

    .mini-card strong {
      display: block;
      margin-top: 5px;
      font-size: 20px;
      letter-spacing: -0.035em;
    }

    .main-grid {
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 26px;
      align-items: start;
      margin-top: 26px;
    }

    .card {
      border: 1px solid var(--dmm-line);
      border-radius: var(--radius-lg);
      background: rgba(255,255,255,0.88);
      box-shadow: var(--shadow-md);
      padding: 28px;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .card h2, .card h3, .card h4 {
      margin: 0;
      line-height: 1.08;
      letter-spacing: -0.04em;
    }

    .sub {
      margin: 8px 0 0;
      color: var(--dmm-slate);
      font-size: 14px;
    }

    .form-grid { display: grid; gap: 18px; margin-top: 24px; }
    .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

    .field label {
      display: block;
      margin-bottom: 8px;
      color: #334155;
      font-size: 14px;
      font-weight: 900;
    }

    input, select {
      width: 100%;
      border: 1px solid var(--dmm-line);
      border-radius: 16px;
      background: #fff;
      color: var(--dmm-ink);
      outline: none;
      padding: 15px 16px;
      transition: border-color .15s ease, box-shadow .15s ease;
    }

    input:focus, select:focus {
      border-color: var(--dmm-blue);
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    }

    .field.error input, .field.error select {
      border-color: var(--dmm-rose);
      box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.08);
    }

    .help {
      margin-top: 7px;
      color: var(--dmm-slate);
      font-size: 12px;
    }

    .error-text {
      display: none;
      margin-top: 7px;
      color: var(--dmm-rose);
      font-size: 12px;
      font-weight: 800;
    }

    .field.error .error-text { display: block; }

    .button-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }

    .btn {
      appearance: none;
      border: 0;
      border-radius: 16px;
      padding: 15px 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      color: inherit;
      font-weight: 950;
      cursor: pointer;
      line-height: 1.2;
      text-align: center;
      transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease, background .15s ease;
    }

    .btn:hover { transform: translateY(-1px); }
    .btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }

    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, var(--dmm-blue), var(--dmm-violet));
      box-shadow: 0 18px 36px rgba(37, 99, 235, 0.20);
    }

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

    .sticky { position: sticky; top: 18px; }

    .empty-state {
      border: 1px dashed #cbd5e1;
      border-radius: var(--radius-lg);
      background: rgba(255,255,255,0.78);
      box-shadow: var(--shadow-md);
      padding: 42px 24px;
      text-align: center;
    }

    .empty-state .icon { font-size: 46px; }
    .empty-state strong { display: block; margin-top: 10px; font-size: 24px; letter-spacing: -0.03em; }
    .empty-state p { margin: 8px auto 0; max-width: 560px; color: var(--dmm-slate); }

    .kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }

    .kpi {
      border: 1px solid var(--dmm-line);
      border-radius: 18px;
      background: linear-gradient(180deg, #fff, #f8fafc);
      padding: 18px;
    }

    .kpi span {
      display: block;
      color: var(--dmm-slate);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .kpi strong {
      display: block;
      margin-top: 8px;
      font-size: 30px;
      line-height: 1.05;
      letter-spacing: -0.052em;
    }

    .notice {
      margin-top: 18px;
      border: 1px solid var(--dmm-line);
      border-radius: 18px;
      background: #fff;
      padding: 16px 18px;
      font-size: 14px;
    }

    .notice strong { display: inline-block; margin-bottom: 4px; }
    .notice.good { background: #ecfdf5; border-color: #bbf7d0; color: #065f46; }
    .notice.warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
    .notice.bad { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }

    .score-bars { display: grid; gap: 12px; margin-top: 20px; }

    .bar-card { border: 1px solid var(--dmm-line); border-radius: 16px; background: #fff; padding: 14px; }
    .bar-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 8px; }
    .bar-head span { color: #334155; font-size: 14px; font-weight: 900; }
    .bar-head strong { font-size: 13px; }
    .bar-track { height: 10px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
    .bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--dmm-blue), var(--dmm-violet), var(--dmm-cyan)); }

    .lead-gate {
      margin-top: 22px;
      border: 1px solid var(--dmm-line);
      border-radius: 22px;
      padding: 22px;
      background: linear-gradient(180deg, #fff, #f8fafc);
    }

    .checkbox {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      margin-top: 14px;
      padding: 14px;
      border-radius: 16px;
      background: var(--dmm-soft);
    }

    .checkbox input { width: auto; margin-top: 3px; }
    .checkbox span { color: var(--dmm-slate); font-size: 13px; }
    .checkbox a { color: var(--dmm-blue); font-weight: 850; text-decoration: underline; }

    .status {
      display: none;
      margin-top: 12px;
      border-radius: 14px;
      padding: 12px 14px;
      font-size: 13px;
      font-weight: 750;
    }

    .status.show { display: block; }
    .status.success { background: #ecfdf5; border: 1px solid #bbf7d0; color: #065f46; }
    .status.error { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }

    .report {
      display: none;
      margin-top: 22px;
      border: 1px solid var(--dmm-line);
      border-radius: 24px;
      background: #fff;
      box-shadow: var(--shadow-md);
      padding: 24px;
    }

    .report.show { display: block; }

    .report-header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; border-bottom: 1px solid var(--dmm-line); padding-bottom: 20px; }
    .report-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--dmm-line); border-radius: 999px; background: var(--dmm-soft); padding: 8px 12px; color: #334155; font-size: 13px; font-weight: 900; }
    .report-header h2 { margin-top: 10px; font-size: 34px; }

    .report-score {
      min-width: 164px;
      border-radius: 22px;
      padding: 16px;
      text-align: center;
      color: #fff;
      background: linear-gradient(145deg, var(--dmm-navy), #1e1b4b);
    }

    .report-score span { display: block; color: #cbd5e1; font-size: 12px; font-weight: 900; }
    .report-score strong { display: block; margin: 8px 0 4px; font-size: 50px; line-height: 1; letter-spacing: -0.06em; }

    .section-title { margin-top: 26px; font-size: 24px; }
    .strategy-list { display: grid; gap: 12px; margin-top: 16px; }

    .strategy {
      border: 1px solid var(--dmm-line);
      border-radius: 18px;
      background: linear-gradient(180deg, #fff, #f8fafc);
      padding: 16px;
    }

    .strategy-tag { display: inline-flex; border-radius: 999px; background: var(--dmm-navy); color: #fff; padding: 6px 10px; font-size: 11px; font-weight: 950; letter-spacing: .03em; margin-bottom: 10px; }
    .strategy strong { display: block; font-size: 18px; letter-spacing: -0.02em; }
    .strategy p { margin: 7px 0 0; color: var(--dmm-slate); font-size: 14px; }

    .actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
    .footer { margin-top: 26px; text-align: center; color: var(--dmm-slate); font-size: 13px; }
    .small-note { margin-top: 10px; color: var(--dmm-slate); font-size: 12px; }
    .hidden { display: none !important; }

    @media (max-width: 980px) {
      .container { display: flex; flex-direction: column; }
      .brand-shell { order: 1; }
      .main-grid { order: 2; }
      .hero { order: 3; }
      .footer { order: 4; }
      .hero, .main-grid { grid-template-columns: 1fr; }
      .hero-copy, .hero-score, .card, .report { padding: 24px; }
      .sticky { position: static; }
      .split, .button-row, .kpi-grid, .actions, .mini-grid { grid-template-columns: 1fr; }
      .report-header { flex-direction: column; }
      .report-score { text-align: left; }
      .brand-shell { align-items: flex-start; }
      .top-cta { display: none; }
    }

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

    @media print {
      body * { visibility: hidden; }
      #fullReport, #fullReport * { visibility: visible; }
      #fullReport { display: block !important; position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; padding: 0; }
      .no-print { display: none !important; }
    }
  

/* Accessibility and production helpers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.notice-spaced { margin-top: 20px; }
.single-action { grid-template-columns: 1fr; margin-top: 12px; }

.status[role="status"], .error-text[role="alert"] { outline: none; }

@media print {
  @page { size: A4; margin: 14mm; }
  .report, .kpi, .strategy, .notice, .bar-card { break-inside: avoid; page-break-inside: avoid; }
  .report-header { break-after: avoid; page-break-after: avoid; }
}

/* Percentage width utilities used for CSP-safe meter/bar fills */
.w-0 { width: 0%; }
.w-1 { width: 1%; }
.w-2 { width: 2%; }
.w-3 { width: 3%; }
.w-4 { width: 4%; }
.w-5 { width: 5%; }
.w-6 { width: 6%; }
.w-7 { width: 7%; }
.w-8 { width: 8%; }
.w-9 { width: 9%; }
.w-10 { width: 10%; }
.w-11 { width: 11%; }
.w-12 { width: 12%; }
.w-13 { width: 13%; }
.w-14 { width: 14%; }
.w-15 { width: 15%; }
.w-16 { width: 16%; }
.w-17 { width: 17%; }
.w-18 { width: 18%; }
.w-19 { width: 19%; }
.w-20 { width: 20%; }
.w-21 { width: 21%; }
.w-22 { width: 22%; }
.w-23 { width: 23%; }
.w-24 { width: 24%; }
.w-25 { width: 25%; }
.w-26 { width: 26%; }
.w-27 { width: 27%; }
.w-28 { width: 28%; }
.w-29 { width: 29%; }
.w-30 { width: 30%; }
.w-31 { width: 31%; }
.w-32 { width: 32%; }
.w-33 { width: 33%; }
.w-34 { width: 34%; }
.w-35 { width: 35%; }
.w-36 { width: 36%; }
.w-37 { width: 37%; }
.w-38 { width: 38%; }
.w-39 { width: 39%; }
.w-40 { width: 40%; }
.w-41 { width: 41%; }
.w-42 { width: 42%; }
.w-43 { width: 43%; }
.w-44 { width: 44%; }
.w-45 { width: 45%; }
.w-46 { width: 46%; }
.w-47 { width: 47%; }
.w-48 { width: 48%; }
.w-49 { width: 49%; }
.w-50 { width: 50%; }
.w-51 { width: 51%; }
.w-52 { width: 52%; }
.w-53 { width: 53%; }
.w-54 { width: 54%; }
.w-55 { width: 55%; }
.w-56 { width: 56%; }
.w-57 { width: 57%; }
.w-58 { width: 58%; }
.w-59 { width: 59%; }
.w-60 { width: 60%; }
.w-61 { width: 61%; }
.w-62 { width: 62%; }
.w-63 { width: 63%; }
.w-64 { width: 64%; }
.w-65 { width: 65%; }
.w-66 { width: 66%; }
.w-67 { width: 67%; }
.w-68 { width: 68%; }
.w-69 { width: 69%; }
.w-70 { width: 70%; }
.w-71 { width: 71%; }
.w-72 { width: 72%; }
.w-73 { width: 73%; }
.w-74 { width: 74%; }
.w-75 { width: 75%; }
.w-76 { width: 76%; }
.w-77 { width: 77%; }
.w-78 { width: 78%; }
.w-79 { width: 79%; }
.w-80 { width: 80%; }
.w-81 { width: 81%; }
.w-82 { width: 82%; }
.w-83 { width: 83%; }
.w-84 { width: 84%; }
.w-85 { width: 85%; }
.w-86 { width: 86%; }
.w-87 { width: 87%; }
.w-88 { width: 88%; }
.w-89 { width: 89%; }
.w-90 { width: 90%; }
.w-91 { width: 91%; }
.w-92 { width: 92%; }
.w-93 { width: 93%; }
.w-94 { width: 94%; }
.w-95 { width: 95%; }
.w-96 { width: 96%; }
.w-97 { width: 97%; }
.w-98 { width: 98%; }
.w-99 { width: 99%; }
.w-100 { width: 100%; }
.error-text.show { display: block; }

.clipboard-textarea { position: fixed; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }
