@font-face {
  font-family: Manrope;
  src: url("./assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Sora;
  src: url("./assets/sora.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Oxanium;
  src: url("./assets/oxanium.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #080c15;
  --surface: #101826;
  --panel: #172338;
  --line: #344359;
  --text: #f4f7ff;
  --muted: #b6c4da;
  --accent: #93e7ff;
  --on-accent: #081522;
  --display: Sora, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  font: 16px/1.65 Manrope, system-ui, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--text); background: var(--background); }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
a { color: inherit; text-decoration: none; text-underline-offset: .24em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { width: min(1320px, calc(100% - clamp(2.25rem, 9vw, 9rem))); margin-inline: auto; }
.skip { position: fixed; z-index: 6; top: .75rem; left: .75rem; transform: translateY(-200%); padding: .65rem 1rem; background: var(--accent); color: var(--on-accent); }
.skip:focus { transform: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
  padding: .6rem max(calc((100% - 1320px) / 2), clamp(1.125rem, 4.5vw, 4.5rem));
  border-bottom: 1px solid var(--line);
  background: var(--background);
}
.wordmark { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; }
.wordmark img { object-fit: contain; filter: brightness(0) invert(1); }
.header nav { display: flex; gap: clamp(1rem, 3vw, 3rem); }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.header nav a:hover, .footer a:last-child:hover { color: var(--accent); }
.nav-download, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 50px;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  font-weight: 800;
  text-align: center;
  transition: background .2s, border-color .2s, color .2s, transform .25s var(--ease);
}
.nav-download { justify-self: end; gap: .35rem; min-height: 44px; color: var(--accent); font-size: .84rem; }
.nav-download .windows-mark { margin-inline-end: .25rem; }
.nav-download:hover, .outline:hover { background: var(--panel); border-color: var(--accent); color: var(--accent); }
.windows-mark { display: inline-block; position: relative; width: 14px; height: 14px; flex: 0 0 14px; }
.windows-mark::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 6px; height: 6px; background: currentColor; box-shadow: 8px 0 currentColor, 0 8px currentColor, 8px 8px currentColor; }
.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.primary:hover { background: #c0f2ff; transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.outline { background: var(--surface); }
.filetype { color: var(--muted); font-size: .75rem; }

.intro { --header-height: 76px; --progress: 0; position: relative; }
.intro.motion-active { min-height: calc(165svh - var(--header-height)); }
.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  min-height: max(640px, calc(100svh - var(--header-height)));
  background: #050a16;
}
.motion-active .hero-stage { position: sticky; top: var(--header-height); }
.hero {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: inherit;
  padding-block: clamp(3.2rem, 7.5vw, 7rem);
}
.hero-copy { position: relative; max-width: min(50%, 42rem); }
.hero-copy h1 {
  font-family: Oxanium, var(--display);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 600;
}
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.other-platforms { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: .55rem; color: #d1def2; font-size: .9rem; font-weight: 700; }
.other-platforms:hover, .text-link:hover { color: var(--accent); text-decoration: underline; }
.scene-next {
  position: absolute;
  right: 0;
  bottom: clamp(1rem, 4vh, 2.5rem);
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  gap: .75rem;
  padding: .48rem .75rem;
  border-bottom: 1px solid #7ee6ff91;
  color: #e9f9ff;
  background: #050a16bc;
  font-size: .9rem;
  font-weight: 750;
  transition: color .2s, border-color .2s;
}
.scene-next span { color: var(--accent); transition: transform .24s var(--ease); }
.scene-next:hover { border-color: var(--accent); color: var(--accent); }
.scene-next:hover span { transform: translateY(3px); }
.hero-scene { position: absolute; z-index: -1; inset: 0; overflow: clip; perspective: 1050px; pointer-events: none; }
.observatory, .scene-robot, .scene-light, .scene-veil, .scene-orbits { position: absolute; }
.observatory { inset: -2%; }
.observatory img { width: 100%; height: 100%; object-fit: cover; object-position: 63% 50%; }
.scene-light {
  inset: 0;
  background: radial-gradient(ellipse at 74% 49%, #3088ef65, #161f7635 24%, transparent 58%);
  mix-blend-mode: screen;
}
.scene-orbits { inset: 0; width: 100%; height: 100%; }
.scene-robot {
  z-index: 1;
  top: 4%;
  right: clamp(-1%, 4vw, 9%);
  bottom: -13%;
  width: min(50%, 44rem);
  transform-origin: 50% 65%;
}
.scene-robot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  mask-image: linear-gradient(#000 78%, transparent 99%);
}
.scene-veil {
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, #050914 0%, #050914eb 23%, #050914a8 42%, #05091415 57%, transparent 80%),
    linear-gradient(0deg, #080c15 0%, #080c1500 22%, transparent 80%, #080c1559);
}
.motion-active .observatory { transform: translate3d(calc(-4% * var(--progress)), 0, calc(105px * var(--progress))) scale(1.06); }
.motion-active .scene-light { opacity: calc(.44 + var(--progress) * .56); transform: scale(calc(1 + var(--progress) * .2)); }
.motion-active .scene-robot { transform: translate3d(calc(-12% * var(--progress)), calc(-4% * var(--progress)), calc(155px * var(--progress))) rotateY(calc(-18deg * var(--progress))) rotateZ(calc(-3deg * var(--progress))); }
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: entrance .72s var(--ease) backwards; }
  @keyframes entrance { from { opacity: 0; transform: translateY(12px); } }
}

.workbench { position: relative; isolation: isolate; background: #080c15; }
.workbench::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 2%, #253dac5c, transparent 59%),
    repeating-linear-gradient(90deg, transparent 0 79px, #516aaa24 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, #516aaa24 79px 80px);
  mask-image: linear-gradient(#000, transparent 93%);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .workbench::before { animation: grid-pass linear both; animation-timeline: view(); animation-range: entry 0% cover 80%; }
    @keyframes grid-pass { from { transform: translateY(-30px); } to { transform: translateY(48px); } }
  }
}
.features, .capabilities, .install, .faq { padding-block: clamp(4rem, 8vw, 7.6rem); border-top: 1px solid var(--line); }
.section-title { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: end; gap: 1.5rem; margin-bottom: clamp(1.5rem, 4vw, 2.8rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 4.3rem); font-weight: 580; line-height: 1.08; letter-spacing: -.06em; }
.section-title p, .phone-layout > div > p { max-width: 42ch; color: var(--muted); }
.showcase { display: grid; grid-template-columns: minmax(12rem, .7fr) minmax(0, 2fr); gap: .75rem; }
.feature-tabs { display: flex; flex-direction: column; gap: .5rem; }
.feature-tabs button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  min-height: 52px;
  padding: .55rem .8rem;
  text-align: left;
  color: var(--muted);
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: .65rem;
  font-weight: 750;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.feature-tabs button:hover, .feature-tabs button[aria-selected="true"] { color: var(--accent); border-color: #5facc2; background: #172a3b; }
.screen { min-width: 0; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.screen-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; padding: .85rem clamp(.9rem, 3vw, 1.5rem); color: var(--muted); border-bottom: 1px solid var(--line); font-size: .86rem; }
.screen-bar b, .sample-agent strong, .record span { color: var(--accent); }
.screen article { min-height: 19rem; padding: clamp(1rem, 4vw, 2.8rem); }
.screen article:not([hidden]) { animation: panel-in .28s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
.screen h3 { font-size: clamp(1.35rem, 3vw, 2.5rem); line-height: 1.18; letter-spacing: -.045em; }
.screen article > p { max-width: 58ch; margin-top: .7rem; color: var(--muted); }
.conversation, .record { border-top: 1px solid var(--line); margin-top: 1.35rem; padding-top: 1rem; }
.sample-you { text-align: right; margin: 0 0 .75rem auto; color: var(--muted); }
.sample-agent { max-width: 48ch; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--panel); }
.record span { display: block; padding-block: .3rem; font-size: .87rem; }
.record p { color: var(--muted); }

.capability-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.capability-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .78rem; border: 1px solid var(--line); border-radius: .5rem; color: var(--muted); font-size: .88rem; font-weight: 750; transition: background .2s, border-color .2s; }
.capability-nav a:hover { color: var(--accent); border-color: var(--accent); background: var(--surface); }
.capability-list { border-top: 1px solid var(--line); }
.capability { border-bottom: 1px solid var(--line); }
.capability summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
  padding: .9rem .7rem;
  cursor: pointer;
  list-style: none;
}
.capability summary::-webkit-details-marker { display: none; }
.capability summary::after {
  content: "";
  justify-self: center;
  width: .54rem;
  height: .54rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .2s;
}
.capability[open] summary::after { transform: rotate(225deg); }
.capability summary:hover, .capability[open] summary { background: var(--surface); color: var(--accent); }
.capability h3 { font-size: clamp(1.06rem, 2.1vw, 1.65rem); font-weight: 600; line-height: 1.3; letter-spacing: -.025em; text-wrap: wrap; }
.capability-body { max-width: 73ch; padding: .85rem .7rem 1.5rem; }
.capability p + p { margin-top: .7rem; }
.capability .capability-note { color: var(--muted); font-size: .94rem; }
.capability-note strong { color: var(--accent); margin-inline-end: .35rem; }

.phone { background: #121f35; border-block: 1px solid var(--line); }
.phone-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: 2rem; min-height: 30rem; }
.phone-layout > div { padding-block: clamp(2.5rem, 7vw, 5rem); }
.phone-layout > div > p { margin-top: .9rem; }
.phone-layout .button { margin-top: 1.25rem; }
.phone figure { align-self: end; max-height: 29rem; overflow: clip; padding: 1.3rem .7rem 0; }
.phone figure img { width: min(100%, 18rem); height: auto; margin-inline: auto; border: 5px solid #364d6d; border-radius: 1.5rem 1.5rem 0 0; box-shadow: 0 18px 44px #050a166e; }

.install { border-top: 0; }
.downloads { border-top: 1px solid var(--line); }
.download { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; min-height: 70px; padding: .75rem .7rem; gap: .75rem; border-bottom: 1px solid var(--line); transition: background .2s; }
.download:hover { background: var(--surface); }
.download strong { font-family: var(--display); font-size: clamp(.94rem, 2vw, 1.35rem); font-weight: 600; }
.download strong .windows-mark { color: var(--accent); margin-inline-end: .32rem; vertical-align: -.04em; }
.download > span:nth-child(2) { color: var(--muted); font-size: .92rem; }
.download > span:last-child, .text-link { color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: 1rem; font-weight: 750; }

.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.4rem, 5vw, 5rem); }
.faq h2 { font-size: clamp(2rem, 3.6vw, 3.45rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { min-height: 44px; padding: .8rem .2rem; font-weight: 750; cursor: pointer; }
.faq details[open] summary { color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 .2rem .9rem; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-block: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); }
.footer a:last-child { display: inline-flex; align-items: center; min-height: 44px; }
.scroll-ready [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .45s var(--ease), transform .65s var(--ease); }
.scroll-ready [data-reveal].shown, .scroll-ready [data-reveal]:focus-within { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .header { gap: .85rem; }
  .header nav { gap: 1rem; }
  .nav-download-label { display: none; }
  .hero-copy { max-width: min(57%, 38rem); }
  .scene-robot img { object-position: center 58%; }
  .hero-copy h1 { font-size: clamp(2.65rem, 6.2vw, 4.3rem); }
  .actions .button { padding-inline: .75rem; }
}
@media (max-width: 690px) {
  :root { scroll-padding-top: 1rem; }
  .header { position: relative; min-height: auto; grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; row-gap: .2rem; padding-block: .55rem 0; }
  .header .wordmark img { width: 74px; height: 30px; }
  .header nav { grid-area: 2 / 1 / 3 / -1; justify-content: space-between; gap: .65rem; margin-top: .3rem; border-top: 1px solid var(--line); }
  .header nav a { font-size: .86rem; }
  .nav-download { grid-area: 1 / 2; }
  .intro { --header-height: 0px; }
  .intro.motion-active { min-height: 145svh; }
  .hero-stage { min-height: max(655px, calc(100svh - 108px)); }
  .hero { align-content: start; padding-block: clamp(1.35rem, 4vh, 2.7rem) 4rem; }
  .hero-copy { max-width: 29rem; }
  .observatory { inset: 15% -20% -4%; }
  .observatory img { object-position: 70% 63%; }
  .scene-light { inset: 34% 0 0; background: radial-gradient(ellipse at 50% 50%, #365dee64, transparent 67%); }
  .scene-robot { top: 43%; right: 1%; bottom: -9%; width: 94%; }
  .scene-robot img { object-position: center bottom; mask-image: linear-gradient(#000 82%, transparent 99%); }
  .motion-active .scene-robot { transform: translate3d(calc(-5% * var(--progress)), calc(-11% * var(--progress)), calc(72px * var(--progress))) rotateY(calc(-16deg * var(--progress))); }
  .scene-veil { background: linear-gradient(180deg, #050914 1%, #050914ee 35%, #0509146c 51%, transparent 69%, #080c15 100%); }
  .scene-next { right: auto; left: 0; bottom: 1rem; }
  .hero-copy h1 { font-size: clamp(2.05rem, 8.6vw, 3.65rem); }
  .actions { margin-top: 1.15rem; }
  .hero .button { font-size: .9rem; }
  .section-title, .showcase, .faq { grid-template-columns: 1fr; gap: .9rem; }
  .feature-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-tabs button { min-height: 49px; padding-inline: .55rem; font-size: .85rem; }
  .screen article { min-height: 18rem; }
  .phone-layout { min-height: auto; grid-template-columns: 1fr; gap: 0; }
  .phone-layout > div { padding-bottom: 1rem; }
  .phone figure { max-height: 22rem; }
  .footer { font-size: .82rem; }
  .footer img { width: 62px; }
}
@media (max-width: 370px) {
  .hero .primary { flex-basis: 100%; }
  .scene-robot { top: 56%; right: 0; width: 100%; }
  .motion-active .scene-robot { transform: translate3d(calc(-5% * var(--progress)), calc(-5% * var(--progress)), calc(44px * var(--progress))) rotateY(calc(-16deg * var(--progress))); }
  .download { grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .65rem; }
  .download > span:nth-child(2) { grid-row: 2; }
  .download > span:last-child { grid-area: 1 / 2 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scroll-ready [data-reveal] { opacity: 1; transform: none; }
  .motion-active .hero-stage { position: relative; top: auto; }
  .intro.motion-active { min-height: auto; }
  .hero-scene > * { transform: none !important; }
  .scene-orbits { display: none; }
}
