:root {
      --bg: #f4f8fc;
      --bg-deep: #edf4fb;
      --surface: rgba(255, 255, 255, 0.82);
      --surface-strong: #ffffff;
      --surface-soft: #f8fbff;
      --text: #0f172a;
      --text-soft: #334155;
      --text-muted: #64748b;
      --line: rgba(15, 23, 42, 0.08);
      --line-strong: rgba(15, 23, 42, 0.12);

      --primary: #0f7db7;
      --primary-2: #38bdf8;
      --primary-soft: rgba(56, 189, 248, 0.12);

      --danger: #ef4444;
      --danger-soft: rgba(239, 68, 68, 0.12);

      --warning: #f59e0b;
      --warning-soft: rgba(245, 158, 11, 0.14);

      --success: #16a34a;
      --success-soft: rgba(22, 163, 74, 0.12);

      --neutral-soft: rgba(100, 116, 139, 0.12);

      --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.10);
      --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.08);
      --shadow-sm: 0 10px 22px rgba(15, 23, 42, 0.05);

      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 18px;
      --radius-sm: 14px;
      --max: 1180px;
    }

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

    body {
      margin: 0;
      font-family: "Inter", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 8% 10%, rgba(56, 189, 248, 0.15), transparent 24%),
        radial-gradient(circle at 92% 8%, rgba(14, 165, 233, 0.12), transparent 22%),
        radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.08), transparent 18%),
        linear-gradient(180deg, #f9fcff 0%, var(--bg) 35%, var(--bg-deep) 100%);
      position: relative;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
      background-size: 38px 38px;
      mask-image: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
      opacity: 0.32;
    }

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

    .page {
      max-width: var(--max);
      margin: 0 auto;
      padding: 20px 16px 56px;
      position: relative;
      z-index: 1;
    }

    .top-shell {
      position: sticky;
      top: 14px;
      z-index: 20;
      margin-bottom: 22px;
    }

    .site-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      padding: 14px 18px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(14px);
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    }

    .brand {
      font-weight: 800;
      letter-spacing: 0.14em;
      font-size: 0.88rem;
      color: var(--primary);
      text-transform: uppercase;
      white-space: nowrap;
    }

    .site-nav {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      align-items: center;
    }

    .nav-link {
      position: relative;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-muted);
      padding-bottom: 4px;
      transition: color 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--primary);
    }

    .nav-link.active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }

    .hero {
      position: relative;
      overflow: hidden;
      border-radius: 34px;
      padding: 34px;
      background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.10), rgba(255,255,255,0.92)),
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.84));
      border: 1px solid rgba(255,255,255,0.82);
      box-shadow: var(--shadow-lg);
      margin-bottom: 22px;
      isolation: isolate;
    }

    .hero::before,
    .hero::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      pointer-events: none;
      filter: blur(2px);
    }

    .hero::before {
      width: 320px;
      height: 320px;
      right: -100px;
      top: -120px;
      background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
    }

    .hero::after {
      width: 220px;
      height: 220px;
      left: -70px;
      bottom: -100px;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 72%);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.3fr 0.85fr;
      gap: 22px;
      align-items: stretch;
      position: relative;
      z-index: 1;
    }

    .hero-left { min-width: 0; }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 14px;
      border-radius: 999px;
      background: rgba(56, 189, 248, 0.10);
      color: var(--primary);
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      margin-bottom: 16px;
    }

    .live-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--danger);
      box-shadow: 0 0 0 rgba(239, 68, 68, 0.45);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.38); }
      70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
      100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
    }

    .hero h1 {
      margin: 0 0 12px;
      font-size: clamp(2.2rem, 4.2vw, 4rem);
      line-height: 0.98;
      letter-spacing: -0.06em;
      color: #08324a;
      max-width: 720px;
    }

    .hero p {
      margin: 0;
      max-width: 720px;
      color: var(--text-soft);
      font-size: 1rem;
      line-height: 1.76;
    }

    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 22px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 16px;
      border-radius: 999px;
      font-size: 0.9rem;
      font-weight: 700;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    }

    .btn-primary {
      color: white;
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
    }

    .btn-secondary {
      color: var(--text-soft);
      background: rgba(255,255,255,0.76);
      border: 1px solid rgba(15,23,42,0.08);
    }

    .hero-right {
      background: rgba(255,255,255,0.72);
      border: 1px solid rgba(255,255,255,0.72);
      border-radius: 26px;
      padding: 22px;
      backdrop-filter: blur(10px);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 100%;
    }

    .eyeline {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      font-weight: 700;
      margin-bottom: 10px;
    }

    .big-score {
      display: flex;
      align-items: end;
      gap: 10px;
      margin-bottom: 8px;
    }

    .big-score .value {
      font-size: 4rem;
      line-height: 0.9;
      font-weight: 800;
      letter-spacing: -0.07em;
      color: #082d45;
    }

    .big-score .unit {
      font-size: 1rem;
      color: var(--text-muted);
      font-weight: 700;
      margin-bottom: 8px;
    }

    .hero-right p {
      margin: 0 0 16px;
      color: var(--text-soft);
      line-height: 1.68;
      font-size: 0.95rem;
    }

    .hero-trend {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 0.79rem;
      line-height: 1;
      font-weight: 800;
      white-space: nowrap;
      letter-spacing: 0.02em;
    }

    .pill-danger { background: var(--danger-soft); color: var(--danger); }
    .pill-warning { background: var(--warning-soft); color: #b45309; }
    .pill-success { background: var(--success-soft); color: var(--success); }
    .pill-neutral { background: var(--neutral-soft); color: #475569; }

    .overview-strip {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      margin-bottom: 22px;
    }

    .overview-card {
      background: rgba(255,255,255,0.76);
      border: 1px solid rgba(255,255,255,0.72);
      border-radius: 22px;
      padding: 18px;
      box-shadow: var(--shadow-sm);
      backdrop-filter: blur(10px);
    }

    .label {
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--text-muted);
      font-weight: 800;
      margin-bottom: 8px;
    }

    .value {
      font-size: 1.06rem;
      font-weight: 800;
      color: var(--text);
      line-height: 1.4;
    }

    .value-sub {
      margin-top: 5px;
      font-size: 0.88rem;
      color: var(--text-muted);
      font-weight: 600;
    }

    .section { margin-bottom: 22px; }

    .section-card {
      background: rgba(255,255,255,0.82);
      border: 1px solid rgba(255,255,255,0.78);
      border-radius: 28px;
      box-shadow: var(--shadow-md);
      backdrop-filter: blur(10px);
      padding: 24px;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 16px;
      margin-bottom: 18px;
      flex-wrap: wrap;
    }

    .section-head h2 {
      margin: 0;
      font-size: 1.22rem;
      letter-spacing: -0.03em;
      color: var(--text);
    }

    .section-head p {
      margin: 6px 0 0;
      color: var(--text-muted);
      font-size: 0.92rem;
      line-height: 1.6;
      max-width: 760px;
    }

    .summary-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 18px;
    }

    .sub-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,251,255,0.88));
      border: 1px solid var(--line);
      border-radius: 22px;
      padding: 20px;
    }

    .sub-card h3 {
      margin: 0 0 12px;
      font-size: 1rem;
      letter-spacing: -0.02em;
    }

    .sub-card p {
      margin: 0;
      color: var(--text-soft);
      font-size: 0.93rem;
      line-height: 1.74;
    }

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

    .bullet-list li {
      display: flex;
      gap: 10px;
      color: var(--text-soft);
      font-size: 0.92rem;
      line-height: 1.6;
    }

    .bullet-list li::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
      margin-top: 8px;
      flex: 0 0 auto;
    }

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

    .mini-box {
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 14px;
    }

    .mini-box .mini-label {
      font-size: 0.74rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      font-weight: 800;
      margin-bottom: 6px;
    }

    .mini-box .mini-value {
      font-size: 1.06rem;
      font-weight: 800;
      color: var(--text);
      line-height: 1.35;
    }

    .risk-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .risk-card {
      position: relative;
      overflow: hidden;
      background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,251,255,0.90));
      border: 1px solid rgba(15,23,42,0.08);
      border-radius: 24px;
      padding: 20px;
      box-shadow: var(--shadow-sm);
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    }

    .risk-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
      border-color: rgba(56, 189, 248, 0.24);
    }

    .risk-card::after {
      content: "";
      position: absolute;
      right: -35px;
      top: -35px;
      width: 110px;
      height: 110px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(56, 189, 248, 0.13), transparent 70%);
      pointer-events: none;
    }

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

    .risk-title {
      margin: 0 0 6px;
      font-size: 1.04rem;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .risk-subtitle {
      color: var(--text-muted);
      font-size: 0.86rem;
      line-height: 1.5;
    }

    .risk-score {
      text-align: right;
      flex: 0 0 auto;
    }

    .risk-score .num {
      font-size: 2.2rem;
      line-height: 0.95;
      font-weight: 800;
      letter-spacing: -0.06em;
      color: #08324a;
    }

    .risk-score .small {
      margin-top: 4px;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--text-muted);
    }

    .bar {
      width: 100%;
      height: 11px;
      background: #e7eef6;
      border-radius: 999px;
      overflow: hidden;
      margin-bottom: 14px;
    }

    .bar-fill {
      height: 100%;
      border-radius: inherit;
      transition: width 0.9s ease;
    }

    .fill-low { background: linear-gradient(90deg, #22c55e, #16a34a); }
    .fill-medium { background: linear-gradient(90deg, #facc15, #f59e0b); }
    .fill-high { background: linear-gradient(90deg, #fb7185, #ef4444); }

    .risk-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 14px;
    }

    .chips-block { margin-bottom: 14px; }

    .chips-label {
      font-size: 0.74rem;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--text-muted);
      font-weight: 800;
      margin-bottom: 8px;
    }

    .chips-row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      padding: 8px 10px;
      border-radius: 999px;
      font-size: 0.79rem;
      line-height: 1;
      font-weight: 700;
      border: 1px solid rgba(15,23,42,0.06);
    }

    .chip.driver {
      background: #f1f5f9;
      color: #334155;
    }

    .chip.source {
      background: rgba(56, 189, 248, 0.10);
      color: #0369a1;
    }

    .sparkline-box {
      height: 54px;
      padding: 8px 10px;
      border-radius: 16px;
      background: linear-gradient(180deg, #fbfdff, #f5f9fd);
      border: 1px solid var(--line);
      margin-bottom: 14px;
    }

    .sparkline-box svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .sparkline-line {
      fill: none;
      stroke: #0ea5e9;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .sparkline-area {
      fill: rgba(56, 189, 248, 0.12);
    }

    .sparkline-dot {
      fill: #0ea5e9;
    }

    .risk-desc {
      color: var(--text-soft);
      font-size: 0.92rem;
      line-height: 1.72;
    }

    .report-stack {
      display: grid;
      gap: 18px;
    }

    .report-box {
      background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(249,252,255,0.92));
      border: 1px solid rgba(15,23,42,0.08);
      border-radius: 24px;
      padding: 22px;
      box-shadow: var(--shadow-sm);
    }

    .report-head {
      display: flex;
      justify-content: space-between;
      align-items: start;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 16px;
    }

    .report-head h3 {
      margin: 0;
      font-size: 1.08rem;
      letter-spacing: -0.02em;
    }

    .report-layout {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 18px;
    }

    .report-side {
      display: grid;
      gap: 12px;
      align-content: start;
    }

    .report-stat {
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 14px;
    }

    .report-stat small {
      display: block;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      font-weight: 800;
      margin-bottom: 7px;
    }

    .report-stat strong {
      color: var(--text);
      font-size: 0.96rem;
      line-height: 1.5;
    }

    .report-body h4 {
      margin: 0 0 8px;
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
    }

    .report-body p {
      margin: 0 0 14px;
      color: var(--text-soft);
      font-size: 0.93rem;
      line-height: 1.75;
    }

    .method-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin-top: 16px;
    }

    .method-card {
      background: linear-gradient(180deg, #ffffff, #f9fcff);
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 18px;
    }

    .method-card h3 {
      margin: 0 0 8px;
      font-size: 0.96rem;
      letter-spacing: -0.01em;
    }

    .method-card p {
      margin: 0;
      color: var(--text-soft);
      font-size: 0.88rem;
      line-height: 1.68;
    }

    footer {
      margin-top: 28px;
      text-align: center;
      color: var(--text-muted);
      font-size: 0.84rem;
      padding-top: 18px;
      border-top: 1px solid rgba(15, 23, 42, 0.08);
    }

    .footer-share { margin-bottom: 10px; }

    .footer-share a,
    footer a {
      color: var(--primary);
      text-decoration: none;
      margin: 0 6px;
    }

    .footer-share a:hover,
    footer a:hover { text-decoration: underline; }

    @media (max-width: 1024px) {
      .hero-grid,
      .summary-grid,
      .report-layout,
      .method-grid,
      .overview-strip,
      .risk-grid {
        grid-template-columns: 1fr;
      }

      .hero-right { min-height: auto; }
    }

    @media (max-width: 720px) {
      .page { padding: 16px 14px 40px; }
      .top-shell { position: static; }
      .site-header { border-radius: 22px; }
      .hero { padding: 22px; border-radius: 28px; }
      .big-score .value { font-size: 3.1rem; }
      .comparison-grid { grid-template-columns: 1fr; }
      .risk-top { flex-direction: column; }
      .risk-score { text-align: left; }
    }

    .country-section-note {
      max-width: 760px;
    }

    .country-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .country-card {
      position: relative;
      overflow: hidden;
      border-radius: 24px;
      padding: 22px;
      background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.92));
      border: 1px solid rgba(15, 23, 42, 0.06);
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .country-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: rgba(56, 189, 248, 0.24);
    }

    .country-card::after {
      content: "";
      position: absolute;
      inset: auto -40px -60px auto;
      width: 180px;
      height: 180px;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
      pointer-events: none;
    }

    .country-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 14px;
    }

    .country-name {
      font-size: 1.08rem;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 4px;
    }

    .country-region {
      font-size: 0.84rem;
      color: var(--text-muted);
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    .country-score {
      text-align: right;
      flex-shrink: 0;
    }

    .country-score .num {
      font-size: 2rem;
      font-weight: 800;
      line-height: 1;
    }

    .country-score .small {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 4px;
    }

    .country-pills,
    .country-meta,
    .country-watch-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 14px;
    }

    .meta-chip {
      display: inline-flex;
      align-items: center;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.05);
      color: var(--text-soft);
      font-size: 0.84rem;
      font-weight: 600;
      border: 1px solid rgba(15, 23, 42, 0.05);
    }

    .country-desc {
      margin-top: 16px;
      color: var(--text-soft);
      line-height: 1.72;
      font-size: 0.95rem;
      position: relative;
      z-index: 1;
    }

    .country-report-stack {
      display: grid;
      gap: 18px;
    }

    .country-report-box .report-layout {
      grid-template-columns: 280px 1fr;
    }

    .country-report-box .report-side {
      gap: 12px;
    }

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

      .country-report-box .report-layout {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      .country-top {
        flex-direction: column;
      }

      .country-score {
        text-align: left;
      }
    }

