:root {
  --ocean-950: #071622;
  --ocean-900: #0b2233;
  --ocean-800: #12344f;
  --ocean-700: #1b5279;
  --ocean-500: #2ba9cf;
  --foam-100: #e8fbff;
  --foam-200: #c8f5ff;
  --gold-300: #f3d272;
  --gold-500: #dba93b;
  --reef-300: #78f0dc;
  --panel: rgba(8, 26, 40, 0.82);
  --panel-strong: rgba(6, 20, 31, 0.92);
  --line: rgba(120, 240, 220, 0.22);
  --text: #effcff;
  --muted: #b2d8e3;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(43, 169, 207, 0.18), transparent 34%),
    radial-gradient(circle at 20% 20%, rgba(120, 240, 220, 0.08), transparent 22%),
    linear-gradient(180deg, #04111b 0%, #0b2233 45%, #06131d 100%);
  font-family: Verdana, Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--foam-100);
  text-decoration-color: rgba(232, 251, 255, 0.4);
}

a:hover,
a:focus {
  color: var(--reef-300);
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 18, 29, 0.84);
  border-bottom: 1px solid rgba(243, 210, 114, 0.16);
}

.header-inner,
.page-shell,
.site-footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 78px;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--gold-300);
  font-size: 12px;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.top-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
}

.top-nav a:hover,
.top-nav a:focus,
.top-nav a.is-active {
  background: rgba(120, 240, 220, 0.12);
  border-color: rgba(120, 240, 220, 0.24);
}

.top-nav .home-link {
  color: var(--ocean-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
}

.page-shell {
  padding: 28px 0 56px;
}

.breadcrumbs {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--foam-200);
}

.hero,
.content-panel,
.cta-panel,
.timeline,
.map-list,
.device-list,
.warning-box {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero,
.content-panel,
.cta-panel {
  background: linear-gradient(180deg, rgba(13, 38, 56, 0.92), rgba(7, 23, 35, 0.96));
  border-radius: 28px;
}

.hero {
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 0;
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  color: #ffffff;
  line-height: 1.15;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
}

h3 {
  font-size: 20px;
}

.lead {
  margin: 0;
  color: var(--foam-100);
  font-size: 18px;
  max-width: 62ch;
}

.hero-copy p + p,
.content-panel p + p {
  margin-top: 14px;
}

.hero-art {
  min-height: 100%;
  background: rgba(255, 255, 255, 0.04);
}

.hero-art img {
  min-height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.panel-image img {
  min-height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.content-grid {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.two-column {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.content-panel {
  padding: 28px;
}

.content-panel ul {
  padding-left: 20px;
}

.content-panel li + li {
  margin-top: 8px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.lore-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(17, 51, 75, 0.92), rgba(8, 28, 43, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lore-card span {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lore-card p,
.panel-note,
.site-footer p,
.content-panel p,
.timeline-card p,
.map-list li,
.device-list li,
.warning-box p {
  color: var(--muted);
}

.image-frame,
.panel-image {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.device-list,
.map-list {
  margin: 18px 0 0;
  padding: 20px 20px 20px 38px;
  border-radius: 20px;
  background: var(--panel);
}

.warning-box {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(219, 169, 59, 0.16), rgba(120, 240, 220, 0.08));
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 10px 0 10px 22px;
  border-left: 3px solid rgba(120, 240, 220, 0.35);
}

.timeline-card {
  position: relative;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 5px rgba(243, 210, 114, 0.14);
}

.cta-panel {
  margin-top: 24px;
  padding: 22px 24px;
}

.cta-panel a,
.site-footer a {
  color: var(--gold-300);
}

.site-footer {
  border-top: 1px solid rgba(243, 210, 114, 0.12);
  background: rgba(4, 15, 23, 0.9);
}

.site-footer-inner {
  padding: 26px 0 34px;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 8px;
}

@media (max-width: 960px) {
  .hero-grid,
  .two-column,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .content-panel {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .page-shell,
  .header-inner,
  .site-footer-inner {
    width: min(100% - 24px, 1160px);
  }
}
