:root {
  color-scheme: light;
  font-family: Inter, Helvetica, Arial, sans-serif;
  background: #f8f9fa;
  color: #111318;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: #f8f9fa;
}

.home-shell {
  display: grid;
  width: min(100%, 1248px);
  min-height: 100dvh;
  margin: 0 auto;
  grid-template-rows: auto 1fr auto;
  padding: 28px 24px 24px;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  color: #050505;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 48px;
  height: 34px;
  object-fit: contain;
}

.brand span {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.welcome {
  display: block;
  width: 100%;
  max-width: 1180px;
  align-self: center;
  margin: 40px auto;
}

.welcome-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(52vw, 650px);
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 76px) clamp(44px, 6vw, 84px) clamp(40px, 6vw, 76px) 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #1e73be;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow span {
  width: 42px;
  height: 2px;
  background: #1e73be;
}

h1 {
  max-width: 660px;
  margin: 0;
  color: #050505;
  font-size: clamp(52px, 5.7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 590px;
  margin: 30px 0 0;
  color: #5d6670;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.5;
}

.primary-action {
  display: inline-flex;
  align-self: flex-start;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  border-radius: 12px;
  padding: 0 20px;
  background: #1e73be;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.primary-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.primary-action:hover {
  background: #155f9f;
  transform: translateY(-2px);
}

.brand:focus-visible,
.primary-action:focus-visible {
  outline: 3px solid #4e93d0;
  outline-offset: 4px;
}

.brand-panel {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 50vw;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px clamp(36px, 4vw, 76px) 48px clamp(88px, 9vw, 172px);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  background-color: #1e73be;
  background-image:
    linear-gradient(rgb(255 255 255 / 10%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 10%) 1px, transparent 1px),
    linear-gradient(135deg, #4e93d0 0%, #1e73be 100%);
  background-position: 0 0, 0 0, center;
  background-size: 40px 40px, 40px 40px, auto;
  color: #fff;
}

.orbit {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  opacity: 0.2;
}

.orbit-outer {
  width: clamp(440px, 44vw, 720px);
  height: clamp(440px, 44vw, 720px);
  background: rgb(255 255 255 / 4%);
}

.orbit-inner {
  width: clamp(310px, 31vw, 510px);
  height: clamp(310px, 31vw, 510px);
  background: rgb(255 255 255 / 3%);
}

.panel-lockup {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.panel-lockup img {
  display: block;
  width: clamp(130px, 11vw, 178px);
  margin-bottom: 28px;
  filter: invert(1);
}

.panel-lockup strong {
  font-size: clamp(76px, 8vw, 124px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.panel-lockup span {
  margin-top: 22px;
  color: rgb(255 255 255 / 78%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer {
  position: relative;
  z-index: 2;
  width: min(52vw, 650px);
  padding-top: 18px;
  border-top: 1px solid #dfe3e7;
  color: #737b84;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .welcome {
    display: flex;
    max-width: 720px;
    flex-direction: column;
  }

  .welcome-copy {
    width: 100%;
    padding: 56px 0 64px;
  }

  .brand-panel {
    position: relative;
    inset: auto;
    width: 100vw;
    height: clamp(320px, 45svh, 430px);
    min-height: 320px;
    margin-left: calc(50% - 50vw);
    padding: clamp(66px, 9vw, 92px) 40px 38px;
    clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
  }

  .panel-lockup {
    grid-template-columns: auto auto;
    align-items: center;
    gap: 28px;
  }

  .panel-lockup img {
    width: 112px;
    margin: 0;
  }

  .panel-lockup strong {
    font-size: 100px;
  }

  .panel-lockup span {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  footer {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .home-shell {
    padding: 18px 20px max(20px, env(safe-area-inset-bottom));
  }

  .brand img {
    width: 42px;
    height: 30px;
  }

  .brand span {
    font-size: 22px;
  }

  .welcome {
    margin: 22px auto 30px;
  }

  .welcome-copy {
    padding: 42px 0 50px;
  }

  h1 {
    max-width: 350px;
    font-size: clamp(46px, 14vw, 64px);
  }

  .intro {
    margin-top: 24px;
    font-size: 17px;
  }

  .primary-action {
    width: 100%;
    align-self: stretch;
    justify-content: center;
    margin-top: 32px;
  }

  .brand-panel {
    height: clamp(280px, 40svh, 330px);
    min-height: 280px;
    padding: 58px 24px 28px;
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  }

  .orbit-outer {
    width: 340px;
    height: 340px;
  }

  .orbit-inner {
    width: 240px;
    height: 240px;
  }

  .panel-lockup {
    gap: 18px;
  }

  .panel-lockup img {
    width: 78px;
  }

  .panel-lockup strong {
    font-size: 72px;
  }

  .panel-lockup span {
    max-width: 260px;
    margin-top: 0;
    font-size: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .primary-action {
    transition: none;
  }
}
