:root {
  --navy: #0E2430;
  --navy-2: #163543;
  --navy-line: #2A4B59;
  --navy-deep: #0A1B24;
  --mint: #3FD0AE;
  --teal: #0B6E59;
  --teal-dark: #084D3F;
  --ink: #14202B;
  --muted: #56616E;
  --line: #DDE3E8;
  --soft: #F4F7F8;
  --mint-soft: #E5F6F0;
  --on-dark: #C6D5DC;
  --gold: #F2C46D;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.dark { background: var(--navy); color: #FFFFFF; }
.soft { background: var(--soft); }

/* header */
.site-header { background: var(--navy); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-rin { font-weight: 700; font-size: 26px; letter-spacing: .02em; color: #FFFFFF; }
.brand-sub { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.brand-by { font-size: 12px; color: #8FA6B1; }
.n2i { font-weight: 600; color: #FFFFFF; }
.n2i b { color: var(--mint); font-weight: 700; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; }
.nav-links a { color: #D5E2E8; text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: #FFFFFF; }
.nav-links .cta { color: var(--mint); font-weight: 600; }
.lang { display: flex; gap: 2px; border: 1px solid var(--navy-line); border-radius: 8px; padding: 2px; }
.lang a, .lang span { padding: 6px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.lang span { background: var(--mint); color: var(--navy); }

/* hero */
.hero { padding: 72px 0 112px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero-art { flex: 1 1 300px; display: flex; justify-content: center; }
.hero-art svg { max-width: 100%; height: auto; }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin-bottom: 12px; }
.dark .eyebrow { color: var(--mint); }
h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 24px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); max-width: 780px; margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--muted); max-width: 740px; margin-bottom: 48px; }
.dark .lead, .hero .lead { color: var(--on-dark); }
.hero .lead { font-size: 19px; margin-bottom: 36px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.btn-primary { background: var(--mint); color: var(--navy); }
.btn-primary:hover { color: var(--navy); filter: brightness(1.05); }
.btn-ghost { border: 1px solid #4B6B78; color: #FFFFFF; }
.btn-ghost:hover { color: #FFFFFF; border-color: var(--mint); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; }
.card p { color: var(--muted); }
.card.flat { border: 0; background: var(--soft); }
.card.dk { background: var(--navy-2); border-color: var(--navy-line); }
.card.dk h3 { color: var(--mint); }
.card.dk p { color: var(--on-dark); }
.icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; background: var(--mint-soft); margin-bottom: 20px; }
.tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.note { margin-top: 28px; font-size: 15px; color: var(--muted); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { padding: 24px; border-radius: 12px; border: 1px solid var(--line); }
.steps .num { font-size: 28px; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--muted); }

/* demo */
.panel { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; padding: 24px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); margin-bottom: 20px; }
.panel > div { flex: 1 1 340px; min-width: 0; }
.panel label, .panel .lbl { display: block; font-weight: 600; margin-bottom: 8px; }
.panel label output { color: var(--teal); }
input[type=range] { width: 100%; min-height: 44px; accent-color: var(--teal); }
.range-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid #C9D2D9; background: #FFFFFF; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.seg button:focus-visible, input[type=range]:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { padding: 20px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); }
.stat small { display: block; font-size: 13px; color: var(--muted); }
.stat strong { font-size: 28px; }
.table-box { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: #FFFFFF; }
table { width: 100%; min-width: 720px; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #EEF1F3; }
th { font-size: 13px; color: var(--muted); font-weight: 600; }
tr.out td { background: #F6F8F9; color: #7A8490; }
.dot { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 12px; background: #D3DAE0; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip.pov { background: #E8EBEF; color: #3A4450; }
.chip.core { background: #DDF5EE; color: #0A5E4C; }
.chip.disp { background: #FCEFD8; color: #7A4A00; }
.chip.res { background: #F1F3F5; color: var(--muted); }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* contact + footer */
.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact > div:first-child { flex: 999 1 480px; min-width: 0; }
.contact-card { flex: 1 1 300px; padding: 28px; border-radius: 12px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.contact-card .who { font-size: 20px; font-weight: 600; }
.contact-card .role { color: var(--mint); margin-bottom: 20px; }
.contact-card p { color: var(--on-dark); }
.contact-card a { color: #FFFFFF; }
.site-footer { padding: 28px 0; background: var(--navy-deep); color: #8FA6B1; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: #8FA6B1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* demo – three scenarios side by side */
.scen-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 12px; }
.scen-card { padding: 20px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); }
.scen-name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.scen-name::before { content: ""; width: 12px; height: 12px; border-radius: 6px; background: currentColor; flex: none; }
.scen-0 .scen-name { color: var(--navy); }
.scen-1 .scen-name { color: var(--teal); }
.scen-2 .scen-name { color: #8A5800; }
.scen-w { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.scen-big { font-size: 26px; font-weight: 700; color: var(--ink); }
.scen-sub { font-size: 13px; color: var(--muted); }
.core-line { font-weight: 600; margin: 4px 0 20px; }
.table-box table { min-width: 900px; }
th.num, td.num { text-align: right; }
th.mk, td.mk { text-align: center; }
.dot.on.scen-0 { background: var(--navy); }
.dot.on.scen-1 { background: var(--teal); }
.dot.on.scen-2 { background: #8A5800; }
.chip { white-space: nowrap; }
th { white-space: nowrap; }
.dot { background: #E3E8EC; }
