:root {
  --ink: #0a0d16;
  --ink-soft: #151a2a;
  --paper: #f4f3ef;
  --paper-soft: #ebeae5;
  --white: #ffffff;
  --blue: #465bff;
  --blue-bright: #6f7dff;
  --violet: #7a52e8;
  --amber: #f5a544;
  --green: #58d6a9;
  --red: #ff6b78;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Arial Narrow", "Aptos Display", "Helvetica Neue", Arial, sans-serif;
  --shell: min(92vw, 1440px);
  --header-height: 82px;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-smooth: cubic-bezier(.65, 0, .35, 1);
  --duration: 700ms;
}

html[data-theme="light"] {
  --page: #f4f3ef;
  --surface: #ffffff;
  --surface-raised: #fdfdfb;
  --surface-soft: #e9e8e3;
  --text: #10131d;
  --text-soft: #5d6270;
  --line: rgba(16, 19, 29, .13);
  --line-strong: rgba(16, 19, 29, .24);
  --shadow: 0 30px 80px rgba(20, 24, 40, .12);
  --header-surface: rgba(244, 243, 239, .84);
}

html[data-theme="dark"] {
  --page: #090c14;
  --surface: #101521;
  --surface-raised: #161c2b;
  --surface-soft: #0c111c;
  --text: #f4f4f2;
  --text-soft: #a4aaba;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .2);
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
  --header-surface: rgba(9, 12, 20, .82);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
  color-scheme: dark;
  scrollbar-color: var(--blue) var(--page);
  scrollbar-width: thin;
}

html[data-theme="light"] {
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 350ms ease, color 350ms ease;
}

.route-forward {
  display: grid;
  width: min(90vw, 520px);
  min-height: 100svh;
  align-content: center;
  justify-items: start;
  gap: 24px;
  margin-inline: auto;
}

.route-forward img {
  width: 132px;
  height: auto;
}

.route-forward p {
  margin: 0;
  color: var(--text-soft);
}

html[data-theme="dark"] .route-forward .brand-light,
html[data-theme="light"] .route-forward .brand-dark {
  display: block;
}

html[data-theme="dark"] .route-forward .brand-dark,
html[data-theme="light"] .route-forward .brand-light {
  display: none;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--blue);
  color: #fff;
}

::-moz-selection {
  background: var(--blue);
  color: #fff;
}

img, svg {
  display: block;
}

img {
  max-width: 100%;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

:where(
  a,
  button,
  label,
  select,
  option,
  [role="button"],
  [role="tab"],
  .scroll-progress,
  .eyebrow,
  .floating-metric,
  .frame-bar,
  .feature-index,
  .tour-number,
  .tour-progress,
  .mobile-chip,
  .plan-number,
  .plan-best,
  .download-platform,
  .download-action,
  .status-dot,
  .cookie-icon,
  .not-found-code,
  .route-console,
  .footer-column h2
) {
  user-select: none;
  -webkit-user-select: none;
}

:where(
  input,
  textarea,
  pre,
  code,
  kbd,
  samp,
  .resource-copy,
  .download-copy,
  [data-contact-text],
  [data-copyable]
) {
  user-select: text;
  -webkit-user-select: text;
}

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

button, input, textarea, select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:not(:disabled),
a[href] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 72%, white);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  translate: 0 -150%;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: translate 180ms ease;
}

.skip-link:focus {
  translate: 0;
}

.scroll-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--violet), var(--blue-bright), var(--amber));
}

.section-shell {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(96px, 11vw, 180px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .21em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .46fr);
  align-items: end;
  gap: 6vw;
  margin-bottom: clamp(50px, 7vw, 95px);
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1.5vw;
}

.section-intro h2,
.tour-header h2,
.download-header h2,
.mobile-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(43px, 6vw, 86px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .94;
}

.section-intro > p:last-child,
.tour-header > p,
.download-header > p,
.mobile-copy > p,
.contact-copy > p {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.6;
}

.section-intro-centered {
  display: block;
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}

.section-intro-centered .eyebrow {
  margin-bottom: 24px;
}

.section-intro-centered > p:last-child {
  max-width: 680px;
  margin: 28px auto 0;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: center;
  transition: transform 300ms var(--ease-out), background-color 300ms ease, border-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, .28), transparent 78%);
  content: "";
  transform: translateX(-110%);
  transition: transform 650ms var(--ease-out);
}

.button:hover::before {
  transform: translateX(110%);
}

.button:hover {
  transform: translateY(-3px);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--blue);
  box-shadow: 0 15px 40px rgba(70, 91, 255, .28);
  color: #fff;
}

.button-primary:hover {
  background: #334af7;
  box-shadow: 0 22px 50px rgba(70, 91, 255, .38);
}

.button-ghost {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.button-ghost:hover {
  border-color: var(--blue-bright);
  background: color-mix(in srgb, var(--blue) 9%, var(--surface));
}

.button-dark {
  background: #0a0d16;
  color: #fff;
}

.button-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 3px;
  background: transparent;
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
  font-weight: 750;
  transition: color 200ms ease;
}

.text-link:hover {
  color: #fff;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: height 350ms var(--ease-out), background-color 350ms ease, border-color 350ms ease, box-shadow 350ms ease, color 350ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  border-color: var(--line);
  background: var(--header-surface);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
  color: var(--text);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
}

.header-shell {
  display: grid;
  width: min(96vw, 1540px);
  height: 100%;
  align-items: center;
  margin-inline: auto;
  grid-template-columns: 180px 1fr auto;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
}

.brand img {
  width: 118px;
  height: auto;
  object-fit: contain;
}

.brand-dark {
  display: none;
}

.brand-light {
  display: block;
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .brand img {
  width: 106px;
}

html[data-theme="light"] .site-header.is-scrolled .brand-dark,
html[data-theme="light"] .login-mark .brand-dark {
  display: block;
}

html[data-theme="light"] .site-header.is-scrolled .brand-light,
html[data-theme="light"] .login-mark .brand-light {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 38px);
}

.main-nav a {
  position: relative;
  padding: 9px 0;
  color: currentColor;
  font-size: 12px;
  font-weight: 700;
  opacity: .72;
  transition: opacity 200ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-out);
}

.main-nav a:hover,
.main-nav a.is-active {
  opacity: 1;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.round-control,
.nav-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: currentColor;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.site-header.is-scrolled .round-control,
.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 56%, transparent);
}

.round-control:hover,
.nav-toggle:hover {
  border-color: var(--blue-bright);
  background: color-mix(in srgb, var(--blue) 15%, transparent);
  transform: translateY(-2px);
}

.round-control svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.language-toggle {
  width: auto;
  padding-inline: 12px;
  border-radius: 999px;
}

.language-toggle span {
  font-size: 10px;
  font-weight: 850;
}

.theme-icon {
  display: none;
}

