@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --sea: #0F2536;
  --sea-land: #22394A;
  --contour: #4C7A99;
  --sounding: #86A3B8;
  --chart-ink: #E6EDF2;
  --paper: #EEF2F4;
  --ink: #102436;
  --ink-2: #3B5161;
  --rule: #C6D2D9;
  --red: #C8102E;
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- hero: a night-mode sea chart ---------- */
.hero { position: relative; overflow: hidden; background: var(--sea); color: var(--chart-ink); min-height: min(88vh, 860px); display: flex; flex-direction: column; }
.hero::before, .hero::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; z-index: 3;
  background: repeating-linear-gradient(90deg, var(--chart-ink) 0 48px, var(--sea) 48px 96px);
  border-top: 1px solid var(--chart-ink); border-bottom: 1px solid var(--chart-ink); }
.hero::before { top: 0; }
.hero::after { bottom: 0; }
.chart { position: absolute; top: 0; right: 0; width: 100%; height: 100%; z-index: 0; }
.shade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15, 37, 54, 0.96) 0%, rgba(15, 37, 54, 0.88) 36%, rgba(15, 37, 54, 0.2) 66%, rgba(15, 37, 54, 0) 80%); }
.hero > .wrap { position: relative; z-index: 2; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 30px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: 0.01em; color: #FFFFFF; }
.top a.verify { font-weight: 500; font-size: 16px; color: #FFFFFF; min-height: 44px; display: inline-flex; align-items: center; }

.lead { flex-grow: 1; display: flex; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.lead-inner { max-width: 620px; }
h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.005em; color: #FFFFFF; text-wrap: balance; }
.lead p { margin: 26px 0 0; font-size: 1.15rem; line-height: 1.6; color: #C9D6DF; max-width: 33em; text-wrap: pretty; }

/* chart drawing */
.grat { stroke: #FFFFFF; stroke-opacity: 0.05; stroke-width: 1; }
.land { fill: var(--sea-land); stroke: #7F9DB2; stroke-width: 1.4; }
.cont { fill: none; stroke: var(--contour); stroke-width: 1.2; }
.c1 { stroke-opacity: 0.7; } .c2 { stroke-opacity: 0.5; } .c3 { stroke-opacity: 0.36; } .c4, .c5 { stroke-opacity: 0.24; }
.shoal { fill: #16344C; stroke-opacity: 0.7; }
.snd { font-family: var(--body); font-style: italic; font-size: 13px; fill: var(--sounding); fill-opacity: 0.55; }
.track { fill: none; stroke: var(--chart-ink); stroke-width: 2; stroke-opacity: 0.9; stroke-dasharray: 1000; stroke-dashoffset: 0; }
.fix circle { fill: var(--sea); stroke: var(--chart-ink); stroke-width: 1.6; }
.fix .dot { fill: var(--chart-ink); stroke: none; }
.fix .lab { font-family: var(--display); font-weight: 600; font-size: 13px; fill: #BFD0DC; letter-spacing: 0.02em; }
.fix.now circle { stroke: var(--red); stroke-width: 2.4; }
.fix.now .dot { fill: var(--red); }
.fix.now .lab { fill: #FFFFFF; font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .track { stroke-dashoffset: 1000; animation: sail 2.6s cubic-bezier(.3, .1, .2, 1) 0.2s forwards; }
  .fix { opacity: 0; animation: fixin 0.5s ease-out forwards; }
  .i0 { animation-delay: 0.9s; } .i1 { animation-delay: 1.25s; } .i2 { animation-delay: 1.6s; } .i3 { animation-delay: 1.95s; } .i4 { animation-delay: 2.35s; }
}
@keyframes sail { to { stroke-dashoffset: 0; } }
@keyframes fixin { to { opacity: 1; } }

/* ---------- what the software covers ---------- */
.covers { padding: 80px 0 72px; }
h2 { margin: 0 0 36px; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; color: var(--ink); }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.areas li { padding: 22px 28px 8px 0; }
.areas li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.areas p { margin: 0; color: var(--ink-2); max-width: 30em; }

.check { background: #FFFFFF; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.check .wrap { display: flex; align-items: center; gap: 28px; padding-top: 34px; padding-bottom: 34px; }
.check svg { width: 58px; height: 58px; flex-shrink: 0; }
.check h2 { margin: 0 0 4px; font-size: 1.45rem; }
.check p { margin: 0; color: var(--ink-2); max-width: 44em; }
.check a { color: var(--ink); font-weight: 600; }

footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 40px; font-size: 15px; color: var(--ink-2); }

/* ---------- phones and narrow windows ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { min-height: 0; }
  .chart { top: auto; bottom: 0; width: 900px; height: 440px; }
  .shade { background: linear-gradient(180deg, rgba(15, 37, 54, 1) 0%, rgba(15, 37, 54, 0.9) 50%, rgba(15, 37, 54, 0.05) 66%, rgba(15, 37, 54, 0) 100%); }
  .top { padding-top: 24px; }
  .brand span { font-size: 19px; }
  .lead { padding-top: 44px; padding-bottom: 250px; }
  .lead p { font-size: 1.05rem; }
  .covers { padding: 56px 0 48px; }
  .areas { grid-template-columns: 1fr; }
  .areas li, .areas li + li { padding: 20px 0 18px; border-left: 0; }
  .areas li + li { border-top: 1px solid var(--rule); }
  .check .wrap { align-items: flex-start; gap: 18px; }
  .check svg { width: 44px; height: 44px; }
}
