:root {
  --bg: #050F22;
  --bg-2: #071A33;
  --bg-3: #0A2242;
  --panel: rgba(13, 40, 76, 0.5);
  --line: rgba(86, 170, 255, 0.18);
  --line-strong: rgba(86, 190, 255, 0.42);
  --cyan: #2CD3F5;
  --cyan-2: #5BE3FF;
  --blue: #1E7BF0;
  --text: #EAF3FF;
  --muted: #A3B8D4;
  --green: #2EE08A;
  --red: #FF7A7A;
  --radius: 14px;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.nw { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--bg); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px;
}
.section-lede { color: var(--muted); font-size: 20px; font-weight: 300; max-width: 54ch; margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 10px;
  font: inherit; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn-primary { background: var(--cyan); color: #04172E; box-shadow: 0 0 24px rgba(44, 211, 245, 0.35); }
.btn-primary:hover { background: var(--cyan-2); color: #04172E; box-shadow: 0 0 32px rgba(44, 211, 245, 0.55); }
.btn-ghost { color: var(--text); border-color: rgba(234, 243, 255, 0.55); background: rgba(5, 15, 34, 0.35); }
.btn-ghost:hover { color: var(--text); border-color: var(--cyan); background: rgba(44, 211, 245, 0.08); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.play { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.play path { fill: currentColor; stroke: none; }

/* Header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 24px 40px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 46px; height: 38px; filter: drop-shadow(0 0 10px rgba(63, 216, 255, 0.35)); }
.brand-name { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.02em; }
.site-nav a:hover { color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden; background: var(--bg);
  min-height: min(100svh, 940px); display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute; inset: 0;
  background: var(--bg-2) url("/img/hero.jpg") 40% 60% / cover no-repeat;
  transform: scaleX(-1);
  filter: saturate(0.75) brightness(0.7) contrast(1.05);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 15, 34, 0.97) 0%, rgba(5, 15, 34, 0.9) 32%, rgba(5, 15, 34, 0.35) 62%, rgba(5, 15, 34, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 15, 34, 0.55) 0%, rgba(5, 15, 34, 0) 28%, rgba(5, 15, 34, 0) 70%, rgba(5, 15, 34, 0.95) 100%),
    rgba(8, 40, 96, 0.35);
}
.hero-chart { position: absolute; z-index: 2; right: 0; top: 0; width: 56%; height: 100%; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 3; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center;
  padding-top: 140px; padding-bottom: 96px;
}
.hero h1 { font-size: clamp(40px, 5vw, 68px); font-weight: 700; line-height: 1.06; max-width: 15ch; margin-bottom: 24px; }
.lede { font-size: clamp(18px, 1.7vw, 22px); font-weight: 300; color: #C9D8EC; max-width: 38ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-device { position: relative; display: flex; justify-content: center; min-height: 560px; }

/* Phone */
.phone {
  position: relative; width: 300px; padding: 16px 16px 22px;
  border-radius: 46px; border: 9px solid #0B1424;
  background: linear-gradient(180deg, #0B203D 0%, #071630 100%);
  box-shadow: 0 0 0 1px rgba(160, 200, 255, 0.28), 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(44, 211, 245, 0.18);
  transform: rotate(4deg);
  margin-right: 110px;
}
.phone-bar { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 0 10px; height: 26px; }
.phone-notch { width: 86px; height: 24px; border-radius: 14px; background: #02060D; }
.phone-icons { width: 40px; height: 8px; border-radius: 3px; background: linear-gradient(90deg, #fff 0 30%, transparent 30% 40%, #fff 40% 64%, transparent 64% 74%, #fff 74%); opacity: .85; }
.phone-brand { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 18px; margin: 12px 0 2px; letter-spacing: -0.02em; }
.phone-brand svg { width: 26px; height: 22px; }
.phone-boat { width: 100%; height: 64px; margin: 4px 0 6px; }
.phone-title { font-size: 22px; font-weight: 600; padding: 0 4px; }
.phone-status { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; padding: 2px 4px 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(46, 224, 138, 0.8); flex: none; }
.dot-idle { background: #8FA3BE; box-shadow: none; }
.dot-info { background: var(--cyan); box-shadow: 0 0 8px rgba(44, 211, 245, 0.8); }
.phone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.phone-list li {
  display: flex; align-items: center; gap: 10px; padding: 11px 10px 11px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(120, 180, 255, 0.16); font-size: 14px;
}
.phone-list span { flex: 1; color: #DCE8F8; }
.phone-list b { color: var(--green); font-weight: 600; font-size: 13px; }
.phone-list .ic { width: 18px; height: 18px; fill: none; stroke: #CFE6FF; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.phone-list .chev { width: 14px; height: 14px; fill: none; stroke: #7F95B3; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#i-wifi circle { fill: currentColor; }

.chip {
  position: absolute; font-size: 12px; line-height: 1.35; color: #BFE6FF; letter-spacing: 0.04em;
  border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(5, 15, 34, 0.6); padding: 8px 10px;
  backdrop-filter: blur(4px);
}
.chip-coords { right: 0; bottom: 92px; }
.compass { position: absolute; right: 18px; top: -10px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #9FD8FF; font-size: 13px; opacity: .8; }
.compass svg { width: 14px; height: 26px; fill: #9FD8FF; }
.chip-scale { right: 0; bottom: 20px; border: 0; background: none; backdrop-filter: none; padding: 0; width: 150px; }
.scale-labels { display: flex; justify-content: space-between; margin-bottom: 4px; }
.scale-bar { display: block; height: 7px; border: 1px solid #BFE6FF; border-top: 0; background: linear-gradient(90deg, transparent 49.5%, #BFE6FF 49.5% 50.5%, transparent 50.5%); }

/* How it works */
.how { position: relative; overflow: hidden; padding: 120px 0 200px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.how h2, .systems h2, .mission h2, .contact h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 18px; }
.steps {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 80px 1fr 80px 1fr; gap: 24px; align-items: start;
}
.step { text-align: center; }
.step-icon {
  position: relative; width: 132px; height: 132px; margin: 0 auto 24px; border-radius: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: radial-gradient(circle at 50% 40%, rgba(44, 211, 245, 0.14), rgba(13, 40, 76, 0.4) 70%);
}
.step-icon svg { width: 84px; height: 84px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(44, 211, 245, 0.7)); }
.step-icon .fill { fill: var(--cyan); stroke: none; }
.step-icon .step-bird { position: absolute; width: 34px; height: 28px; left: 50%; top: 54%; transform: translate(-50%, -50%); filter: drop-shadow(0 0 6px rgba(63, 216, 255, 0.6)); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step-num { color: var(--cyan); }
.step p { color: var(--muted); font-size: 17px; max-width: 30ch; margin: 0 auto; }
.step-arrow { padding-top: 58px; }
.step-arrow svg { width: 100%; height: 16px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(44, 211, 245, 0.8)); }
.how-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; pointer-events: none; }

/* Systems */
.systems { padding: 110px 0 120px; background: var(--bg-2); border-top: 1px solid var(--line); }
.tiles { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile {
  padding: 26px 26px 24px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--panel);
  box-shadow: inset 0 0 40px rgba(44, 211, 245, 0.04);
  transition: border-color .2s, transform .2s;
}
.tile:hover { border-color: var(--cyan); transform: translateY(-2px); }
.tile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.tile-icon {
  width: 56px; height: 56px; padding: 12px; flex: none; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(44, 211, 245, 0.06);
  fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(44, 211, 245, 0.45));
}
.tile h3 { font-size: 20px; margin-bottom: 4px; }
.status { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; color: #DCE8F8; }
.tile > p { color: var(--muted); font-size: 16px; margin: 0; }

/* Mission */
.mission { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--line); }
.mission-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; }
.mission-text p:not(.eyebrow) { color: var(--muted); font-size: 19px; max-width: 52ch; }
.mission-figure { margin: 0; }
.mission-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--bg-3) url("/img/deck.jpg") center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.principles {
  list-style: none; margin: 90px 0 0; padding: 44px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
}
.principle-num { display: block; color: var(--cyan); font-size: 14px; font-weight: 600; letter-spacing: 0.16em; margin-bottom: 14px; }
.principles h3 { font-size: 24px; margin-bottom: 10px; }
.principles p { color: var(--muted); font-size: 17px; margin: 0; }

/* Band */
.band { position: relative; min-height: 64vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--bg-2); }
.band-media { position: absolute; inset: 0; background: var(--bg-2) url("/img/marina.jpg") center / cover no-repeat; filter: saturate(0.7) brightness(0.7); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 15, 34, 0.75), rgba(8, 40, 96, 0.45) 50%, rgba(5, 15, 34, 0.85)); }
.band-quote { position: relative; z-index: 1; color: #fff; font-size: clamp(34px, 5vw, 64px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; margin: 0; padding: 0 24px; }

/* Contact */
.contact { padding: 120px 0 130px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.contact-intro p:not(.eyebrow) { color: var(--muted); font-size: 19px; max-width: 40ch; }
.contact-intro .small { font-size: 15px; opacity: .85; }
.contact-form {
  padding: 40px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; flex: 1 1 0; min-width: 0; }
.field-row { display: flex; gap: 18px; flex-wrap: wrap; }
.field-row .field { flex: 1 1 200px; }
.field-row .field-short { flex: 0 1 140px; }
label { font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: #CFDDEF; }
input, textarea {
  font: inherit; font-size: 17px; color: var(--text); width: 100%;
  padding: 13px 14px; min-height: 50px; border-radius: 10px;
  border: 1px solid rgba(140, 190, 255, 0.28); background: rgba(3, 11, 25, 0.6);
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #6F86A6; }
input:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(44, 211, 245, 0.2); }
input[aria-invalid="true"] { border-color: var(--red); }
textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { width: 100%; margin-top: 6px; }
.form-status { margin: 16px 0 0; font-size: 16px; min-height: 1.5em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.form-done { text-align: center; padding: 40px 10px; }
.form-done h3 { font-size: 34px; margin-bottom: 14px; }
.form-done p { color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: #030A18; color: #8FA3BE; font-size: 15px; padding: 36px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.brand-sm .brand-mark { width: 34px; height: 28px; }
.brand-sm .brand-name { font-size: 21px; }
.footer-tags { letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; }

/* Responsive */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-chart { width: 100%; opacity: .45; }
  .phone { margin-right: 0; }
  .hero-device { min-height: 0; padding-bottom: 120px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .mission-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step-arrow { padding: 0; width: 60px; margin: 0 auto; transform: rotate(90deg); }
  .how { padding-bottom: 170px; }
  .principles { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .site-header { padding: 16px; gap: 12px; }
  .brand-mark { width: 38px; height: 32px; }
  .brand-name { font-size: 23px; }
  .site-header .btn { padding: 0 14px; font-size: 14px; }
  .hero-inner { padding-top: 112px; padding-bottom: 56px; gap: 40px; }
  .hero-actions .btn { width: 100%; }
  .phone { width: 280px; transform: none; }
  .chip, .compass { display: none; }
  .hero-chart { opacity: .3; }
  .hero-device { padding-bottom: 0; }
  .how, .systems, .mission, .contact { padding-top: 84px; }
  .systems, .mission { padding-bottom: 84px; }
  .tiles { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .band { min-height: 48vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .btn { transition: none; }
}
