:root {
  color-scheme: dark;
  --header-height: 80px;
  --header-height-mobile: 70px;
  --header-pinned-height: 70px;
  --footer-height: 100vh;
  --mini-header-height: 0px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}
html {
  scroll-behavior: smooth;
  overflow: hidden;
  background: #000000;
}
html, body { height: 100%; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #000000;
  min-height: var(--vh-lock, 100vh);
  padding: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #e9eef6;
  overflow: hidden;
  scrollbar-color: #2d3545 #0d111b;
  scrollbar-width: thin;
}
a, button { cursor: pointer; }
.app-shell {
  position: fixed;
  inset: 0;
  height: var(--app-height, 100vh);
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-pinned-height, 70px) + 12px);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #0d111b;
}
::-webkit-scrollbar-thumb {
  background: #2d3545;
  border-radius: 10px;
  border: 2px solid #0d111b;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a4458;
}
body.loading { overflow: hidden; }
.loader-overlay {
  position: fixed;
  inset: 0;
  background: #05070d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 350ms ease, visibility 350ms ease;
}
.loader-overlay.loader-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: grid;
  gap: 12px;
  justify-items: center;
  color: #cfdcfa;
  text-align: center;
}
.loader-spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(143,201,255,0.18);
  border-top-color: #4de1ff;
  animation: spin 1s linear infinite;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.loader-text {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(143,201,255,0.8);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.site-header {
  --logo-opacity: 1;
  --logo-size: 56px;
  --logo-size-live: var(--logo-size);
  --logo-gap-base: 12px;
  --logo-gap: var(--logo-gap-base);
  --logo-extra-base: 12px;
  --logo-extra: var(--logo-extra-base);
  --brand-spacing: 16px;
  --brand-spacing-dynamic: var(--brand-spacing);
  --header-inset: 0px;
  --header-radius: 0px;
  --header-border-alpha: 0;
  --header-shrink: 0px;
  --header-bg-alpha: 0;
  --header-blur: 0px;
  --header-shadow-alpha: 0;
  --header-raise: 0px;
  height: calc(var(--footer-height) - var(--header-shrink) + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  background: linear-gradient(0deg, rgba(8,10,18,var(--header-bg-alpha, 0.72)), rgba(6,8,14,var(--header-bg-alpha, 0.6)));
  border: 1px solid rgba(120,130,200,var(--header-border-alpha));
  box-shadow: 0 18px 40px rgba(0,0,0,var(--header-shadow-alpha, 0.35));
  backdrop-filter: blur(var(--header-blur, 8px)) saturate(1.1);
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 0;
  width: calc(100% - (var(--header-inset) * 2));
  margin-left: var(--header-inset);
  margin-right: var(--header-inset);
  z-index: 1;
  pointer-events: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: none;
  border-radius: var(--header-radius);
  margin-top: 0;
  transform: translate3d(0, var(--header-raise), 0);
  will-change: transform, height, width;
  backface-visibility: hidden;
  contain: layout paint;
}
.site-header-wrap {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  bottom: auto;
  height: var(--footer-height);
  margin-top: 0;
  z-index: 20;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  transition: opacity 260ms ease;
  opacity: 1;
}
body.menu-open .site-header-wrap {
  opacity: 0;
}
body.menu-opening .site-header-wrap {
  opacity: 0;
}
.site-header__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.site-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--brand-title-gap, 8px);
  text-align: center;
}
.site-brand-logo-btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
  cursor: pointer;
  line-height: 0;
}
.site-brand-logo-btn:focus-visible {
  outline: 2px solid #4f82f6;
  outline-offset: 6px;
  border-radius: 14px;
}
.site-brand-logo {
  height: calc(var(--logo-size-live) + var(--logo-extra, 0px));
  width: auto;
  max-width: 90vw;
  opacity: 0;
  display: block;
  object-fit: contain;
  transform: translateY(var(--brand-logo-offset, 0px));
}
.site-header.site-header-ready .site-brand-logo {
  opacity: var(--logo-opacity, 1);
  transition: opacity 900ms ease;
}
.site-brand-title {
  font-size: clamp(14px, 2.2vw, 22px);
  --title-letter-spacing: clamp(0.6px, 0.4vw, 2px);
  --cycle-word-font: clamp(18px, 2.6vw, 24px);
  --cycle-word-pad-x: clamp(16px, 2.8vw, 22px);
  --cycle-word-pad-y: clamp(2px, 0.6vw, 4px);
  transform: translateY(var(--brand-title-offset, 0px)) scale(var(--brand-title-scale, 1));
  opacity: 0;
  transform-origin: center top;
  height: var(--brand-title-height, auto);
  overflow: visible;
  padding: calc(var(--brand-title-pad-live, var(--brand-title-pad, 0px)) / 2) 0;
  box-sizing: content-box;
}
.site-header.site-header-ready .site-brand-title {
  opacity: var(--brand-title-opacity, 1);
}
.title-prefix {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.cycle-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.workflows-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.site-brand-title.reveal-step-1 .title-prefix {
  opacity: 1;
  transform: translateY(0);
}
.site-brand-title.reveal-step-2 .cycle-line {
  opacity: 1;
  transform: translateY(0);
}
.site-brand-title.reveal-step-3 .workflows-word {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  :root {
    --header-height: var(--header-height-mobile);
  }
  .site-header {
    --brand-spacing: 8px;
  }
  .site-header__inner { padding: 0 16px; }
  .site-brand-stack {
    align-items: center;
    width: 100%;
  }
}
.hero {
  --hero-image: url("./images/This Day at the End -  RED.png");
  height: var(--app-height, 100vh);
  min-height: 0;
  display: flex;
  align-items: center;
  background: #000 var(--hero-image) center center / cover no-repeat;
  position: relative;
  isolation: isolate;
}
.hero.has-video {
  background: #000;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(24px);
  transform: scale(1.04);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  animation: heroVideoFocus 3.4s ease forwards 400ms;
}
body.loading .hero-video {
  animation-play-state: paused;
}
.hero-secondary {
  --hero-image: url("./images/Red Woman.png");
}
.hero-blur {
  position: absolute;
  inset: 0;
  background: #000 var(--hero-image) center center / cover no-repeat;
  filter: blur(24px);
  transform: scale(1.04);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  animation: heroFocus 3.4s ease forwards 400ms;
}
body.loading .hero-blur {
  animation-play-state: paused;
}
.hero.has-video .hero-blur {
  display: none;
}
.hero::before {
  display: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 18%,
    rgba(255, 40, 40, 0.9) 0%,
    rgba(255, 40, 40, 0.55) 40%,
    rgba(30, 6, 10, 0.2) 70%,
    transparent 92%);
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}
.hero-hex {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='120' viewBox='0 0 140 120'%3E%3Cg fill='none' stroke='rgba(118,120,255,0.35)' stroke-width='1'%3E%3Cpath d='M35 2 L70 22 L70 62 L35 82 L0 62 L0 22 Z'/%3E%3Cpath d='M105 2 L140 22 L140 62 L105 82 L70 62 L70 22 Z'/%3E%3Cpath d='M70 62 L105 82 L105 118 L70 138 L35 118 L35 82 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 120px;
  background-position: right top;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(140deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 35%, rgba(0,0,0,0) 70%);
  mask-image: linear-gradient(140deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 35%, rgba(0,0,0,0) 70%);
}

