:root {
  --bg: #07111b;
  --panel: rgba(9, 18, 32, 0.88);
  --line: rgba(119, 196, 255, 0.18);
  --text: #eff6ff;
  --muted: #9bb0c7;
  --accent: #74e3ff;
  --accent-2: #ffd166;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(116, 227, 255, 0.13), transparent 30%),
    linear-gradient(180deg, #0b1625 0%, var(--bg) 55%, #03070c 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.panel a,
.section a {
  color: var(--accent);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

li {
  color: var(--muted);
  line-height: 1.72;
}

h1 {
  margin: 0;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Layout */
.page {
  width: min(calc(100% - 24px), 960px);
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Brand */
.brand {
  text-decoration: none;
  color: var(--text);
}

.brand strong {
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Navigation & Buttons */
.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: var(--text);
}

.button.primary {
  border-color: transparent;
  color: #04121f;
  background: linear-gradient(135deg, var(--accent), #9bf7d6);
  font-weight: 700;
}

/* Panes & Sections */
.panel,
.hero,
.section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 28px;
}

.section {
  padding: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 0;
  overflow: hidden;
}

.hero-copy {
  padding: 28px;
}

.hero-about {
  margin-top: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.lead {
  max-width: 42rem;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

/* Home Page Hero Styles */
h1.main-title {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

/* Sub-page Title Styles */
.panel h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.95;
}

.cta-row,
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Hero Media */
.hero-media {
  padding: 0;
  display: flex;
  align-items: stretch;
}

.media-shell {
  width: 100%;
  height: 100%;
  display: flex;
}

.media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.media-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  border: 0;
}

.media-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.media-slide.image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.media-slide[data-kind="video"] {
  inset: -38.5% 0;
  height: 177%;
}

/* Sections & Grid */
.sections {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

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

.card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text);
}

.meta {
  display: grid;
  gap: 10px;
}

/* Privacy Page Specific */
.stack {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.stack ul {
  margin: 0;
  padding-left: 18px;
}

/* Responsiveness */
@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero-media {
    padding: 0 20px 20px;
  }

  .media-frame {
    min-height: 520px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section,
  .panel {
    padding: 20px;
  }
}
