@font-face {
  font-family: Inter;
  src: url("fonts/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #122b2a;
  --muted: #45625d;
  --paper: #f2f5f0;
  --white: #fff;
  --deep: #0b2022;
  --deep-card: #153033;
  --deep-copy: #c3d4ce;
  --lime: #d5f890;
  --line: #d5e0d8;
  font-family: Inter, system-ui, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #278a69; outline-offset: 4px; }
[id] { scroll-margin-top: 1.5rem; }

.wrap { width: min(100% - 4rem, 76rem); margin-inline: auto; }
.section-space { padding-block: clamp(3.75rem, 7vw, 7rem); }
.skip-link {
  position: fixed;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  padding: .65rem 1rem;
  border-radius: .5rem;
  background: var(--lime);
  color: var(--deep);
}
.skip-link:focus { transform: translateY(0); }

.masthead { background: var(--deep); color: #f5fbf5; }
.site-header { border-bottom: 1px solid #345052; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 5rem; padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-image {
  flex: none;
  width: clamp(12rem, 24vw, 16.5rem);
  height: auto;
  border-radius: .55rem;
  background: #f7faf7;
}
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.65rem); }
.header-actions nav { gap: clamp(.55rem, 1.7vw, 1.35rem); }
.header-actions .language-switch { gap: .15rem; padding: .15rem; border: 1px solid #537268; border-radius: .45rem; }
.language-switch a { padding: .28rem .45rem; border-radius: .3rem; }
.language-switch [aria-current] { background: var(--lime); color: var(--deep); }
.masthead :focus-visible, .footer :focus-visible { outline-color: var(--lime); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.33fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: 31rem;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 4rem);
}
.hero h1, h2, h3 { line-height: 1.09; letter-spacing: -.045em; }
.hero h1 { max-width: 10ch; font-size: clamp(3rem, 5.6vw, 5.3rem); font-weight: 750; text-wrap: balance; }
.hero h1 span { color: var(--lime); white-space: nowrap; }
.hero-copy p { max-width: 39ch; margin-top: 1.25rem; color: var(--deep-copy); font-size: clamp(1rem, 1.6vw, 1.125rem); line-height: 1.65; }
.hero-copy .availability { margin-top: .65rem; color: #e5f2e6; font-size: .94rem; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .6rem;
  padding: .62rem 1rem;
  font-weight: 720;
  font-size: .9rem;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.button.primary { background: var(--lime); color: var(--deep); }
.button.primary:hover { background: #e6ffba; }
.button.secondary { border-color: #567467; }
.button.secondary:hover { background: #28423f; border-color: #97bda4; }
.hero-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid #385455;
  border-radius: 1.25rem;
  background: var(--deep-card);
}
.hero-figure img { width: 100%; height: auto; }
.hero-figure figcaption {
  position: absolute;
  right: .85rem;
  bottom: .75rem;
  padding: .23rem .56rem;
  border-radius: .33rem;
  background: #0b2022e8;
  color: #dbe9e3;
  font-size: .8rem;
}
.shared { padding-bottom: clamp(1.75rem, 4vw, 3.35rem); }
.shared dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1rem 0;
  border: 1px solid #365356;
  border-radius: .9rem;
  background: var(--deep-card);
}
.shared dl > div { padding: .15rem clamp(.75rem, 2.5vw, 1.7rem); }
.shared dl > div + div { border-left: 1px solid #42605f; }
.shared dt { font-size: .87rem; color: var(--deep-copy); }
.shared dd { font-weight: 700; }

.section-heading { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem 3rem; align-items: end; margin-bottom: 1.7rem; }
h2 { font-size: clamp(2rem, 4.8vw, 3.7rem); font-weight: 730; text-wrap: balance; }
.section-heading p, .connection-intro p { max-width: 43ch; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--white);
}
.product img { aspect-ratio: 8 / 5; width: 100%; height: auto; object-fit: cover; background: #122d31; }
.product-copy { padding: clamp(1.15rem, 3vw, 1.85rem); }
.status {
  display: inline-flex;
  margin-bottom: .72rem;
  padding: .22rem .6rem;
  border-radius: .32rem;
  background: #e7eeeb;
  color: #2e5049;
  font-size: .875rem;
  font-weight: 650;
}
.status.pilot { background: #e5f2cb; color: #2d491d; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 730; }
.product p { margin-top: .62rem; color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; gap: .43rem; margin: .95rem 0 0; padding: 0; list-style: none; }
.specs li { padding: .22rem .56rem; border: 1px solid var(--line); border-radius: .35rem; font-size: .875rem; font-weight: 600; }

.compare { background: #e3ece5; border-block: 1px solid #d3ded5; }
.table-frame { overflow-x: auto; border: 1px solid #ccdcd2; border-radius: .95rem; background: var(--white); }
table { width: 100%; min-width: 38rem; border-collapse: collapse; text-align: left; }
th, td { padding: 1rem clamp(.75rem, 2vw, 1.55rem); }
thead { background: #f5f8f3; }
thead th { color: var(--muted); font-size: .9rem; font-weight: 700; }
tbody tr { border-top: 1px solid var(--line); }
tbody th { font-weight: 720; }
tbody a { text-decoration-color: #8caa9a; text-underline-offset: .23em; }
tbody a:hover { text-decoration-color: currentColor; }

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.75rem);
}
.feature-intro p { margin-top: 1rem; max-width: 46ch; color: var(--muted); font-size: 1.05rem; }
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2.4rem;
  margin-top: 2rem;
}
.feature-list > div { padding-top: .85rem; border-top: 1px solid #c7d8cd; }
.feature-list dt { margin-bottom: .3rem; font-weight: 740; }
.feature-list dd { color: var(--muted); }
.ocean .feature-intro p, .ocean .feature-list dd { color: var(--deep-copy); }
.ocean .feature-list > div { border-color: #3e5859; }
.cas-logo {
  display: inline-block;
  width: 3.25rem;
  height: auto;
  margin-right: .55rem;
  padding: .18rem;
  border-radius: .45rem;
  background: #e9f0f5;
  vertical-align: middle;
}
.reference-links { display: flex; flex-wrap: wrap; column-gap: 1.25rem; }
.ocean .text-link { display: inline-block; margin-top: 1.25rem; color: var(--lime); }
.ocean .text-link:hover { color: #e3ffb8; }
.bridge-capture {
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid #3e5859;
  border-radius: .8rem;
  background: var(--deep-card);
}
.bridge-capture img { width: 100%; height: auto; }
.bridge-capture figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding: .55rem .85rem;
  color: var(--deep-copy);
  font-size: .875rem;
}
.bridge-capture figcaption a { color: var(--lime); text-underline-offset: .2em; }
.screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.screen-grid .bridge-capture { margin: 0; }
.screen-grid .bridge-capture img { aspect-ratio: 16 / 9; object-fit: contain; background: var(--deep); }
.bathy-feature {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid #3e5859;
}
.bathy-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.bathy-intro .feature-intro p { max-width: 67ch; }

.vas { background: var(--white); border-top: 1px solid var(--line); }
.vas-logo { width: clamp(6rem, 12vw, 8.4rem); height: auto; margin: 0 0 .85rem -.2rem; }
.vas .feature-intro .text-link { display: inline-block; margin-top: 1rem; }
.vas-enclosure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: #edf2ef;
}
.vas-views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: .5rem;
  padding: 1rem .75rem .35rem;
  background: #000;
}
.vas-views img { width: 100%; height: auto; object-fit: contain; }
.vas-enclosure figcaption {
  padding: .64rem .85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}
.vas .feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vas-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  margin-top: 1.9rem;
}
.vas-gallery .bridge-capture { margin: 0; }
.vas-gallery img[src$="/vas-ekran.webp"] { image-rendering: pixelated; }

.remote { background: #e3ece5; border-block: 1px solid #d3ded5; }
.remote .feature-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.remote .hero-figure { border-color: #b9cdc0; }
.access-security {
  margin-top: 1.75rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--white);
}
.access-security :is(h2, h3) { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.access-security dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 1rem clamp(1rem, 3vw, 2rem);
  margin-top: 1rem;
}
.access-security dt { font-weight: 730; }
.access-security dd { margin-top: .2rem; color: var(--muted); }
.remote-panel-link { margin-top: 1rem; background: var(--deep); color: #f5fbf5; }
.remote-panel-link:hover { background: #213e39; }
.remote .bridge-capture { max-width: 64rem; margin-inline: auto; border-color: #b9cdc0; background: var(--white); }
.remote .bridge-capture figcaption { color: var(--muted); }
.remote .bridge-capture figcaption a { color: #185a45; }
.credit { margin-top: 1.15rem; font-size: .8125rem; }

.technology-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.technology {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.15rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--white);
}
.technology h3 { font-size: 1.38rem; }
.technology p, .rtk-copy p { color: var(--muted); }
.technology .text-link { align-self: flex-start; margin-top: auto; }
.rtk-panel {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.15rem;
  padding: clamp(1.1rem, 4vw, 2.5rem);
  border: 1px solid #c3d6ab;
  border-radius: 1rem;
  background: #e7f2d4;
}
.rtk-metric { display: grid; justify-content: start; }
.rtk-metric strong { font-size: clamp(2.55rem, 5.2vw, 4.35rem); font-weight: 750; letter-spacing: -.06em; line-height: 1.05; }
.rtk-metric span { margin-top: .25rem; color: #365343; font-weight: 650; }
.rtk-copy p { margin-block: .6rem; }

.connection { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.connection-intro p { margin-block: 1rem 1.1rem; }
.connection-links { display: grid; justify-items: start; gap: .55rem; }
.text-link { color: #185a45; font-weight: 700; text-underline-offset: .2em; }
.text-link:hover { color: var(--ink); }
.setup-card { padding: clamp(1rem, 3.5vw, 2.25rem); border: 1px solid var(--line); border-radius: .95rem; background: var(--white); }
.setup-card h3 { font-size: 1.45rem; }
.steps { display: grid; gap: .68rem; margin: 1.1rem 0 1.3rem; padding-left: 1.55rem; }
.steps li { padding-left: .28rem; }
.steps li::marker { color: #24694f; font-weight: 800; }
code { white-space: nowrap; padding: .12em .32em; border-radius: .3rem; background: #eaf1ea; color: #234e38; font-size: .93em; }
details { border-top: 1px solid var(--line); }
summary { padding-block: .85rem; cursor: pointer; font-weight: 680; }
summary:hover { color: #185a45; }
details p { padding-bottom: .85rem; color: var(--muted); }

.guide-intro { max-width: 46rem; margin-bottom: 2rem; }
.guide-intro h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.guide-intro p, .guide-ais p { margin: .8rem 0; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.guide h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.guide .setup-card > .text-link { display: inline-block; margin-top: .65rem; }
.guide-ais { max-width: 66ch; margin-block: 2.25rem; }
.guide-questions h2 { margin-bottom: .9rem; }
.guide-questions .guide-grid { align-items: stretch; }
.guide-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.3rem; margin-top: 1.6rem; }
.guide-links .button { margin: 0; }

.solution-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.45rem, 5vw, 4.5rem);
  padding-block: clamp(2.75rem, 6vw, 5.25rem);
}
.solution-copy h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.09;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.solution-copy p { max-width: 46ch; margin: .95rem 0 1.25rem; color: var(--deep-copy); }
.solution-hero .bridge-capture { margin: 0; }
.solution-detail h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
.solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.solution-example { margin-top: clamp(2.25rem, 5vw, 4rem); }
.solution-example > p { max-width: 65ch; margin-top: .8rem; color: var(--muted); }
.solution-visuals img[src$="/vas-ekran.webp"] { image-rendering: pixelated; }

.validation { border-top: 1px solid var(--line); background: #e7eee8; }
.validation-inner { padding-block: 2.9rem; }
.validation h2 { margin-bottom: 1.35rem; font-size: clamp(1.65rem, 3.1vw, 2.5rem); }
.validation dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem clamp(1.1rem, 4vw, 3rem); }
.validation dt { margin-bottom: .35rem; font-weight: 750; }
.validation dd { color: var(--muted); }
.contact { background: #dcebbd; }
.contact-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.4rem 3rem; }
.contact p { max-width: 55ch; color: #305549; margin-top: .9rem; }
.contact-action { display: grid; gap: .6rem; justify-items: center; }
.contact-button { background: var(--deep); color: #f5fbf5; font-size: 1rem; }
.contact-button:hover { background: #213e39; }
.contact-action span { font-variant-numeric: tabular-nums; color: #305549; }
.footer { background: var(--deep); color: #f5fbf5; }
.footer-inner { min-height: 6rem; padding-block: 1.2rem; }
.footer-inner nav { flex-wrap: wrap; justify-content: flex-end; gap: .45rem clamp(.8rem, 3vw, 1.5rem); }
.footer p { color: var(--deep-copy); font-size: .9rem; }

@media (max-width: 890px) {
  .header-inner { flex-wrap: wrap; gap: .55rem 1rem; padding-block: .65rem; }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.3rem; }
  .hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
  .connection { grid-template-columns: .85fr 1.15fr; gap: 1.3rem; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; justify-content: center; gap: .35rem .8rem; padding-block: .73rem; }
  .header-actions { flex-wrap: wrap; justify-content: center; gap: .35rem .7rem; }
  nav { gap: .8rem; flex-wrap: wrap; justify-content: center; }
  nav a { padding-block: .36rem; }
  .hero, .section-heading, .connection, .feature-split, .remote .feature-split, .technology-grid, .rtk-panel, .contact-inner, .guide-grid, .solution-hero, .solution-grid { grid-template-columns: 1fr; }
  .remote .feature-split .feature-intro { grid-row: 1; }
  .contact-action { justify-items: start; }
  .hero h1 { font-size: clamp(3rem, 10vw, 4.8rem); }
  .hero-copy p { margin-top: .8rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-figure { border-radius: .85rem; }
  .product-grid, .validation dl, .feature-list, .vas .feature-list, .screen-grid, .vas-gallery, .access-security dl { grid-template-columns: 1fr; }
  .shared dl { grid-template-columns: 1fr; padding: 0 .9rem; }
  .shared dl > div { padding: .66rem .15rem; }
  .shared dl > div + div { border-left: 0; border-top: 1px solid #42605f; }
  .footer-inner { flex-wrap: wrap; gap: .65rem 1.25rem; }
  .footer-inner nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
