:root {
  --navy-980: #030a13;
  --navy-950: #06111f;
  --navy-925: #071827;
  --navy-900: #0a1d31;
  --navy-850: #0e2a44;
  --blue-600: #4f89c7;
  --blue-500: #6fa8df;
  --blue-400: #8fc5f4;
  --blue-300: #b6dcff;
  --white: #f4f8ff;
  --white-soft: #dceafa;
  --text: #e6eef8;
  --muted: #9fb4c9;
  --muted-2: #7892aa;
  --line: rgba(143, 197, 244, 0.18);
  --line-strong: rgba(143, 197, 244, 0.32);
  --panel: rgba(10, 29, 49, 0.72);
  --panel-2: rgba(14, 42, 68, 0.56);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 12%, rgba(79, 137, 199, 0.16), transparent 30rem),
    radial-gradient(circle at 10% 0%, rgba(111, 168, 223, 0.10), transparent 28rem),
    linear-gradient(180deg, var(--navy-950), var(--navy-980) 60%, #02070d);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(143, 197, 244, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 197, 244, 0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 55% 20%, black, transparent 74%);
}

a { color: inherit; }
img, svg { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  padding: .6rem .9rem;
  background: var(--white);
  color: var(--navy-950);
  border-radius: var(--radius-sm);
  z-index: 10;
}
.skip-link:focus { left: 1rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(16px);
  background: rgba(3, 10, 19, 0.74);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .82rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.brand-mark {
  width: 45px;
  height: 45px;
  display: inline-grid;
  place-items: center;
  filter: drop-shadow(0 0 18px rgba(111, 168, 223, 0.18));
}
.brand-mark img { width: 45px; height: 45px; display: block; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
}
.brand-text .brand-primary {
  font-size: .98rem;
  letter-spacing: .18em;
  color: var(--white);
}
.brand-text .brand-secondary {
  margin-top: .24rem;
  font-size: .62rem;
  letter-spacing: .38em;
  color: var(--blue-500);
}
.nav {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .94rem;
  color: var(--muted);
}
.nav a {
  text-decoration: none;
  font-weight: 650;
}
.nav a:hover { color: var(--white); }
.nav-button {
  padding: .55rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(111, 168, 223, 0.09);
  color: var(--white);
}

.section { padding: 88px 0; }
.section.compact { padding: 62px 0; }
.muted {
  background:
    linear-gradient(180deg, rgba(6,17,31,.86), rgba(3,10,19,.94));
  border-block: 1px solid var(--line);
}
.hero {
  position: relative;
  padding: 106px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 25%, rgba(79, 137, 199, 0.18), transparent 32rem),
    radial-gradient(circle at 18% 48%, rgba(143, 197, 244, 0.14), transparent 34rem),
    linear-gradient(180deg, rgba(6,17,31,.55), rgba(3,10,19,.18));
}
.hero::after {
  content: "";
  position: absolute;
  right: -10rem;
  top: 2rem;
  width: min(55vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(143, 197, 244, 0.08);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(111, 168, 223, 0.04);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, .65fr);
  gap: 3rem;
  align-items: center;
}
.logo-lockup {
  width: min(100%, 560px);
  margin-bottom: 2.2rem;
  filter: drop-shadow(0 0 28px rgba(111, 168, 223, 0.10));
}

