:root {
  --ink: #142029;
  --muted: #5b6b75;
  --paper: #f7f3ea;
  --panel: #ffffff;
  --line: #d9e1dc;
  --signal: #00a88f;
  --signal-dark: #006f63;
  --blueprint: #123c69;
  --copper: #bf6b35;
  --shadow: 0 24px 80px rgba(20, 32, 41, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Aptos", "Noto Sans", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 168, 143, 0.16), transparent 30rem),
    radial-gradient(circle at 90% 8%, rgba(18, 60, 105, 0.14), transparent 25rem),
    linear-gradient(135deg, #fbf8f0 0%, #edf4f2 58%, #f8efe4 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(18, 32, 41, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 32, 41, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(18px);
  background: rgba(247, 243, 234, 0.82);
  border-bottom: 1px solid rgba(20, 32, 41, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: white;
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--blueprint), var(--signal));
  box-shadow: 0 14px 35px rgba(18, 60, 105, 0.26);
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Aptos Display", "Trebuchet MS", "Gill Sans", sans-serif;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.site-nav .nav-pill {
  color: white;
  background: var(--ink);
}

.site-nav .nav-pill:hover,
.site-nav .nav-pill.active {
  color: white;
  background: var(--signal-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 72px) 64px;
}

.hero-copy h1,
.page-hero h1,
.portal-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(44px, 6.8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.lead,
.page-hero p,
.portal-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--signal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions,
.contact-panel,
.portal-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(20, 32, 41, 0.12);
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.hero-panel {
  position: relative;
  min-height: 560px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 20% 25%, rgba(0, 168, 143, 0.18), transparent 24rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trace {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  transform-origin: left;
}

.trace-a {
  top: 38%;
  left: 6%;
  width: 88%;
  transform: rotate(-18deg);
}

.trace-b {
  top: 56%;
  left: 9%;
  width: 82%;
  transform: rotate(16deg);
}

.board-card {
  position: relative;
  width: min(100%, 360px);
  padding: 28px;
  border-radius: 28px;
  color: white;
  background: linear-gradient(145deg, #123c69, #0f746a);
  box-shadow: 0 28px 64px rgba(18, 60, 105, 0.28);
}

.board-card strong {
  display: block;
  margin: 4px 0;
  font-size: 32px;
}

.board-card small,
.metric-grid small {
  color: rgba(255, 255, 255, 0.74);
}

.board-card.compact {
  margin: 72px 0 0 auto;
  background: linear-gradient(145deg, #28343d, #bf6b35);
}

.metric-grid {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-grid div {
  padding: 16px;
  border-radius: 20px;
  color: white;
  background: rgba(20, 32, 41, 0.82);
}

.metric-grid strong {
  display: block;
}

.section,
.page-hero,
.portal-hero,
.product-list,
.timeline,
.portal-cards,
.notice {
  padding: 54px clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(28px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
}

.section h2,
.contact-panel h2,
.portal-strip h2,
.notice h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.capability-grid,
.proof-grid,
.portal-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.capability-card,
.proof-item,
.product-card,
.timeline-step,
.portal-card,
.notice,
.contact-panel,
.portal-strip {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 50px rgba(20, 32, 41, 0.08);
}

.capability-card,
.proof-item,
.timeline-step {
  padding: 24px;
  border-radius: 28px;
}

.capability-card span,
.timeline-step span,
.portal-card span {
  color: var(--copper);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.capability-card p,
.proof-item p,
.product-card p,
.timeline-step p,
.portal-card p,
.notice li,
.contact-panel p,
.portal-strip p {
  color: var(--muted);
  line-height: 1.72;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.portal-strip,
.contact-panel {
  justify-content: space-between;
  margin: 54px clamp(18px, 5vw, 72px);
  padding: 32px;
  border-radius: 34px;
}

.page-hero,
.portal-hero {
  padding-top: 78px;
}

.product-list,
.timeline {
  display: grid;
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 28px;
  border-radius: 32px;
}

.product-index {
  display: grid;
  place-items: center;
  min-height: 110px;
  border-radius: 26px;
  color: white;
  font-weight: 900;
  background: linear-gradient(145deg, var(--blueprint), var(--signal));
}

.product-card h2,
.timeline-step h2,
.portal-card h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 38px);
}

.product-card ul,
.notice ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

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

.portal-page {
  background:
    radial-gradient(circle at 20% 10%, rgba(191, 107, 53, 0.16), transparent 25rem),
    radial-gradient(circle at 82% 18%, rgba(0, 168, 143, 0.18), transparent 28rem),
    linear-gradient(135deg, #f8f1e5, #edf6f4);
}

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

.portal-card {
  display: block;
  min-height: 280px;
  padding: 30px;
  border-radius: 34px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(20, 32, 41, 0.14);
}

.portal-card strong {
  display: inline-block;
  margin-top: 28px;
  color: var(--signal-dark);
}

.notice {
  margin: 0 clamp(18px, 5vw, 72px) 54px;
  padding: 30px;
  border-radius: 32px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: var(--muted);
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .split,
  .product-card {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

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

  .site-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
  }

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

  .capability-grid,
  .proof-grid,
  .timeline,
  .portal-cards,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero h1,
  .portal-hero h1 {
    font-size: clamp(40px, 14vw, 62px);
  }

  .hero-panel {
    min-height: 620px;
  }

  .board-card.compact {
    margin-top: 34px;
  }

  .metric-grid {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 28px;
  }

  .site-footer,
  .portal-strip,
  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}