.showcase-section {
  position: relative;
  background: #03040a;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(120,140,200,0.18), transparent 55%),
    radial-gradient(circle at 82% 14%, rgba(80,140,200,0.14), transparent 50%);
  opacity: 0.7;
  pointer-events: none;
}
.showcase-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
}
.showcase-card {
  position: relative;
  border-radius: 0;
  background: #050813;
  overflow: hidden;
  height: 100vh;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
}
.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(118,120,255,0.24), rgba(98,120,220,0.08) 36%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}
.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,4,8,0) 45%, rgba(3,4,8,0.45) 75%, #03040a 100%);
  pointer-events: none;
  z-index: 3;
}
.showcase-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nodes-section {
  position: relative;
  background: #04060f;
  overflow: hidden;
  min-height: 100vh;
  padding: 150px clamp(18px, 6vw, 36px) 150px;
  display: flex;
  align-items: center;
}
.nodes-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.16) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.48;
  mix-blend-mode: screen;
  pointer-events: none;
}
.nodes-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,6,12,0.92), rgba(3,4,8,0.96));
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}
.nodes-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(10px, 3vw, 18px) clamp(10px, 3vw, 18px);
}
.nodes-header {
  text-align: center;
  display: grid;
  gap: 10px;
  margin: 0 0 clamp(32px, 6vw, 56px);
}
.nodes-media {
  display: flex;
  justify-content: center;
  margin: 0 0 clamp(28px, 5vw, 48px);
  position: relative;
}
.nodes-media::before,
.nodes-media::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(120px, 18vw, 220px);
  height: 1px;
  transform: translateY(-50%);
  opacity: 0.65;
  pointer-events: none;
}
.nodes-media::before {
  right: calc(50% + min(210px, 39vw));
  background: linear-gradient(90deg, transparent 0%, rgba(120,150,255,0.55) 100%);
}
.nodes-media::after {
  left: calc(50% + min(210px, 39vw));
  background: linear-gradient(90deg, rgba(120,150,255,0.55) 0%, transparent 100%);
}
.nodes-image {
  width: min(420px, 78vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}
.nodes-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 11px;
  color: rgba(143, 201, 255, 0.7);
}
.nodes-title {
  margin: 0;
  font-size: clamp(20px, 4.4vw, 32px);
  letter-spacing: -0.02em;
  color: #e6ecf8;
}
.nodes-title .gradient-darkfield {
  background: linear-gradient(120deg, #6b6bff 0%, #4de1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 14px rgba(77,225,255,0.18);
}
.nodes-subtitle {
  margin: 0;
  font-size: clamp(13px, 2.6vw, 16px);
  color: #aebbd2;
  line-height: 1.6;
}
.nodes-downloads {
  margin: clamp(28px, 6vw, 48px) auto 0;
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 18px);
  flex-wrap: wrap;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(6,10,18,0.7);
  color: #e9eef6;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.download-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.download-soon {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(120, 170, 255, 0.75);
  margin-top: 4px;
}
.download-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(120,150,255,0.6);
  box-shadow: 0 14px 34px rgba(0,0,0,0.5);
  background: linear-gradient(120deg, rgba(84, 110, 255, 0.28), rgba(146, 104, 255, 0.22));
}
.download-btn:active { transform: translateY(0); }
.download-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
}
.download-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.download-icon {
  color: #8a7bff;
}
@media (max-width: 640px) {
  .nodes-downloads { flex-direction: column; align-items: center; }
  .download-btn { width: min(90vw, 320px); justify-content: center; }
}
.download-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 9999;
}
.download-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.download-modal__card {
  position: relative;
  width: min(92vw, 420px);
  padding: 26px 24px 24px;
  border-radius: 18px;
  background: rgba(8, 10, 18, 0.96);
  border: 1px solid rgba(120, 150, 255, 0.24);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
  color: #e9eef6;
  transform: translateY(10px) scale(0.98);
  transition: transform 200ms ease;
}
.download-modal.is-open .download-modal__card {
  transform: translateY(0) scale(1);
}
.download-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #d9e1f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.download-modal__badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(140, 170, 255, 0.8);
  margin-bottom: 10px;
}
.download-modal__title {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.download-modal__desc {
  margin: 0 0 16px;
  color: rgba(200, 210, 228, 0.8);
  line-height: 1.5;
}
.download-modal__platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(110, 130, 220, 0.16);
  border: 1px solid rgba(110, 140, 255, 0.25);
  color: #cfd7ff;
  font-size: 12px;
  margin-bottom: 16px;
}
.download-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(88, 118, 255, 0.6), rgba(148, 106, 255, 0.55));
  color: #0b0f1a;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  appearance: none;
  font-family: inherit;
}
.modal-open {
  overflow: hidden;
}
.app-shell.modal-open {
  overflow: hidden;
}