.hero-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.15rem;
  filter: drop-shadow(0 0 28px rgba(111, 168, 223, 0.10));
}
.hero-logo-mark {
  width: clamp(58px, 9vw, 86px);
  height: clamp(58px, 9vw, 86px);
  display: block;
  flex: 0 0 auto;
}
.hero-logo-text {
  display: grid;
  gap: .32rem;
  text-transform: uppercase;
  line-height: .95;
}
.hero-logo-primary {
  color: var(--white);
  font-size: clamp(1.55rem, 4.2vw, 3rem);
  font-weight: 850;
  letter-spacing: .18em;
}
.hero-logo-secondary {
  color: var(--blue-400);
  font-size: clamp(.85rem, 2vw, 1.2rem);
  font-weight: 750;
  letter-spacing: .36em;
}
.eyebrow {
  margin: 0 0 .85rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .75rem;
  font-weight: 850;
  color: var(--blue-400);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3rem, 6.6vw, 5.8rem);
  line-height: .95;
  letter-spacing: -0.07em;
  color: var(--white);
  margin-bottom: 1.35rem;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  color: var(--white);
  margin-bottom: 1.05rem;
}
h3 {
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}
.lede {
  font-size: clamp(1.18rem, 2vw, 1.43rem);
  color: var(--white-soft);
  max-width: 710px;
}
.lede.small { font-size: 1.18rem; color: var(--muted); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 2rem 0 1rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.08rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #02101d;
  box-shadow: 0 14px 30px rgba(79, 137, 199, .20);
}
.button.secondary {
  background: rgba(244, 248, 255, 0.05);
  color: var(--white);
  border-color: var(--line-strong);
}
.button.light {
  background: var(--white);
  color: var(--navy-950);
  border-color: rgba(255,255,255,.45);
  white-space: nowrap;
}
.microcopy { color: var(--muted); font-size: .96rem; }
.hero-card {
  background:
    linear-gradient(180deg, rgba(10,29,49,.86), rgba(6,17,31,.92));
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 1rem 1rem auto auto;
  width: 118px;
  aspect-ratio: 1;
  background: url('/assets/portside-mark.svg') center / contain no-repeat;
  opacity: .12;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -35% -35% 5%;
  height: 220px;
  background: radial-gradient(circle, rgba(111,168,223,.18), transparent 65%);
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card h2 {
  color: var(--white);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
}
.hero-card p { color: var(--muted); }
.card-topline {
  color: var(--blue-400);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.check-list, .kit-list { list-style: none; padding: 0; margin: 1.35rem 0 0; }
.check-list li, .kit-list li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: .72rem;
  color: var(--white-soft);
}
.check-list li::before, .kit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(111, 168, 223, .12);
}
.two-column {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 3rem;
}
.align-center { align-items: center; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.large-prose p { font-size: 1.08rem; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.prose a { color: var(--blue-300); }
.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}
.question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.question-card {
  background: linear-gradient(180deg, rgba(14,42,68,.72), rgba(6,17,31,.72));
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 800;
  color: var(--white);
  min-height: 118px;
  display: flex;
  align-items: flex-end;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card, .kit-list-wrap, .contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}
.feature-card p { margin-bottom: 0; color: var(--muted); }
.product-section {
  background:
    radial-gradient(circle at 88% 25%, rgba(79, 137, 199, 0.10), transparent 28rem),
    rgba(3, 10, 19, 0.52);
}
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(310px, .72fr);
  gap: 3rem;
  align-items: start;
}
.kit-list-wrap {
  background: linear-gradient(180deg, rgba(14,42,68,.78), rgba(6,17,31,.88));
  box-shadow: var(--shadow);
}
.kit-list li::before { background: var(--blue-400); }
.newsletter-section {
  background:
    radial-gradient(circle at 18% 40%, rgba(111, 168, 223, 0.18), transparent 30rem),
    linear-gradient(180deg, #071827, #030a13);
  color: var(--white);
  border-block: 1px solid var(--line);
}
.newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.newsletter-card h2, .newsletter-card .eyebrow { color: var(--white); }
.newsletter-card .eyebrow { color: var(--blue-400); }
.newsletter-card p { color: var(--muted); max-width: 680px; }
.contact-panel a {
  font-weight: 850;
  color: var(--blue-300);
  font-size: 1.12rem;
}
.page-main { background: linear-gradient(180deg, rgba(6,17,31,.45), rgba(3,10,19,.15)); }
.page-hero { padding-bottom: 48px; }
.legal-copy .note {
  padding: 1rem;
  border-left: 4px solid var(--blue-500);
  background: rgba(111,168,223,.08);
  font-size: .98rem;
}
.site-footer {
  background: #02070d;
  color: var(--white-soft);
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-inner p { margin: .2rem 0 0; color: var(--muted); }
.footer-inner nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}
.footer-inner a:hover { color: var(--white); }

@media (max-width: 860px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: .2rem; }
  .hero-grid, .two-column, .product-grid { grid-template-columns: 1fr; }
  .question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter-card { flex-direction: column; align-items: flex-start; }
  .logo-lockup { width: min(100%, 480px); }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { padding: 72px 0; }
  .question-grid, .cards-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .brand-text .brand-primary { font-size: .86rem; letter-spacing: .14em; }
  .brand-text .brand-secondary { font-size: .58rem; letter-spacing: .28em; }
  .brand-mark, .brand-mark img { width: 40px; height: 40px; }
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.resource-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(14,42,68,.72), rgba(6,17,31,.78));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.45rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
}
.resource-card.highlight {
  border-color: rgba(143, 197, 244, .38);
  background: linear-gradient(180deg, rgba(14,42,68,.9), rgba(6,17,31,.86));
}
.resource-label,
.status {
  color: var(--blue-400);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .7rem;
  font-weight: 850;
}
.resource-card p { color: var(--muted); }
.resource-card .status {
  margin-top: auto;
  margin-bottom: 0;
  color: var(--blue-300);
}
.note {
  padding: 1rem;
  border-left: 4px solid var(--blue-500);
  background: rgba(111,168,223,.08);
  color: var(--white-soft);
}
.compact-note {
  font-size: .98rem;
  margin: 1.4rem 0;
}
.contact-page-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.large-link {
  color: var(--blue-300);
  font-weight: 850;
  font-size: 1.2rem;
}
@media (max-width: 860px) {
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .resource-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-logo-lockup { gap: .75rem; margin-bottom: 2rem; }
  .hero-logo-mark { width: 52px; height: 52px; }
  .hero-logo-primary { font-size: 1.35rem; letter-spacing: .16em; }
  .hero-logo-secondary { font-size: .78rem; letter-spacing: .28em; }
}
