/* ============================================================
   KMBS × Raccoon Gang — pitch landing
   Design echoes kmbs.ua: Gotham Pro-style sans, navy + teal,
   no other category colors. Pure kmbs.ua palette.
   ============================================================ */

:root {
  --navy: #002D63;
  --navy-dark: #001A3D;
  --teal: #079CBD;
  --teal-soft: #4FB7AA;
  --teal-deep: #06778F;
  --accent: #6FE2D4; /* light teal for hero h1 emphasis on dark bg */

  --bg: #FFFFFF;
  --bg-soft: #F8F8F8;
  --bg-light: #FBFBFB;
  --border: #E4E4E4;
  --border-soft: #EFEFEF;

  --ink: #111111;
  --ink-soft: #1F1F1F;
  --text: #2C2C2C;
  --muted: #828282;
  --muted-soft: #B1ABAB;

  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-mono: "Geist Mono", "SF Mono", "JetBrains Mono", ui-monospace, monospace;

  --container: 1240px;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(0, 45, 99, 0.04), 0 2px 8px rgba(0, 45, 99, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 45, 99, 0.08);
  --shadow-lg: 0 20px 56px rgba(0, 45, 99, 0.12);
  --transition: 220ms cubic-bezier(.2,.7,.3,1);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0;
}

h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; }

p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------------- Top header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand__kmbs svg { width: 110px; height: auto; }
.brand__sep {
  width: 1px;
  height: 26px;
  background: var(--border);
}
.brand__rg {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.brand__rg b { color: var(--navy); font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}
.nav a:hover { color: var(--navy); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover {
  background: #00214A;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
/* On dark sections (hero, cta) primary becomes white→navy for contrast */
.hero .btn--primary,
.cta .btn--primary {
  background: #fff;
  color: var(--navy);
}
.hero .btn--primary:hover,
.cta .btn--primary:hover {
  background: var(--accent);
  color: var(--navy);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: white; }
.btn--light {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255,255,255,0.2); }
.btn--sm { padding: 10px 18px; font-size: 13px; }

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

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background-color: #002D63;
  background-image: url('img/hero-bg.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #fff;
  padding: 140px 0 120px;
  overflow: hidden;
  min-height: 620px;
}
/* Left-side dark wash so text reads cleanly over the bg image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(0, 45, 99, 0.78) 0%,
    rgba(0, 45, 99, 0.55) 35%,
    rgba(0, 45, 99, 0.15) 60%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
}
.hero__copy {
  max-width: 620px;
}
.hero__meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.62);
  text-transform: none;
  margin: 0 0 32px;
  padding: 0;
}
.hero__meta-line-sep {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.25);
}
.hero h1 { color: #fff; margin-bottom: 28px; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero__meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero__meta-item .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.hero__meta-item .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

@media (max-width: 900px) {
  .hero {
    padding: 80px 0 60px;
    min-height: 540px;
    /* on mobile, pull background to the right so cubes stay visible while text overlays the darker left zone */
    background-position: 75% center;
  }
  .hero::before {
    /* darker overall scrim on mobile for readability */
    background: linear-gradient(180deg,
      rgba(0, 45, 99, 0.85) 0%,
      rgba(0, 45, 99, 0.55) 60%,
      rgba(0, 45, 99, 0.35) 100%);
  }
  .hero__copy { max-width: 100%; }
}

