:root {
  --navy: #0c1f3d;
  --navy-2: #13294d;
  --navy-line: #24406b;
  --gold: #d4a72c;
  --gold-text: #8f6a0e;   /* gold dark enough for text on cream */
  --cream: #f6f3ec;
  --cream-2: #efe9dc;
  --white: #ffffff;
  --text: #13213a;
  --muted: #5b6577;
  --border: #e2dccd;
  --ok: #2f9e5b;
  --radius: 10px;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow--spaced { letter-spacing: .3em; color: var(--gold); }

/* Icons (navy circle with gold glyph, as in the deck) */
.icon {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 34px; height: 34px; }
.icon--sm svg { width: 18px; height: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 6px; border: 1px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #e2b843; transform: translateY(-1px); }
.btn--line { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: #fff;
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-bottom-color: var(--navy-line); box-shadow: 0 6px 20px rgba(12,31,61,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; }
.logo b { color: var(--gold); font-weight: 800; }
.logo__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
  border: 2px solid var(--gold); color: var(--gold); font-weight: 800;
}

.nav { display: flex; gap: 28px; }
.nav a { color: rgba(255,255,255,.75); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--gold); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--navy-line); border-radius: 6px; padding: 2px; }
.lang button {
  background: none; border: 0; color: rgba(255,255,255,.7);
  font: inherit; font-size: .78rem; font-weight: 700; padding: 5px 9px; border-radius: 4px; cursor: pointer;
}
.lang button.active { background: var(--gold); color: var(--navy); }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__art {
  position: absolute; top: 0; right: 0; bottom: 0; width: 40%;
  background: url("assets/hero.jpg") center / cover no-repeat;
}
.hero__art::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(12,31,61,0) 35%);
}
.hero__inner { position: relative; padding-top: 110px; padding-bottom: 100px; }
.hero__inner > * { max-width: 600px; }
.hero__title { font-size: clamp(1.9rem, 6vw, 3.4rem); overflow-wrap: anywhere; font-weight: 800; letter-spacing: .01em; margin-bottom: 20px; }
.hero__title span { display: block; font-size: 1.55em; text-transform: uppercase; line-height: 1.05; }
.hero__lead { font-size: 1.2rem; color: #c9d3e6; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; color: #c9d3e6; font-size: .92rem; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--ok { background: #4ade80; }
.dot--soon { background: var(--gold); }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--white); }
.section--navy { background: var(--navy); color: #fff; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.section--navy .section__title { color: #fff; }
.section__sub { font-size: 1.08rem; font-weight: 600; color: var(--gold-text); max-width: 70ch; margin-bottom: 44px; }
.subhead { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); margin: 48px 0 16px; }
.note { text-align: center; color: var(--muted); font-weight: 600; margin: 28px auto 0; max-width: 70ch; }

