:root {
  --bg: #07131f;
  --bg-deep: #04101a;
  --panel: rgba(14, 28, 43, 0.72);
  --panel-strong: rgba(17, 37, 57, 0.88);
  --line: rgba(173, 226, 255, 0.16);
  --line-strong: rgba(121, 201, 255, 0.34);
  --text: #f2fbff;
  --muted: #a7c7da;
  --accent: #73d8ff;
  --accent-strong: #3f7eff;
  --accent-soft: #163c5c;
  --mint: #4ed7b4;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 18%, rgba(63, 126, 255, 0.24), transparent 30%),
    radial-gradient(circle at 84% 14%, rgba(115, 216, 255, 0.22), transparent 24%),
    linear-gradient(180deg, #081521 0%, #07111a 56%, #050d15 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.lagoon-backdrop {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(147, 213, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 213, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
  pointer-events: none;
}

.export-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0 64px;
}

.reservoir-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 19, 31, 0.72);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 12px;
  z-index: 10;
}

.back-current,
.status-bead,
.topbar-brand,
.topbar-link {
  font-size: 0.95rem;
}

.back-current,
.status-bead,
.topbar-link {
  color: var(--muted);
  text-decoration: none;
}

.back-current:hover,
.back-current:focus-visible,
.cta-primary:hover,
.cta-primary:focus-visible,
.cta-secondary:hover,
.cta-secondary:focus-visible {
  transform: translateY(-1px);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-bead {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22, 48, 71, 0.56);
}

.topbar-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
}

.topbar-link:hover,
.topbar-link:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

main {
  display: grid;
  gap: 28px;
}

.section-band,
.glasswell {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.glasswell {
  border-radius: var(--radius-xl);
}

.current-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  padding: 38px;
}

.hero-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 28, 45, 0.9), rgba(9, 18, 28, 0.82));
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

h1,
h2,
h3,
strong,
summary {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 17ch;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.15;
}

.hero-subhead,
.origin-copy p,
.feature-vessel p,
.flow-step p,
.proof-cell p,
.availability-card p,
.final-cta p,
.faq-item p,
.visual-notes li,
.field-notes li {
  color: var(--muted);
}

.hero-subhead {
  max-width: 58ch;
  font-size: 1.05rem;
  margin: 22px 0 28px;
}

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

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cta-primary {
  color: #05101a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 45%),
    linear-gradient(135deg, #93e9ff 0%, #78caff 45%, #54f2d0 100%);
}

.cta-secondary {
  background: rgba(16, 37, 58, 0.72);
  border-color: var(--line-strong);
  color: var(--text);
}

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

.signal-strip div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(179, 229, 255, 0.12);
}

.signal-strip dt {
  font-size: 0.77rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.signal-strip dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.section-band {
  padding: 32px;
  border-radius: var(--radius-xl);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
}

.origin-copy {
  display: grid;
  gap: 18px;
  font-size: 1rem;
}

.field-notes {
  padding: 22px;
  border-radius: 26px;
  background: rgba(8, 20, 31, 0.72);
  border: 1px solid var(--line);
}

.field-notes h3 {
  margin-bottom: 14px;
}

.field-notes ul,
.visual-notes ul {
  margin: 0;
  padding-left: 20px;
}

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

.feature-vessel,
.proof-cell {
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(9, 20, 31, 0.68);
  border: 1px solid rgba(200, 240, 255, 0.1);
}

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

.flow-step {
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(63, 126, 255, 0.12), rgba(115, 216, 255, 0.04)),
    rgba(8, 21, 33, 0.76);
  border: 1px solid rgba(164, 220, 255, 0.12);
}

.flow-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
}

.visual-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.visual-frame {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(196, 236, 255, 0.14);
  background: rgba(7, 18, 28, 0.82);
}

.visual-frame img {
  width: 100%;
  height: auto;
}

.visual-frame figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.visual-notes {
  padding: 28px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.proof-label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
}

.proof-cell strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.availability-card,
.final-cta {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
}

.faq-stack {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(191, 235, 255, 0.12);
  border-radius: 22px;
  background: rgba(10, 22, 33, 0.72);
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] p {
  margin: 12px 0 0;
}

.final-band {
  background:
    radial-gradient(circle at top right, rgba(115, 216, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(78, 215, 180, 0.14), transparent 24%),
    var(--panel-strong);
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .current-hero,
  .origin-grid,
  .visual-pair,
  .availability-card,
  .final-cta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .feature-riff {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .export-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .reservoir-topbar {
    border-radius: 26px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .topbar-actions {
    flex-wrap: wrap;
  }

  .hero-copy,
  .section-band,
  .visual-notes,
  .field-notes,
  .availability-card,
  .final-cta {
    padding: 22px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .signal-strip,
  .workflow-channel,
  .feature-riff,
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