body.loading .hero::after {
  opacity: 0;
  animation: none;
}

@keyframes heroSunrise {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroFocus {
  0% { filter: blur(28px); opacity: 1; }
  100% { filter: blur(0); opacity: 0; }
}
@keyframes heroVideoFocus {
  0% { filter: blur(28px); }
  100% { filter: blur(0); }
}
.hero-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100%;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vw, 20px);
}
.hero-nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
  position: relative;
  margin: 0 0 clamp(10px, 2vw, 16px);
}
.node-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.node-links path {
  stroke: rgba(123, 220, 255, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.hero-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(120px, 1fr));
  gap: clamp(14px, 2.6vw, 22px);
  align-self: stretch;
  position: relative;
  z-index: 2;
}
.hero-subnode {
  position: relative;
  padding: 10px 12px;
  min-height: 120px;
  text-align: center;
  background: rgba(4,6,12,0.74);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  color: #dbe6ff;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 13px;
  z-index: 2;
}
.hero-node {
  position: relative;
  padding: 12px 14px;
  min-height: 150px;
  text-align: center;
  background: rgba(4,6,12,0.78);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 12px 38px rgba(0,0,0,0.45);
  color: #dbe6ff;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 13px;
  z-index: 2;
}
.node-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #e9eef6;
  font-size: 14px;
}
.node-head span:last-child {
  background: linear-gradient(120deg, #6b6bff 0%, #4de1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.node-head .material-symbols-outlined {
  font-size: 18px;
  color: #6b6bff;
}
.node-points {
  list-style: none;
  padding: 10px 0 0;
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
  color: rgba(143, 201, 255, 0.8);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.4;
  font-size: 12px;
}
.node-points li { margin: 0; }
.node-branch {
  position: relative;
  padding-right: 12px;
}
@media (max-width: 720px) {
  .hero-nodes { grid-template-columns: 1fr; gap: clamp(18px, 6vw, 32px); }
  .hero-stack {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: clamp(12px, 4vw, 18px);
  }
  .hero-subnode { min-height: 110px; }
}
.hero-cta {
  appearance: none;
  position: fixed;
  top: var(--cta-top, calc(env(safe-area-inset-top, 0px) + clamp(12px, 4vw, 24px)));
  right: var(--cta-right, calc(env(safe-area-inset-right, 0px) + clamp(12px, 4vw, 32px)));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  box-sizing: border-box;
  height: var(--cta-height, auto);
  border-radius: 999px;
  background:
    linear-gradient(#05070d, #05070d) padding-box,
    linear-gradient(135deg, rgba(120,180,255,0.9), rgba(150,95,255,0.9)) border-box;
  border: 1px solid transparent;
  color: #cfdcfa;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 12px;
  opacity: var(--cta-opacity, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease, opacity 200ms ease;
  width: fit-content;
  z-index: 40;
  will-change: transform, opacity, top, right;
  font-family: inherit;
}
.hero-cta:active { transform: translateY(0); }
.hero-cta .material-symbols-outlined { font-size: 18px; color: #8fc9ff; }
.floating-logo {
  position: fixed;
  top: var(--logo-float-top, calc(env(safe-area-inset-top, 0px) + clamp(12px, 4vw, 24px)));
  left: var(--logo-float-left, calc(env(safe-area-inset-left, 0px) + clamp(12px, 4vw, 32px)));
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    linear-gradient(#000000, #000000) padding-box,
    linear-gradient(135deg, rgba(160,90,255,0.9), rgba(80,210,160,0.9), rgba(255,170,70,0.9), rgba(110,160,255,0.9)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  pointer-events: none;
  will-change: transform, top, left;
  transition: background 220ms ease, box-shadow 220ms ease, border-width 220ms ease;
}
.floating-logo.menu-toggle {
  cursor: pointer;
  pointer-events: auto;
}
@media (hover: hover) and (pointer: fine) {
  .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(0,0,0,0.5);
    background:
      linear-gradient(#0a0d14, #0a0d14) padding-box,
      linear-gradient(135deg, rgba(120,180,255,1), rgba(170,105,255,1)) border-box;
  }
  .floating-logo.menu-toggle:hover {
    background:
      linear-gradient(#0a0c14, #0a0c14) padding-box,
      linear-gradient(135deg, rgba(170,110,255,1), rgba(100,220,175,1), rgba(255,185,95,1), rgba(130,175,255,1)) border-box;
    border-width: 2px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.55);
  }
}
.floating-logo.menu-toggle:focus-visible {
  outline: 2px solid rgba(120, 180, 255, 0.7);
  outline-offset: 2px;
}
.floating-logo img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.9;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
}
.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 1;
  transition: none;
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(82vw, 360px);
  padding: 20px 18px;
  background: rgba(8, 10, 18, 0.78);
  border-right: 1px solid rgba(120, 140, 200, 0.18);
  box-shadow: 18px 0 40px rgba(0,0,0,0.45);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  transform: translateX(-100%);
  transition: transform 360ms ease;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-menu__logo {
  height: 26px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
}
.mobile-menu__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #cfdcfa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}
.mobile-menu__close:hover {
  border-color: rgba(120, 150, 255, 0.7);
  background: rgba(18, 24, 40, 0.65);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(77,225,255,0.28);
}
.mobile-menu__nav {
  display: grid;
  gap: 14px;
}
.mobile-menu__nav a,
.mobile-menu__nav button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #e7ecf6;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 11px;
  background: none;
  border: none;
  appearance: none;
  font-family: inherit;
}
.mobile-menu__nav a:hover,
.mobile-menu__nav button:hover {
  background: linear-gradient(120deg, #6a7bff 0%, #7bdcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.mobile-menu__divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(140,170,240,0), rgba(140,170,240,0.35), rgba(140,170,240,0));
}
.mobile-menu__nav .menu-icon {
  font-size: 18px;
  color: #ff4d4d;
}
.mobile-menu.is-open {
  pointer-events: auto;
}
.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}
.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}
body.menu-open .app-shell {
  overflow: hidden;
}
@media (min-width: 901px) {
  .app-shell {
    transition: transform 360ms ease;
  }
  body.menu-open .app-shell {
    transform: translateX(min(82vw, 360px));
  }
}
.panel {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(12px) scaleY(0.96);
  transform-origin: top;
  animation: heroFade 900ms ease forwards 200ms, heroScale 900ms ease forwards 200ms;
}
.hero-logo {
  width: min(90vw, 1500px);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 14px;
}
body.loading .panel { animation-play-state: paused; }
.title {
  margin: 0;
  font-size: clamp(28px, 6vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #0a0a0a;
  text-shadow: none;
}
.title-rest {
  font-size: clamp(22px, 3.6vw, 36px);
  letter-spacing: var(--title-letter-spacing, clamp(0.6px, 0.4vw, 2px));
  line-height: calc(1.1em + 2px);
  color: #ffffff;
  text-shadow: none;
  font-weight: 700;
  text-transform: uppercase;
  font-style: italic;
}
.cycle-word {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-style: normal;
  font-size: var(--cycle-word-font, 24px);
  padding: var(--cycle-word-pad-y, 2px) var(--cycle-word-pad-x, 22px);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  text-align: center;
  letter-spacing: var(--title-letter-spacing, clamp(0.6px, 0.4vw, 2px));
  line-height: 1.1;
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  vertical-align: middle;
  transform: translate(5px, -3px) skewX(-12deg);
  transition: opacity 240ms ease, transform 240ms ease;
  will-change: opacity, transform, letter-spacing;
}
.cycle-word.is-expanding {
  animation: cycleLetterExpand 2400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cycle-word.is-fading.is-expanding {
  animation: none;
}
.cycle-word.is-fading {
  opacity: 0;
  transform: translate(5px, 2px) skewX(-12deg);
}
@keyframes cycleLetterExpand {
  from { letter-spacing: 0px; }
  to { letter-spacing: var(--title-letter-spacing, clamp(0.6px, 0.4vw, 2px)); }
}
@media (max-width: 900px) {
  .site-brand-stack {
    align-items: center;
    text-align: center;
  }
  .site-brand-logo {
    align-self: center;
  }
  .site-brand-title .title-prefix {
    font-size: 0.85em;
  }
  .site-brand-title {
    --title-letter-spacing: clamp(0.3px, 0.3vw, 1.2px);
    width: 100%;
  }
  .cycle-line {
    display: block;
    width: 100%;
  }
  .cycle-word {
    width: 85%;
    align-self: stretch;
    font-size: calc(var(--cycle-word-font, 24px) * 2);
    transform: translateY(-2px) skewX(-12deg);
  }
}
.title .hero-word {
  display: block;
  font-size: var(--hero-word-size, 3em);
  line-height: 0.9;
  margin-bottom: 0.08em;
  font-weight: 900;
  font-synthesis: weight;
  font-family: "Aldrich", "Helvetica Neue", Arial, sans-serif;
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff !important;
  text-shadow: 0 0 66px rgba(255, 70, 70, 0.55), 0 0 144px rgba(255, 40, 40, 0.35);
}
@media (max-width: 640px) {
  .title .hero-word {
    -webkit-text-stroke: 0.6px rgba(10,10,10,0.6);
  }
}
.subtitle {
  margin: 0;
  font-size: clamp(15px, 3.6vw, 20px);
  line-height: 1.6;
  color: #ffffff;
  text-shadow: none;
}
 .hero-secondary .title,
 .hero-secondary .subtitle {
  color: #ffffff;
}
@media (min-width: 900px) {
  .subtitle { font-size: 22px; }
}
.hero-glow-ready .title,
.hero-glow-ready .title-rest,
.hero-glow-ready .subtitle {
  text-shadow: 0 0 66px rgba(255, 70, 70, 0.55), 0 0 144px rgba(255, 40, 40, 0.35);
}
.subtitle.typewrite { min-height: 1.6em; }
.form-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(110,130,200,0.08) 0%, rgba(4,6,12,0.95) 55%, #020202 100%);
  padding: clamp(32px, 7vw, 72px) clamp(18px, 6.5vw, 56px) clamp(56px, 9vw, 110px);
}
.preview-section {
  padding: 0;
  background: #000000;
  display: block;
  position: relative;
  overflow: hidden;
}
.preview-box {
  width: 100%;
  max-width: none;
  min-height: var(--vh-lock, 100vh);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: #000000;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.preview-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./images/screen-upres.jpg") center center / cover no-repeat;
  filter: blur(8px);
  transform: scale(1.04);
  transform-origin: center;
  pointer-events: none;
}
.preview-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.2) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.42;
  mix-blend-mode: screen;
  pointer-events: none;
}
.preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 6vw, 60px);
  pointer-events: none;
  z-index: 3;
}
.preview-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 55%, rgba(10,14,28,0.18) 0%, rgba(15,20,38,0.48) 48%, rgba(6,8,16,0.88) 82%),
    radial-gradient(circle at 50% 45%, rgba(14,18,36,0.16) 0%, rgba(18,24,46,0.36) 52%, rgba(4,6,12,0.82) 86%);
  pointer-events: none;
  z-index: 0;
}
.info-card {
  max-width: 900px;
  width: min(92vw, 960px);
  padding: clamp(20px, 4vw, 30px);
  background: rgba(0,0,0,0.62);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  color: #dbe6ff;
  text-align: left;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  animation: heroFade 900ms ease forwards 200ms, heroScale 900ms ease forwards 200ms;
  pointer-events: auto;
}
.info-card-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  margin: 0 0 clamp(14px, 3vw, 18px);
  display: block;
}
.info-card h2 { font-size: clamp(22px, 3.2vw, 32px); }
.info-card p { margin: 8px 0 0; color: #b7c2d3; }
body.loading .info-card { animation-play-state: paused; }
.typewrite-preview { min-height: 1.6em; }
.form-container {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: clamp(22px, 3.5vw, 30px);
}
.form-card {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: clamp(22px, 4.5vw, 34px);
  backdrop-filter: blur(10px);
  box-shadow: none;
  display: grid;
  gap: clamp(16px, 3vw, 22px);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  line-height: 1.6;
  font-size: 15px;
}
.form-card h2 { text-align: center; }
.form-card > p:first-of-type { text-align: center; }
.gradient-title {
  background: linear-gradient(120deg, #6b6bff, #4de1ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.gradient-darkfield {
  background: linear-gradient(120deg, #6b6bff 0%, #4de1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 14px rgba(77,225,255,0.18);
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroScale {
  from { transform: translateY(12px) scaleY(0.96); }
  to { transform: translateY(0) scaleY(1); }
}
.section-title {
  margin: 20px auto 8px;
  font-size: clamp(17px, 3.6vw, 19px);
  letter-spacing: -0.01em;
  font-weight: 700;
    background: linear-gradient(120deg, #6b6bff, #4de1ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.title-icon {
  font-family: 'Material Symbols Outlined';
  font-size: 22px;
  line-height: 1;
  color: #8fc9ff;
}
.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(107,107,255,0), rgba(107,107,255,0.35), rgba(77,225,255,0));
  margin: 30px 0 2px;
  border: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(12px, 2.2vw, 18px) clamp(12px, 2.4vw, 20px);
}
@media (max-width: 520px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(143, 201, 255, 0.6);
}
input, textarea, button { font-family: inherit; }
input, textarea, select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: none;
  background: rgba(30,38,62,0.26);
  color: #cfdcfa;
  font-size: 15px;
  transition: box-shadow 140ms ease, background 140ms ease;
}
input::placeholder, textarea::placeholder { color: rgba(170, 195, 240, 0.7); }
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(77,225,255,0.22);
  background: rgba(40,52,86,0.32);
}
textarea { min-height: 120px; resize: vertical; }
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  justify-content: center;
}
.wl-status {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  color: #a9b8d4;
}
.wl-status.ok { color: #7cf29a; }
.wl-status.err { color: #f08b8b; }
.scale-header {
  display: grid;
  gap: 4px;
  margin: 4px 0;
  text-align: center;
  justify-items: center;
}
.scale-header strong { font-weight: 600; }
.scale-note { color: #8c96a8; font-size: 13px; margin: 0; }
.scale-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 16px);
}
@media (max-width: 800px) {
  .scale-group { grid-template-columns: 1fr; }
}
.scale-field {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(120,140,180,0.12);
  background: rgba(18,24,40,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
}
.scale-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
  gap: 10px;
}
.scale-field > span {
  color: rgba(143, 201, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.scale-option {
  position: relative;
  display: block;
  text-align: center;
  padding: 8px 0;
  border-radius: 10px;
  border: 1px solid rgba(120,140,180,0.25);
  background: rgba(25,32,54,0.28);
  color: #e9eef6;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease, transform 140ms ease;
  user-select: none;
}
.scale-option:hover { border-color: rgba(77,225,255,0.6); box-shadow: 0 8px 24px rgba(77,225,255,0.18); }
.scale-option:active { transform: translateY(0); }
.scale-input { position: absolute; opacity: 0; pointer-events: none; }
.scale-input:focus-visible + .scale-option {
  outline: 2px solid rgba(77,225,255,0.7);
  outline-offset: 2px;
}
.scale-input:checked + .scale-option {
  border-color: rgba(77,225,255,0.9);
  box-shadow: 0 10px 30px rgba(77,225,255,0.32);
  background: linear-gradient(140deg, rgba(77,225,255,0.18), rgba(124,242,154,0.14));
}
.btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 12px 36px;
  font-weight: 600;
  cursor: pointer;
  color: #031019;
  background: linear-gradient(120deg, #4de1ff, #7cf29a);
  box-shadow: 0 16px 46px rgba(77,225,255,0.35);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 18px 52px rgba(77,225,255,0.45); filter: saturate(1.05); }
.btn:active { transform: translateY(0); box-shadow: 0 12px 34px rgba(77,225,255,0.35); }
.hint { color: #7d8799; font-size: 13px; margin: 0; }
.footer {
  margin-top: 40px;
  padding: 32px 18px 40px;
  min-height: 300px;
  background: rgba(40,52,78,0.12);
  border-top: 1px solid rgba(107,107,255,0.28);
  color: #cfdcfa;
  display: grid;
  place-items: center;
}
.footer-inner {
  width: 100%;
  max-width: 960px;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
.footer-downloads {
  margin: 6px 0 10px;
}
.footer-logo {
  width: 80px;
  height: auto;
  opacity: 0.96;
}
.footer h4 {
  margin: 8px 0 4px;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.footer p { margin: 0; color: #a9b8d4; }
.footer a {
  color: #8fc9ff;
  text-decoration: none;
  font-weight: 600;
}
.footer a:hover { text-decoration: underline; }
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 6px 0;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(140,170,240,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.icon-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(77,225,255,0.25);
  border-color: rgba(77,225,255,0.6);
}
.icon-link svg {
  width: 18px;
  height: 18px;
  fill: #cfdcfa;
}
@media (max-width: 640px) {
  .panel { padding: 16px; }
  .title-rest { font-size: clamp(16px, 4.2vw, 24px); }
  .actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; text-align: center; }
}
@media (min-width: 900px) {
  .hero { align-items: center; }
}