/* Panels */
.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.section--alt .panel { background: var(--cream); }
.panel h3 { color: var(--navy); font-size: 1.2rem; }
.panel--dark { background: var(--navy) !important; color: #fff; border-color: var(--navy); }
.panel--dark h3 { color: var(--gold); }
.panel--dark p { color: #c9d3e6; margin: 0; font-size: 1.05rem; }

/* Flow */
.flow { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: stretch; }
.flow__col { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.flow__col--main { outline: 2px solid var(--gold); outline-offset: -2px; }
.flow__head { background: var(--navy); color: #fff; padding: 18px 22px; }
.flow__head h3 { margin: 0; font-size: 1.3rem; }
.flow__head small { color: var(--gold); }
.flow__body { padding: 26px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; flex: 1; justify-content: center; }
.flow__body strong { color: var(--navy); font-size: 1.05rem; }
.flow__body p { color: var(--muted); margin: 0; }
.flow__body--list { align-items: stretch; text-align: left; }
.pill { background: var(--cream); border-radius: 8px; padding: 12px 16px; display: flex; flex-direction: column; }
.pill strong { font-size: 1rem; }
.pill em { font-style: normal; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.pill span { color: var(--muted); font-size: .92rem; }
.flow__arrow { align-self: center; justify-self: center; width: 0; height: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 18px solid var(--gold); }

/* Automation */
.auto { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.bullets { display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 22px; font-weight: 500; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { display: flex; gap: 16px; align-items: center; background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.benefit strong { color: var(--navy); font-size: 1.05rem; }
.benefit p { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }

/* Systems */
.systems { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sys { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sys header { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 20px 24px; }
.sys h3 { margin: 0; font-size: 1.3rem; }
.sys small { color: var(--gold); }
.badge { font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.badge--ok { background: rgba(74,222,128,.15); color: #6ee7a0; }
.badge--soon { background: rgba(212,167,44,.18); color: var(--gold); }
.mini-steps { padding: 24px; display: grid; gap: 14px; counter-reset: ms; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.mini-steps li::before {
  content: counter(ms); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream-2); color: var(--navy); font-weight: 800;
}
.mini-steps strong { color: var(--navy); }
.mini-steps span { color: var(--muted); font-size: .93rem; }

/* Architecture */
.arch { display: grid; gap: 18px; }
.arch__layer { background: var(--navy); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.arch__label { color: #fff; font-weight: 700; font-size: 1.1rem; min-width: 140px; }
.arch__apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; flex: 1; min-width: 280px; }
.app { background: var(--white); border-radius: 6px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); }
.app small { display: block; font-weight: 500; color: var(--gold-text); font-size: .78rem; }
.app--soon { outline: 2px dashed var(--gold); outline-offset: -2px; }
.arch__deploy { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.zone { border: 2px dashed #b9c3d3; border-radius: var(--radius); padding: 18px; }
.zone--cloud { background: #e8eef7; }
.zone--local { background: var(--cream-2); border-color: #cfc6b2; display: flex; flex-direction: column; }
.zone__label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.zone__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.core, .node { border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.core { background: var(--navy); color: #fff; border: 2px solid var(--gold); }
.core small, .node small { color: var(--gold-text); font-size: .78rem; }
.core small { color: var(--gold); }
.core strong { font-size: 1.15rem; margin-bottom: 10px; }
.core__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.core__grid span { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 4px; padding: 6px; font-size: .8rem; font-weight: 600; text-align: center; }
.node { background: var(--white); border: 1px solid var(--border); flex: 1; justify-content: center; }
.node strong { color: var(--navy); font-size: 1.15rem; }
.node > span { color: var(--muted); font-size: .9rem; }
.arch__note { text-align: center; color: var(--muted); font-weight: 600; margin: 0; }

/* Reports */
.reports { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: var(--cream); border: 1px solid var(--border); border-radius: 6px; padding: 9px 14px; font-weight: 600; font-size: .93rem; color: var(--navy); }
.tags .tags__more { background: none; border-style: dashed; color: var(--muted); }

.drill { margin-top: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr 2fr; gap: 28px; align-items: center; }
.drill__intro h3 { color: var(--navy); font-size: 1.25rem; }
.drill__intro p { color: var(--muted); margin: 0; }
.drill__levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.drill__levels li {
  position: relative; border-radius: 6px; padding: 14px 12px; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .92rem; min-height: 86px;
}
.drill__levels li:first-child { background: var(--gold); color: var(--navy); }
.drill__levels li:nth-child(3) { background: var(--navy-2); }
.drill__levels li:nth-child(4) { background: #1f3a66; }
.drill__levels li:nth-child(5) { background: #2c4c80; }
.drill__levels small { font-weight: 500; font-size: .76rem; opacity: .8; }

/* Monitoring */
.mon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mon li { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.mon__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; margin-bottom: 14px; }
.mon strong { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.mon p { color: var(--muted); margin: 0; }
.who { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.who b { background: var(--navy); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: .9rem; }

/* Advantages */
.adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 30px; }
.adv li { position: relative; padding: 22px 22px 22px 58px; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); color: #dfe6f2; font-weight: 500; }
.adv li::before {
  content: ""; position: absolute; left: 22px; top: 25px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1f3d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__list { display: grid; gap: 18px; }
.contact__list span { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact__list a, .contact__list p { font-weight: 700; font-size: 1.1rem; margin: 0; color: var(--navy); }
.contact__list a:hover { color: var(--gold-text); }
.form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; }
.form label span { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--cream);
  border: 1px solid var(--border); border-radius: 6px; padding: 11px 13px; resize: vertical; transition: border-color .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .invalid { border-color: #d64545; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form button[disabled] { opacity: .6; cursor: progress; transform: none; }
.form__status { margin: 0; min-height: 1.6em; font-weight: 600; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: #c53030; }

/* Footer */
.footer { background: var(--navy); color: #fff; padding: 28px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { color: #9fb0cc; margin: 0; font-size: .9rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow__arrow { transform: rotate(90deg); }
  .drill { grid-template-columns: 1fr; }
  .arch__deploy, .zone__row { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--navy-line); padding: 6px 20px 18px;
    transform: translateY(-130%); transition: transform .3s; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--navy-line); }
  .hero__art { width: 100%; opacity: .35; }
  .hero__art::before { background: linear-gradient(90deg, var(--navy) 10%, rgba(12,31,61,.4)); }
  .auto, .systems, .reports, .benefits, .mon { grid-template-columns: 1fr; }
  .arch__apps { grid-template-columns: 1fr; }
  .drill__levels { grid-template-columns: 1fr; }
  .drill__levels li { min-height: 0; }
  .section { padding: 72px 0; }
  .hero__inner { padding-top: 80px; padding-bottom: 72px; }
  .adv { grid-template-columns: 1fr; }
}
