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

:root {
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --paper: #f8fafc;
  --line: #e4eaf3;
  --blue: #0066ff;
  --blue-deep: #0052cc;
  --blue-mist: rgba(0, 102, 255, 0.12);
  --white: #ffffff;
  --font-display: "Outfit", "Avenir Next", sans-serif;
  --font-body: "Figtree", "Avenir Next", sans-serif;
  --radius: 0.55rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-phone: 0 24px 48px rgba(16, 24, 40, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

address {
  font-style: normal;
}

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

ul {
  list-style: none;
}

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

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 234, 243, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  gap: 1.5rem;
}

.logo img {
  height: 1.85rem;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 1rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: rgba(16, 24, 40, 0.12);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}

.btn--ghost-on-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #f3f6fb;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

/* Hero — full atmospheric product plate, copy blends into the scene */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 4.4rem);
  overflow: hidden;
  color: #e8eef8;
  background: linear-gradient(165deg, #010f2a 0%, #021536 42%, #04204a 100%);
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 48%;
  animation: scene-in 1.2s var(--ease) both;
}

.hero__scene-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #010f2a 0%,
      rgba(1, 15, 42, 0.96) 18%,
      rgba(1, 15, 42, 0.78) 34%,
      rgba(2, 24, 58, 0.35) 52%,
      transparent 68%
    ),
    linear-gradient(
      180deg,
      rgba(1, 12, 32, 0.35) 0%,
      transparent 28%,
      transparent 72%,
      rgba(1, 12, 32, 0.45) 100%
    );
}

.hero__stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(240px, 1.05fr);
  align-items: center;
  min-height: inherit;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
  animation: copy-in 0.9s var(--ease) 0.08s both;
}

.brand-mark {
  width: min(100%, 22rem);
  height: auto;
  margin-bottom: 1.15rem;
  filter: drop-shadow(0 8px 24px rgba(0, 20, 60, 0.55));
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #f7faff;
  max-width: 12ch;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(1, 12, 32, 0.55);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  color: rgba(214, 225, 242, 0.86);
  max-width: 42ch;
  margin-bottom: 1.7rem;
  line-height: 1.55;
  text-shadow: 0 1px 16px rgba(1, 12, 32, 0.45);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes scene-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

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

/* Pillars */
.strip {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.strip__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.pillars li {
  padding: 1.35rem 1.25rem 1.45rem;
  border-top: 2px solid var(--blue);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
}

.pillars strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.pillars span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Gateway web portal screenshot */
.portal {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.03), transparent 40%);
}

.portal__intro {
  max-width: 1180px;
  margin: 0 auto 1.75rem;
  padding: 0 1.5rem;
}

.portal__frame {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.portal__frame img {
  width: 100%;
  height: auto;
  border-radius: 0.65rem;
  border: 1px solid rgba(16, 24, 40, 0.1);
  box-shadow:
    0 24px 48px rgba(16, 24, 40, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.65) inset;
  background: #fff;
}

/* Feature rows */
.feature {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.feature--left {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature__lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 1.25rem;
}

.bullets {
  display: grid;
  gap: 0.65rem;
}

.bullets li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--blue);
}

.phone {
  margin: 0;
  justify-self: center;
  width: min(100%, 300px);
  border-radius: 1.55rem;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  background: #0f172a;
  transform: translateY(0);
  transition: transform 0.45s var(--ease);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone--sm {
  width: min(100%, 260px);
}

.reveal.in-view .phone {
  transform: translateY(-6px);
}

/* Roadmap — all three phases */
.phase {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    linear-gradient(180deg, transparent, rgba(10, 102, 255, 0.05) 30%, transparent),
    linear-gradient(90deg, transparent, rgba(213, 222, 236, 0.55), transparent);
}

.phase__intro {
  max-width: 1180px;
  margin: 0 auto 2.25rem;
  padding: 0 1.5rem;
}

.phase__layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.phase__phone {
  position: sticky;
  top: 5.5rem;
  justify-self: center;
}

.roadmap {
  display: grid;
  gap: 0;
  counter-reset: none;
  border-left: 2px solid rgba(0, 102, 255, 0.22);
  padding-left: 1.35rem;
}

.roadmap__item {
  position: relative;
  padding: 0 0 2rem;
}

.roadmap__item:last-child {
  padding-bottom: 0;
}

.roadmap__item::before {
  content: "";
  position: absolute;
  left: calc(-1.35rem - 5px);
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
}

.roadmap__item--next::before {
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}

.roadmap__item--future::before {
  background: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.22);
}

