:root {
  --navy: #07142A;
  --ac: #D94F00;
  --ac2: #FF7418;
  --grad: linear-gradient(135deg, #FFE72E 0%, #FFB31A 30%, #FF7418 66%, #FF3D32 100%);
  --tint: #FFF1E0;
  --bg: #fff;
  --ink: #0b1530;
  --mute: #5b6478;
  --card: #f5f6fa;
  --line: rgba(7, 20, 42, .09);
  --hot1: #f0565a;
  --hot2: #c42f3c;
  --r: 22px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 Geist, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none
}

.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  display: inline-block;
  vertical-align: middle
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line)
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.02em
}

.logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block
}

.nl {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--mute)
}

.nl a:hover {
  color: var(--ink)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 99px;
  font-weight: 500;
  font-size: 14px;
  transition: transform .15s, background .15s
}

.btn:hover {
  background: #0f2447;
  transform: translateY(-1px)
}

.btn.ac {
  background: var(--grad);
  color: var(--navy) !important;
  font-weight: 600;
  box-shadow: 0 6px 18px -6px rgba(255, 90, 20, .6)
}

.btn.ac:hover {
  background: var(--grad);
  filter: brightness(1.06) saturate(1.1)
}

.btn.lg {
  padding: 13px 24px;
  font-size: 16px
}

.btn.sec {
  background: var(--card);
  color: var(--ink) !important
}

.btn.sec:hover {
  background: #e6e8f0
}

.hero {
  text-align: center;
  padding: 72px 0 28px;
  background: radial-gradient(60% 45% at 50% 0%, rgba(255, 179, 26, .2), transparent 72%)
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font: 500 11px 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ac);
  background: var(--tint);
  padding: 5px 12px;
  border-radius: 99px
}

h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 700;
  margin: 22px auto 18px;
  max-width: 820px
}

h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #FFA51A 0%, #FF6A1F 55%, #FF3D32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--mute);
  max-width: 620px;
  margin: 0 auto 28px
}

.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

.note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--mute)
}

/* demo */
.demo {
  margin: 40px auto 0;
  border-radius: 28px;
  background: var(--card);
  padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25)
}

.stage {
  position: relative;
  height: 480px;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  background-image: radial-gradient(rgba(0, 0, 0, .07) 1px, transparent 1px);
  background-size: 20px 20px
}

.file {
  position: absolute;
  left: 28px;
  top: 28px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: grab;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .1), 0 0 0 1px var(--line);
  transition: opacity .15s, transform .15s
}

.file:hover {
  transform: translateY(-2px)
}

.file:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 3px
}

.file.drag {
  opacity: .25
}

.pdf {
  width: 36px;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--hot1), var(--hot2));
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 6px 14px rgba(196, 47, 60, .35);
  font-size: 23px
}

.file b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px
}

.file small {
  color: var(--mute);
  font-size: 12px
}

.hint {
  position: absolute;
  left: 30px;
  top: 100px;
  width: 200px;
  font-size: 13px;
  line-height: 18px;
  color: var(--mute)
}

.hint kbd,
.kb {
  font: 500 11px 'JetBrains Mono', monospace;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--ink)
}

.ghost {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity .12s
}

.ghost.on {
  opacity: 1
}

.ghost .pdf {
  transform: translate(-50%, -50%) rotate(-6deg);
  width: 40px;
  height: 48px
}

.wheel {
  position: absolute;
  width: 330px;
  height: 330px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .16s, transform .24s cubic-bezier(.2, 1.2, .4, 1)
}

.wheel.on {
  opacity: 1;
  transform: none
}

.wheel svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, .4))
}

.disc {
  fill: #07142A
}

.seg path {
  fill: #0f203d;
  stroke: #1f3358;
  transition: fill .12s
}

.seg g {
  transition: transform .14s;
  transform-origin: 160px 160px
}

.seg.hot g {
  transform: scale(1.045)
}