html[data-theme-preference="auto"] .theme-icon-auto,
html[data-theme-preference="light"] .theme-icon-light,
html[data-theme-preference="dark"] .theme-icon-dark {
  display: block;
}

.portal-control {
  display: inline-flex;
  height: 42px;
  align-items: center;
  gap: 8px;
  margin-left: 3px;
  padding: 0 17px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  transition: transform 250ms var(--ease-out), box-shadow 250ms ease;
}

.site-header.is-scrolled .portal-control {
  background: var(--text);
  color: var(--page);
}

.portal-control:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  transform: translateY(-2px);
}

.portal-control svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: transform 300ms var(--ease-out), opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.control-wrap {
  position: relative;
}

.control-menu {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 14px);
  right: 0;
  width: 220px;
  max-height: min(520px, calc(100dvh - 90px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
  color: var(--text);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  transform-origin: top right;
  animation: menu-in 220ms var(--ease-out) both;
}

.control-menu-label {
  padding: 10px 11px 9px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.control-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 11px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  text-align: left;
}

.control-menu button span {
  display: inline-flex;
  width: 30px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-soft);
  font-size: 9px;
  font-weight: 850;
}

.control-menu button:hover,
.control-menu button.is-active {
  background: color-mix(in srgb, var(--blue) 12%, var(--surface));
}

.control-menu button.is-active span {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px) scale(.97); }
  to { opacity: 1; transform: none; }
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 66px) 0 84px;
  background: #050811;
  color: #fff;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .77;
  object-fit: cover;
  object-position: center;
  scale: 1.035;
  animation: atmosphere-breathe 14s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 17, .84) 0%, rgba(5, 8, 17, .5) 43%, rgba(5, 8, 17, .12) 75%), linear-gradient(0deg, #050811 0%, transparent 25%);
  content: "";
}

.hero-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-position: center;
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent);
}

.hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-glow-one {
  top: 8%;
  left: 38%;
  width: 360px;
  height: 360px;
  background: rgba(70, 91, 255, .2);
}

.hero-glow-two {
  right: 3%;
  bottom: 3%;
  width: 260px;
  height: 260px;
  background: rgba(245, 165, 68, .12);
}

.hero-shell {
  z-index: 3;
  display: grid;
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
  grid-template-columns: minmax(430px, .82fr) minmax(580px, 1.18fr);
}

.hero-copy {
  max-width: 690px;
}

.hero-copy .eyebrow {
  color: #9aa5ff;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(61px, 7.15vw, 112px);
  font-weight: 600;
  letter-spacing: -.077em;
  line-height: .84;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  width: fit-content;
  padding-right: .08em;
  background: linear-gradient(100deg, #fff 8%, #b2baff 48%, #7b8bff 80%, #d2a575);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-lede {
  max-width: 650px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, .67);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.hero .button-ghost {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .11);
  list-style: none;
}

.platform-list li,
.download-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .6);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(88, 214, 169, .13), 0 0 20px rgba(88, 214, 169, .7);
}

.hero-visual {
  position: relative;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.hero-product-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: rgba(11, 14, 24, .88);
  box-shadow: 0 50px 120px rgba(0, 0, 0, .65), 0 0 0 1px rgba(69, 91, 255, .16), inset 0 1px rgba(255, 255, 255, .15);
  transform: rotateY(-5deg) rotateX(1.5deg);
  transition: transform 350ms var(--ease-out);
}

.hero-product-frame::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 70px rgba(70, 91, 255, .12);
  content: "";
  pointer-events: none;
}

.hero-product-frame > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.frame-bar {
  display: flex;
  height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 13, 22, .94);
  color: rgba(255, 255, 255, .56);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.frame-dots {
  display: flex;
  gap: 5px;
  margin-right: 5px;
}

.frame-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .23);
}

.frame-dots span:first-child {
  background: #ff6873;
}

.frame-dots span:nth-child(2) {
  background: #f5b649;
}

.frame-dots span:nth-child(3) {
  background: #5dd3a4;
}

.frame-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.frame-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.screen-sheen {
  position: absolute;
  z-index: 2;
  top: -30%;
  left: 15%;
  width: 24%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .05), transparent);
  pointer-events: none;
  rotate: 14deg;
}

.floating-metric {
  position: absolute;
  z-index: 4;
  display: flex;
  min-width: 190px;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 13px;
  background: rgba(13, 17, 29, .76);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  backface-visibility: hidden;
  animation: metric-float 5s ease-in-out infinite;
}

.floating-metric b,
.floating-metric small {
  display: block;
}

.floating-metric b {
  color: #fff;
  font-size: 10px;
  line-height: 1.25;
}

.floating-metric small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .43);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
}

.metric-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
}