.roadmap__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-bottom: 0.55rem;
}

.roadmap__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 0.3rem;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.roadmap__item--next .roadmap__badge {
  background: rgba(0, 102, 255, 0.12);
  color: var(--blue-deep);
}

.roadmap__item--future .roadmap__badge {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
}

.roadmap__timing {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.roadmap__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.roadmap__title span {
  color: var(--blue);
  margin-right: 0.35rem;
}

.roadmap__sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.55rem;
}

.roadmap__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 58ch;
  margin-bottom: 0.85rem;
}

.roadmap__outcomes {
  display: grid;
  gap: 0.4rem;
}

.roadmap__outcomes li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.roadmap__outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: #16a34a;
}

.roadmap__item--next .roadmap__outcomes li::before {
  background: var(--blue);
}

.roadmap__item--future .roadmap__outcomes li::before {
  background: #64748b;
}

/* Notify */
.notify {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.notify__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.notify__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.notify__desc {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 48ch;
}

.notify__form {
  display: flex;
  gap: 0.65rem;
  flex: 1;
  min-width: 260px;
  max-width: 460px;
}

.notify__form input {
  flex: 1;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.notify__form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-mist);
}

/* Contact */
.contact {
  background: linear-gradient(165deg, #0c1222 0%, #15233d 100%);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.contact__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.contact__intro {
  color: rgba(230, 238, 252, 0.72);
  margin-bottom: 2rem;
  max-width: 48ch;
}

.contact__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.contact__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8eb6ff;
  margin-bottom: 0.35rem;
}

.contact__value {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

a.contact__value:hover {
  color: #b9d0ff;
}

/* Footer */
.footer {
  background: #070b14;
  color: rgba(255, 255, 255, 0.55);
  padding: 1.75rem 0;
}

.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.85rem;
}

.form-success {
  padding: 1rem 1.2rem;
  background: var(--blue-mist);
  border: 1px solid rgba(10, 102, 255, 0.28);
  border-radius: var(--radius);
  color: var(--blue-deep);
  font-size: 0.95rem;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

  .pillars {
    grid-template-columns: 1fr 1fr;
  }

  .feature,
  .feature--left,
  .phase__layout {
    grid-template-columns: 1fr;
  }

  .phase__phone {
    position: static;
    order: -1;
    width: min(100%, 240px);
  }

  .feature--left .phone {
    order: -1;
  }

  .hero {
    min-height: min(100dvh, 820px);
  }

  .hero__stage {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 3rem;
    align-items: end;
    min-height: inherit;
  }

  .hero__scene-img {
    object-position: 65% 40%;
  }

  .hero__scene-fade {
    background:
      linear-gradient(
        180deg,
        rgba(1, 15, 42, 0.55) 0%,
        rgba(1, 15, 42, 0.2) 35%,
        rgba(1, 15, 42, 0.75) 62%,
        rgba(1, 15, 42, 0.94) 100%
      ),
      linear-gradient(
        90deg,
        rgba(1, 15, 42, 0.55) 0%,
        transparent 55%
      );
  }

  .hero__content {
    max-width: none;
  }

  .hero__title {
    max-width: 12ch;
  }

  .brand-mark {
    width: min(100%, 18rem);
  }

  .contact__details {
    grid-template-columns: 1fr;
  }
}

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

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .notify__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .notify__form {
    max-width: none;
    flex-direction: column;
  }

  .hero__title {
    max-width: 12ch;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
