:root {
  color-scheme: dark;
  --bg: #080e1d;
  --ink: #f2f5ff;
  --muted: #a9b8d2;
  --soft: #c6d2e9;
  --neon: #78ffce;
  --line: #263653;
  --ease: cubic-bezier(.2, .75, .25, 1);
  font: 100%/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ul { margin: 0; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background:
    radial-gradient(ellipse at 82% 28%, #1a2549 0, transparent 51%),
    radial-gradient(ellipse at 12% 82%, #102e35 0, transparent 50%),
    var(--bg);
  color: var(--ink);
}
button { font: inherit; cursor: pointer; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 5rem)); margin-inline: auto; }
.masthead, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.masthead { min-height: 76px; gap: .5rem; border-bottom: 1px solid #849bcc29; animation: arrive .5s var(--ease) both; }
.brand { display: inline-flex; flex: none; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 1.45rem; font-weight: 790; letter-spacing: -.035em; }
.brand img { display: block; border-radius: .55rem; }
.brand small { margin-inline-start: .25rem; color: var(--neon); font-size: .59em; font-weight: 750; letter-spacing: .12em; }
.footer { color: var(--muted); font-size: .8rem; }
.footer { min-height: 56px; border-top: 1px solid #849bcc29; }

.platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.75rem, 2.5vw, 1.6rem);
  padding-block: .55rem clamp(.85rem, 3vh, 1.65rem);
  animation: arrive .65s .17s var(--ease) both;
}
.platforms h2 {
  color: var(--soft);
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.platform-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; padding: 0; list-style: none; }
.platform {
  display: flex;
  align-items: center;
  gap: .64rem;
  padding: .48rem .8rem;
  border: 1px solid #849bcc3d;
  border-radius: .7rem;
  background: #152239b0;
}
.platform svg { width: 1.3rem; height: 1.3rem; flex: none; }
.platform-pc { border-color: #6aaff073; background: #182e48; }
.platform-pc svg { color: #78caff; fill: currentColor; stroke: none; }
.platform-ios svg { color: #d3c5ff; }
.platform-android svg { color: var(--neon); }
.platform-android circle { fill: currentColor; stroke: none; }
.platform-name { color: var(--ink); font-size: .9rem; font-weight: 740; line-height: 1.15; }
.platform-name small { display: block; margin-block-start: .15rem; color: var(--muted); font-size: .66rem; font-weight: 560; white-space: nowrap; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.4rem, 5vw, 5rem);
  padding-block: clamp(1rem, 5vh, 3.5rem);
}
.hero-copy { animation: arrive .66s var(--ease) both; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--neon);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: .42rem;
  height: .42rem;
  flex: 0 0 .42rem;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px #78ffce8c;
}
h1 {
  margin-block: .16em .23em;
  font-size: clamp(2.75rem, 5.3vw, 5rem);
  font-weight: 830;
  line-height: .99;
  letter-spacing: -.065em;
}
h1 em { color: var(--neon); font-style: normal; }
.intro { max-width: 34ch; color: var(--soft); font-size: clamp(1rem, 1.65vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; gap: .75rem; margin-block-start: clamp(.9rem, 3vh, 1.8rem); }
.neon-button {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 52px;
  padding: .55rem 1.15rem;
  border: 1px solid #aaffdf;
  border-radius: .75rem;
  background: var(--neon);
  color: #092820;
  font-weight: 780;
  white-space: nowrap;
  box-shadow: 0 0 0 4px #78ffce12, 0 0 28px #78ffce43;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease);
}
.neon-button svg { transition: transform .25s var(--ease); }
@media (hover: hover) {
  .neon-button:hover { transform: translateY(-2px); background: #a1ffdf; box-shadow: 0 0 0 6px #78ffce1c, 0 0 36px #78ffce61; }
  .neon-button:hover svg { transform: translateX(3px); }
}
.neon-button:active { transform: translateY(1px); }
.features-button { flex: none; padding: .35rem .25rem; border: 0; background: transparent; color: var(--soft); font-size: .83rem; font-weight: 720; text-decoration: underline; text-underline-offset: .25em; }
.features-button:hover { color: var(--neon); }
.highlights, .included ul { display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding: 0; list-style: none; }
.highlights { margin-block-start: clamp(.7rem, 2.5vh, 1.35rem); color: var(--muted); font-size: .8rem; }
.highlights li::before, .included li::before { content: "✓"; margin-inline-end: .3rem; color: var(--neon); font-weight: 720; }

.preview { min-width: 0; container-type: inline-size; animation: arrive .78s .07s var(--ease) both; }
.preview-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #93a9f27a;
  border-radius: clamp(.75rem, 1.5vw, 1.2rem);
  background: #141d32;
  box-shadow: 0 0 0 .35rem #889df41a, 0 0 42px #748af035, 0 22px 58px #02040b9c;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) {
  .preview-frame:hover { border-color: var(--neon); box-shadow: 0 0 0 .35rem #78ffce1a, 0 0 38px #78ffce32, 0 22px 58px #02040b9c; }
}
.preview-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .5rem;
  min-height: 35px;
  padding-inline: .85rem;
  color: var(--soft);
  font-size: .68rem;
  font-weight: 650;
}
.window-dots, .preview-zoom { display: flex; align-items: center; gap: .25rem; }
.window-dots i { width: .35rem; height: .35rem; border-radius: 50%; background: #9daae2; }
.window-dots i:first-child { background: #b399ef; }
.window-dots i:last-child { background: var(--neon); }
.preview-zoom { justify-self: end; color: var(--neon); }
.demo-viewport { position: relative; display: block; aspect-ratio: 1010 / 650; overflow: hidden; background: #141d32; }
.demo-slide { position: absolute; inset: 0; display: block; background: #edf1fd; }
.app-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.demo-slide--detail {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(.35rem, 2vw, .9rem);
  background: radial-gradient(ellipse at 50% 35%, #314665, #18253c 76%);
}
.demo-slide--detail .app-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: .55rem;
  box-shadow: 0 .45rem 1.6rem #050d1d77;
}
.demo-controls { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-block-start: .5rem; }
.demo-steps { display: flex; gap: .2rem; }
.demo-steps button, .demo-toggle { min-height: 26px; border: 1px solid transparent; border-radius: .45rem; background: transparent; color: var(--muted); font-size: .73rem; font-weight: 680; }
.demo-steps button { padding: .12rem .46rem; }
.demo-label-short { display: none; }
.demo-steps button:hover, .demo-toggle:hover { color: var(--ink); }
.demo-steps button[aria-pressed="true"] { border-color: #78ffce4d; background: #78ffce14; color: var(--neon); }
.demo-toggle { display: grid; width: 28px; padding: 0; place-items: center; border-color: #849bcc3d; }
.demo-toggle[data-playing="true"] .icon-play, .demo-toggle[data-playing="false"] .icon-pause { display: none; }
@container (max-width: 430px) {
  .demo-controls { gap: .16rem; }
  .demo-steps { gap: 0; }
  .demo-steps button { padding-inline: .17rem; font-size: .64rem; }
  .demo-toggle { flex: 0 0 26px; width: 26px; }
  .demo-label-full { display: none; }
  .demo-label-short { display: inline; }
}
@container (max-width: 275px) {
  .demo-steps button { padding-inline: .09rem; font-size: .61rem; }
  .demo-toggle { flex-basis: 24px; width: 24px; }
}

dialog {
  width: min(620px, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  margin: auto;
  padding: 0;
  border: 1px solid #506b9f;
  border-radius: 1.15rem;
  background: #10192c;
  color: var(--ink);
  box-shadow: 0 16px 90px #000b, 0 0 38px #7696ff26;
}
dialog[open] { animation: dialog-in .28s var(--ease) both; }
dialog::backdrop { background: #060b17da; }
.dialog-content { padding: clamp(.85rem, 3.7vw, 1.8rem); }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: .5rem; margin-block-end: clamp(.7rem, 3vh, 1.3rem); }
.dialog-header h2 { margin-block-start: .23rem; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.08; letter-spacing: -.045em; }
.close-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid #40537a;
  border-radius: .65rem;
  background: #1b2945;
  color: var(--ink);
  transition: background-color .2s var(--ease);
}
.close-button:hover { background: #273b5e; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.plan { padding: clamp(.65rem, 2.7vw, 1.15rem); border: 1px solid #3a4d71; border-radius: .8rem; background: #17233b; }
.plan-lifetime { border-color: #64eab4; background: #112c32; box-shadow: inset 0 0 20px #78ffce0d; }
.plan h3, .included h3 { font-size: .95rem; line-height: 1.2; }
.price { margin-block: .3rem .15rem; color: var(--ink); font-size: clamp(2rem, 6vw, 3rem); font-weight: 810; line-height: 1; letter-spacing: -.055em; }
.plan-lifetime .price { color: var(--neon); }
.billing { color: var(--soft); font-size: .77rem; font-weight: 720; }
.benefit { margin-block-start: .45rem; color: var(--muted); font-size: .85rem; line-height: 1.36; }
.included { margin-block-start: clamp(.65rem, 2.5vh, 1.2rem); }
.included ul { margin-block-start: .3rem; color: var(--soft); font-size: .79rem; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; }
.feature-list > div { padding: .7rem; border: 1px solid var(--line); border-radius: .65rem; background: #152239b0; }
.feature-list .feature-highlight { border-color: #78ffce42; background: #112c32; }
.feature-list dt { color: var(--neon); font-size: .88rem; font-weight: 720; line-height: 1.25; }
.feature-list dd { margin: .28rem 0 0; color: var(--soft); font-size: .8rem; line-height: 1.38; }
.capture-dialog { width: min(1100px, calc(100% - 1rem)); }
.capture-content { padding: clamp(.6rem, 2vw, 1rem); }
.capture-dialog .dialog-header { align-items: center; margin-block-end: .5rem; }
.capture-dialog h2 { margin-block-start: 0; }
.capture-caption, .capture-hint { color: var(--muted); font-size: .78rem; }
.capture-hint { display: none; margin-block-end: .45rem; }
.capture-window { overflow: auto; max-height: calc(100svh - 8.5rem); border-radius: .55rem; background: #edf1fd; }
.capture-window:focus-visible { outline-offset: -3px; }
.capture-image { display: block; width: 100%; height: auto; }
.capture-dialog[data-detail="true"] { width: min(680px, calc(100% - 1rem)); }
.capture-dialog[data-detail="true"] .capture-hint { display: none; }
.capture-dialog[data-detail="true"] .capture-window { background: transparent; }
.capture-dialog[data-detail="true"] .capture-image { width: auto; min-width: 0; max-width: 100%; max-height: calc(100svh - 8.5rem); margin-inline: auto; border-radius: .55rem; }
@keyframes arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-height: 720px) and (min-width: 701px) {
  .masthead { min-height: 58px; }
  .footer { min-height: 37px; }
  .hero { padding-block: .7rem; }
  .demo-viewport { max-height: 54svh; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 3rem); }
}
@media (max-width: 700px) {
  .capture-image { min-width: 740px; }
  .capture-hint { display: block; }
  .platforms { flex-direction: column; gap: .35rem; padding-block: .2rem .6rem; }
  .platforms h2 { font-size: .67rem; }
  .platform-list { width: 100%; max-width: 22rem; gap: .35rem; }
  .platform { justify-content: center; gap: .34rem; padding: .36rem .25rem; }
  .platform svg { width: 1rem; height: 1rem; }
  .platform-name { font-size: .78rem; }
  .platform-name small { font-size: .6rem; }
}
@media (max-width: 700px) and (min-height: 501px) {
  .wrap { width: min(440px, calc(100% - 2rem)); }
  .masthead { min-height: 58px; }
  .footer { font-size: .72rem; }
  .footer { min-height: 31px; }
  .hero { grid-template-columns: minmax(0, 1fr); align-content: center; gap: clamp(.85rem, 2.8vh, 1.55rem); padding-block: .75rem; }
  h1 { font-size: clamp(2.55rem, 9.8vw, 4rem); }
  .intro { max-width: 38ch; }
  .neon-button { min-height: 46px; }
  .preview-bar { min-height: 26px; }
  .demo-viewport { max-height: 29svh; }
  .demo-controls { margin-block-start: .35rem; }
}
@media (max-height: 590px) and (max-width: 700px) {
  .masthead { min-height: 50px; }
  .footer { min-height: 26px; }
  .hero { gap: .75rem; padding-block: .55rem; }
  .demo-viewport { max-height: 17svh; }
}
@media (max-width: 700px) and (min-height: 501px) and (max-height: 700px) {
  .masthead { min-height: 47px; }
  .footer { min-height: 25px; }
  .hero { gap: .65rem; padding-block: .5rem; }
  .highlights { display: none; }
  .demo-viewport { max-height: min(19svh, 128px); }
  .demo-controls { margin-block-start: .2rem; }
}
@media (max-height: 500px) and (min-width: 501px) {
  .wrap { width: calc(100% - 2.5rem); }
  .masthead { min-height: 48px; }
  .footer { min-height: 27px; }
  .hero { gap: 1rem; padding-block: .4rem; }
  h1 { font-size: clamp(2.35rem, 5vw, 3.8rem); }
  .intro { font-size: .9rem; }
  .hero-actions { gap: .45rem; margin-block-start: .65rem; }
  .neon-button { min-height: 43px; gap: .4rem; padding-inline: .7rem; font-size: .88rem; }
  .features-button { font-size: .76rem; }
  .highlights { display: none; }
  .preview-bar { min-height: 25px; }
  .demo-viewport { max-height: 41svh; }
  .demo-controls { margin-block-start: .3rem; }
  .dialog-content { padding: .8rem; }
  .platforms { flex-direction: row; gap: .65rem; padding-block: .2rem .4rem; }
  .platform-list { width: auto; }
  .platform { padding-block: .28rem; }
}
@media (max-height: 365px) and (min-width: 501px) {
  .hero { grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); }
  h1 { font-size: clamp(1.95rem, 4.8vw, 2.7rem); }
  .intro { font-size: .84rem; }
  .neon-button { min-height: 41px; }
  .masthead { min-height: 44px; }
  .footer { min-height: 24px; }
  .dialog-content { padding: .6rem; }
  .dialog-header, .included { margin-block: .4rem; }
  .plan { padding: .5rem .65rem; }
  .price { font-size: 1.9rem; }
  .benefit { font-size: .8rem; }
}
@media (max-width: 500px) and (max-height: 500px) {
  .wrap { width: calc(100% - 1.5rem); }
  .masthead { min-height: 40px; }
  .footer { min-height: 23px; }
  .hero { grid-template-columns: minmax(0, 1fr); align-content: center; gap: .45rem; padding-block: .25rem; }
  h1 { font-size: 2.05rem; }
  .intro { font-size: .86rem; }
  .hero-actions { gap: .55rem; margin-block-start: .55rem; }
  .neon-button { min-height: 44px; padding-inline: .8rem; }
  .highlights { display: none; }
  .demo-viewport { max-height: 16svh; }
  .preview-bar { min-height: 24px; }
  .demo-controls { margin-block-start: .3rem; }
}
@media (max-width: 380px) {
  .hero-actions { gap: .5rem; }
  .neon-button { padding-inline: .8rem; font-size: .93rem; }
  .features-button { font-size: .77rem; }
}
@media (prefers-reduced-motion: reduce) {
  .masthead, .hero-copy, .preview, .platforms, dialog[open] { animation: none; }
  .neon-button, .neon-button svg, .close-button, .preview-frame { transition: none; }
}