/* ---------------- Section base ---------------- */
.section {
  padding: 110px 0;
  position: relative;
}
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: white; }
.section--navy h2, .section--navy h3 { color: white; }

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section-head--center {
  margin: 0 auto 64px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: #6FE2D4; }
.section-head .lead { color: var(--muted); margin-top: 16px; }
.section--navy .section-head .lead { color: rgba(255,255,255,0.7); }

@media (max-width: 800px) {
  .section { padding: 70px 0; }
}

/* ---------------- Discovery preface ---------------- */
.preface {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 36px 0;
}
.preface__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.preface__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.preface__text { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.preface__text b { color: var(--navy); font-weight: 700; }
.preface__author {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}
.preface__author .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.preface__author b { color: var(--ink); display: block; font-weight: 600; }
@media (max-width: 800px) {
  .preface__row { grid-template-columns: 1fr; gap: 16px; text-align: left; }
}

/* ---------------- Insights grid ---------------- */
.insights {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.insight-card {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 44px 36px 36px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.insight-card .num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  display: block;
}
.insight-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.25;
}
.insight-card p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.insight-card--big { grid-column: span 8; padding: 44px 40px; }
.insight-card--big .stat {
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  margin: 6px 0 14px;
  letter-spacing: -0.02em;
}
.insight-card--big .stat-sub {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.insight-card--small { grid-column: span 4; }
.insight-card--soft {
  background: linear-gradient(180deg, white 0%, #F6FBFC 100%);
  border-color: rgba(7, 156, 189, 0.18);
}
/* accent strips removed — clean kmbs.ua-style cards */
.insight-card--accent::before { content: none; }

@media (max-width: 900px) {
  .insight-card--big, .insight-card--small { grid-column: span 12; }
}

/* ---------------- Diagnosis: fragmentation viz ---------------- */
.diag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.diag__before, .diag__after {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 36px;
  min-height: 380px;
}
.diag__label {
  position: absolute;
  top: -14px; left: 28px;
  background: white;
  padding: 4px 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 50px;
}
.diag__after .diag__label {
  color: var(--green);
  border-color: var(--green);
}
.diag__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 20px;
}
.diag__bubbles {
  position: relative;
  height: 280px;
}
.bubble {
  position: absolute;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  font-family: monospace;
}
.bubble--moodle { top: 10%; left: 0%; }
.bubble--wix { top: 8%; right: 0%; }
.bubble--ssa { top: 50%; left: 5%; }
.bubble--slp { top: 50%; right: 0%; }
.bubble--ai { top: 70%; left: 38%; }
.bubble--main { top: 24%; left: 28%; }

.diag__after .bubble { border-color: var(--teal); background: white; color: var(--navy); }
.diag__after .hub {
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 36px rgba(0, 45, 99, 0.25);
  z-index: 2;
}
.diag__after svg.lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.diag__after svg.lines line {
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  opacity: 0.55;
  stroke-linecap: round;
}
.diag__after .bubble { z-index: 2; }
.diag__after .hub { z-index: 3; }
.diag__caption {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

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

/* ---------------- Competitive map ---------------- */
.compmap {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.compmap__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.comp-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.comp-card:hover { background: white; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.comp-card--kmbs {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-deep) 100%);
  color: white;
  border: none;
}
.comp-card--kmbs:hover {
  background: linear-gradient(135deg, #003972 0%, var(--teal) 100%);
}
.comp-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}
.comp-card--kmbs .comp-card__name { color: white; }
.comp-card__sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  min-height: 32px;
}
.comp-card--kmbs .comp-card__sub { color: rgba(255,255,255,0.7); }

.comp-bar {
  margin-bottom: 12px;
}
.comp-bar__row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 4px;
}
.comp-bar__label { color: var(--muted); letter-spacing: 0.04em; }
.comp-card--kmbs .comp-bar__label { color: rgba(255,255,255,0.6); }
.comp-bar__val { font-weight: 600; color: var(--navy); }
.comp-card--kmbs .comp-bar__val { color: #6FE2D4; }
.comp-bar__track {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.comp-card--kmbs .comp-bar__track { background: rgba(255,255,255,0.18); }
.comp-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: 4px;
  transition: width 800ms cubic-bezier(.2,.7,.3,1);
}
.comp-card--kmbs .comp-bar__fill { background: linear-gradient(90deg, #6FE2D4 0%, #4FB7AA 100%); }

.comp-card__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.comp-card--kmbs .comp-card__note {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.16);
}

@media (max-width: 1000px) {
  .compmap__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .compmap { padding: 24px; }
  .compmap__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------------- Proposals: tab interface ---------------- */
.props {
  margin-top: 32px;
}
.props__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.props__tab {
  background: white;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 16px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
}
.props__tab:hover { border-color: var(--navy); }
.props__tab.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.props__tab .badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 50px;
  background: rgba(0, 45, 99, 0.08);
  color: var(--navy);
  letter-spacing: 0.06em;
}
.props__tab.active .badge {
  background: var(--accent);
  color: var(--navy);
}

.prop-panel {
  display: none;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.prop-panel.active { display: block; animation: fadeIn 400ms ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.prop-panel__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}
.prop-panel__title h3 {
  font-size: 28px;
  margin-bottom: 12px;
}
.prop-panel__title p {
  color: var(--muted);
  margin: 0;
  max-width: 620px;
}
.prop-panel__price {
  text-align: right;
}
.prop-panel__price .num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.prop-panel__price .label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 8px;
}
.prop-panel__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.prop-block h4 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.prop-block ul {
  margin: 0; padding: 0; list-style: none;
}
.prop-block li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.prop-block li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.prop-block p { font-size: 15px; color: var(--text); margin: 0; }

.prop-roi {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}
.prop-roi h4 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.prop-roi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prop-roi__item .v {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.prop-roi__item .l {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.prop-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.prop-actions .note {
  font-size: 13px;
  color: var(--muted);
  margin-left: 8px;
}

@media (max-width: 800px) {
  .prop-panel { padding: 28px; }
  .prop-panel__head { grid-template-columns: 1fr; }
  .prop-panel__price { text-align: left; }
  .prop-panel__body { grid-template-columns: 1fr; gap: 32px; }
  .prop-roi__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------------- ROI calculator ---------------- */
.calc {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: white;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  position: relative;
  overflow: hidden;
}
.calc::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(80, 187, 175, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.calc__intro h3 {
  color: white;
  margin-bottom: 16px;
  font-size: 26px;
}
.calc__intro p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin-bottom: 32px;
}
.calc__inputs { display: grid; gap: 28px; position: relative; }

.range-row {
  position: relative;
}
.range-row__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.range-row__label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.range-row__val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.range-row input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 6px;
}
.range-row input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
}
.range-row input[type="range"]::-moz-range-track {
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
}
.range-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: -8px;
  box-shadow: 0 0 0 6px rgba(111, 226, 212, 0.22);
  cursor: pointer;
  transition: transform 120ms ease;
}
.range-row input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 0 6px rgba(111, 226, 212, 0.22);
  cursor: pointer;
}
.range-row input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
.range-row__hint {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.calc__output { position: relative; }
.calc__result {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.calc__result:hover { background: rgba(255,255,255,0.06); }
.calc__result-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.calc__result-value {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  transition: color 200ms ease;
}
.calc__result-explain {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.calc__results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.calc__results-grid .calc__result-value { font-size: 30px; }
.calc__assumption {
  display: block;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .calc__results-grid { grid-template-columns: 1fr; }
}

/* ---------------- Won't do section ---------------- */
.wontdo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.wontdo__item {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
}
.wontdo__no {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #F4F6F8;
  color: var(--navy);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 14px;
  border: 1px solid var(--border);
}
.wontdo__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.wontdo__why { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
@media (max-width: 800px) { .wontdo { grid-template-columns: 1fr; } }

/* ---------------- Roadmap timeline ---------------- */
.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.roadmap::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: rgba(255,255,255,0.12);
  z-index: 0;
}
.phase {
  position: relative;
  z-index: 1;
}
.phase__dot {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.phase:nth-child(1) .phase__dot { color: #fff; border-color: #fff; background: rgba(255,255,255,0.10); }
.phase:nth-child(2) .phase__dot { color: var(--accent); border-color: var(--accent); background: rgba(111,226,212,0.10); }
.phase:nth-child(3) .phase__dot { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.04); }
.phase__when {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.phase h3 { color: white; margin-bottom: 14px; font-size: 22px; }
.phase p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.phase ul {
  margin: 0; padding: 0; list-style: none;
}
.phase li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.phase li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6FE2D4;
}
@media (max-width: 900px) {
  .roadmap { grid-template-columns: 1fr; gap: 36px; }
  .roadmap::before { display: none; }
}

/* ---------------- About RG strip ---------------- */
.rg-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.rg-strip__visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-deep) 60%, var(--teal-soft) 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}
.rg-strip__visual .quote {
  position: relative;
  color: white;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  z-index: 2;
}
.rg-strip__visual .quote__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.4;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  opacity: 0.55;
}

.rg-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.rg-stat {
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.rg-stat .v {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.rg-stat .l { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .rg-strip { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------------- Final CTA ---------------- */
.cta {
  position: relative;
  background: linear-gradient(135deg, #002D63 0%, #05497F 35%, #0A6E94 70%, #0C97A5 100%);
  color: white;
  padding: 120px 0;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 30%, rgba(80, 187, 175, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(0, 26, 61, 0.35) 0%, transparent 55%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.cta h2 { color: white; margin-bottom: 24px; }
.cta .lead { color: rgba(255,255,255,0.78); margin-bottom: 40px; }
.cta__contact {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.cta__contact .item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  text-align: left;
  font-size: 14px;
  transition: background-color var(--transition);
  border: 1px solid rgba(255,255,255,0.10);
  text-decoration: none;
  color: rgba(255,255,255,0.65);
}
.cta__contact a.item:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18); }
.cta__contact .item__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.cta__contact .item b { color: white; font-weight: 500; font-size: 14px; }

/* ---------------- Footer ---------------- */
.footer {
  background: #001A3D;
  color: rgba(255,255,255,0.6);
  padding: 56px 0;
  font-size: 13px;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__row .brand__rg { color: rgba(255,255,255,0.5); }
.footer__row .brand__rg b { color: white; }
.footer a { transition: color var(--transition); }
.footer a:hover { color: white; }
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__disclaimer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* ---------------- Utility ---------------- */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.divider {
  height: 1px;
  background: var(--border-soft);
  margin: 32px 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Focus */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
