﻿/* PALETTE FAMILY: Slate + Ice Blue */
/* CTA COLOR FAMILY: Sky Indigo */
/* PAGE BALANCE: soft-contrast */
/* HERO TEMPERATURE: cool */

:root {
  --text-strong: #1b2432;
  --text-muted: #4e5c73;
  --text-on-dark: #1b2432;
  --text-muted-on-dark: #4e5c73;

  --surface-0: #e5e2ec;
  --surface-1: #f6f3fb;
  --surface-2: #dbd5e6;
  --surface-card: #ffffff;

  --border-subtle: #d8d3e0;
  --input-bg: #ffffff;
  --input-border: #c8c0d2;
  --focus-ring: #c7d5ff;
  --shadow-soft: 0 18px 44px #d9d3e3;

  --btn-height: 46px;
  --brand: #202e4a;
  --cta: #8fb2ff;
  --cta-hover: #79a0f5;

  --rose-1: #d5e5fb;
  --rose-2: #8ab7ea;
  --violet-1: #cad7fb;
  --violet-2: #7b94da;
  --ink-1: #263653;
  --mint-1: #1f9f59;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.68;
  color: var(--text-strong);
  background:
    radial-gradient(circle at 88% 0%, #c8bce9 0%, transparent 32%),
    radial-gradient(circle at 2% 14%, #c9d8ef 0%, transparent 30%),
    linear-gradient(180deg, #ddd7e7 0%, #ebe7f2 42%, #ece8f1 100%),
    var(--surface-0);
}

p,
li,
label,
small,
.faq-q,
.faq-a,
.site-footer {
  font-size: 18px;
  line-height: 1.68;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  color: var(--text-strong);
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.024em;
}

h3 {
  font-size: 1.12rem;
}

p,
li,
label,
small {
  color: var(--text-muted);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface-card);
  color: var(--text-strong);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: 10px;
  z-index: 120;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}

.section {
  padding: 86px 0;
  overflow: clip;
  position: relative;
}

.section.light {
  background: var(--surface-1);
  color: var(--text-strong);
}

.section.light p,
.section.light li {
  color: var(--text-muted);
}

.section.dark {
  background:
    linear-gradient(160deg, #2d3446 0%, #3a4258 52%, #31384d 100%);
  color: var(--text-on-dark);
}

.section.dark p,
.section.dark li {
  color: var(--text-muted-on-dark);
}

.section.dark .container {
  background: linear-gradient(180deg, #f9f8fd 0%, #f1eef7 100%);
  border: 1px solid #cfc8dc;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 34px #242a392e;
}

.section .container {
  position: relative;
  z-index: 2;
}

.intro {
  max-width: 66ch;
  margin-bottom: 18px;
}

.interpret,
.visual-note,
.muted {
  color: var(--text-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #f8f7fc;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.header-layout {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-left {
  flex: 0 0 auto;
}

.header-center {
  flex: 1 1 auto;
  justify-content: center;
}

.header-center:empty {
  min-height: 1px;
}

.header-right {
  flex: 0 0 auto;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--brand);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid #c9c0d5;
  background: linear-gradient(145deg, #fff9fb 0%, #f2eef9 100%);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 900;
}

.desktop-nav {
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

.desktop-nav a {
  color: var(--text-muted);
  font-weight: 600;
}

.desktop-nav a:hover {
  color: var(--text-strong);
}

.btn,
.lang-pill {
  height: var(--btn-height);
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.btn {
  background: linear-gradient(120deg, #a8c2ff 0%, #89abff 45%, #7fa1f4 100%);
  color: var(--text-strong);
  border-color: #87a6ef;
  box-shadow: 0 10px 20px #cfdaf3;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background-size: 220% 220%;
  transition: transform .22s ease, background-position .32s ease, box-shadow .22s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -45%;
  width: 38%;
  height: 170%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent 0%, #ffffffa6 55%, transparent 100%);
  transition: left .42s ease;
  pointer-events: none;
}

.btn:hover {
  background-position: 100% 0;
  box-shadow: 0 14px 24px #bed0f6;
  transform: translateY(-1px);
}

.btn:hover::after {
  left: 112%;
}

.lang-wrap {
  position: relative;
}

.lang-pill {
  cursor: pointer;
  background: #f1eef8;
  color: var(--text-strong);
}

.lang-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
  display: none;
  max-height: 340px;
  overflow: auto;
}

.lang-menu.open {
  display: block;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  color: var(--text-strong);
}

.lang-menu a:hover {
  background: #f3eef8;
}

.flag {
  width: 22px;
  height: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: #f2eef8;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text-strong);
}

.hero-grid,
.split-layout,
.final-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.hero {
  background:
    linear-gradient(145deg, #e4e0f3 0%, #dfe8f8 46%, #e2ecfa 100%),
    var(--surface-1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 24%, #d6cbfb 0%, transparent 26%),
    radial-gradient(circle at 14% 82%, #ffdbe6 0%, transparent 25%);
  z-index: 1;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: #3f5273;
}

.hero-copy p {
  margin: 0 0 14px;
}

.trust-strip {
  margin: 2px 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.trust-strip span {
  border: 1px solid #cfd7ea;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6ff 100%);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 7px 8px;
}

.hero-range {
  margin-top: 20px;
  border-radius: 20px;
  border: 1px solid #cbc3d9;
  padding: 20px;
  background:
    linear-gradient(155deg, #fffafd 0%, #f7f3ff 52%, #fff6f8 100%);
  box-shadow: 0 20px 38px #dcd5e6;
}

.range-head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.range-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.range-split > div {
  border: 1px solid #d4cde0;
  border-radius: 14px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 8px 18px #e2dbe9;
  position: relative;
  overflow: hidden;
}

.range-split > div::before {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  right: -18px;
  top: -30px;
  background: radial-gradient(circle, #f0e6fb 0%, transparent 70%);
}

.range-label,
.range-note {
  margin: 0;
  color: var(--text-muted);
}

.range-value {
  margin: 7px 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3.8vw, 2.36rem);
  color: var(--text-strong);
}

.micro-disclaimer {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* CARD CONTRAST LOCK */
.card {
  background: var(--surface-card);
  color: var(--text-strong);
  border: 1px solid var(--border-subtle);
}

.card p,
.card li,
.card .muted {
  color: var(--text-muted);
}

.section.dark .card {
  background: var(--surface-card);
  color: var(--text-strong);
}

.section.dark .card p,
.section.dark .card li,
.section.dark .card .muted {
  color: var(--text-muted);
}

/* Absolute bans */
.card,
.card * {
  opacity: 1 !important;
}

.card p,
.card li {
  opacity: 1 !important;
}

.card {
  border-radius: 16px;
  padding: 16px;
  max-width: 100%;
  box-shadow: var(--shadow-soft);
  transition: transform .24s ease, box-shadow .24s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 44px #d4cddd;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.bullet-list {
  margin: 12px 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.micro-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #3f59ab;
}

.micro-cta:hover {
  color: #2f448a;
}

#market {
  background: linear-gradient(180deg, #edf1fa 0%, #e6eaf4 100%);
}

#market .card-grid {
  margin-top: 18px;
}

#market .card {
  background: linear-gradient(165deg, #ffffff 0%, #f7f4ff 100%);
  border-color: #d7cfe5;
  position: relative;
  padding-top: 22px;
}

#market .card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 10px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7fa8eb 0%, #6f8fdc 100%);
}

#pulse .container {
  background: linear-gradient(180deg, #f8f8fc 0%, #eff0f7 100%);
}

.pulse-tape {
  padding: 8px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f5fb 100%);
}

.tape-track {
  display: inline-flex;
  gap: 16px;
  white-space: nowrap;
  min-width: 100%;
  animation: tapeMove 32s linear infinite;
}

.tape-track > span {
  border: 1px solid #d9deeb;
  border-radius: 999px;
  padding: 7px 12px;
  background: #ffffff;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.ticker-logo-fallback {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #ccd5ea;
  background: #f6f8ff;
  display: inline-grid;
  place-items: center;
  color: var(--text-strong);
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

.ticker-name {
  color: var(--text-strong);
  font-weight: 700;
  border: 0;
  background: transparent;
  padding: 0;
}

.ticker-change {
  color: #2f4b87;
  font-weight: 700;
  border: 0;
  background: transparent;
  padding: 0;
}

.pulse-tape:hover .tape-track {
  animation-play-state: paused;
}

.leaders-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.leader-card {
  background: linear-gradient(170deg, #ffffff 0%, #f2f5fc 100%);
}

.leader-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.leader-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #cad6ef;
  background: linear-gradient(145deg, #f7fbff 0%, #e8f1ff 100%);
  display: inline-block;
  object-fit: contain;
  padding: 3px;
}

.leader-icon-fallback {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #cad6ef;
  background: linear-gradient(145deg, #f7fbff 0%, #e8f1ff 100%);
  display: inline-grid;
  place-items: center;
  color: var(--text-strong);
  font-size: 11px;
  font-weight: 800;
}

.leader-value {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-strong);
}

.leader-bars {
  margin-top: 8px;
  display: grid;
  gap: 5px;
}

.leader-bars span {
  display: block;
  height: 8px;
  width: calc(var(--w) * 1%);
  border-radius: 999px;
  background: linear-gradient(90deg, #7ea5ea 0%, #7994df 100%);
}

.pulse-foot {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 15px;
}

#pulse-time {
  color: var(--text-strong);
  font-weight: 700;
}

@keyframes tapeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#model {
  background:
    linear-gradient(150deg, #d5cfdf 0%, #ddd8e7 44%, #d3dae8 100%);
}

.flow-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  padding: 18px;
}

.flow-step {
  border: 1px solid #d4cce0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f5fc 100%);
  padding: 14px;
  position: relative;
}

.flow-step::before {
  content: "";
  position: absolute;
  left: 14px;
  top: -10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #c9bfdd;
  background: #f6f1ff;
}

.flow-step:nth-of-type(1)::after,
.flow-step:nth-of-type(3)::after,
.flow-step:nth-of-type(5)::after,
.flow-step:nth-of-type(7)::after {
  position: absolute;
  left: 14px;
  top: -10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-strong);
}

.flow-step:nth-of-type(1)::after { content: "1"; }
.flow-step:nth-of-type(3)::after { content: "2"; }
.flow-step:nth-of-type(5)::after { content: "3"; }
.flow-step:nth-of-type(7)::after { content: "4"; }

.flow-arrow {
  color: #7a6f94;
  font-size: 24px;
  align-self: center;
}

#focus {
  background: linear-gradient(180deg, #e8edf7 0%, #e0e6f2 100%);
}

.focus-visual {
  background: linear-gradient(165deg, #ffffff 0%, #edf2fc 64%, #e9f0fb 100%);
}

.focus-score {
  margin: 8px 0 12px;
}

.focus-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.focus-badge {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 8px solid #d6dff4;
  border-top-color: #7da5ea;
  border-right-color: #7a92dd;
  background: #f7faff;
  display: grid;
  place-items: center;
}

.focus-badge span {
  color: var(--text-strong);
  font-size: 1.05rem;
  font-weight: 800;
}

.focus-simple-list {
  border: 1px solid #d2cbe0;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbf9ff 0%, #f0ecf8 100%);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.focus-simple-list article {
  border: 1px solid #d7d0e4;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.focus-simple-list span,
.focus-simple-list strong {
  color: var(--text-strong);
}

.focus-simple-list strong {
  font-size: 1.05rem;
}

.focus-simple-list i {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  width: calc(var(--w) * 1%);
  border-radius: 999px;
  background: linear-gradient(90deg, #7ea5ea 0%, #7894df 100%);
}

#metrics {
  background: linear-gradient(180deg, #f4f1f8 0%, #ebe7f0 100%);
}

.feature-panel {
  padding: 18px;
}

.chart-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  align-items: start;
}

.metric-label,
.metric-sub {
  color: var(--text-muted);
}

.metric-big {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.mini-metrics {
  display: grid;
  gap: 10px;
}

.mini-inline {
  gap: 8px;
}

.mini-metrics div {
  border: 1px solid #d8d1e5;
  border-radius: 12px;
  padding: 10px;
  background: #fdfbff;
}

.mini-metrics span {
  display: block;
  color: var(--text-muted);
}

.mini-metrics strong {
  color: var(--text-strong);
}

.line-chart-wrap {
  margin-top: 12px;
  border: 1px solid #d8d0e4;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, #fffafd 0%, #f7f3fb 100%);
}

.line-chart {
  width: 100%;
  height: auto;
  display: block;
}

.line-chart .grid line {
  stroke: #ddd5e8;
  stroke-width: 1;
}

.axis-labels text,
.month-labels text {
  fill: #645c77;
  font-size: 12px;
  font-weight: 700;
}

.model-area {
  fill: url(#modelFill);
}

.model-line {
  fill: none;
  stroke: #6f8fe0;
  stroke-width: 3;
}

.market-line {
  fill: none;
  stroke: #8e86a7;
  stroke-width: 2.5;
  stroke-dasharray: 6 5;
}

.dots circle {
  fill: #6f8fe0;
}

.peak-marker circle {
  fill: #6f8fe0;
  stroke: #ffffff;
  stroke-width: 2;
}

.peak-marker rect {
  fill: #f7ecf3;
  stroke: #dbc9d6;
}

.peak-marker text {
  fill: #4d435e;
  font-size: 12px;
  font-weight: 700;
}

.chart-legend {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.legend-model,
.legend-market {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  display: inline-block;
}

.legend-model {
  background: #6f8fe0;
}

.legend-market {
  background: #7f8cb0;
}

#insights {
  background:
    linear-gradient(155deg, #ced7e9 0%, #d7ddea 46%, #dde4f1 100%);
}

.insight-visual {
  background: linear-gradient(160deg, #ffffff 0%, #e9f0fb 54%, #e7eef9 100%);
}

.cycle-board {
  border: 1px solid #d2cbe0;
  border-radius: 14px;
  background: linear-gradient(180deg, #faf8ff 0%, #efeaf7 100%);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cycle-board article {
  border: 1px solid #d9d1e6;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
  display: grid;
  gap: 4px;
  position: relative;
}

.cycle-board article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #7ea6e7 0%, #748dde 100%);
}

.cycle-board strong,
.cycle-board span,
.cycle-board b {
  color: var(--text-strong);
}

.cycle-board span {
  font-size: 14px;
}

#risk {
  background: linear-gradient(180deg, #e7ecf7 0%, #dde4f1 100%);
}

.risk-feature {
  background: linear-gradient(165deg, #ffffff 0%, #edf2fb 60%, #e9effa 100%);
}

.risk-top {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 12px;
  align-items: center;
}

.risk-ring {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 50%;
  border: 12px solid #d8d0e6;
  border-top-color: #78a4ea;
  border-right-color: #7e8fdd;
  border-bottom-color: #6e9bd8;
  background: #f8f5ff;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-strong);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

.risk-ring strong {
  color: var(--text-strong);
  font-size: 28px;
  letter-spacing: -0.02em;
}

.risk-kpis {
  display: grid;
  gap: 8px;
}

.risk-kpis div {
  border: 1px solid #d7d0e4;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
}

.risk-kpis span {
  display: block;
  color: var(--text-muted);
}

.risk-kpis strong {
  color: var(--text-strong);
}

.guardrail-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.guardrail-grid article {
  border: 1px solid #d7d0e4;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
}

.risk-simple {
  background: linear-gradient(165deg, #ffffff 0%, #edf2fb 60%, #e9effa 100%);
}

.risk-simple-head {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10px;
  align-items: stretch;
}

.risk-simple-kpis {
  display: grid;
  gap: 8px;
}

.risk-simple-kpis div {
  border: 1px solid #d7d0e4;
  border-radius: 10px;
  background: #ffffff;
  padding: 9px 10px;
}

.risk-simple-kpis span {
  display: block;
  color: var(--text-muted);
}

.risk-simple-kpis strong {
  color: var(--text-strong);
}

.risk-simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.risk-simple-grid article {
  border: 1px solid #d7d0e4;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
}

.risk-compact {
  background: linear-gradient(165deg, #ffffff 0%, #edf2fb 60%, #e9effa 100%);
  padding: 22px;
}

.risk-compact p {
  margin: 0 0 12px;
}

.risk-compact .bullet-list {
  margin: 10px 0 12px;
}

#reviews {
  background: linear-gradient(180deg, #e8ecf6 0%, #dfe6f2 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.review-card {
  background: linear-gradient(170deg, #ffffff 0%, #f8f6fc 100%);
}

.rating-summary {
  margin: 4px 0 14px;
  color: var(--text-muted);
}

.rating-summary strong {
  color: var(--text-strong);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #d7ccdf;
  background: linear-gradient(140deg, #f3f8ff 0%, #eaf0fb 100%);
  display: inline-grid;
  place-items: center;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 800;
}

.verified {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  color: #18944f;
  background: #eaf8ef;
  border: 1px solid #b7e4c8;
  border-radius: 999px;
  padding: 3px 8px;
}

.meta {
  margin: 8px 0;
  color: var(--text-muted);
}

.review-rating {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--text-strong);
}

#faq {
  background: linear-gradient(180deg, #f1edf8 0%, #e7e2ee 100%);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--surface-card);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 14px 16px;
  color: var(--text-strong);
  font-weight: 700;
  cursor: pointer;
}

.faq-a {
  max-height: 0;
  transition: max-height .3s ease;
}

.faq-item.open .faq-a {
  max-height: 170px;
}

.faq-a p {
  margin: 0;
  padding: 0 16px 14px;
}

#register {
  background:
    linear-gradient(155deg, #d8e2f4 0%, #e5ebf6 52%, #dfe8f5 100%);
}

/* FORM CONTRAST LOCK */
.form-card {
  background: var(--surface-card);
  color: var(--text-strong);
  border: 1px solid var(--border-subtle);
}

.form-card h3,
.form-card .form-title {
  color: var(--text-strong);
}

.form-card p,
.form-card .form-sub {
  color: var(--text-muted);
}

.form-card label {
  color: var(--text-muted);
}

.form-card input {
  background: var(--input-bg);
  color: var(--text-strong);
  border: 1px solid var(--input-border);
}

.form-card input::placeholder {
  color: var(--text-muted);
}

.form-card input:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--focus-ring);
  border-color: transparent;
}

.form-card {
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 26px 48px #d3cde1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f9f6ff 100%);
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% -10%, #d6cbfb 0%, transparent 38%),
    radial-gradient(circle at -10% 100%, #ffe0ea 0%, transparent 35%);
  pointer-events: none;
}

.form-title,
.form-sub {
  position: relative;
  z-index: 1;
}

.register-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.register-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.register-form input {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}

.name-row label:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.name-row input:nth-of-type(1) { grid-column: 1; grid-row: 2; }
.name-row label:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.name-row input:nth-of-type(2) { grid-column: 2; grid-row: 2; }

.form-msg {
  margin: 0;
  min-height: 0;
  color: var(--text-muted);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 94%);
  height: 100dvh;
  z-index: 90;
  transform: translateX(105%);
  transition: transform .25s ease;
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  background: #f7f4fc;
  border-left: 1px solid var(--border-subtle);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--surface-card);
  font-size: 28px;
  line-height: 1;
  color: var(--text-strong);
  cursor: pointer;
}

.drawer-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.drawer-nav a {
  color: var(--text-strong);
  font-weight: 600;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #5e5a6750;
  z-index: 80;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, #f4f2f9 0%, #eeebf4 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.footer-links a,
.link-btn {
  color: var(--text-strong);
}

.link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.privacy-modal {
  width: min(760px, 96vw);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px;
  background: var(--surface-card);
}

.privacy-modal::backdrop {
  background: #8e899850;
}

.modal-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  color: var(--text-strong);
  font-size: 24px;
  cursor: pointer;
}

.modal-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 240px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 6px 8px;
  box-shadow: 0 12px 20px #dbd4e5;
  background: #ffffff;
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 5;
}

[data-tip]:hover::after {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: transform .5s ease, opacity .5s ease;
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

.no-scroll {
  overflow: hidden;
}

main .section:nth-of-type(1) { transition-delay: .02s; }
main .section:nth-of-type(2) { transition-delay: .05s; }
main .section:nth-of-type(3) { transition-delay: .08s; }
main .section:nth-of-type(4) { transition-delay: .11s; }
main .section:nth-of-type(5) { transition-delay: .14s; }
main .section:nth-of-type(6) { transition-delay: .17s; }

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .hero-grid,
  .split-layout,
  .final-cta,
  .chart-head {
    grid-template-columns: 1fr;
  }

  .three-col {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow-panel {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section.dark .container {
    padding: 20px;
    border-radius: 18px;
  }

  .cycle-board,
  .guardrail-grid,
  .risk-top,
  .leaders-grid,
  .risk-simple-grid,
  .risk-simple-head {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 20px;
  }

  .section {
    padding: 62px 0;
  }

  .header-layout {
    min-height: 74px;
  }

  .header-right {
    gap: 6px;
  }

  .lang-pill,
  .header-right .cta-btn {
    height: 40px;
    padding: 0 10px;
    font-size: 10px;
  }

  .burger {
    width: 40px;
    height: 40px;
  }

  .lang-menu {
    width: 210px;
    max-height: 300px;
  }

  .three-col,
  .reviews-grid,
  .range-split,
  .name-row,
  .cycle-board,
  .guardrail-grid,
  .risk-top,
  .distribution-chart,
  .leaders-grid,
  .trust-strip,
  .risk-simple-grid,
  .risk-simple-head,
  .focus-hero {
    grid-template-columns: 1fr;
  }

  .dist-track {
    width: 100%;
    height: 88px;
    border-radius: 10px;
  }

  [data-tip]::after {
    display: none;
  }

  .section.dark .container {
    padding: 16px;
  }
}

.main-logo {
  max-width: 150px;
}

@media (max-width: 500px) {
  .name-row {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 425px) {
  .main-logo {
    max-width: 80px;
  }

  .header-layout {
    gap: 3px;
    padding-inline: 9px;
  }

  .header-right {
    gap: 3px;
  }
}







