:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --page: #f8f6fc;
  --surface: #fff;
  --text: #201931;
  --muted: #615971;
  --line: #e6deee;
  --button: #44327e;
  --button-hover: #332461;
  --button-text: #fff;
  --focus: #6747ad;
  --panel-base: #e5dcfa;
  --panel-glow: #faf4ff;
  --panel-shade: #cbc0ed;
  --orbit: #846bb442;
  --point: #8062bc;
  --point-soft: #d7cdf2;
  --icon-shadow: #43307147;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #131221;
    --surface: #1d1b2f;
    --text: #f4effe;
    --muted: #bcb3d0;
    --line: #38314a;
    --button: #d8c6ff;
    --button-hover: #e6d9ff;
    --button-text: #271744;
    --focus: #cab1ff;
    --panel-base: #30254b;
    --panel-glow: #4a386c;
    --panel-shade: #241e3e;
    --orbit: #b29ad54a;
    --point: #b99ee8;
    --point-soft: #665485;
    --icon-shadow: #0b081761;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
}

p, h1, h2 { margin: 0; }

.page {
  width: min(100% - 112px, 1080px);
  margin-inline: auto;
  padding-block: clamp(52px, 9.5vh, 108px) 56px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.intro-copy { min-width: 0; }

h1 {
  font-size: clamp(76px, 10.2vw, 144px);
  font-weight: 720;
  letter-spacing: -.06em;
  line-height: .96;
}

.lead {
  margin-top: 22px;
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 630;
  letter-spacing: -.04em;
  line-height: 1.24;
}

.details {
  max-width: 39ch;
  margin-top: 13px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.open-app {
  display: inline-flex;
  min-height: 51px;
  margin-top: 27px;
  padding: 11px 17px 11px 20px;
  align-items: center;
  gap: 16px;
  border-radius: 12px;
  background: var(--button);
  color: var(--button-text);
  font-size: 15px;
  font-weight: 690;
  line-height: 1.2;
  text-decoration: none;
}

.open-app:hover { background: var(--button-hover); }
.open-app:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.open-app span { font-size: 19px; line-height: 1; }

.brand-panel {
  position: relative;
  display: grid;
  aspect-ratio: 1.17;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: radial-gradient(ellipse at 32% 21%, var(--panel-glow), transparent 68%),
    linear-gradient(143deg, var(--panel-base) 27%, var(--panel-shade));
}

.orbit {
  position: absolute;
  width: 104%;
  height: 45%;
  border: 1px solid var(--orbit);
  border-radius: 50%;
  transform: rotate(-26deg);
}

.orbit-inner { width: 81%; height: 36%; }

.orbit::after {
  position: absolute;
  inset: auto auto 12% 13%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--point);
  content: "";
}

.orbit-inner::after {
  inset: 9% 12% auto auto;
  width: 11px;
  height: 11px;
  background: var(--point-soft);
}

.brand-icon {
  z-index: 1;
  width: clamp(112px, 16vw, 188px);
  height: auto;
  border-radius: 29%;
  box-shadow: 0 23px 46px -13px var(--icon-shadow);
  transform: rotate(-8deg);
}

.companions {
  margin-top: clamp(36px, 8vh, 78px);
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.companions h2 {
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -.035em;
}

.companion-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.companion-list li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.companion-list img { flex: 0 0 auto; border-radius: 12px; }
.companion-list strong, .companion-list span { display: block; }
.companion-list strong { font-size: 16px; font-weight: 690; }
.companion-list span { margin-top: 2px; color: var(--muted); font-size: 13px; }

@media (max-width: 780px) {
  .page { width: calc(100% - 54px); }
  .intro { gap: 26px; }
}

@media (max-width: 610px) {
  .page { width: calc(100% - 40px); padding-block: 35px 32px; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .lead { margin-top: 15px; }
  .details { margin-top: 10px; }
  .open-app { margin-top: 21px; }
  .brand-panel { aspect-ratio: 1.78; border-radius: 23px; }
  .orbit { height: 54%; }
  .orbit-inner { height: 45%; }
  .companions { margin-top: 31px; padding-top: 20px; }
  .companion-list { gap: 8px; }
  .companion-list li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; }
  .companion-list img { width: 39px; height: 39px; border-radius: 10px; }
  .companion-list strong { font-size: 14px; }
  .companion-list span { font-size: 12px; overflow-wrap: anywhere; }
}
