
    :root {
      color-scheme: dark;
      --bg: #263340;
      --bg2: #f2f5f8;
      --card: rgba(244, 247, 250, 0.95);
      --card2: rgba(225, 232, 240, 0.94);
      --line: rgba(40, 199, 201, 0.28);
      --line-blue: rgba(78, 139, 204, 0.34);
      --text: #f6f8fb;
      --ink: #16202c;
      --muted: #b9c4d0;
      --muted-dark: #526172;
      --accent: #28c7c9;
      --violet: #8b7cf6;
      --blue: #3f86d8;
      --green: #41e6a2;
      --danger: #ff5f53;
      --shadow: 0 18px 48px rgba(12, 22, 34, 0.2);
    }

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

    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.04) 430px),
        radial-gradient(circle at 76% 5%, rgba(40, 199, 201, 0.2), transparent 30rem),
        radial-gradient(circle at 12% 10%, rgba(139, 124, 246, 0.15), transparent 24rem),
        linear-gradient(180deg, #354250 0%, #263340 48%, #eef3f8 48%, #f7f9fc 100%);
      color: var(--text);
    }

    a { color: inherit; }
    button { font: inherit; }

    .page {
      width: min(1180px, calc(100% - 34px));
      margin: 0 auto;
    }

    .hero {
      min-height: 86svh;
      position: relative;
      display: grid;
      align-items: center;
      overflow: hidden;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(38, 51, 64, 0.86) 0%, rgba(38, 51, 64, 0.66) 46%, rgba(38, 51, 64, 0.34) 100%),
        linear-gradient(180deg, rgba(38, 51, 64, 0.02), #354250 98%),
        url("hero-ai-fintech.png") center / cover no-repeat;
      transform: scale(1.02);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 72%);
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      padding: 72px 0 92px;
    }

    .kicker {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 22px;
      color: #9af0ec;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .kicker::before {
      content: "";
      width: 42px;
      height: 1px;
      background: linear-gradient(90deg, var(--accent), transparent);
    }

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

    h1 {
      max-width: 920px;
      margin-bottom: 18px;
      font-size: clamp(3.1rem, 8vw, 7.7rem);
      line-height: 0.88;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .subtitle {
      max-width: 610px;
      color: #e0e7ef;
      font-size: clamp(1.08rem, 2.2vw, 1.45rem);
      line-height: 1.55;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 34px;
    }

    .button {
      min-height: 50px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 0 20px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 8px;
      background: rgba(242,245,248,0.09);
      color: var(--text);
      font-weight: 800;
      text-decoration: none;
      cursor: pointer;
      transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    }

    .button:hover,
    .button:focus-visible {
      transform: translateY(-2px);
      border-color: rgba(40, 199, 201, 0.72);
      box-shadow: 0 14px 32px rgba(33, 45, 60, 0.18);
      outline: none;
    }

    .button.primary {
      border-color: rgba(40, 199, 201, 0.62);
      background: linear-gradient(135deg, #55e0dc, #7c83f7);
      color: #07151c;
    }

    .button.blue {
      border-color: rgba(69, 163, 255, 0.54);
      color: #dcedff;
    }

    .section {
      padding: 84px 0;
      position: relative;
    }

    .section-title {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 28px;
    }

    h2 {
      margin-bottom: 0;
      font-size: clamp(2rem, 4vw, 3.45rem);
      line-height: 1;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .section-title p {
      max-width: 480px;
      margin-bottom: 0;
      color: var(--muted);
      line-height: 1.65;
    }

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

    .result-card,
    .risk-card,
    .report-shell {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(232,238,245,0.94)), var(--card);
      box-shadow: var(--shadow);
    }

    .result-card.blue { border-color: var(--line-blue); }

    .result-card::before,
    .risk-card::before {
      content: "";
      position: absolute;
      inset: -1px;
      background: radial-gradient(circle at 78% 4%, rgba(40,199,201,0.08), transparent 24rem);
      pointer-events: none;
    }

    .result-card.blue::before {
      background: radial-gradient(circle at 78% 4%, rgba(63,134,216,0.08), transparent 24rem);
    }

    .card-inner {
      position: relative;
      z-index: 1;
      padding: 26px;
    }

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

    .label {
      color: var(--accent);
      font-size: 0.76rem;
      font-weight: 900;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .blue .label { color: #9bd0ff; }

    h3 {
      margin: 6px 0 0;
      font-size: clamp(1.55rem, 3vw, 2.25rem);
      line-height: 1;
      text-transform: uppercase;
      color: var(--ink);
    }

    .tag {
      border: 1px solid rgba(134, 151, 169, 0.34);
      border-radius: 999px;
      padding: 8px 11px;
      color: var(--muted-dark);
      font-size: 0.82rem;
      white-space: nowrap;
      background: rgba(255,255,255,0.54);
    }

    .preview-button {
      width: 100%;
      display: block;
      overflow: hidden;
      padding: 0;
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 12px;
      background: #eef3f8;
      cursor: zoom-in;
    }

    .preview-button img {
      width: 100%;
      height: clamp(330px, 38vw, 500px);
      display: block;
      object-fit: cover;
      object-position: top center;
      transform: scale(1.01);
      transition: transform 480ms ease, filter 480ms ease;
    }

    .preview-button:hover img,
    .preview-button:focus-visible img {
      transform: scale(1.035);
      filter: contrast(1.04) saturate(1.02);
    }

    .metrics {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin: 18px 0;
    }

    .metric {
      min-height: 72px;
      padding: 13px;
      border: 1px solid rgba(151, 166, 183, 0.32);
      border-radius: 10px;
      background: rgba(255,255,255,0.62);
    }

    .metric span {
      display: block;
      color: var(--muted-dark);
      font-size: 0.76rem;
      text-transform: uppercase;
    }

    .metric strong {
      display: block;
      margin-top: 5px;
      color: var(--ink);
      font-size: 1.35rem;
      line-height: 1;
    }

    .card-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

    .risk-card {
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
      gap: 28px;
      align-items: center;
      padding: 26px;
      border-color: rgba(181, 197, 214, 0.22);
      background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)), #1a2635;
    }

    .risk-card h3 {
      color: var(--text);
    }

    .risk-copy {
      position: relative;
      z-index: 1;
    }

    .risk-copy p {
      max-width: 540px;
      color: #dfe7ef;
      font-size: 1.08rem;
      line-height: 1.7;
    }

    .risk-note {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: 22px;
    }

    .risk-note div {
      border: 1px solid rgba(151, 166, 183, 0.2);
      border-radius: 10px;
      padding: 14px;
      background: rgba(255,255,255,0.08);
      color: #d1dbe6;
    }

    .risk-note b {
      display: block;
      color: #a7f5f1;
      margin-bottom: 4px;
    }

    .risk-image {
      position: relative;
      z-index: 1;
      width: 100%;
      padding: 0;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 12px;
      background: #eef0f2;
      cursor: zoom-in;
    }

    .risk-image img {
      width: 100%;
      height: clamp(300px, 34vw, 470px);
      display: block;
      object-fit: cover;
      object-position: center 32%;
    }

    .reports-band {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .report-shell {
      padding: 24px;
    }

    .report-shell p {
      color: var(--muted-dark);
      line-height: 1.6;
    }

    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 40;
      display: none;
      padding: 22px;
      background: rgba(2, 4, 8, 0.94);
      opacity: 0;
      transition: opacity 220ms ease;
    }

    .lightbox.is-open {
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 16px;
      opacity: 1;
    }

    .lightbox-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .lightbox-title {
      margin: 0;
      color: #9af0ec;
      font-weight: 850;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lightbox-close {
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255,255,255,0.17);
      border-radius: 10px;
      background: rgba(255,255,255,0.07);
      color: var(--text);
      font-size: 1.6rem;
      line-height: 1;
      cursor: pointer;
    }

    .lightbox-stage {
      min-height: 0;
      display: grid;
      place-items: center;
    }

    .lightbox-stage img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      border-radius: 10px;
      background: #eef3f8;
      box-shadow: var(--shadow);
      transform: scale(0.985);
      animation: imageIn 240ms ease forwards;
    }

    @keyframes imageIn {
      to { transform: scale(1); }
    }

    @media (max-width: 900px) {
      .page { width: min(100% - 24px, 720px); }
      .hero { min-height: 88svh; }
      .section-title { display: block; }
      .section-title p { margin-top: 14px; }
      .results-grid, .risk-card, .reports-band { grid-template-columns: 1fr; }
      .risk-card { padding: 20px; }
    }

    @media (max-width: 560px) {
      .page { width: calc(100% - 18px); }
      .hero-inner { padding: 54px 0 72px; }
      h1 { font-size: clamp(2.75rem, 16vw, 4.45rem); }
      .hero-actions, .card-actions { display: grid; grid-template-columns: 1fr; }
      .button { width: 100%; min-height: 54px; }
      .section { padding: 62px 0; }
      .card-inner { padding: 16px; }
      .card-top { display: block; }
      .tag { display: inline-flex; margin-top: 14px; }
      .preview-button img { height: min(72vh, 520px); }
      .metrics, .risk-note { grid-template-columns: 1fr; }
      .risk-image img { height: min(64vh, 430px); }
      .lightbox { padding: 10px; }
    }
  
    .language-switcher { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-left:14px; }
    .language-switcher a { padding:7px 10px; border:1px solid rgba(57, 78, 106, .18); border-radius:999px; color:inherit; text-decoration:none; font-size:12px; font-weight:800; letter-spacing:.02em; background:rgba(255,255,255,.7); }
    .language-switcher a.active { background:#101827; color:#fff; border-color:#101827; }
    .language-switcher-inline { display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 0; padding:0 24px; color:#667085; font-size:13px; font-weight:750; }
    .language-switcher-inline a { padding:10px 14px; border-radius:999px; border:1px solid rgba(57,78,106,.18); text-decoration:none; font-weight:800; color:inherit; background:rgba(255,255,255,.75); }
    .language-switcher-inline a.active { background:#101827; color:#fff; }
    @media (max-width: 720px) { .language-switcher { width:100%; margin-left:0; margin-top:10px; } .language-switcher-inline { padding:0 16px; } }
  
/* Локальное исправление контраста только в перенесённом Investor Area. */
main.page{background:#f2f5f8;color:#16202c;padding:24px;border-radius:14px;margin-top:24px}main.page .section-title h2{color:#16202c}main.page .section-title p{color:#526172}main.page .button:not(.primary){color:#16202c;background:#e0eaf0;border-color:#7e98aa}main.page .label{color:#067c88}main.page .blue .label{color:#265c8f}main.page .risk-card .label{color:#28c7c9}.language-switcher a:not(.active){color:#16202c}.sft-footer{color:#526172}main.page .sft-integration-note{background:#e4edf3;border-color:#7895a8;color:#16202c}@media(max-width:520px){main.page{padding:16px}}

body .sft-footer{color:#526172;background:#f2f5f8}body .sft-footer a{color:#334b60}