.metric-icon svg {
  width: 17px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.metric-blue { background: linear-gradient(135deg, #465bff, #2638b5); }
.metric-amber { background: linear-gradient(135deg, #edab58, #9b542c); }
.metric-violet { background: linear-gradient(135deg, #8d63f2, #4d2da8); }

.metric-one {
  top: 8%;
  left: -8%;
}

.metric-two {
  right: -5%;
  bottom: 22%;
  animation-delay: -1.8s;
}

.metric-three {
  bottom: 24%;
  left: 10%;
  animation-delay: -3.1s;
}

.hero-scroll {
  position: absolute;
  z-index: 4;
  bottom: 27px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .4);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .22em;
  transform: translateX(-50%);
}

.hero-scroll > span:first-child {
  position: relative;
  display: block;
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, .2);
}

.hero-scroll > span:first-child::after {
  position: absolute;
  inset: 0;
  background: #fff;
  content: "";
  animation: scroll-line 1.8s ease-in-out infinite;
}

.hero-scroll b {
  font: inherit;
}

@keyframes atmosphere-breathe {
  from { scale: 1.035; filter: saturate(.9); }
  to { scale: 1.08; filter: saturate(1.12); }
}

@keyframes metric-float {
  0%, 100% { transform: translate3d(0, 0, 72px); }
  50% { transform: translate3d(0, -10px, 72px); }
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

/* Capability marquee */
.capability-marquee {
  position: relative;
  left: 50%;
  width: 100vw;
  overflow: hidden;
  margin-left: -50vw;
  border-block: 1px solid rgba(255, 255, 255, .13);
  background: var(--blue);
  color: #fff;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
  animation: marquee 34s linear infinite;
}

.marquee-group {
  display: flex;
  width: max-content;
  min-width: 100vw;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  padding: 16px 28px;
}

.marquee-group span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.marquee-group i {
  color: rgba(255, 255, 255, .5);
  font-size: 9px;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

/* Features */
.features-section {
  overflow: hidden;
  background: var(--page);
}

.features-section::before {
  position: absolute;
  top: -190px;
  left: 45%;
  width: 500px;
  height: 500px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  opacity: .7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(30px, 3vw, 48px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
  transition: background-color 350ms ease, color 350ms ease, transform 500ms var(--ease-out), box-shadow 500ms ease;
}

.feature-card:nth-child(3n),
.feature-card:last-child {
  border-right: 1px solid var(--line);
}

.feature-card:nth-last-child(-n + 3) {
  border-bottom: 1px solid var(--line);
}

.feature-card:first-child {
  border-top-left-radius: var(--radius-lg);
}

.feature-card:nth-child(3) {
  border-top-right-radius: var(--radius-lg);
}

.feature-card:nth-child(4) {
  border-bottom-left-radius: var(--radius-lg);
}

.feature-card:last-child {
  border-bottom-right-radius: var(--radius-lg);
}

.feature-card::after {
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 91, 255, .18), transparent 67%);
  content: "";
  opacity: 0;
  transition: opacity 500ms ease;
}

.feature-card:hover {
  z-index: 2;
  background: color-mix(in srgb, var(--surface) 88%, var(--blue) 12%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .12);
  transform: translateY(-9px);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-index {
  position: absolute;
  top: 27px;
  right: 31px;
  color: var(--text-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  transition: color 300ms ease;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 58px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-raised);
  color: var(--blue-bright);
  transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease;
}

.feature-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.feature-card h3 {
  margin: 0 0 13px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.2vw, 35px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1;
}

.feature-card p {
  max-width: 340px;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
  transition: color 300ms ease;
}

.feature-card-large {
  background: var(--ink);
  color: #fff;
}

.feature-card-large p {
  color: rgba(255, 255, 255, .6);
}

.feature-card-large .feature-icon {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
}

.feature-card-accent {
  background: linear-gradient(145deg, var(--blue), #2737aa);
  color: #fff;
}

.feature-card-accent p,
.feature-card-accent .feature-index {
  color: rgba(255, 255, 255, .66);
}

.feature-card-accent .feature-icon {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.feature-mini-ui {
  position: absolute;
  right: 35px;
  bottom: 35px;
  display: grid;
  width: 88px;
  gap: 4px;
  grid-template-columns: repeat(2, 1fr);
  opacity: .7;
}

.feature-mini-ui span {
  height: 20px;
  border-radius: 4px;
  background: #313a74;
}

.feature-mini-ui span:nth-child(2) { background: #6b4385; }
.feature-mini-ui span:nth-child(3) { background: #8b5446; }
.feature-mini-ui span:nth-child(4) { background: #24543a; }

.feature-card:hover {
  background: var(--text);
  color: var(--page);
}

.feature-card:hover p,
.feature-card:hover .feature-index {
  color: color-mix(in srgb, var(--page) 72%, transparent);
}

.feature-card:hover .feature-icon {
  border-color: color-mix(in srgb, var(--page) 26%, transparent);
  background: color-mix(in srgb, var(--page) 10%, transparent);
  color: var(--page);
}

/* Tour */
.tour-section {
  overflow: hidden;
  background: #070a12;
  color: #fff;
}

.tour-section::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
}

.tour-header,
.download-header {
  display: grid;
  align-items: end;
  gap: 8vw;
  margin-bottom: clamp(50px, 7vw, 90px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
}

.tour-header h2 {
  max-width: 950px;
}

.tour-header > p {
  color: rgba(255, 255, 255, .55);
}

.tour-tabs {
  display: grid;
  border-block: 1px solid rgba(255, 255, 255, .12);
  grid-template-columns: repeat(3, 1fr);
}

.tour-tabs button {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px clamp(18px, 3vw, 40px);
  border-right: 1px solid rgba(255, 255, 255, .12);
  background: transparent;
  color: rgba(255, 255, 255, .44);
  text-align: left;
  transition: background-color 300ms ease, color 300ms ease;
}

.tour-tabs button:last-child {
  border-right: 0;
}

.tour-tabs button span {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

.tour-tabs button b {
  font-size: 12px;
}

.tour-tabs button:hover,
.tour-tabs button[aria-selected="true"] {
  background: rgba(70, 91, 255, .12);
  color: #fff;
}

.tour-stage {
  display: grid;
  min-height: 690px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
}

.tour-media {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(70, 91, 255, .2), transparent 56%), #0d111b;
}

.tour-media::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), transparent 35%);
  content: "";
  pointer-events: none;
}

.tour-image {
  width: 100%;
  height: 100%;
  margin: 0;
  animation: tour-image-in 650ms var(--ease-out) both;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(25px, 5vw, 78px);
  filter: drop-shadow(0 35px 50px rgba(0, 0, 0, .55));
}

@keyframes tour-image-in {
  from { opacity: 0; transform: scale(.96) translateY(22px); }
  to { opacity: 1; transform: none; }
}

.play-button {
  position: absolute;
  bottom: 28px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: transparent;
  color: #fff;
}

.play-button > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  transition: scale 300ms var(--ease-out);
}

.play-button:hover > span {
  scale: 1.1;
}

.play-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.play-button b {
  font-size: 11px;
}

.tour-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px);
  border-left: 1px solid rgba(255, 255, 255, .12);
  background: #090c14;
}

.tour-copy article {
  animation: tour-copy-in 500ms var(--ease-out) both;
}

.tour-number {
  display: block;
  margin-bottom: 46px;
  color: #7d89ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .16em;
}

.tour-copy h3 {
  margin: 0 0 25px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 67px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .94;
}

.tour-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .56);
  font-size: 15px;
  line-height: 1.7;
}

.tour-progress {
  position: absolute;
  right: clamp(40px, 5vw, 80px);
  bottom: clamp(35px, 5vw, 66px);
  left: clamp(40px, 5vw, 80px);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .13);
}

.tour-progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--blue-bright);
  transition: transform 550ms var(--ease-out);
}

@keyframes tour-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Mobile */
.mobile-section {
  overflow: hidden;
  background: var(--surface-soft);
}

.mobile-shell {
  display: grid;
  align-items: center;
  gap: clamp(45px, 9vw, 150px);
  grid-template-columns: minmax(360px, .9fr) minmax(400px, 1.1fr);
}

.mobile-visual {
  position: relative;
  min-height: 690px;
}

.mobile-visual > img {
  position: absolute;
  z-index: 2;
  bottom: -120px;
  left: 50%;
  width: min(100%, 590px);
  max-height: 820px;
  object-fit: contain;
  filter: drop-shadow(0 50px 55px rgba(0, 0, 0, .3));
  transform: translateX(-50%);
}

.phone-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 91, 255, .2), rgba(122, 82, 232, .08) 44%, transparent 68%);
  transform: translate(-50%, -50%);
}

