:root {
  --ink: #101014;
  --paper: #f8f2e8;
  --muted: #706a61;
  --line: rgba(16, 16, 20, 0.14);
  --teal: #1d9fb8;
  --deep: #0f556a;
  --gold: #f3c74d;
  --orange: #df6c3d;
  --green: #2f8064;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 16, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(16, 16, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 20, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(14px, 3.2vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 242, 232, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ink);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.9rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  padding: 6px 8px;
  border-radius: 8px;
  color: #343029;
  font-size: 0.86rem;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(16, 16, 20, 0.07);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(350px, 0.78fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  min-height: calc(100vh - 68px);
  padding: clamp(28px, 6vw, 76px) clamp(18px, 4vw, 56px) 36px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3.55rem, 8.1vw, 7.8rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.94;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.7vw, 5.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 760px;
  color: #302c27;
  font-size: clamp(1.08rem, 1.75vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 6px 6px 0 var(--ink);
}

.button.secondary {
  background: transparent;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: auto 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.hero-facts div {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.46);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 6px 0 0;
  font-size: clamp(1.16rem, 1.65vw, 1.72rem);
  font-weight: 950;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #e6f6f4 0%, #b8deda 36%, #1d9fb8 37%, #0f556a 100%);
  box-shadow: var(--shadow);
}

#vessel-canvas {
  width: min(100%, 720px);
  aspect-ratio: 1180 / 980;
}

.visual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  background: rgba(16, 16, 20, 0.66);
  backdrop-filter: blur(12px);
}

.visual-caption span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 clamp(18px, 4vw, 56px);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.signal-strip article {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.signal-strip article:last-child {
  border-right: 0;
}

.signal-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
}

.section {
  padding: clamp(60px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.two-column,
.ais-panel,
.operations {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.prose,
.ais-copy,
.operation-grid p,
.data-table {
  color: #302c27;
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
}

.prose p:last-child,
.ais-copy p:last-child,
.operation-grid p:last-child {
  margin-bottom: 0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.details-grid article,
.operation-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.card-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 950;
}

.ais-panel,
.data-table-section {
  background: #ffffff;
}

.radar-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(243, 199, 77, 0.16), transparent 12%),
    radial-gradient(circle at 50% 50%, rgba(29, 159, 184, 0.22), transparent 52%),
    #0e3440;
}

.radar-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
}

.radar-title {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.ring,
.sweep,
.target {
  position: absolute;
  z-index: 1;
}

.ring {
  top: 50%;
  left: 50%;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 160px;
  height: 160px;
}

.ring-two {
  width: 290px;
  height: 290px;
}

.ring-three {
  width: 430px;
  height: 430px;
}

.sweep {
  top: 50%;
  left: 50%;
  width: 210px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: rotate(-24deg);
  transform-origin: left center;
}

.target {
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
}

.target-one {
  top: 43%;
  left: 52%;
  background: var(--gold);
}

.target-two {
  right: 16%;
  bottom: 22%;
}

.target-three {
  top: 26%;
  left: 22%;
  background: var(--teal);
  color: var(--white);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.operation-grid {
  display: grid;
  gap: 14px;
}

.data-table-section h2 {
  max-width: 980px;
}

.data-table {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
}

.data-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(220px, 1fr);
  gap: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.data-table div:last-child {
  border-bottom: 0;
}

.data-table span,
.data-table strong {
  padding: 16px 18px;
}

.data-table span {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 850;
  text-transform: uppercase;
}

.data-table strong {
  color: var(--white);
  font-weight: 900;
}

.faq h2 {
  max-width: 980px;
}

details {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 900;
}

details p {
  max-width: 820px;
  padding-bottom: 22px;
  color: #343029;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: #403a32;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

#favicon-canvas {
  position: fixed;
  left: -9999px;
  width: 1px;
  height: 1px;
}

@media (max-width: 1050px) {
  .hero,
  .two-column,
  .ais-panel,
  .operations {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 460px;
  }

  .signal-strip,
  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-strip article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 5.4rem);
  }

  .hero-facts,
  .signal-strip,
  .details-grid,
  .data-table div {
    grid-template-columns: 1fr;
  }

  .signal-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .signal-strip article:last-child {
    border-bottom: 0;
  }

  .button {
    width: 100%;
  }
}
