:root {
  color-scheme: light;
  font: 100%/1.45 -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  color: #1d1d1f;
  background: white;
  --ink: #1d1d1f;
  --secondary: #53545a;
  --link: #0059ad;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd, fieldset { margin: 0; }
button, select { font: inherit; color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, select { cursor: pointer; }
button { border: 0; padding: 0; background: none; }
button:disabled { cursor: progress; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1473cb; outline-offset: 4px; }
.hero :focus-visible { outline-color: #0059ad; }
.skip { position: fixed; top: .5rem; left: 1rem; transform: translateY(-200%); z-index: 20; padding: .65rem 1rem; color: white; background: var(--ink); border-radius: 1rem; }
.skip:focus { transform: none; }
.wrap { width: min(77.5rem, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.masthead { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.89); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px); box-shadow: 0 1px 0 rgba(25,32,40,.09); }
.nav { min-height: 3.85rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.23rem; font-weight: 680; letter-spacing: -.052em; }
.brand-mark { width: 1.48rem; height: 1.48rem; border-radius: 36%; background: #202124; flex: none; position: relative; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 12%; height: 13%; border-radius: 50%; background: white; top: 31%; }
.brand-mark::before { left: 28%; } .brand-mark::after { right: 28%; }
.brand-mark i { position: absolute; width: 44%; height: 25%; left: 28%; top: 48%; border: .11rem solid white; border-top: 0; border-radius: 0 0 1rem 1rem; }
.nav-links, .get-kit { display: flex; align-items: center; }
.nav-links { gap: clamp(.8rem, 2.4vw, 2.2rem); font-size: .88rem; font-weight: 540; }
.nav-links > a:not(.button), .footer > a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.nav-guide span { white-space: pre; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 2.88rem; padding: .68rem 1.22rem; border-radius: 100vw; font-weight: 580; font-size: .94rem; line-height: 1.2; text-align: center; transition: transform 160ms ease-out, background-color 130ms ease-out; }
.button:active { transform: scale(.966); transition-duration: 65ms; }
.primary, .nav-download { background: #1d1d1f; color: white; }
.nav-download { min-height: 2.25rem; padding: .52rem 1.02rem; font-size: .84rem; }
.secondary { background: #e9e9ed; color: #242428; }
.arrow-down { font-size: 1.16em; line-height: .85; }

.hero {
  --nav-size: 3.85rem;
  --hero-edge: clamp(.45rem, 1.6vw, 2.25rem);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(max-content, 43fr) minmax(0, 57fr);
  height: calc(100vh - var(--nav-size));
  height: calc(100dvh - var(--nav-size));
  color: #1d2026;
  background: linear-gradient(180deg, #fff 0%, #f8f9fc 44%, #eaf0f7 100%);
}
.hero-copy {
  align-self: center;
  justify-self: center;
  width: min(64rem, calc(100% - 2 * var(--gutter)));
  text-align: center;
  padding-top: clamp(1.2rem, 4vh, 3.5rem);
}
.hero h1 {
  margin-inline: auto;
  font-size: clamp(3.35rem, 6.8vw, 7.3rem);
  line-height: 1.01;
  font-weight: 650;
  letter-spacing: -.056em;
  text-wrap: balance;
}
.hero-copy p {
  max-width: 33em;
  margin: clamp(.7rem, 1.6vh, 1.3rem) auto clamp(1rem, 2.2vh, 1.65rem);
  font-size: clamp(1.03rem, 1.5vw, 1.4rem);
  line-height: 1.4;
  letter-spacing: -.017em;
  color: #4b5260;
  text-wrap: balance;
}
.hero-actions, .thanks-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; }
.hero-copy > .text-link { margin-top: .25rem; font-size: .92rem; }
.hero-stage {
  display: grid;
  align-items: center;
  min-width: 0;
  overflow: clip;
  container-type: inline-size;
  padding: .75rem 0 clamp(3.4rem, 8vh, 7rem);
}
#hero-cast {
  --unit: min(var(--head-width), 21rem, 34dvh);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: calc(1.30 * var(--unit));
}
.hero-wing { display: contents; }
.hero-avatar {
  display: none;
  position: absolute;
  left: calc(50% + var(--offset) * var(--unit));
  top: 50%;
  width: calc(var(--unit) * var(--depth));
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: var(--layer);
}
.hero-avatar[data-ring="0"], .hero-avatar[data-ring="1"] { display: block; }
.hero-paired .hero-avatar:not([data-ring="0"]):not([data-pair-ready]) { opacity: 0; }
.hero-avatar img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--art-width);
  max-width: none;
  height: auto;
  transform: translate(var(--art-x), var(--art-y));
  pointer-events: none;
}
.hero-avatar img:not([src]) { visibility: hidden; }
#hero-motion { position: absolute; right: max(var(--hero-edge), env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: #344050; border-radius: 50%; }
#hero-motion::before { content: ""; position: absolute; inset: .2rem; background: rgb(255 255 255 / 75%); border: 1px solid rgb(59 75 101 / 16%); border-radius: 50%; }
.hero-motion-icon { position: relative; width: .64rem; height: .76rem; border-inline: .19rem solid currentColor; }
#hero-motion[data-playing="false"] .hero-motion-icon { border: 0; background: currentColor; clip-path: polygon(12% 0, 100% 50%, 12% 100%); }
@media (min-width:540px) {
  .hero-avatar[data-ring="2"] { display:block; }
}
@media (min-width:800px) {
  .hero-avatar[data-ring="3"] { display:block; }
}
@media (min-width:1080px) {
  .hero-avatar[data-ring="4"] { display:block; }
}
@media (min-width:1440px) {
  .hero-avatar[data-ring="5"] { display:block; }
}
h2 { font-weight: 640; letter-spacing: -.044em; line-height: 1.05; font-size: clamp(2.25rem, 4.3vw, 4rem); }
.kit-section { background: #f5f5f7; padding-block: clamp(3.75rem,7vw,6.6rem); }
.kit-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(2rem,6vw,7rem); }
.kit-copy p { max-width: 26em; color: var(--secondary); letter-spacing: -.015em; font-size: 1.12rem; line-height: 1.5; margin: 1.15rem 0 1.1rem; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .4rem; color: var(--link); font-weight: 540; }
.specs > div { padding: .75rem 0; border-bottom: 1px solid #d6d6da; display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; font-size: .97rem; }
.specs > div:first-child { padding-top: 0; }
.specs dt { color: var(--secondary); }
.specs dd { text-align: right; font-weight: 580; }
.get-kit { gap: .9rem; flex-wrap: wrap; margin-top: 1.55rem; }
.get-kit > span { color: var(--secondary); font-size: .81rem; }
#download-thanks {
  width: min(26rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.35rem, 4vw, 2.25rem);
  border: 0;
  border-radius: 1.6rem;
  color: var(--ink);
  background: white;
  text-align: center;
  box-shadow: 0 1.5rem 5rem rgb(20 28 42 / 20%);
}
#download-thanks::backdrop { background: rgb(20 24 32 / 42%); }
.thanks-face { margin: 0 auto .75rem; object-fit: contain; }
#thanks-title { font-size: 2rem; text-wrap: balance; }
#thanks-message { margin-top: 1rem; line-height: 1.55; }
.thanks-signature { margin: .8rem 0 1.5rem; font-size: .9rem; color: var(--secondary); }
.footer { min-height: 5.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer > a:last-child { font-size: .84rem; color: var(--secondary); }
@media (hover:hover) {
  .primary:hover,.nav-download:hover { background:#38383c; }
  .secondary:hover { background:#dedee3; }
  .nav-links > a:not(.button):hover,.text-link:hover,.footer > a:last-child:hover { text-decoration: underline; text-underline-offset: .17em; }
}
@media (max-width:680px) {
  :root { --gutter: clamp(1.2rem,5vw,2rem); }
  .nav { min-height: 3.45rem; gap: .4rem; }
  .nav-links { gap: .8rem; font-size: .8rem; }
  .nav-studio { display: none !important; }
  .brand { font-size: 1.11rem; gap: .4rem; }
  .brand-mark { width: 1.34rem; height: 1.34rem; }
  .nav-download { min-height: 2.14rem; font-size: .79rem; padding-inline: .82rem; }
  .hero { --nav-size: 3.45rem; grid-template-rows: minmax(max-content,43fr) minmax(max-content,57fr); }
  .hero-copy { padding-top: clamp(1.2rem, 4vh, 3rem); }
  .hero h1 { max-width: 11ch; font-size: clamp(3.1rem, 10.4vw, 4.6rem); }
  .hero-copy p { max-width: 23em; margin: .9rem auto 1.2rem; }
  .kit-layout { grid-template-columns: minmax(0,1fr); gap: 1.8rem; }
  .kit-copy p { font-size: 1.02rem; margin: .85rem 0 .4rem; }
  .footer { min-height: 4.75rem; }
}
@media (max-width:355px) {
  :root { --gutter: 1rem; }
  .nav { flex-wrap: wrap; gap: 0 .3rem; }
  .nav-links { margin-left: auto; gap: .58rem; font-size: .78rem; }
  .nav-guide { text-transform: capitalize; }
  .nav-guide span { display: none; }
  .nav-download { font-size: .74rem; padding-inline: .66rem; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; } .button:active { transform:none; } }
@media (prefers-reduced-transparency:reduce),(prefers-contrast:more) { .masthead { background: white; -webkit-backdrop-filter:none; backdrop-filter:none; } }
@media (prefers-contrast:more) { .masthead { border-bottom:1px solid currentColor; } .secondary { box-shadow:inset 0 0 0 1px currentColor; } }

@media (max-height:520px) and (min-aspect-ratio:1/1) {
  .hero { grid-template-rows: auto 1fr; }
  .hero-copy { padding-top: .8rem; }
  .hero h1 { max-width: none; font-size: clamp(1.75rem, 7.5vh, 2.65rem); }
  .hero-copy p { margin: .25rem auto .45rem; font-size: .92rem; }
  .hero-stage { padding: .15rem 0 1.2rem; }
  #hero-cast { --unit: min(var(--head-width), 31dvh); height: calc(1.48 * var(--unit)); }
}