.phone-aura::before,
.phone-aura::after {
  position: absolute;
  inset: 12%;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.phone-aura::after {
  inset: 25%;
}

.mobile-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: var(--shadow);
  font-size: 10px;
  font-weight: 800;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.mobile-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.chip-service {
  right: 0;
  bottom: 20%;
}

.mobile-orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one {
  top: 5%;
  left: -140px;
  width: 460px;
  height: 460px;
}

.orbit-two {
  right: -90px;
  bottom: -220px;
  width: 520px;
  height: 520px;
}

.mobile-copy {
  max-width: 650px;
}

.mobile-copy > p {
  max-width: 580px;
  margin-top: 30px;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  grid-template-columns: 1fr;
}

.check-list li {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 650;
}

.check-list li:nth-child(odd) {
  padding-right: 0;
}

.check-list li:nth-child(even) {
  padding-left: 0;
}

.check-list li > span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 12%, var(--surface));
  color: var(--blue-bright);
  font-size: 10px;
  font-weight: 900;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

/* Plans */
.plans-section {
  background: var(--page);
}

.plan-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  grid-template-columns: repeat(3, 1fr);
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: clamp(30px, 3vw, 47px);
  border-right: 1px solid var(--line);
  background: var(--surface);
  transition: background-color 350ms ease, color 350ms ease;
}

.plan-card:last-child {
  border-right: 0;
}

.plan-card:hover {
  background: var(--text);
  color: var(--page);
}

.plan-number {
  color: var(--text-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
  transition: color 300ms ease;
}

.plan-best {
  position: absolute;
  top: 30px;
  right: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 72px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(31px, 2.8vw, 46px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .96;
}

.plan-card p {
  margin: 0 0 38px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.65;
  transition: color 300ms ease;
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
}

.plan-trial {
  background: #eef0ff;
  color: #10131d;
}

.plan-trial p,
.plan-trial .plan-number {
  color: #63697b;
}

.plan-featured {
  background: linear-gradient(145deg, #465bff, #283aaa);
  color: #fff;
}

.plan-featured p,
.plan-featured .plan-number {
  color: rgba(255, 255, 255, .65);
}

.plan-featured .button-primary {
  background: #fff;
  box-shadow: none;
  color: var(--ink);
}

.plan-card:hover p,
.plan-card:hover .plan-number {
  color: color-mix(in srgb, var(--page) 72%, transparent);
}

.plan-card:hover .button {
  border-color: color-mix(in srgb, var(--page) 28%, transparent);
  background: var(--page);
  box-shadow: none;
  color: var(--text);
}

.plan-card:hover .plan-best {
  border-color: color-mix(in srgb, var(--page) 28%, transparent);
  background: color-mix(in srgb, var(--page) 10%, transparent);
  color: var(--page);
}

.plan-includes {
  display: grid;
  gap: 0 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.plan-includes > span {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 650;
}

.plan-includes i {
  color: var(--blue-bright);
  font-style: normal;
}

.legacy-plan-note {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

/* Downloads */
.downloads-section {
  overflow: hidden;
  background: var(--surface-soft);
}

.downloads-section::before {
  position: absolute;
  top: -320px;
  right: -260px;
  width: 700px;
  height: 700px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.download-header > p {
  color: var(--text-soft);
}

.download-list {
  border-top: 1px solid var(--line-strong);
}

.download-card {
  display: grid;
  min-height: 148px;
  align-items: center;
  gap: clamp(20px, 3vw, 50px);
  padding: 20px clamp(12px, 2vw, 28px);
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 70px 1fr auto;
  transition: background-color 350ms ease, color 350ms ease, padding 350ms var(--ease-out);
}

.download-card:hover {
  padding-right: 12px;
  padding-left: 42px;
  background: var(--text);
  color: var(--page);
}

.download-platform {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  color: var(--blue-bright);
  transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease;
}

.download-platform svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.windows-mark {
  color: #1675d1;
}

.windows-mark svg {
  width: 30px;
  fill: currentColor;
  stroke: none;
}

.download-copy b,
.download-copy small {
  display: block;
}

.download-copy b {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 600;
  letter-spacing: -.045em;
}

.download-copy small {
  color: var(--text-soft);
  font-size: 12px;
  transition: color 300ms ease;
}

.download-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color 300ms ease;
}

.download-action svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 300ms var(--ease-out);
}

.download-card:hover .download-action {
  color: var(--page);
}

.download-card:hover .download-copy small {
  color: color-mix(in srgb, var(--page) 72%, transparent);
}

.download-card:hover .download-platform {
  border-color: color-mix(in srgb, var(--page) 28%, transparent);
  background: var(--page);
  color: var(--text);
}

.download-card:hover .download-action svg {
  transform: translateY(4px);
}

.download-note {
  margin: 25px 0 0;
  color: var(--text-soft);
}

/* Contact */
.contact-section {
  overflow: hidden;
  background: #070a12;
  color: #fff;
}

.contact-section::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
}

.contact-orb {
  position: absolute;
  right: -200px;
  bottom: -300px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 91, 255, .23), transparent 65%);
}

.contact-shell {
  display: grid;
  align-items: start;
  gap: clamp(50px, 9vw, 150px);
  grid-template-columns: minmax(350px, .85fr) minmax(520px, 1.15fr);
}

.contact-copy > p {
  max-width: 560px;
  margin-top: 30px;
  color: rgba(255, 255, 255, .55);
}

.contact-lines {
  display: grid;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.contact-lines a {
  display: grid;
  min-height: 86px;
  align-items: center;
  gap: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  grid-template-columns: 45px 1fr;
}

.contact-lines a > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  color: #9aa5ff;
  grid-row: 1 / 3;
}

.contact-lines svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.contact-lines small,
.contact-lines b {
  display: block;
  transition: color 200ms ease;
}

.contact-lines small {
  align-self: end;
  color: rgba(255, 255, 255, .4);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.contact-lines b {
  align-self: start;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
}

.contact-lines a:hover b {
  color: #9aa5ff;
}

.support-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 31px;
}

.pulse-ring {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(88, 214, 169, .35);
  border-radius: 50%;
}

.pulse-ring::before {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(88, 214, 169, .35);
  border-radius: 50%;
  content: "";
  animation: pulse 2.2s ease-out infinite;
}

.pulse-ring i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.support-note b {
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
}

.support-note p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .4);
  font-size: 11px;
}

@keyframes pulse {
  to { opacity: 0; transform: scale(1.7); }
}

.contact-form {
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.form-heading {
  display: flex;
  align-items: baseline;
  gap: 17px;
  margin-bottom: 42px;
}

.form-heading span {
  color: #8290ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
}

.form-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 600;
  letter-spacing: -.05em;
}

.contact-form label,
.site-dialog form label,
.portal-form label {
  display: block;
  margin-bottom: 27px;
}

.contact-form label > span,
.site-dialog form label > span,
.portal-form label > span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .54);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form input,
.contact-form textarea,
.site-dialog input,
.portal-form input,
.portal-form select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  transition: border-color 200ms ease;
}

.contact-form input,
.site-dialog input {
  height: 51px;
}

