:root {
  --navy: #091e3d;
  --navy-soft: #14325a;
  --navy-deep: #061428;
  --bg: #e0e0e5;
  --card: #ffffff;
  --text: #091e3d;
  --muted: #5c6478;
  --line: #d0d3db;
  --gold: #d4a017;
  --teal: #1aa6b8;
  --content: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(26, 166, 184, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(212, 160, 23, 0.12), transparent 50%),
    linear-gradient(180deg, #dfe3ea 0%, var(--bg) 45%, #d8dbe3 100%);
  min-height: 100vh;
  line-height: 1.65;
}

a {
  color: var(--navy-soft);
}

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

.page {
  padding-bottom: 48px;
}

.wrap {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

/* Full-bleed app-style header */
.topbar {
  width: 100%;
  background: var(--navy);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 24px rgba(9, 30, 61, 0.28);
  padding: 16px 0 20px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.topbar::before {
  width: 280px;
  height: 280px;
  right: -80px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(26, 166, 184, 0.32), transparent 70%);
}

.topbar::after {
  width: 180px;
  height: 180px;
  left: -40px;
  top: -90px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.18), transparent 70%);
}

.topbar-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  min-width: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero,
.card,
.prose,
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(9, 30, 61, 0.07);
}

.hero {
  padding: clamp(22px, 4vw, 36px);
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--navy), var(--teal), var(--gold));
}

.hero-icon {
  width: clamp(84px, 14vw, 112px);
  height: clamp(84px, 14vw, 112px);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(9, 30, 61, 0.2);
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  line-height: 1.2;
  color: var(--navy);
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 54ch;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(9, 30, 61, 0.06);
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-soft);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--navy-deep);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #c48912);
  color: #fff;
}

.btn-gold:hover {
  filter: brightness(1.05);
  color: #fff;
}

.section-title {
  margin: 28px 0 12px;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}

.section-lead {
  margin: -4px 0 16px;
  color: var(--muted);
  max-width: 60ch;
}

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

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

.card,
.panel {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--gold));
  opacity: 0.85;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 6px 14px rgba(9, 30, 61, 0.18);
}

.card h2,
.panel h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--navy);
}

.card p,
.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card a {
  color: var(--navy-soft);
  font-weight: 600;
  text-decoration: none;
}

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

.list-clean {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}

.list-clean li + li {
  margin-top: 10px;
}

.list-clean li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal), var(--gold));
}

.prose {
  padding: clamp(20px, 3vw, 28px);
}

.prose h1 {
  margin-top: 0;
  color: var(--navy);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
}

.prose h2 {
  margin-top: 1.75rem;
  color: var(--navy);
  font-size: 1.12rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.muted {
  color: var(--muted);
}

.footer {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

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

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

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    border-radius: 0 0 28px 28px;
    margin-bottom: 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
  }

  .topbar.is-open .nav-links {
    display: flex;
  }

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

  .nav-links a {
    text-align: center;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
  }

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

  .hero::before {
    width: 100%;
    height: 5px;
    inset: 0 0 auto 0;
    background: linear-gradient(90deg, var(--navy), var(--teal), var(--gold));
  }

  .hero-icon {
    margin: 0 auto;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .actions {
    justify-content: center;
  }

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

  .prose,
  .card,
  .panel {
    border-radius: 16px;
  }
}
