:root {
  --navy: #061d35;
  --deep: #041427;
  --panel: rgba(6, 31, 56, 0.78);
  --panel-strong: rgba(4, 20, 39, 0.92);
  --gold: #ffc64a;
  --gold-dark: #b56b14;
  --ice: #e8f5ff;
  --mist: #a9c7d8;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ice);
  background: var(--deep);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(4, 14, 28, 0.35), rgba(4, 14, 28, 0.9) 72%, #020b16),
    url("assets/nordic-ocean-background.png") center / cover no-repeat;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at 50% 5%, rgba(49, 213, 198, 0.18), transparent 36%);
  pointer-events: none;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(3, 14, 27, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.brand span {
  color: var(--gold);
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--mist);
  font-weight: 800;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--gold);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(42px, 9vw, 96px) 0 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: var(--gold);
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.subtitle {
  margin: 22px 0 0;
  max-width: 640px;
  color: white;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.1;
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 560px;
  color: #cfe3ef;
  font-size: 1.12rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--panel);
  color: var(--ice);
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  border-color: #ffd978;
  background: linear-gradient(180deg, #ffe189, #f7a91e 52%, #9b5311);
  color: #061d35;
  box-shadow: 0 12px 34px rgba(245, 171, 33, 0.28);
}

.phone {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(5, 22, 42, 0.12), rgba(5, 22, 42, 0.72)),
    url("assets/viking-row-feature.png") center / cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  pointer-events: none;
}

.ship {
  position: absolute;
  right: -5%;
  bottom: 5%;
  width: min(108%, 720px);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.44));
}

.mode-card {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 12%;
  padding: 24px;
  background: rgba(3, 18, 34, 0.78);
  border-top: 5px solid var(--gold);
}

.mode-card h2 {
  color: var(--gold);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  text-transform: uppercase;
}

.mode-card p {
  margin: 12px 0 0;
  color: #d8ebf5;
  font-weight: 800;
}

.section {
  padding: 74px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-title h2 {
  color: var(--gold);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.section-title p {
  color: #c8ddeb;
  font-size: 1.08rem;
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.tile h3 {
  color: white;
  font-size: 1.35rem;
}

.tile p {
  color: #c7ddeb;
  line-height: 1.55;
}

.wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.feature-panel {
  padding: clamp(24px, 5vw, 42px);
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.feature-panel h2 {
  color: var(--gold);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.feature-panel p,
.legal-card p,
.legal-card li {
  color: #cfe3ef;
  line-height: 1.7;
}

.feature-image {
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(6, 29, 53, 0), rgba(6, 29, 53, 0.52)),
    url("assets/viking-row-feature.png") center / cover no-repeat;
  border: 1px solid var(--line);
}

.legal-page {
  padding: 64px 0 90px;
}

.legal-card {
  max-width: 880px;
  padding: clamp(24px, 5vw, 54px);
  background: rgba(232, 245, 255, 0.94);
  color: #071d35;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  color: #071d35;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.legal-card h2 {
  margin-top: 34px;
  color: #0b6fa6;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.legal-card p,
.legal-card li {
  color: #17324c;
}

.legal-card a {
  color: #0b6fa6;
  font-weight: 900;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px clamp(18px, 5vw, 72px);
  color: var(--mist);
  background: rgba(3, 14, 27, 0.76);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  margin-left: 18px;
  text-decoration: none;
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
  }

  .hero,
  .wide,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone {
    min-height: 560px;
  }

  .mode-card {
    top: 8%;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 24px, 1120px);
  }

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

  h1 {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

  .phone {
    min-height: 520px;
    border-radius: 26px;
  }

  .ship {
    right: -38%;
    width: 145%;
  }

  .mode-card {
    left: 6%;
    right: 6%;
    padding: 18px;
  }

  .footer a {
    display: inline-block;
    margin: 8px 14px 0 0;
  }
}
