:root {
  --bg: #f6f8fa;
  --panel: #ffffff;
  --panel-2: #f0f3f7;
  --line: #e1e7ee;
  --navy: #0f2a4a;
  --slate: #33455a;
  --muted: #6b7a8c;
  --steel: #3b6ea5;
  --steel-soft: #eaf1f8;
  --amber: #f2994a;
  --amber-soft: #fdf0e3;
  --green: #1fa971;
  --red: #e1554a;
  --shadow: 0 20px 50px rgba(15, 42, 74, 0.08);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--slate);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.display {
  font-family: "Manrope", sans-serif;
  color: var(--navy);
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--steel);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
.status-bar {
  background: var(--navy);
  color: #fff;
}
.status-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  font-family: "Roboto Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.status-inner .dotOK {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 6px var(--green);
}
header.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo .mark {
  width: 22px;
  height: 22px;
  background: var(--navy);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo .mark span {
  width: 8px;
  height: 8px;
  background: var(--steel);
  border-radius: 2px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--navy);
}
.btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-line {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
}
.btn-line:hover {
  border-color: var(--steel);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: #183a61;
}
.btn:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 32px 0;
}
.hero-head {
  max-width: 720px;
}
.hero-eyebrow {
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--steel-soft);
  border: 1px solid #d3e3f1;
  padding: 5px 12px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.hero p.sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
  margin-top: 16px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 44px;
  align-items: start;
}
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.kpi-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.kpi-card .lbl {
  font-size: 11.5px;
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
  letter-spacing: 0.02em;
}
.kpi-card .val {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--navy);
  margin-top: 8px;
}
.kpi-card .delta {
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  margin-top: 4px;
}
.kpi-card svg {
  margin-top: 12px;
  width: 100%;
  height: 34px;
}
.delta.up {
  color: var(--green);
}
.delta.down {
  color: var(--red);
}
.kpi-wide {
  grid-column: 1/-1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kpi-wide .l {
  font-size: 13.5px;
  color: var(--muted);
}
.kpi-wide .r {
  font-family: "Roboto Mono", monospace;
  font-weight: 500;
  color: var(--navy);
}
.reg-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 26px 24px;
  color: #fff;
  box-shadow: var(--shadow);
}
.reg-card h3 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}
.reg-card p.reg-sub {
  color: #afc2d6;
  font-size: 12.5px;
  margin-bottom: 20px;
}
.demo-note {
  margin-top: 14px;
  font-size: 10.5px;
  color: #7591ac;
  text-align: center;
  border-top: 1px solid #2a4f73;
  padding-top: 12px;
}
section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px;
}
.divider-line {
  max-width: 1240px;
  margin: 0 auto;
  height: 1px;
  background: var(--line);
}
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-family: "Manrope", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
}
.section-head p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 15.5px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.about-card .ico {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--steel-soft);
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 16px;
  font-weight: 700;
}
.about-card h3 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 16.5px;
  margin-bottom: 8px;
}
.about-card p {
  font-size: 13.5px;
  color: var(--muted);
}
.heatmap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.heat-cell {
  border-radius: 8px;
  padding: 14px;
  color: #fff;
  font-family: "Roboto Mono", monospace;
}
.heat-cell .s {
  font-weight: 500;
  font-size: 13px;
}
.heat-cell .c {
  font-size: 11.5px;
  margin-top: 4px;
  opacity: 0.9;
}
.browser-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.browser-bar {
  background: var(--panel-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.browser-bar .dotx {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.browser-bar .urlbox {
  margin-left: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 12px;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}
.dash-body {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dash-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.dash-card .lbl {
  font-size: 11px;
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
}
.dash-card .val {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 22px;
  margin-top: 6px;
}
.risk-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  margin-top: 10px;
  overflow: hidden;
}
.risk-bar div {
  height: 100%;
  background: var(--steel);
}
.calc-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.alloc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.alloc-row .name {
  width: 110px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
input[type="range"] {
  -webkit-appearance: none;
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--steel);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--steel);
}
.alloc-row .pct {
  width: 44px;
  text-align: right;
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
  color: var(--navy);
}
.calc-result {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.calc-result .lbl {
  font-size: 11.5px;
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
}
.donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 16px auto;
  position: relative;
}
.donut::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: var(--panel-2);
}
.donut-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  z-index: 1;
}
.api-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--navy);
  border-radius: 14px;
  overflow: hidden;
}
.api-left {
  padding: 40px;
  color: #fff;
}
.api-left h2 {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 800;
}
.api-left p {
  color: #afc2d6;
  margin-top: 14px;
  font-size: 14.5px;
  max-width: 380px;
}
.integ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}
.integ-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  text-align: center;
  color: #d7e3ef;
}
.code-block {
  background: #0c1d33;
  padding: 40px 32px;
  font-family: "Roboto Mono", monospace;
  font-size: 12.5px;
  color: #afc2d6;
  line-height: 1.8;
  overflow-x: auto;
}
.code-block .k {
  color: #7db8e8;
}
.code-block .s {
  color: #f2c879;
}
.code-block .c {
  color: #5e7996;
}
.stats-band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 52px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat b {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
}
.stat span {
  font-size: 12px;
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
}
.badge-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.badge-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.badge-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.testi-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.testi-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--steel-soft);
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 12px;
}
.testi-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.testi-role {
  font-size: 11.5px;
  color: var(--muted);
}

.final-cta {
  text-align: center;
}
.final-cta h2 {
  font-family: "Manrope", sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  max-width: 600px;
  margin: 0 auto 14px;
}
.final-cta p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 28px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 48px 32px 28px;
  background: var(--panel);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-cols {
  display: flex;
  gap: 56px;
}
.footer-col h4 {
  font-size: 11px;
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--slate);
  margin-bottom: 10px;
}
.footer-col a:hover {
  color: var(--navy);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
.disclaimer {
  max-width: 1240px;
  margin: 20px auto 0;
  padding: 0 32px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .hero-grid,
  .api-panel,
  .calc-panel {
    grid-template-columns: 1fr;
  }
  .kpi-row,
  .about-grid,
  .testi-grid,
  .integ-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .heatmap {
    grid-template-columns: repeat(3, 1fr);
  }
  .dash-body {
    grid-template-columns: 1fr;
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 32px;
  }
}