.contact-form textarea {
  padding: 13px 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.site-dialog input:focus {
  border-color: #8290ff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.site-dialog input::placeholder {
  color: rgba(255, 255, 255, .58);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 16px;
}

.form-footer > p {
  max-width: 290px;
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-size: 10px;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 90px 0 30px;
  background: #05070d;
  color: #fff;
}

.footer-glow {
  position: absolute;
  top: -280px;
  left: -180px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 91, 255, .14), transparent 67%);
}

.footer-main {
  display: grid;
  gap: 45px;
  padding-bottom: 85px;
  grid-template-columns: 1.4fr repeat(3, .65fr);
}

.footer-brand img {
  width: 120px;
  height: auto;
}

.footer-brand p {
  margin: 25px 0 9px;
  color: rgba(255, 255, 255, .65);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.footer-brand a {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .64);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column button {
  padding: 1px 0;
  background: transparent;
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  text-align: left;
  transition: color 200ms ease, transform 200ms ease;
}

.footer-column a:hover,
.footer-column button:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  gap: 35px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
}

.footer-bottom p {
  margin: 0 auto 0 0;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, .75);
}

.footer-language {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  font-weight: 750;
}

.footer-language-menu {
  top: auto;
  right: 0;
  bottom: 54px;
  transform-origin: bottom right;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 87%, transparent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  transition: opacity 250ms ease, transform 350ms var(--ease-out), background-color 250ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  background: var(--blue);
  color: #fff;
}

.back-to-top svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

/* Cookie */
.cookie-notice {
  position: fixed;
  z-index: 1500;
  bottom: 20px;
  left: 20px;
  display: grid;
  width: min(600px, calc(100vw - 40px));
  align-items: center;
  gap: 16px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
  grid-template-columns: auto 1fr auto;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  animation: cookie-in 500ms var(--ease-out) both;
}

.cookie-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 13%, var(--surface));
  color: var(--blue-bright);
  font-size: 25px;
}

.cookie-notice b {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
}

.cookie-notice p {
  margin: 0;
  color: var(--text-soft);
  font-size: 9px;
  line-height: 1.5;
}

.cookie-notice button {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--page);
  font-size: 10px;
  font-weight: 800;
}

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Dialogs */
.site-dialog {
  width: min(92vw, 900px);
  max-height: min(90svh, 850px);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  outline: none;
  background: var(--surface);
  box-shadow: 0 50px 140px rgba(0, 0, 0, .62);
  color: var(--text);
}

.site-dialog[open] {
  animation: dialog-in 420ms var(--ease-out) both;
}

