:root {
  --ink: #06143a;
  --midnight: #031121;
  --ocean: #006bff;
  --aqua: #00c9a7;
  --ember: #ff1430;
  --paper: #f5f9ff;
  --line: rgba(6, 20, 58, 0.12);
  --muted: #53627d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link,
.nav-actions,
.button-row {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 12px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.brand-link img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
  padding: 5px;
  background: #fff;
  border: 1px solid rgba(6, 20, 58, 0.1);
}

.nav-actions {
  gap: 12px;
}

.nav-link,
.portal-link,
.button {
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
  color: #33405d;
}

.portal-link {
  position: relative;
  padding: 11px 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 36px rgba(6, 20, 58, 0.2);
}

.portal-link span {
  position: absolute;
  top: -4px;
  right: -3px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--aqua);
  animation: pulse 1.6s ease-out infinite;
}

.floating-exit {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(6, 20, 58, 0.92);
  color: #fff;
  box-shadow: 0 22px 52px rgba(6, 20, 58, 0.28);
  backdrop-filter: blur(18px);
  font-weight: 950;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.floating-exit span {
  color: #cfe1f8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.floating-exit strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 34px;
  border-radius: 999px;
  background: var(--aqua);
  color: var(--ink);
}

.floating-exit:hover {
  transform: translateY(-4px);
  background: var(--ocean);
  box-shadow: 0 28px 62px rgba(0, 107, 255, 0.28);
}

.nav-link:hover,
.portal-link:hover,
.button:hover {
  transform: translateY(-3px);
}

.hero-section {
  min-height: 92vh;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding-top: 76px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(105deg, rgba(3, 17, 33, 0.98) 0%, rgba(6, 20, 58, 0.88) 48%, rgba(6, 20, 58, 0.28) 100%),
    radial-gradient(circle at 78% 28%, rgba(0, 201, 167, 0.2), transparent 28%);
}

.hero-wrap {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(92vh - 76px);
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 58px;
}

.hero-copy {
  max-width: 760px;
  color: #fff;
}

.eyebrow,
.section-label {
  display: inline-flex;
  margin: 0 0 20px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy h1,
.intro-section h2,
.platform-section h2,
.services-copy h2,
.cta-section h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.hero-copy h1 {
  max-width: 900px;
  font-size: clamp(3.6rem, 9vw, 7.7rem);
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: #e8f3ff;
  font-size: clamp(1.04rem, 2vw, 1.3rem);
  font-weight: 650;
  line-height: 1.72;
}

.button-row {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
}

.button.primary {
  background: var(--aqua);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(0, 201, 167, 0.24);
}

.button.light {
  background: #fff;
  color: var(--ocean);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.button.dark {
  background: var(--ink);
  color: #fff;
}

.button.outline {
  border: 1px solid var(--line);
  color: var(--ink);
}

.button.primary:hover,
.button.light:hover,
.button.dark:hover {
  background: var(--ocean);
  color: #fff;
}

.helper-text {
  max-width: 620px;
  margin: 20px 0 0;
  color: #cfe1f8;
  font-weight: 700;
}

.hero-portrait {
  margin: 0;
  justify-self: end;
}

.hero-portrait img {
  width: 340px;
  height: 450px;
  object-fit: cover;
  object-position: top;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.intro-section,
.platform-section,
.services-section,
.cta-section {
  padding: 96px 0;
}

.section-grid,
.platform-grid,
.services-grid,
.cta-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
}

.section-label {
  color: var(--ocean);
}

.intro-section {
  background: #fff;
}

.intro-section h2,
.services-copy h2,
.cta-section h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.prose {
  display: grid;
  gap: 24px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.prose p {
  margin: 0;
}

.prose a {
  color: var(--ocean);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.platform-section {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 58px;
  align-items: center;
}

.light-label {
  color: var(--aqua);
}

.platform-section h2 {
  max-width: 680px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
}

.platform-section p {
  max-width: 680px;
  margin: 28px 0 0;
  color: #dbeafe;
  font-size: 1.13rem;
  line-height: 1.85;
}

.wide-image {
  margin: 0;
}

.wide-image img {
  width: 100%;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.35);
}

.services-section {
  background:
    linear-gradient(180deg, #eef6ff 0%, #f9fcff 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 68px;
  align-items: center;
}

.life-image {
  margin: 0;
}

.life-image img {
  width: 100%;
  height: min(620px, 74vh);
  object-fit: cover;
  object-position: top;
  border-radius: 42px;
  box-shadow: 0 32px 76px rgba(10, 42, 90, 0.18);
}

.service-list {
  margin-top: 42px;
  display: grid;
  gap: 30px;
}

.service-list article {
  position: relative;
  padding-left: 30px;
}

.service-list article span {
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: calc(100% - 5px);
  border-radius: 999px;
  background: var(--ocean);
}

.service-list article:nth-child(2) span {
  background: var(--aqua);
}

.service-list article:nth-child(3) span {
  background: var(--ember);
}

.service-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.service-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.75;
}

.cta-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  background: #fff;
}

.cta-section h2 {
  max-width: 780px;
}

.cta-buttons {
  justify-content: flex-end;
  margin-top: 0;
}

.reveal {
  animation: riseIn 740ms ease both;
}

.delay {
  animation-delay: 160ms;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.78);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.9);
    opacity: 0;
  }
  100% {
    transform: scale(0.78);
    opacity: 0;
  }
}

@media (max-width: 920px) {
  .nav-link {
    display: none;
  }

  .hero-wrap,
  .section-grid,
  .platform-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-wrap {
    min-height: auto;
    padding: 64px 0 50px;
  }

  .hero-portrait {
    justify-self: start;
  }

  .hero-portrait img {
    width: min(340px, 100%);
    height: 390px;
  }

  .platform-grid,
  .services-grid,
  .section-grid {
    gap: 44px;
  }

  .cta-section {
    align-items: start;
    flex-direction: column;
  }

  .cta-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .nav-wrap {
    width: min(100% - 24px, 1180px);
    min-height: 68px;
  }

  .brand-link span {
    display: none;
  }

  .brand-link img {
    width: 46px;
    height: 46px;
  }

  .portal-link {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .floating-exit {
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding: 8px;
  }

  .floating-exit span {
    display: none;
  }

  .hero-section {
    padding-top: 68px;
  }

  .hero-wrap,
  .section-grid,
  .platform-grid,
  .services-grid,
  .cta-section {
    width: min(100% - 24px, 1180px);
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .button {
    width: 100%;
  }

  .intro-section,
  .platform-section,
  .services-section,
  .cta-section {
    padding: 72px 0;
  }

  .life-image img {
    height: 440px;
    border-radius: 30px;
  }
}