.seg.hot path {
  fill: url(#hot);
  stroke: #FFE72E
}

.seg text {
  fill: #e8ecf5;
  font: 600 10px Geist, sans-serif;
  text-anchor: middle;
  letter-spacing: .02em
}

.seg .ic {
  font-family: 'Material Symbols Outlined';
  font-size: 18px;
  font-weight: 400;
  fill: #9fb0d0
}

.seg.hot text,
.seg.hot .ic {
  fill: #07142A
}

.hub {
  fill: #0a1932;
  stroke: #1f3358
}

.c1 {
  fill: #fff;
  font: 600 17px Geist, sans-serif;
  text-anchor: middle
}

.c2 {
  fill: #8b9bbd;
  font: 500 11px Geist, sans-serif;
  text-anchor: middle
}

.c2.hot {
  fill: #FFB31A
}

.outs {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 250px;
  z-index: 4;
  display: none;
  flex-direction: column;
  gap: 8px
}

.outs.has {
  display: flex
}

.oh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 500 11px 'JetBrains Mono', monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0 4px
}

.oclr {
  border: 0;
  background: none;
  font: inherit;
  color: var(--ac);
  cursor: pointer;
  text-transform: inherit;
  letter-spacing: inherit
}

.out {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12), 0 0 0 1px var(--line);
  overflow: hidden;
  animation: oin .45s cubic-bezier(.2, 1.2, .4, 1)
}

.oi {
  width: 32px;
  height: 38px;
  border-radius: 6px;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 20px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .18)
}

.ot {
  min-width: 0;
  flex: 1
}

.ot b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.ot small {
  color: var(--mute);
  font-size: 12px
}

.out .ok {
  color: #2e9d57;
  font-size: 20px;
  opacity: 0;
  transform: scale(.4);
  transition: .25s
}

.out.done .ok {
  opacity: 1;
  transform: none
}

.bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  animation: obar .85s ease-out forwards
}

.out.done .bar {
  display: none
}

@keyframes oin {
  from {
    opacity: 0;
    transform: translateX(40px) scale(.9)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes obar {
  to {
    width: 100%
  }
}

@media(max-width:800px) {
  .outs {
    right: 12px;
    left: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    flex-direction: column-reverse
  }
}

.tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 14px 8px 4px;
  flex-wrap: wrap
}

.tab {
  border: 0;
  border-radius: 99px;
  padding: 7px 14px;
  font: 500 13px Geist, sans-serif;
  background: #e6e8f0;
  color: #2a3350;
  cursor: pointer;
  display: flex;
  gap: 7px;
  align-items: center
}

.tab kbd {
  font: 500 10px 'JetBrains Mono', monospace;
  opacity: .6
}

.tab.on {
  background: var(--grad);
  color: var(--navy);
  font-weight: 600
}

.status {
  margin-left: auto;
  font: 500 12px 'JetBrains Mono', monospace;
  color: var(--mute)
}

.status.ok {
  color: var(--ac)
}

/* sections */
section {
  padding: 96px 0
}

.alt {
  background: var(--card)
}

.eyebrow {
  font: 500 12px 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ac)
}

h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 700;
  margin: 12px 0 14px
}

.lead {
  color: var(--mute);
  font-size: 19px;
  max-width: 620px;
  margin: 0
}

.center {
  text-align: center
}

.center .lead {
  margin: 0 auto
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px
}

.stat {
  background: #fff;
  border-radius: var(--r);
  padding: 28px;
  box-shadow: 0 0 0 1px var(--line)
}

.stat b {
  display: block;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ac)
}

.stat h3 {
  margin: 12px 0 4px;
  font-size: 17px
}

.stat p {
  margin: 0;
  color: var(--mute);
  font-size: 15px
}

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px
}

.cat {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  padding: 9px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500
}

.cat .ms {
  color: var(--ac);
  font-size: 20px
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px
}

.fc {
  background: var(--card);
  border-radius: var(--r);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.alt .fc {
  background: #fff;
  box-shadow: 0 0 0 1px var(--line)
}

.fc .ms {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--tint);
  color: var(--ac);
  display: grid;
  place-items: center;
  font-size: 26px
}

.fc h3 {
  margin: 6px 0 0;
  font-size: 21px;
  letter-spacing: -.02em
}

.fc p {
  margin: 0;
  color: var(--mute);
  font-size: 15px
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px
}

.chips span {
  font: 500 11px 'JetBrains Mono', monospace;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  border-radius: 6px;
  padding: 3px 8px
}

.alt .chips span {
  background: var(--card)
}

.fmt {
  margin-top: 44px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden
}

.fr {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 20px 28px;
  align-items: center
}

.fr+.fr {
  border-top: 1px solid var(--line)
}

.fr h4 {
  margin: 0;
  font-size: 16px
}

.fr p {
  margin: 2px 0 0;
  color: var(--mute);
  font-size: 13px
}

