:root {
  --sea-deep: #071422;
  --sea-mid: #0d2136;
  --sea-foam: #1a4d66;
  --sea-accent: #3b82a8;
  --sea-sand: #c4b08a;
  --bg: #0b1828;
  --fg: #e8eef4;
  --muted: #94a3b8;
  --line: rgba(148, 185, 214, 0.16);
  --panel: rgba(8, 22, 38, 0.92);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

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

a {
  color: #7dd3fc;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #e0f2fe;
}

h1,
h2,
h3,
.logo {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 20, 34, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.logo {
  color: var(--fg);
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a[aria-current="page"] {
  color: var(--sea-sand);
}

.site-nav .login {
  border: 1px solid var(--sea-accent);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  color: #e0f2fe;
}

.subnav {
  position: relative;
}

.subnav-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  margin: 0.35rem 0 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--sea-mid);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.subnav:hover .subnav-list,
.subnav:focus-within .subnav-list {
  display: block;
}

.subnav-list a {
  display: block;
  padding: 0.4rem 0.9rem;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 168, 0.18), transparent 50%),
    linear-gradient(180deg, var(--sea-deep), var(--bg));
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.slides {
  position: relative;
}

.slide {
  display: none;
}

.slide.is-active {
  display: block;
}

.slide h1,
.slide h2 {
  color: var(--fg);
}

.kicker {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--sea-sand);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--sea-foam);
  color: #f8fafc;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--fg);
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.slider-nav button {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
}

.dots {
  display: flex;
  gap: 0.4rem;
}

.dots button {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: #334155;
  cursor: pointer;
}

.dots button.is-active {
  background: var(--sea-sand);
}

.hero-art {
  justify-self: center;
  width: min(100%, 22rem);
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  color: var(--fg);
}

.lead {
  max-width: 42rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  counter-reset: step;
}

.step {
  border-top: 2px solid var(--sea-foam);
  padding-top: 0.75rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  color: var(--sea-sand);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.cta-band {
  background: var(--sea-mid);
  border-block: 1px solid var(--line);
  text-align: center;
}

.cta-band h2,
.cta-band p {
  color: var(--fg);
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  color: var(--fg);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid a {
  color: var(--muted);
  text-decoration: none;
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #64748b;
}

.form {
  display: grid;
  gap: 0.75rem;
  max-width: 32rem;
}

.form label {
  font-size: 0.9rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid #334155;
  background: #07111d;
  color: var(--fg);
}

.form button {
  justify-self: start;
  cursor: pointer;
  border: 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: 4rem 1rem auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: var(--sea-mid);
    border: 1px solid var(--line);
    border-radius: 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .subnav-list {
    position: static;
    display: block;
    border: 0;
    background: transparent;
    padding-left: 0.5rem;
  }

  .hero-grid,
  .cards,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