.site-dialog::backdrop {
  background: rgba(2, 4, 10, .76);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: backdrop-in 300ms ease both;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to { opacity: 1; transform: none; }
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  color: var(--text);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.dialog-close:hover {
  background: var(--blue);
  color: #fff;
}

.dialog-close svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.trial-dialog {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
}

.trial-dialog:not([open]) {
  display: none;
}

.dialog-art {
  position: relative;
  display: grid;
  min-height: 600px;
  overflow: hidden;
  place-items: center;
  padding: 40px;
  background: linear-gradient(145deg, #dfe4ff, #f3edff);
}

.dialog-art::before {
  position: absolute;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(70, 91, 255, .16);
  border-radius: 50%;
  content: "";
}

.dialog-art img {
  position: relative;
  z-index: 1;
  width: 100%;
}

.dialog-content {
  padding: clamp(42px, 6vw, 82px);
}

.dialog-content h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .94;
}

.dialog-content > p:not(.eyebrow):not(.fine-print) {
  margin: 24px 0 34px;
  color: var(--text-soft);
  font-size: 14px;
}

.site-dialog form label > span {
  color: var(--text-soft);
}

.site-dialog input {
  border-color: var(--line-strong);
  color: var(--text);
}

.site-dialog input::placeholder {
  color: color-mix(in srgb, var(--text-soft) 55%, transparent);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 35px;
}

.login-dialog,
.resource-dialog {
  width: min(92vw, 580px);
}

.resource-dialog {
  width: min(92vw, 760px);
}

.resource-copy {
  min-height: 170px;
  max-height: min(52svh, 520px);
  overflow: auto;
  margin-top: 30px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.8;
  scrollbar-color: var(--blue) transparent;
  white-space: pre-wrap;
}

.resource-copy p {
  margin: 0;
}

.resource-copy[aria-busy="true"] {
  display: grid;
  align-items: center;
}

.login-mark {
  padding: 36px 55px 0;
}

.login-mark img {
  width: 120px;
  height: auto;
}

.preview-lock {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 35px 0 18px;
  place-items: center;
  border-radius: 22px;
  background: color-mix(in srgb, var(--blue) 12%, var(--surface));
  color: var(--blue-bright);
}

.preview-lock svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.auth-preview {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.auth-preview label {
  display: block;
}

.auth-preview label > span {
  display: block;
  margin-bottom: 3px;
  color: var(--text-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.auth-preview input {
  height: 38px;
}

.auth-preview .button {
  width: 100%;
  margin-top: 5px;
  opacity: .58;
}

.fine-print {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 10px;
}

.video-dialog {
  width: min(94vw, 1280px);
  max-height: 94svh;
  overflow: visible;
  border: 0;
  background: #05070d;
  color: #fff;
}

.dialog-close-video {
  top: -52px;
  right: 0;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: #000;
}

.video-poster {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: #080b12;
  color: #fff;
}

.video-poster::after {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 14, .5);
  content: "";
}

.video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}

.video-poster span,
.video-poster b {
  position: relative;
  z-index: 2;
}

.video-poster span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.video-poster svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.video-poster b {
  position: absolute;
  bottom: 30%;
  font-size: 11px;
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 3000;
  top: 88px;
  left: 50%;
  width: min(90vw, 470px);
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: toast-in 350ms var(--ease-out) both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, -12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Reveal motion */
html.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.js .reveal-delay-1 { transition-delay: 90ms; }
html.js .reveal-delay-2 { transition-delay: 180ms; }
html.js .reveal-delay-3 { transition-delay: 270ms; }
html.js .reveal-delay-4 { transition-delay: 360ms; }

/* Responsive */
@media (max-width: 1240px) {
  .header-shell {
    grid-template-columns: 145px 1fr auto;
  }

  .main-nav {
    gap: 18px;
  }

  .portal-control span {
    display: none;
  }

  .portal-control {
    width: 42px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

  .hero-shell {
    gap: 45px;
    grid-template-columns: minmax(400px, .9fr) minmax(500px, 1.1fr);
  }

  .metric-one { left: -3%; }
  .metric-two { right: -2%; }
}

@media (max-width: 1020px) {
  :root {
    --header-height: 72px;
    --shell: min(90vw, 860px);
  }

  .header-shell {
    width: 92vw;
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 110px 8vw 50px;
    background: color-mix(in srgb, var(--surface) 97%, transparent);
    color: var(--text);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-20px);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    overscroll-behavior: contain;
    transition: opacity 300ms ease, transform 450ms var(--ease-out), visibility 0s linear 450ms;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  body.menu-open .site-header {
    color: var(--text);
  }

  html[data-theme="light"] body.menu-open .site-header .brand-dark {
    display: block;
  }

  html[data-theme="light"] body.menu-open .site-header .brand-light {
    display: none;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 54px);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: 1;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-shell {
    gap: 75px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    width: 88%;
    margin-inline: auto;
  }

  .hero-scroll {
    display: none;
  }

  .section-intro,
  .tour-header,
  .download-header {
    display: block;
  }

  .section-intro .eyebrow {
    margin-bottom: 22px;
  }

  .section-intro > p:last-child,
  .tour-header > p,
  .download-header > p {
    max-width: 650px;
    margin-top: 28px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card:nth-child(3n),
  .feature-card:nth-child(4) {
    border-right: 0;
    border-radius: 0;
  }

  .feature-card:nth-child(2),
  .feature-card:nth-child(4),
  .feature-card:nth-child(6) {
    border-right: 1px solid var(--line);
  }

  .feature-card:nth-child(3) {
    border-top-right-radius: 0;
  }

  .feature-card:nth-child(2) {
    border-top-right-radius: var(--radius-lg);
  }

  .feature-card:nth-child(4) {
    border-bottom-left-radius: 0;
  }

  .feature-card:nth-child(5) {
    border-bottom: 1px solid var(--line);
    border-bottom-left-radius: var(--radius-lg);
  }

  .tour-stage {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .tour-media {
    min-height: 610px;
  }

  .tour-copy {
    min-height: 390px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 0;
  }

  .mobile-shell {
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .mobile-copy {
    max-width: 760px;
    order: -1;
  }

  .mobile-visual {
    min-height: 720px;
  }

  .mobile-visual > img {
    width: 580px;
  }

  .plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plan-card:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .plan-card:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 780px;
  }

  .footer-main {
    grid-template-columns: 1.25fr repeat(3, .75fr);
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100vw - 36px);
  }

  .site-header,
  .site-header.is-scrolled {
    height: 64px;
  }

  .header-shell {
    width: calc(100vw - 30px);
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    width: 98px;
  }

  .language-toggle {
    width: 40px;
    padding: 0;
  }

  .language-toggle svg {
    display: none;
  }

  .round-control,
  .nav-toggle,
  .portal-control {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
    padding: 124px 0 88px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(5, 8, 17, .82), rgba(5, 8, 17, .42)), linear-gradient(0deg, #050811 0%, transparent 30%);
  }

  .hero-atmosphere {
    object-position: 64% center;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 76px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-ctas {
    align-items: stretch;
  }

  .hero-ctas .button {
    flex: 1 1 100%;
  }

  .hero-ctas .text-link {
    justify-content: center;
  }

  .platform-list {
    display: grid;
    gap: 12px 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    width: 100%;
  }

  .hero-product-frame {
    border-radius: 14px;
    transform: none;
  }

  .frame-bar {
    height: 38px;
  }

  .frame-status {
    display: none;
  }

  .floating-metric {
    min-width: 0;
    padding: 8px;
  }

  .floating-metric > span:last-child {
    display: none;
  }

  .metric-one { top: -8%; left: 3%; }
  .metric-two { right: 2%; bottom: 12%; }
  .metric-three { bottom: 20%; left: 25%; }

  .section {
    padding-block: 100px;
  }

  .section-intro h2,
  .tour-header h2,
  .download-header h2,
  .mobile-copy h2,
  .contact-copy h2 {
    font-size: clamp(43px, 14.3vw, 65px);
  }

  .section-intro > p:last-child,
  .tour-header > p,
  .download-header > p,
  .mobile-copy > p,
  .contact-copy > p {
    font-size: 15px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:nth-child(n) {
    min-height: 290px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 0;
  }

  .feature-card:first-child {
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
  }

  .feature-card:last-child {
    border-bottom: 1px solid var(--line);
    border-bottom-right-radius: 26px;
    border-bottom-left-radius: 26px;
  }

  .feature-icon {
    margin-bottom: 45px;
  }

  .tour-tabs button {
    justify-content: center;
    padding: 18px 9px;
  }

  .tour-tabs button span {
    display: none;
  }

  .tour-tabs button b {
    font-size: 10px;
  }

  .tour-media {
    min-height: 390px;
  }

  .tour-image img {
    padding: 20px;
  }

  .play-button {
    right: 17px;
    bottom: 17px;
    left: auto;
  }

  .play-button > span {
    width: 48px;
    height: 48px;
  }

  .play-button b {
    display: none;
  }

  .tour-copy {
    min-height: 380px;
    padding: 45px 25px 85px;
  }

  .tour-progress {
    right: 25px;
    bottom: 36px;
    left: 25px;
  }

  .mobile-visual {
    min-height: 560px;
  }

  .mobile-visual > img {
    bottom: -100px;
    width: 470px;
    max-width: 120%;
  }

  .phone-aura {
    width: 420px;
    height: 420px;
  }

  .chip-service { right: -6%; bottom: 17%; }

  .check-list {
    grid-template-columns: 1fr;
  }

  .check-list li:nth-child(n) {
    padding: 0;
    border-right: 0;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-card,
  .plan-card:nth-child(n) {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .plan-card:last-child {
    border-bottom: 0;
  }

  .plan-card h3 {
    margin-top: 48px;
  }

  .plan-includes {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: 170px;
    gap: 12px 18px;
    padding: 24px 8px;
    grid-template-columns: 54px 1fr;
  }

  .download-card:hover {
    padding: 24px 8px;
  }

  .download-platform {
    width: 50px;
    height: 50px;
  }

  .download-action {
    grid-column: 2;
  }

  .download-copy small {
    font-size: 11px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

  .footer-main {
    gap: 45px 25px;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .footer-bottom p {
    margin: 0;
  }

  .footer-language-menu {
    right: auto;
    left: 0;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .cookie-notice {
    bottom: 12px;
    left: 12px;
    width: calc(100vw - 24px);
    grid-template-columns: auto 1fr;
  }

  .cookie-notice button {
    grid-column: 1 / -1;
  }

  .trial-dialog {
    display: block;
  }

  .trial-dialog:not([open]) {
    display: none;
  }

  .dialog-art {
    display: none;
  }

  .dialog-content {
    padding: 65px 26px 32px;
  }

  .login-mark {
    padding: 31px 26px 0;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .video-dialog {
    width: 96vw;
  }
}

@media (max-width: 440px) {
  .portal-control {
    display: none;
  }

  .hero h1 {
    font-size: 53px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* Animated 404 */
.not-found-body {
  min-width: 320px;
  background: var(--page);
}

.not-found-body .not-found-header {
  border-bottom-color: color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: 0 12px 45px rgba(3, 6, 17, .08);
  color: var(--text);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
}

.not-found-body .not-found-header .round-control,
.not-found-body .not-found-header .nav-toggle {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 58%, transparent);
}

.not-found-body .not-found-header .portal-control {
  background: var(--text);
  color: var(--page);
}

html[data-theme="light"] .not-found-header .brand-dark {
  display: block;
}

html[data-theme="light"] .not-found-header .brand-light {
  display: none;
}

html[data-theme="dark"] .not-found-header .brand-dark {
  display: none;
}

html[data-theme="dark"] .not-found-header .brand-light {
  display: block;
}

.not-found-main,
.not-found-scene {
  min-height: 100svh;
}

.not-found-scene {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: calc(var(--header-height) + 40px) 0 24px;
  background:
    radial-gradient(circle at 82% 36%, color-mix(in srgb, var(--violet) 19%, transparent), transparent 31%),
    radial-gradient(circle at 16% 72%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 28%),
    var(--page);
  grid-template-rows: 1fr auto;
}

.not-found-atmosphere {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .33;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  filter: saturate(115%);
  animation: not-found-atmosphere 12s ease-in-out infinite alternate;
}

html[data-theme="light"] .not-found-atmosphere {
  opacity: .11;
  mix-blend-mode: multiply;
  filter: saturate(75%) contrast(85%);
}

.not-found-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .42;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-position: center;
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, transparent 4%, #000 34%, #000 75%, transparent 98%);
}

.not-found-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--line));
  border-radius: 50%;
  pointer-events: none;
  animation: not-found-orbit 28s linear infinite;
}

.not-found-orbit::after {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 24px var(--blue-bright);
  content: "";
}

.not-found-orbit.orbit-a {
  top: -34vw;
  right: -24vw;
  width: 72vw;
  height: 72vw;
}

.not-found-orbit.orbit-b {
  bottom: -26vw;
  left: -17vw;
  width: 50vw;
  height: 50vw;
  animation-direction: reverse;
  animation-duration: 36s;
}

.not-found-shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(90vw, 1460px);
  align-items: center;
  gap: clamp(48px, 6vw, 118px);
  grid-template-columns: minmax(390px, .85fr) minmax(520px, 1.15fr);
}

.not-found-copy {
  width: 100%;
  min-width: 0;
  max-width: 650px;
  padding-block: 28px;
}

.not-found-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(32px, 5vh, 62px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.not-found-status > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.not-found-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f78;
  box-shadow: 0 0 0 0 rgba(255, 95, 120, .45);
  animation: not-found-status 1.8s ease-out infinite;
}

.not-found-status b {
  color: var(--blue-bright);
  font: inherit;
}

.not-found-copy .eyebrow {
  color: var(--blue-bright);
}

.not-found-copy h1 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(64px, 7.1vw, 116px);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: .86;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.not-found-copy h1 span,
.not-found-copy h1 em {
  display: block;
}

.not-found-copy h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 72%, transparent);
}

.not-found-lede {
  max-width: 590px;
  margin: 34px 0 0;
  color: var(--text-soft);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 38px;
  min-width: 0;
}

.not-found-hint {
  display: flex;
  max-width: 520px;
  align-items: flex-start;
  gap: 11px;
  margin: 25px 0 0;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.not-found-hint > span:first-child {
  color: var(--blue-bright);
  font-size: 18px;
  line-height: .8;
}

.not-found-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: clamp(58px, 7vw, 105px) 0 35px;
  perspective: 1200px;
}

.not-found-code {
  position: absolute;
  z-index: 0;
  top: -5%;
  right: -1%;
  left: -2%;
  display: flex;
  justify-content: space-between;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(155px, 18vw, 310px);
  font-weight: 700;
  letter-spacing: -.11em;
  line-height: .76;
  pointer-events: none;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--blue-bright) 35%, var(--line));
  text-shadow: 0 0 55px color-mix(in srgb, var(--blue) 14%, transparent);
  animation: not-found-code 8s ease-in-out infinite;
}

.not-found-code span:nth-child(2) {
  transform: translateY(-8%);
}

.route-console {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: min(100%, 720px);
  margin-left: auto;
  border: 1px solid color-mix(in srgb, var(--blue) 27%, var(--line));
  border-radius: clamp(22px, 2.5vw, 38px);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 42px 100px rgba(4, 7, 20, .28), inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent);
  transform: rotateY(-4deg) rotateX(1.5deg);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
  animation: not-found-console 6s ease-in-out infinite;
}

.route-console::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, color-mix(in srgb, #fff 9%, transparent), transparent 26%, transparent 72%, color-mix(in srgb, var(--violet) 7%, transparent));
  content: "";
  pointer-events: none;
}

.route-console-top,
.route-console-bottom {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: 58px;
  align-items: center;
  gap: 16px;
  padding-inline: clamp(18px, 2.4vw, 30px);
  color: var(--text-soft);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.route-console-top {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
}

.route-console-top > span {
  display: flex;
  gap: 5px;
}

.route-console-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}

.route-console-top i:first-child {
  background: #ff5f78;
}

.route-console-top i:nth-child(2) {
  background: #ffc55c;
}

.route-console-top i:last-child {
  background: #56d998;
}

.route-console-top b {
  color: var(--text);
  font-size: 9px;
}

.route-console-top small {
  justify-self: end;
}

.route-console-bottom {
  min-height: 47px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto;
}

.route-map {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 1.48;
  min-height: 330px;
  background-image:
    linear-gradient(color-mix(in srgb, var(--line) 75%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 75%, transparent) 1px, transparent 1px);
  background-size: 34px 34px;
}

.route-map::before {
  position: absolute;
  inset: 8%;
  border: 1px dashed color-mix(in srgb, var(--blue) 22%, var(--line));
  border-radius: 20px;
  content: "";
}

.route-path {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
}

.route-path-shadow {
  stroke: color-mix(in srgb, var(--blue) 18%, transparent);
  stroke-width: 12;
}

.route-path-line {
  stroke: var(--blue-bright);
  stroke-width: 2;
  stroke-dasharray: 9 12;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--blue-bright) 65%, transparent));
  animation: not-found-route 1.8s linear infinite;
}

.route-table {
  position: absolute;
  z-index: 3;
  width: 54px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--text) 24%, var(--line));
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--blue) 7%, transparent);
}

