@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --ink: #1d2538;
  --muted: #737b8c;
  --line: #dfe4ed;
  --line-soft: #edf0f5;
  --blue: #3b70df;
  --blue-deep: #245bc8;
  --paper: #ffffff;
  --wash: #f5f7fb;
  --body-rule: rgb(29 37 56 / 2%);
  --coordinate: #8b93a2;
  --number: rgb(29 37 56 / 6%);
  --brand-panel: #1d2538;
  --panel-shadow: rgb(29 37 56 / 20%);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--body-rule) 50%, transparent calc(50% + 1px)),
    var(--paper);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-shell {
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 34px clamp(24px, 5vw, 84px) 26px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand__plate {
  width: 184px;
  display: block;
}

.brand__plate picture,
.brand__plate img {
  width: 100%;
  height: auto;
  display: block;
}

.site-status,
.site-footer,
.coordinate,
.composition__caption,
.release-line {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.site-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgb(59 112 223 / 10%);
  animation: status-pulse 2.8s ease-in-out infinite;
}

main {
  min-height: 0;
  display: grid;
  align-items: center;
}

.hero {
  min-height: min(760px, calc(100svh - 150px));
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(500px, 1.14fr);
  align-items: center;
  gap: clamp(38px, 6vw, 112px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.eyebrow span {
  color: var(--blue);
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(55px, 6.2vw, 100px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.intro {
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 450;
  line-height: 1.8;
}

.release-line {
  width: min(100%, 410px);
  margin-top: 52px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.release-line span {
  color: var(--ink);
}

.release-line i {
  height: 1px;
  background: var(--line);
}

.release-line small {
  color: var(--blue);
  font: inherit;
}

.hero__visual {
  min-width: 0;
  display: grid;
  place-items: center;
}

.composition {
  position: relative;
  width: min(100%, 650px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    radial-gradient(circle at 52% 48%, rgb(59 112 223 / 7%), transparent 41%),
    var(--wash);
  background-size: 12.5% 12.5%, 12.5% 12.5%, auto, auto;
  isolation: isolate;
}

.composition::before,
.composition::after {
  position: absolute;
  content: "";
  z-index: -1;
}

.composition::before {
  width: 42%;
  aspect-ratio: 1;
  top: -18%;
  right: -10%;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(1px);
}

.composition::after {
  width: 19%;
  height: 3px;
  right: 7%;
  bottom: 14%;
  background: var(--blue);
}

.coordinate {
  position: absolute;
  color: var(--coordinate);
}

.coordinate--top {
  top: 28px;
  left: 30px;
}

.coordinate--side {
  right: -29px;
  bottom: 25%;
  transform: rotate(90deg);
}

.composition__number {
  position: absolute;
  right: 6.5%;
  bottom: 1.5%;
  color: var(--number);
  font-size: clamp(100px, 15vw, 220px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.09em;
}

.axis {
  position: absolute;
  background: rgb(59 112 223 / 27%);
}

.axis--horizontal {
  width: 76%;
  height: 1px;
  top: 50%;
  left: 12%;
}

.axis--vertical {
  width: 1px;
  height: 76%;
  top: 12%;
  left: 50%;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(59 112 223 / 38%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit--outer {
  width: 68%;
  aspect-ratio: 1;
  border-top-color: var(--blue);
  animation: orbit 22s linear infinite;
}

.orbit--inner {
  width: 46%;
  aspect-ratio: 1;
  border-right-color: transparent;
  border-bottom-color: var(--blue);
  animation: orbit-reverse 16s linear infinite;
}

.signal {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 8px 28px rgb(59 112 223 / 32%);
}

.signal--one {
  top: 19%;
  left: 49.3%;
}

.signal--two {
  right: 15.4%;
  top: 49.3%;
}

.mark-card {
  position: absolute;
  z-index: 2;
  width: 32%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  padding: 9%;
  display: grid;
  place-items: center;
  background: var(--brand-panel);
  box-shadow: 0 28px 80px var(--panel-shadow);
  transform: translate(-50%, -50%) rotate(-4deg);
  animation: card-float 6s ease-in-out infinite;
}

.mark-card::after {
  position: absolute;
  width: 17px;
  height: 17px;
  top: 12px;
  right: 12px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  content: "";
}

.mark-card img {
  width: 100%;
  height: auto;
  display: block;
}

.composition__caption {
  position: absolute;
  left: 30px;
  bottom: 27px;
  color: var(--ink);
}

.site-footer {
  padding-top: 20px;
  color: var(--coordinate);
  border-top: 1px solid var(--line-soft);
  font-size: 9px;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgb(59 112 223 / 8%); }
  50% { box-shadow: 0 0 0 9px rgb(59 112 223 / 14%); }
}

@keyframes orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes card-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg); }
  50% { transform: translate(-50%, calc(-50% - 9px)) rotate(-2deg); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f7fb;
    --muted: #a9b2c4;
    --line: #343d50;
    --line-soft: #252e40;
    --blue: #4f7fe2;
    --blue-deep: #77a0f5;
    --paper: #101624;
    --wash: #151d2d;
    --body-rule: rgb(255 255 255 / 3%);
    --coordinate: #8994a8;
    --number: rgb(255 255 255 / 5%);
    --brand-panel: #1d2538;
    --panel-shadow: rgb(0 0 0 / 36%);
  }
}

@media (max-width: 1000px) {
  .site-shell {
    padding-top: 26px;
  }

  .hero {
    padding: 70px 0 80px;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero__copy {
    padding: 10px 0 44px;
  }

  h1 {
    max-width: 760px;
  }

  .composition {
    width: min(100%, 620px);
  }
}

@media (max-width: 620px) {
  .site-shell {
    padding: 18px 18px 20px;
  }

  .brand__plate {
    width: 154px;
  }

  .site-status span {
    display: none;
  }

  .site-status i {
    width: 9px;
    height: 9px;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 58px;
  }

  .eyebrow {
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(47px, 15vw, 70px);
  }

  .intro {
    margin-top: 28px;
    font-size: 13px;
  }

  .release-line {
    margin-top: 38px;
  }

  .composition {
    width: calc(100vw - 36px);
  }

  .coordinate--top,
  .composition__caption {
    left: 18px;
  }

  .coordinate--top {
    top: 18px;
  }

  .composition__caption {
    bottom: 18px;
  }

  .mark-card {
    width: 36%;
  }

  .site-footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