.fr .chips {
  margin: 0;
  padding: 0
}

.priv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px
}

.pc {
  border-radius: var(--r);
  padding: 32px;
  background: var(--card)
}

.pc.good {
  background: var(--tint)
}

.pc .ms {
  font-size: 28px;
  color: var(--mute)
}

.pc.good .ms {
  color: var(--ac)
}

.pc h3 {
  margin: 12px 0 6px;
  font-size: 21px
}

.pc p {
  margin: 0;
  color: var(--mute)
}

.dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
  text-align: left
}

.dc {
  background: #fff;
  border-radius: var(--r);
  padding: 32px;
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px
}

.dc .ms {
  font-size: 34px
}

.dc h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -.02em
}

.dc p {
  margin: 0;
  color: var(--mute);
  font-size: 15px
}

.dc .btn {
  justify-content: center;
  margin-top: 8px
}

.dc small {
  font: 500 11px 'JetBrains Mono', monospace;
  color: var(--mute);
  text-align: center
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center
}

.cred {
  display: grid;
  gap: 12px
}

.cred div {
  background: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 0 0 1px var(--line)
}

.cred small {
  font: 500 11px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  color: var(--mute)
}

.cred b {
  display: block;
  font-size: 18px;
  margin-top: 2px
}

.cred span {
  font-size: 14px;
  color: var(--mute)
}

#download {
  background: var(--navy);
  color: #fff
}

#download .lead,
#download .note {
  color: #aab5d0
}

#download .eyebrow {
  color: #FFB31A
}

#download .note a {
  color: #fff
}

.dc {
  color: var(--ink)
}

footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute)
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap
}

footer .l {
  display: flex;
  gap: 18px
}

footer a:hover {
  color: var(--ink)
}

@media(max-width:800px) {
  .nl a.h {
    display: none
  }

  .stats,
  .grid3,
  .priv,
  .dl,
  .about {
    grid-template-columns: 1fr
  }

  .fr {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .stage {
    height: 440px
  }

  .wheel {
    width: 280px;
    height: 280px
  }

  .hint {
    display: none
  }

  section {
    padding: 64px 0
  }
}

/* screenshots */
.shot {
  margin: 0;
  background: #fff;
  border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(0, 0, 0, .35);
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #161616
}

.shot figcaption {
  padding: 16px 20px 18px;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.45
}

.shot figcaption b {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 2px;
  letter-spacing: -.01em
}

.shots2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
  text-align: left
}

.shots2.gifwide {
  grid-template-columns: .8fr 1.2fr;
  align-items: start
}

@media(max-width:800px) {

  .shots2,
  .shots2.gifwide {
    grid-template-columns: 1fr
  }
}

.herogif {
  max-width: 680px;
  margin: 36px auto 0;
  text-align: left
}

.herogif img {
  image-rendering: auto
}

.shotone {
  max-width: 900px;
  margin: 44px auto 0;
  text-align: left
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto
  }
}

/* InnoverseAMU project attribution */
.project-credit {
  padding: 64px 0;
  background: #fff;
}

.project-credit-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 36px 40px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
}

.project-credit-logo {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 14px;
}

.project-credit-logo img {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.project-credit-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.project-credit-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #6a52e0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.project-credit-content h2 {
  margin: 0 0 12px;
  color: #202020;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -1px;
}

.project-credit-content h2 a {
  color: #6a52e0;
  text-decoration: none;
}

.project-credit-content h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-credit-description {
  max-width: 620px;
  margin: 0 0 18px;
  color: #686868;
  font-size: 14px;
  line-height: 1.8;
}

.project-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #292929;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.project-credit-link span {
  color: #6a52e0;
  font-size: 17px;
  transition: transform 180ms ease;
}

.project-credit-link:hover span {
  transform: translate(3px, -3px);
}

.project-credit-mark {
  flex: 0 0 auto;
  padding-left: 28px;
  border-left: 1px solid #e3e3e3;
  color: #a0a0a0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 2.2;
}

@media (max-width: 700px) {
  .project-credit {
    padding: 40px 0;
  }

  .project-credit-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 26px 22px;
  }

  .project-credit-logo {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  .project-credit-logo img {
    width: 60px;
    height: 60px;
  }

  .project-credit-mark {
    padding: 14px 0 0;
    border-left: none;
    border-top: 1px solid #e3e3e3;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-credit-link span {
    transition: none;
  }
}