.route-table i {
  position: absolute;
  width: 12px;
  height: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
}

.route-table i:first-child { top: -9px; left: 20px; }
.route-table i:nth-child(2) { right: -9px; top: 16px; width: 5px; height: 10px; }
.route-table i:nth-child(3) { bottom: -9px; left: 20px; }
.route-table i:nth-child(4) { top: 16px; left: -9px; width: 5px; height: 10px; }
.table-one { top: 18%; left: 20%; }
.table-two { top: 58%; left: 51%; transform: rotate(90deg); }
.table-three { top: 22%; right: 14%; transform: rotate(-10deg); }

.route-marker {
  position: absolute;
  z-index: 5;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
}

.marker-start {
  bottom: 13%;
  left: 4.4%;
  border: 1px solid color-mix(in srgb, #56d998 55%, var(--line));
  background: color-mix(in srgb, #56d998 14%, var(--surface));
}

.marker-start i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #56d998;
  box-shadow: 0 0 13px #56d998;
}

.marker-lost {
  top: 8%;
  right: 1.8%;
  border: 1px solid rgba(255, 95, 120, .55);
  background: color-mix(in srgb, #ff5f78 13%, var(--surface));
  color: #ff5f78;
  font: 700 17px/1 var(--font-display);
  box-shadow: 0 0 0 0 rgba(255, 95, 120, .25);
  animation: not-found-lost 2.2s ease-out infinite;
}

.route-pulse {
  position: absolute;
  z-index: 1;
  width: 150px;
  height: 150px;
  border: 1px solid color-mix(in srgb, var(--violet) 18%, transparent);
  border-radius: 50%;
  animation: not-found-pulse 4.6s ease-out infinite;
}

.pulse-one { top: 18%; left: 36%; }
.pulse-two { right: 10%; bottom: 6%; animation-delay: -2.3s; }

.route-scanner {
  position: absolute;
  z-index: 6;
  top: -20%;
  right: 0;
  left: 0;
  height: 30%;
  border-bottom: 1px solid color-mix(in srgb, var(--blue-bright) 60%, transparent);
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--blue) 8%, transparent));
  filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--blue) 25%, transparent));
  animation: not-found-scanner 5s ease-in-out infinite;
}

