@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}

/* Metric-matched fallback so the Poppins swap doesn't shift layout */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial");
  size-adjust: 112.1%;
  ascent-override: 93.6%;
  descent-override: 31.2%;
  line-gap-override: 8.9%;
}

:root {
  --black: #0b0b0c;
  --ink: #1c1d22;
  --muted: #5b6070;
  --blue-deep: #2a3fbf;
  --blue: #2563d6;
  --cyan: #06b3e0;
  --brand-gradient: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 45%, var(--cyan) 100%);
  /* Darker end stop keeps gradient text above 4.5:1 on white */
  --text-gradient: linear-gradient(120deg, var(--blue-deep) 0%, #1d5fc9 50%, #0878a8 100%);
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 20%, var(--bg-soft) 0%, var(--bg) 55%);
  -webkit-font-smoothing: antialiased;
}

/* Background: slanted bars echoing the logo's parallelograms */
.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.stripe {
  position: absolute;
  top: -20%;
  height: 140%;
  transform: skewX(-22deg) translate3d(var(--px, 0), 0, 0);
  transition: transform 0.6s ease-out;
}

.stripe--1 {
  right: 14%;
  width: clamp(40px, 6vw, 110px);
  background: var(--black);
  opacity: 0.05;
}

.stripe--2 {
  right: 4%;
  width: clamp(60px, 9vw, 160px);
  background: var(--brand-gradient);
  opacity: 0.12;
}

.stripe--3 {
  right: -6%;
  width: clamp(60px, 9vw, 160px);
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  opacity: 0.08;
}

/* Layout: exactly one viewport, no scrolling */
.page {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(14px, 3vh, 32px) clamp(18px, 5vw, 64px);
}

.top {
  display: flex;
  justify-content: center;
}

.badge {
  display: inline-flex;
  margin: 0;
  align-items: center;
  gap: 0.55em;
  font-size: clamp(0.7rem, 1.6vh, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5em 1.1em;
  border: 1px solid rgba(37, 99, 214, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.dot {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(6, 179, 224, 0.6);
  animation: pulse 2.2s infinite;
}

.hero {
  align-self: center;
  justify-self: center;
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.logo {
  width: auto;
  height: clamp(80px, 22vh, 210px);
  max-width: 70vw;
  object-fit: contain;
  margin-bottom: clamp(14px, 3.5vh, 36px);
  animation: rise 0.9s ease-out both;
}

.eyebrow {
  display: block;
  font-size: clamp(0.75rem, 1.8vh, 0.95rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: clamp(6px, 1.4vh, 14px);
}

.title {
  font-size: clamp(1.45rem, min(5.2vw, 5.6vh), 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: clamp(8px, 2vh, 20px);
  animation: rise 0.9s 0.2s ease-out both;
}

.accent {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(0.85rem, min(2.2vw, 2.1vh), 1.1rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: clamp(14px, 3.5vh, 34px);
  animation: rise 0.9s 0.2s ease-out both;
}

.pillars {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(6px, 1.2vh, 12px);
  animation: rise 0.9s 0.3s ease-out both;
}

.pillars li {
  position: relative;
  font-size: clamp(0.72rem, 1.7vh, 0.9rem);
  font-weight: 500;
  color: var(--ink);
  padding: 0.55em 1.2em 0.55em 1.9em;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11, 11, 12, 0.08);
  box-shadow: 0 4px 14px rgba(42, 63, 191, 0.07);
}

.pillars li::before {
  content: "";
  position: absolute;
  left: 0.9em;
  top: 50%;
  width: 0.45em;
  height: 0.9em;
  background: var(--brand-gradient);
  transform: translateY(-50%) skewX(-20deg);
  border-radius: 1px;
}

.bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3em 0.8em;
  font-size: clamp(0.7rem, 1.5vh, 0.8rem);
  color: var(--muted);
  text-align: center;
}

.sep {
  opacity: 0.4;
}

.bottom a {
  font-weight: 600;
  color: #1d5fc9;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.bottom a:hover {
  color: var(--blue-deep);
  text-decoration-thickness: 2px;
}

.bottom a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Transform-only entrance: starting at opacity 0 would delay LCP */
@keyframes rise {
  from {
    transform: translateY(14px);
  }
  to {
    transform: none;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(6, 179, 224, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 179, 224, 0);
  }
}

@media (max-width: 600px) {
  .sep {
    display: none;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }

  .stripe--1 {
    right: 30%;
  }

  .stripe--2 {
    right: 10%;
  }
}

/* Very short screens (landscape phones): drop secondary content to stay within one viewport */
@media (max-height: 520px) {
  .pillars,
  .badge {
    display: none;
  }

  .lead {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
