:root {
  color-scheme: light;
  --background: #f8fbff;
  --navy: #0a1633;
  --text: #40506b;
  --blue: #1768ff;
  --page-inline: clamp(2rem, 6.5vw, 6.25rem);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--navy);
  background: var(--background);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100svh;
  margin-inline: auto;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: var(--background);
}

.page-shell::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(248, 251, 255, 0.98) 0%,
      rgba(248, 251, 255, 0.9) 34%,
      rgba(248, 251, 255, 0.32) 58%,
      transparent 76%
    ),
    url("assets/portal-background-with-shadow.webp") center / cover no-repeat;
  content: "";
  pointer-events: none;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  padding-inline: var(--page-inline);
  align-items: center;
  justify-content: space-between;
}

.site-header {
  padding-top: clamp(2rem, 4.6vw, 4rem);
  padding-bottom: 1rem;
}

.wordmark {
  margin: 0;
  color: #123e91;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
}

.tagline {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 500;
}

.tagline-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0.35rem rgba(23, 104, 255, 0.07);
}

main {
  min-height: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100%;
  padding: clamp(2.5rem, 5vh, 4rem) var(--page-inline) clamp(5rem, 8vh, 7rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 5.5rem);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(4.3rem, 6.1vw, 6.1rem);
  font-weight: 620;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h1 span {
  color: var(--blue);
}

.hero-intro {
  margin: clamp(2rem, 3.4vw, 3rem) 0 0;
  color: var(--text);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.7;
}

.launch-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch-status {
  display: flex;
  margin-top: clamp(2.2rem, 3.7vw, 3.2rem);
  align-items: center;
  gap: 1rem;
}

.launch-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  border-radius: 50%;
  place-items: center;
  background: rgba(223, 234, 255, 0.78);
}

.launch-status p {
  margin: 0;
  color: var(--navy);
  font-size: 0.84rem;
  line-height: 1.5;
}

.launch-status strong {
  color: var(--blue);
  font-weight: 600;
}

.portal-stage {
  position: relative;
  width: 100%;
  min-height: clamp(31rem, 58vh, 38rem);
  align-self: stretch;
}

.site-footer {
  gap: 1.8rem;
  padding-top: 1rem;
  padding-bottom: clamp(2rem, 4.5vw, 3.8rem);
  justify-content: flex-start;
}

.site-footer > p {
  margin: 0;
  color: var(--navy);
  font-size: 0.78rem;
}

.social-list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.social-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  color: #243a67;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: var(--blue);
  transform: translateY(-1px);
}

.social-icon:focus-visible {
  border-radius: 0.15rem;
  outline: 2px solid currentColor;
  outline-offset: 0.25rem;
}

.social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
}

.social-icon svg:not([fill="none"]),
.social-icon .fill {
  fill: currentColor;
  stroke: none;
}

.social-linkedin,
.social-facebook {
  width: 1.35rem;
  height: 1.35rem;
}

@media (max-width: 1120px) {
  :root {
    --page-inline: clamp(2.5rem, 5.5vw, 4rem);
  }

  .hero {
    padding-top: clamp(3.5rem, 7vh, 5rem);
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 1.5rem;
  }

  h1 {
    font-size: clamp(3.7rem, 7vw, 4.9rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .portal-stage {
    min-height: 31rem;
  }

  .page-shell::before {
    background-position: center;
  }
}

@media (max-width: 720px) {
  :root {
    --page-inline: 1.35rem;
  }

  .page-shell {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    background: var(--background);
  }

  .page-shell::before {
    display: block;
    background:
      linear-gradient(rgba(248, 251, 255, 0.8), rgba(248, 251, 255, 0.8)),
      url("assets/portal-background-with-shadow.webp") 50% center / cover no-repeat;
  }

  .site-header {
    padding-top: 1.7rem;
    padding-bottom: 0;
  }

  .wordmark {
    font-size: 1.75rem;
  }

  .tagline {
    position: absolute;
    top: 1.8rem;
    right: var(--page-inline);
    width: 9rem;
    max-width: 9rem;
    min-width: 0;
    justify-content: flex-end;
    gap: 0.55rem;
    color: var(--navy);
    font-size: 0.67rem;
    line-height: 1.35;
    text-align: right;
  }

  .tagline > span:first-child {
    display: block;
    width: 7.5rem;
    min-width: 0;
  }

  main {
    display: flex;
    flex: 1;
  }

  .tagline-dot {
    width: 0.48rem;
    height: 0.48rem;
    flex: 0 0 auto;
  }

  .hero {
    display: flex;
    width: 100%;
    min-height: 100%;
    padding-top: clamp(3.5rem, 8vh, 5rem);
    padding-bottom: clamp(2.5rem, 6vh, 3.5rem);
    align-items: center;
  }

  .hero-content {
    max-width: none;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.85rem, 11vw, 3.6rem);
    letter-spacing: -0.07em;
    line-height: 0.96;
  }

  .hero-intro {
    max-width: 19rem;
    margin-top: 1.75rem;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .desktop-break {
    display: none;
  }

  .portal-stage {
    display: none;
  }

  .launch-status {
    margin-top: 2.1rem;
  }

  .launch-status p {
    max-width: 16rem;
    font-size: 0.78rem;
  }

  .site-footer {
    padding-top: 0;
    padding-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 410px) {
  .hero {
    padding-top: 3.75rem;
    padding-bottom: 2.5rem;
  }

  h1 {
    font-size: 2.85rem;
  }

}