.route-signal {
  position: absolute;
  z-index: 7;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text-soft);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .11em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.route-signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-bright);
}

.route-signal b {
  overflow: hidden;
  width: 13px;
  color: var(--blue-bright);
  letter-spacing: 2px;
  animation: not-found-signal 1.4s steps(3) infinite;
}

.not-found-footer {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(90vw, 1460px);
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 9px;
}

.not-found-footer p {
  margin: 0;
}

.not-found-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.not-found-footer a {
  color: var(--text-soft);
  transition: color 200ms ease;
}

.not-found-footer a:hover {
  color: var(--text);
}

@keyframes not-found-atmosphere {
  from { transform: scale(1.03) translate3d(-1%, 0, 0); }
  to { transform: scale(1.08) translate3d(1%, -1%, 0); }
}

@keyframes not-found-orbit {
  to { transform: rotate(360deg); }
}

@keyframes not-found-status {
  70% { box-shadow: 0 0 0 8px rgba(255, 95, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 95, 120, 0); }
}

@keyframes not-found-code {
  0%, 100% { opacity: .58; transform: translateY(0); }
  48% { opacity: .8; transform: translateY(-7px); }
  50% { opacity: .42; transform: translate(2px, -7px); }
  52% { opacity: .8; transform: translateY(-7px); }
}

@keyframes not-found-console {
  0%, 100% { transform: rotateY(-4deg) rotateX(1.5deg) translateY(0); }
  50% { transform: rotateY(-2.5deg) rotateX(.5deg) translateY(-10px); }
}

@keyframes not-found-route {
  to { stroke-dashoffset: -42; }
}

@keyframes not-found-lost {
  70% { box-shadow: 0 0 0 17px rgba(255, 95, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 95, 120, 0); }
}

@keyframes not-found-pulse {
  from { opacity: .65; transform: scale(.25); }
  to { opacity: 0; transform: scale(1.55); }
}

@keyframes not-found-scanner {
  0% { transform: translateY(-30%); }
  50%, 70% { transform: translateY(390%); }
  100% { transform: translateY(-30%); }
}

@keyframes not-found-signal {
  from { width: 3px; }
  to { width: 13px; }
}

@media (max-width: 1120px) {
  .not-found-shell {
    gap: 45px;
    grid-template-columns: minmax(330px, .8fr) minmax(450px, 1.2fr);
  }

  .not-found-copy h1 {
    font-size: clamp(60px, 7vw, 88px);
  }
}

@media (max-width: 960px) {
  .not-found-scene {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 72px);
  }

  .not-found-shell {
    gap: 55px;
    grid-template-columns: 1fr;
  }

  .not-found-copy {
    max-width: 750px;
    padding: 0;
  }

  .not-found-copy h1 {
    max-width: 760px;
    font-size: clamp(70px, 12vw, 110px);
  }

  .not-found-visual {
    width: min(92%, 720px);
    margin-inline: auto;
  }

  .not-found-code {
    font-size: clamp(170px, 29vw, 270px);
  }

  .not-found-footer {
    margin-top: 65px;
  }
}

@media (max-width: 680px) {
  .not-found-scene {
    padding-top: 124px;
  }

  .not-found-copy h1 {
    font-size: clamp(56px, 17vw, 78px);
    line-height: .9;
  }

  .not-found-lede {
    margin-top: 27px;
    font-size: 15px;
  }

  .not-found-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .not-found-actions .button {
    width: 100%;
  }

  .not-found-visual {
    width: 100%;
    padding-top: 44px;
  }

  .route-console {
    border-radius: 22px;
    transform: none;
  }

  .route-console-top {
    min-height: 50px;
    padding-inline: 14px;
  }

  .route-console-top small {
    display: none;
  }

  .route-console-top {
    grid-template-columns: 1fr auto;
  }

  .route-map {
    min-height: 270px;
  }

  .route-table {
    transform: scale(.78);
  }

  .table-two { transform: rotate(90deg) scale(.78); }
  .table-three { transform: rotate(-10deg) scale(.78); }

  .route-signal {
    right: 12px;
    bottom: 12px;
  }

  .not-found-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 52px;
  }
}

@media (max-width: 360px) {
  .not-found-copy h1 {
    font-size: clamp(43px, 14vw, 52px);
    letter-spacing: -.06em;
    line-height: .92;
  }

  .not-found-status {
    gap: 12px;
    font-size: 8px;
  }

  .route-console-top b {
    max-width: 140px;
    overflow-wrap: anywhere;
    text-align: right;
  }

  .route-signal {
    right: 10px;
    left: 10px;
    justify-content: center;
  }
}

@media (max-height: 720px) and (min-width: 961px) {
  .not-found-scene {
    padding-top: calc(var(--header-height) + 20px);
  }

  .not-found-copy {
    padding-block: 8px;
  }

  .not-found-status {
    margin-bottom: 25px;
  }

  .not-found-copy h1 {
    font-size: clamp(57px, 6.2vw, 88px);
  }

  .not-found-lede {
    margin-top: 24px;
    font-size: 15px;
  }

  .not-found-actions {
    margin-top: 26px;
  }

  .not-found-visual {
    padding-top: 55px;
  }

  .route-map {
    min-height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
