/* ============================================================
   Amiracle — Shanghai Amiracle Software Technology Co., Ltd.
   A quiet, typography-led identity. Built without dependencies.
   ============================================================ */

:root {
  --bg: #fbfbfd;
  --surface: #f5f5f7;
  --surface-deep: #ececf0;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --muted-strong: #6e6e73;
  --line: rgba(29, 29, 31, 0.1);
  --line-soft: rgba(29, 29, 31, 0.06);
  --accent: #2c5cff;
  --accent-deep: #1746db;
  --violet: #805cff;
  --dark: #08090c;
  --dark-soft: #101116;
  --white: #ffffff;
  --font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --max-width: 1240px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --ease: cubic-bezier(0.22, 0.7, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(44, 92, 255, 0.18);
  color: var(--ink);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: currentColor;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   Shared typography
   ------------------------------------------------------------ */

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.section-kicker-light {
  color: #8f96a8;
}

.section-title {
  max-width: 920px;
  margin-top: 22px;
  font-size: clamp(2.7rem, 5.4vw, 5.35rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.058em;
}

.section-title-light {
  color: #f5f5f7;
}

.section-intro {
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(100deg, #1547e8 2%, #4e59ff 43%, #8a52f5 96%);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-gradient-light {
  color: transparent;
  background: linear-gradient(100deg, #7ea8ff 4%, #bda9ff 55%, #82c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.soft-mark {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 25px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.button .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.button:hover .icon {
  transform: translateX(3px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.16);
}

.button-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(29, 29, 31, 0.2);
}

.button-light {
  color: var(--ink);
  background: #f5f5f7;
}

.button-light:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}

.text-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--accent);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.mobile-only {
  display: none;
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 68px;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(251, 251, 253, 0.78);
  border-bottom-color: rgba(29, 29, 31, 0.07);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 48px), 1320px);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: var(--white);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(255, 255, 255, 0.45), transparent 45%),
    linear-gradient(145deg, #6d8bff 0%, #345dff 48%, #7c4dff 100%);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 3px 10px rgba(40, 73, 200, 0.22);
}

.brand-mark svg {
  width: 15px;
  height: 15px;
}

.brand-type {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.032em;
}

.brand-divider {
  width: 1px;
  height: 13px;
  margin: 0 1px;
  background: rgba(29, 29, 31, 0.16);
}

.brand-cn {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.055em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-inline: auto;
  padding-left: 48px;
}

.desktop-nav a {
  position: relative;
  padding-block: 5px;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 450;
  letter-spacing: 0.005em;
  transition: color 0.2s var(--ease);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.desktop-nav a:hover {
  color: var(--ink);
}

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

.desktop-nav a.is-active {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 33px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid rgba(29, 29, 31, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  transition:
    color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.nav-contact .icon {
  width: 12px;
  height: 12px;
}

.nav-contact:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.menu-toggle .icon {
  width: 18px;
  height: 18px;
}

.menu-icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 104px 24px 34px;
  background: rgba(251, 251, 253, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -0.045em;
}

.mobile-nav a span {
  width: 24px;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.mobile-nav a .icon {
  width: 17px;
  height: 17px;
  margin-left: auto;
  color: var(--muted);
}

.mobile-menu-foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 26px;
  color: var(--muted);
  font-size: 12px;
}

.mobile-menu-foot a {
  color: var(--ink);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  position: relative;
  padding-top: clamp(142px, 16.5vh, 184px);
  background:
    linear-gradient(180deg, #fbfbfd 0%, #f8f9fc 58%, #fbfbfd 100%);
  overflow: clip;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.aurora {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  will-change: transform;
}

.aurora-1 {
  top: -180px;
  left: 50%;
  width: 760px;
  height: 470px;
  background: radial-gradient(ellipse, rgba(88, 126, 255, 0.24), rgba(88, 126, 255, 0) 70%);
  transform: translateX(-50%);
}

.aurora-2 {
  top: 240px;
  right: -180px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(152, 106, 255, 0.16), rgba(152, 106, 255, 0) 70%);
  animation: aurora-drift 16s ease-in-out infinite alternate;
}

.aurora-3 {
  top: 620px;
  left: -220px;
  width: 620px;
  height: 420px;
  background: radial-gradient(circle, rgba(83, 170, 255, 0.12), rgba(83, 170, 255, 0) 70%);
  animation: aurora-drift 20s ease-in-out infinite alternate-reverse;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(29, 29, 31, 0.1) 0.55px, transparent 0.55px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 12%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 12%, #000 0%, transparent 75%);
  opacity: 0.3;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 22px;
  height: 1px;
  background: var(--muted);
  opacity: 0.5;
}

.hero-title {
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(3.9rem, 8.25vw, 7.7rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

.js .hero-title {
  transition-delay: 70ms;
}

.hero-lede {
  max-width: 660px;
  margin-top: 27px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.01em;
}

.js .hero-lede {
  transition-delay: 140ms;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  margin-top: 35px;
}

.js .hero-actions {
  transition-delay: 210ms;
}

.hero-stage-wrap {
  position: relative;
  z-index: 1;
  margin-top: clamp(62px, 8vw, 102px);
}

.hero-stage {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
}

.stage-glow {
  position: absolute;
  top: -11%;
  left: 8%;
  width: 84%;
  height: 70%;
  background:
    radial-gradient(ellipse at 42% 50%, rgba(69, 110, 255, 0.2), transparent 65%),
    radial-gradient(ellipse at 68% 42%, rgba(148, 96, 255, 0.16), transparent 64%);
  filter: blur(48px);
  opacity: 0.9;
  pointer-events: none;
}

.app-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 90px 140px -70px rgba(26, 36, 74, 0.4),
    0 32px 60px -38px rgba(26, 36, 74, 0.28),
    0 0 0 1px rgba(29, 29, 31, 0.07);
}

.app-chrome {
  display: flex;
  align-items: center;
  height: 43px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(246, 247, 249, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.traffic-lights {
  display: flex;
  gap: 6px;
  width: 90px;
}

.traffic-lights span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2e3e7;
}

.traffic-lights span:nth-child(1) {
  background: #ff605c;
}

.traffic-lights span:nth-child(2) {
  background: #ffbd44;
}

.traffic-lights span:nth-child(3) {
  background: #00ca4e;
}

.app-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: min(320px, 40%);
  height: 25px;
  margin-inline: auto;
  color: #85858a;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 7px;
  font-size: 9.5px;
  letter-spacing: 0.01em;
}

.app-url .icon {
  width: 9px;
  height: 9px;
}

.chrome-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 90px;
  color: #86868b;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.app-body {
  display: flex;
  height: 552px;
  background: #fff;
}

.app-sidebar {
  display: flex;
  flex: 0 0 190px;
  flex-direction: column;
  padding: 18px 13px 14px;
  border-right: 1px solid rgba(29, 29, 31, 0.07);
  background: #fbfbfc;
  text-align: left;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.brand-mark-sm {
  width: 21px;
  height: 21px;
  border-radius: 6px;
}

.brand-mark-sm svg {
  width: 11px;
  height: 11px;
}

.app-brand em {
  color: #7a7a80;
  font-style: normal;
  font-weight: 450;
}

.app-nav-label {
  margin: 30px 8px 9px;
  color: #a1a1a7;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.app-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-nav span {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 33px;
  padding: 0 9px;
  color: #67676d;
  border-radius: 7px;
  font-size: 10.5px;
}

.app-nav span .icon {
  width: 13px;
  height: 13px;
  opacity: 0.9;
}

.app-nav span.active {
  color: #2859e8;
  background: #edf2ff;
  font-weight: 500;
}

.app-sidebar-bottom {
  margin-top: auto;
}

.workspace-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border-top: 1px solid rgba(29, 29, 31, 0.07);
}

.avatar-stack {
  position: relative;
  width: 27px;
  height: 23px;
  flex: 0 0 auto;
}

.avatar-stack i {
  position: absolute;
  top: 1px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  color: #fff;
  background: linear-gradient(145deg, #6082ff, #454bd5);
  border: 1.5px solid #fbfbfc;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
}

.avatar-stack i + i {
  top: 4px;
  left: 9px;
  background: linear-gradient(145deg, #d8a5ff, #8659dd);
}

.workspace-switcher > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.workspace-switcher strong {
  font-size: 9.5px;
  font-weight: 550;
}

.workspace-switcher small {
  color: #9b9ba1;
  font-size: 8px;
}

.workspace-switcher > .icon {
  width: 11px;
  height: 11px;
  margin-left: auto;
  color: #98989e;
}

.app-workspace {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  background: #fbfbfc;
}

.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 51px;
  flex: 0 0 51px;
  padding: 0 15px 0 17px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
  background: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.app-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: #8e8e93;
  font-size: 9.5px;
  white-space: nowrap;
}

.app-breadcrumb b {
  color: #c5c5c9;
  font-weight: 400;
}

.app-breadcrumb strong {
  overflow: hidden;
  color: #3d3d42;
  font-weight: 500;
  text-overflow: ellipsis;
}

.app-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.app-ghost-button {
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 0 10px;
  color: #737378;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 7px;
  font-size: 9px;
}

.app-run-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 27px;
  padding: 0 11px;
  color: #fff;
  background: #202126;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 500;
  transition: background-color 0.2s var(--ease);
}

.app-run-button .icon {
  width: 10px;
  height: 10px;
}

.app-run-button:hover {
  background: #000;
}

.app-canvas {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #fafbfd;
}

.canvas-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(29, 29, 31, 0.16) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

.canvas-tools {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 4px;
  color: #8b8b91;
  font-family: var(--font-mono);
  font-size: 8px;
}

.canvas-tools span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  min-width: 28px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(29, 29, 31, 0.04);
}

.canvas-tools .icon {
  width: 11px;
  height: 11px;
}

.flow-wires {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wire {
  fill: none;
  stroke: url(#wireGradient);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.9;
}

.wire-1 {
  stroke-dasharray: 4 5;
  animation: dash-flow 10s linear infinite;
}

.wire-2 {
  stroke-dasharray: 4 5;
  animation: dash-flow 10s linear infinite reverse;
}

.wire-dot {
  fill: #5b7cff;
  filter: drop-shadow(0 0 5px rgba(91, 124, 255, 0.85));
}

.wire-dot-2 {
  fill: #a98bff;
}

.flow-node {
  position: absolute;
  z-index: 2;
  width: 194px;
  padding: 12px 13px 11px;
  text-align: left;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(29, 29, 31, 0.11);
  border-radius: 12px;
  box-shadow:
    0 12px 30px -12px rgba(28, 38, 73, 0.2),
    0 2px 6px rgba(28, 38, 73, 0.04);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.flow-node:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px -16px rgba(28, 38, 73, 0.25),
    0 2px 6px rgba(28, 38, 73, 0.04);
}

.node-trigger {
  top: 48%;
  left: 3.8%;
}

.node-ai {
  top: 17%;
  left: 34%;
  box-shadow:
    0 0 0 3px rgba(75, 105, 255, 0.06),
    0 16px 34px -14px rgba(52, 77, 180, 0.28);
}

.node-action {
  top: 48%;
  left: 65.5%;
}

.node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.node-kind {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #85858b;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #666a78;
  background: #f0f1f4;
  border-radius: 5px;
}

.node-icon .icon {
  width: 9px;
  height: 9px;
}

.node-icon-ai {
  color: #fff;
  background: linear-gradient(145deg, #6f8bff, #5353d9);
}

.node-more {
  color: #b3b3b8;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.flow-node > strong {
  display: block;
  color: #29292d;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.flow-node > p {
  margin-top: 4px;
  color: #8b8b91;
  font-size: 8.5px;
  line-height: 1.45;
}

.node-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 11px;
  padding-top: 9px;
  color: #9a9aa0;
  border-top: 1px solid rgba(29, 29, 31, 0.055);
  font-size: 7.5px;
}

.node-status {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22c55e;
}

.node-port {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  background: #fff;
  border: 1.5px solid #99aaff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
  transform: translateY(-50%);
}

.node-port-in {
  left: -4px;
}

.node-port-out {
  right: -4px;
}

.ai-model {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  color: #5264b7;
  background: #f1f3fc;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 6.5px;
}

.node-thinking {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #7d869f;
  font-size: 6.5px;
}

.node-thinking i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #6e83e5;
}

.canvas-badge {
  position: absolute;
  right: 14px;
  bottom: 46px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  color: #6f74a0;
  background: rgba(243, 245, 255, 0.9);
  border: 1px solid rgba(91, 124, 255, 0.12);
  border-radius: 6px;
  font-size: 7.5px;
}

.canvas-badge .icon {
  width: 9px;
  height: 9px;
}

.run-toast {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 168px;
  padding: 9px 13px;
  color: #2d2d31;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 10px;
  box-shadow: 0 16px 30px -12px rgba(29, 29, 31, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.run-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.run-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: #22c55e;
  border-radius: 50%;
}

.run-toast-icon .icon {
  width: 11px;
  height: 11px;
}

.run-toast > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.run-toast strong {
  font-size: 9px;
  font-weight: 600;
}

.run-toast small {
  color: #8d8d92;
  font-size: 7.5px;
}

.app-statusbar {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0 14px;
  color: #9a9aa0;
  border-top: 1px solid rgba(29, 29, 31, 0.06);
  background: #fff;
  font-family: var(--font-mono);
  font-size: 7px;
  text-align: left;
}

.status-saved {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-saved i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22c55e;
}

.status-spacer {
  flex: 1;
}

.app-inspector {
  flex: 0 0 214px;
  padding: 17px 15px;
  border-left: 1px solid rgba(29, 29, 31, 0.07);
  background: #fff;
  text-align: left;
}

.inspector-head {
  display: flex;
  justify-content: space-between;
  color: #5d5d63;
  font-size: 10px;
  font-weight: 550;
}

.inspector-head span:last-child {
  color: #b4b4b9;
  letter-spacing: 0.1em;
}

.inspector-scroll {
  margin-top: 21px;
}

.field-label {
  display: block;
  margin: 14px 0 6px;
  color: #9c9ca2;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field-label:first-child {
  margin-top: 0;
}

.field-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 9px;
  color: #444449;
  background: #fbfbfc;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 6px;
  font-size: 8.5px;
}

.field-value .icon {
  width: 9px;
  height: 9px;
  color: #9d9da3;
}

.field-select span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.model-dot {
  width: 5px;
  height: 5px;
  background: #6c7cff;
  border-radius: 50%;
}

.prompt-box {
  padding: 8px;
  color: #84848a;
  background: #fbfbfc;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 6px;
  font-size: 7.5px;
  line-height: 1.7;
}

.inspector-divider {
  height: 1px;
  margin: 17px 0 4px;
  background: rgba(29, 29, 31, 0.07);
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  color: #636369;
  font-size: 8px;
}

.toggle {
  position: relative;
  width: 21px;
  height: 12px;
  background: #d7d8dc;
  border-radius: 999px;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s var(--ease);
}

.toggle.is-on {
  background: #5d7dff;
}

.toggle.is-on::after {
  transform: translateX(9px);
}

.inspector-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  padding: 8px;
  color: #6f8490;
  background: #f4faf7;
  border-radius: 6px;
  font-size: 7px;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 13px;
  box-shadow:
    0 18px 40px -14px rgba(30, 40, 80, 0.28),
    0 0 0 1px rgba(29, 29, 31, 0.05);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  text-align: left;
  animation: float 6s ease-in-out infinite;
}

.floating-chip small,
.floating-chip strong {
  display: block;
  line-height: 1.3;
}

.floating-chip small {
  color: #8b8b91;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
}

.floating-chip strong {
  margin-top: 1px;
  color: #343438;
  font-size: 10px;
  font-weight: 550;
}

.floating-chip-a {
  top: 11%;
  right: -3.2%;
  animation-delay: -2s;
}

.floating-chip-b {
  bottom: 11%;
  left: -3%;
  animation-delay: -4s;
}

.chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: #5b6cff;
  background: linear-gradient(145deg, #edf1ff, #e3e7ff);
  border-radius: 8px;
}

.chip-icon .icon {
  width: 14px;
  height: 14px;
}

.chip-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  color: #fff;
  background: #22c55e;
  border-radius: 50%;
}

.chip-check .icon {
  width: 8px;
  height: 8px;
}

.status-pulse {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: #22c55e;
  border-radius: 50%;
}

.status-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-radius: 50%;
  animation: pulse-ring 2.4s ease-out infinite;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 60px;
  padding-bottom: 60px;
  color: #8b8b91;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-foot span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c1c1c6;
}

/* ------------------------------------------------------------
   Manifesto
   ------------------------------------------------------------ */

.manifesto {
  padding: clamp(110px, 14vw, 176px) 0;
  background: #fff;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 30px;
}

.manifesto-main {
  max-width: 1000px;
}

.manifesto .section-title {
  max-width: 1000px;
  margin-top: 0;
}

.manifesto-copy {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 8vw, 120px);
  max-width: 860px;
  margin-top: 58px;
  margin-left: auto;
}

.manifesto-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

/* ------------------------------------------------------------
   Capabilities
   ------------------------------------------------------------ */

.capabilities {
  padding: clamp(100px, 12vw, 150px) 0;
  background: var(--surface);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
  gap: 80px;
}

.section-head .section-intro {
  justify-self: end;
  padding-bottom: 10px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: 66px;
}

.cap-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.045);
  border-radius: 30px;
  box-shadow: 0 1px 2px rgba(29, 29, 31, 0.02);
  transition:
    transform 0.55s var(--ease-out),
    box-shadow 0.55s var(--ease-out);
}

.cap-web {
  grid-column: span 7;
  display: flex;
  min-height: 616px;
  flex-direction: column;
}

.cap-software {
  grid-column: span 5;
  display: flex;
  min-height: 616px;
  flex-direction: column;
}

.cap-ai {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: stretch;
  min-height: 430px;
  background:
    radial-gradient(ellipse at 83% 32%, rgba(103, 129, 255, 0.13), transparent 50%),
    linear-gradient(120deg, #fff 0%, #f8f9ff 60%, #f2f5ff 100%);
}

@media (hover: hover) {
  .cap-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 32px 60px -35px rgba(28, 38, 73, 0.24),
      0 2px 4px rgba(29, 29, 31, 0.03);
  }
}

.cap-content {
  position: relative;
  z-index: 2;
  padding: 38px 38px 0;
}

.cap-ai .cap-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px;
}

.cap-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cap-meta span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  color: var(--ink-soft);
  border: 1px solid rgba(29, 29, 31, 0.13);
  border-radius: 50%;
  font-size: 8px;
}

.cap-content h3 {
  margin-top: 40px;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.cap-content > p {
  max-width: 490px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.tag-list li {
  padding: 6px 10px;
  color: #606065;
  background: #f5f5f7;
  border: 1px solid rgba(29, 29, 31, 0.04);
  border-radius: 999px;
  font-size: 10.5px;
  line-height: 1;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-bottom: 4px;
  color: var(--ink);
  border-bottom: 1px solid rgba(29, 29, 31, 0.22);
  font-size: 13px;
  font-weight: 500;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.inline-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.inline-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.inline-link:hover .icon {
  transform: translateX(3px);
}

.cap-art {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.browser-art {
  height: 328px;
  margin-top: 34px;
  padding: 0 30px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(124, 147, 255, 0.2), transparent 62%);
}

.browser-art::before {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 12%;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(132, 93, 255, 0.22), transparent 70%);
  filter: blur(18px);
}

.mini-browser {
  position: relative;
  width: 100%;
  height: 316px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 13px 13px 0 0;
  box-shadow:
    0 30px 60px -32px rgba(28, 38, 73, 0.24),
    0 4px 12px rgba(28, 38, 73, 0.05);
  transform: translateY(7px);
  transition: transform 0.55s var(--ease-out);
}

.cap-web:hover .mini-browser {
  transform: translateY(0);
}

.mini-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 27px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
  background: #f7f7f8;
}

.mini-dots {
  display: flex;
  gap: 4px;
}

.mini-dots i {
  width: 5px;
  height: 5px;
  background: #d7d7dc;
  border-radius: 50%;
}

.mini-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 140px;
  height: 16px;
  margin-inline: auto;
  color: #9a9aa0;
  background: #fff;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 6.5px;
}

.mini-url .icon {
  width: 6px;
  height: 6px;
}

.mini-browser-actions {
  width: 26px;
}

.mini-site {
  position: relative;
  height: 289px;
  overflow: hidden;
  padding: 15px 18px;
  background:
    radial-gradient(ellipse at 84% 34%, rgba(114, 127, 255, 0.34), transparent 36%),
    linear-gradient(145deg, #ffffff 0%, #fbfbfd 45%, #eef1ff 100%);
}

.mini-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #252529;
  font-size: 6px;
  letter-spacing: 0.02em;
}

.mini-logo {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.mini-links {
  color: #77777d;
  font-family: var(--font-mono);
  font-size: 5.5px;
  text-transform: uppercase;
}

.mini-menu {
  width: 12px;
  height: 5px;
  border-top: 1px solid #55555a;
  border-bottom: 1px solid #55555a;
}

.mini-site-hero {
  position: relative;
  z-index: 1;
  margin-top: 48px;
}

.mini-eyebrow {
  color: #8a8a90;
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.12em;
}

.mini-site-hero p {
  margin-top: 7px;
  color: #19191c;
  font-size: 35px;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.mini-site-hero em {
  color: #4c62e7;
  font-style: normal;
}

.mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  padding: 6px 9px;
  color: #fff;
  background: #19191c;
  border-radius: 999px;
  font-size: 6px;
}

.mini-cta .icon {
  width: 7px;
  height: 7px;
}

.mini-site-orb {
  position: absolute;
  top: 54px;
  right: 28px;
  width: 120px;
  height: 120px;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.95), transparent 24%),
    radial-gradient(circle at 62% 68%, #6c7cff 0%, #a470ff 44%, #e8dcff 74%, rgba(255, 255, 255, 0.1) 75%);
  border-radius: 50%;
  box-shadow:
    inset -14px -18px 30px rgba(53, 35, 132, 0.2),
    0 24px 35px -18px rgba(83, 70, 190, 0.42);
  opacity: 0.9;
}

.mini-site-cards {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 6px;
}

.mini-site-cards span {
  height: 53px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.mini-site-cards span:nth-child(2) {
  background: rgba(34, 35, 43, 0.9);
}

.dashboard-art {
  height: 328px;
  margin-top: 34px;
  padding: 0 26px;
  background: radial-gradient(ellipse at 50% 100%, rgba(117, 139, 255, 0.16), transparent 64%);
}

.mini-dashboard {
  display: flex;
  width: 100%;
  height: 317px;
  overflow: hidden;
  background: #f9f9fb;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 13px 13px 0 0;
  box-shadow:
    0 30px 60px -32px rgba(28, 38, 73, 0.22),
    0 4px 12px rgba(28, 38, 73, 0.04);
  transform: translateY(7px);
  transition: transform 0.55s var(--ease-out);
}

.cap-software:hover .mini-dashboard {
  transform: translateY(0);
}

.mini-dash-side {
  display: flex;
  width: 35px;
  flex: 0 0 35px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-right: 1px solid rgba(29, 29, 31, 0.06);
  background: #fff;
}

.mini-logo-mark {
  width: 13px;
  height: 13px;
  margin-bottom: 10px;
  background: linear-gradient(145deg, #7e93ff, #5f51e4);
  border-radius: 4px;
}

.mini-dash-side i {
  width: 11px;
  height: 11px;
  background: #ececf0;
  border-radius: 3px;
}

.mini-dash-side i.active {
  background: #dce4ff;
  box-shadow: inset 0 0 0 1px rgba(77, 104, 226, 0.2);
}

.mini-dash-avatar {
  width: 13px;
  height: 13px;
  margin-top: auto;
  background: linear-gradient(145deg, #e0b8ff, #7f5bea);
  border-radius: 50%;
}

.mini-dash-main {
  flex: 1;
  min-width: 0;
  padding: 16px 17px;
}

.mini-dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.mini-dash-head span:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mini-dash-head small {
  color: #6e6e73;
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.1em;
}

.mini-dash-head b {
  color: #29292d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mini-date {
  padding: 4px 5px;
  color: #6e6e73;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 5px;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 13px;
}

.mini-stats > div {
  display: flex;
  flex-direction: column;
  padding: 9px;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.055);
  border-radius: 7px;
}

.mini-stats small {
  color: #6e6e73;
  font-size: 5.5px;
}

.mini-stats strong {
  margin-top: 3px;
  color: #2c2c30;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.035em;
}

.stat-up {
  margin-top: 2px;
  color: #1f7f4c;
  font-family: var(--font-mono);
  font-size: 5px;
}

.mini-chart {
  display: flex;
  gap: 8px;
  height: 95px;
  margin-top: 7px;
  padding: 8px 9px 5px;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.055);
  border-radius: 7px;
}

.chart-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 11px;
  color: #6e6e73;
  font-family: var(--font-mono);
  font-size: 4.5px;
}

.chart-area {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

.chart-area svg {
  width: 100%;
  height: 100%;
}

.ai-art {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.ai-art::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 410px;
  height: 410px;
  background: radial-gradient(circle, rgba(95, 120, 255, 0.16), transparent 68%);
  transform: translate(-50%, -50%);
  filter: blur(8px);
}

.ai-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  background:
    radial-gradient(circle at 40% 32%, rgba(255, 255, 255, 0.8), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(235, 239, 255, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow:
    0 28px 60px -22px rgba(66, 80, 180, 0.34),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.brand-mark-lg {
  width: 74px;
  height: 74px;
  border-radius: 22px;
}

.brand-mark-lg svg {
  width: 42px;
  height: 42px;
}

.ai-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(97, 114, 217, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ai-ring-1 {
  width: 270px;
  height: 270px;
  border-style: dashed;
  animation: slow-rotate 45s linear infinite;
}

.ai-ring-2 {
  width: 380px;
  height: 380px;
  border-color: rgba(97, 114, 217, 0.09);
}

.ai-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: #535a76;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow:
    0 8px 20px -10px rgba(38, 48, 103, 0.25),
    0 0 0 1px rgba(80, 100, 190, 0.06);
  font-size: 9px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: float 7s ease-in-out infinite;
}

.ai-node .icon {
  width: 12px;
  height: 12px;
  color: #6d7be4;
}

.ai-node-1 {
  top: 16%;
  left: 23%;
  animation-delay: -1s;
}

.ai-node-2 {
  top: 25%;
  right: 15%;
  animation-delay: -3s;
}

.ai-node-3 {
  right: 18%;
  bottom: 22%;
  animation-delay: -5s;
}

.ai-node-4 {
  bottom: 17%;
  left: 17%;
  animation-delay: -2.5s;
}

.ai-orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  background: #7c8cff;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(96, 118, 255, 0.7);
  animation: orbit 22s linear infinite;
  transform-origin: 0 0;
}

.ai-orbit-dot-2 {
  width: 5px;
  height: 5px;
  margin: -2.5px;
  background: #b088ff;
  animation-duration: 32s;
  animation-direction: reverse;
}

.extra-services {
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.005em;
}

.extra-services span {
  margin: 0 5px;
  color: #babac0;
}

/* ------------------------------------------------------------
   Flow platform
   ------------------------------------------------------------ */

.flow-section {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 13vw, 160px) 0;
  color: #f5f5f7;
  background: var(--dark);
}

.flow-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flow-bg span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(100px);
}

.flow-bg span:first-child {
  top: -10%;
  right: 2%;
  width: 620px;
  height: 520px;
  background: radial-gradient(circle, rgba(49, 73, 190, 0.28), transparent 70%);
}

.flow-bg span:last-child {
  bottom: -24%;
  left: -10%;
  width: 640px;
  height: 560px;
  background: radial-gradient(circle, rgba(107, 54, 173, 0.19), transparent 70%);
}

.flow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.5px, transparent 0.5px);
  background-size: 26px 26px;
  opacity: 0.26;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 0%, transparent 65%);
}

.flow-section .container {
  position: relative;
  z-index: 1;
}

.flow-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  align-items: end;
  gap: 70px;
}

.flow-head-copy p {
  max-width: 420px;
  color: #a1a1aa;
  font-size: 15px;
  line-height: 1.85;
}

.flow-head-copy .button {
  margin-top: 26px;
}

.flow-rail {
  margin-top: clamp(55px, 7vw, 78px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow:
    0 50px 100px -60px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.rail-head,
.rail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
}

.rail-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.rail-head-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rail-head-left strong {
  color: #e9e9ed;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.rail-tag {
  padding: 3px 7px;
  color: #95e0b3;
  background: rgba(60, 196, 111, 0.1);
  border: 1px solid rgba(84, 218, 134, 0.15);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.rail-head-right {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #757982;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
}

.rail-version {
  padding: 3px 6px;
  color: #9a9eaa;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.rail-body {
  padding: 38px 34px 34px;
}

.rail-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.rail-line {
  position: absolute;
  top: 50%;
  right: 8%;
  left: 8%;
  z-index: 0;
  height: 1px;
  overflow: visible;
  background: linear-gradient(
    90deg,
    rgba(111, 138, 255, 0.12),
    rgba(111, 138, 255, 0.75) 28%,
    rgba(175, 139, 255, 0.68) 72%,
    rgba(126, 200, 255, 0.12)
  );
}

.rail-line::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 10px;
  height: 10px;
  background: #7e98ff;
  border-radius: 50%;
  box-shadow: 0 0 18px 4px rgba(98, 125, 255, 0.55);
  animation: rail-scan 5.5s linear infinite;
}

.rail-node {
  position: relative;
  z-index: 1;
  min-height: 198px;
  padding: 22px 20px 19px;
  background: #111217;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.rail-node:hover {
  border-color: rgba(154, 177, 255, 0.32);
  transform: translateY(-3px);
}

.rail-node-index {
  display: block;
  margin-bottom: 26px;
  color: #636873;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.rail-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
  color: #a8b3d4;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
}

.rail-node-icon .icon {
  width: 15px;
  height: 15px;
}

.rail-icon-ai {
  color: #dfe5ff;
  background: linear-gradient(145deg, rgba(94, 123, 255, 0.5), rgba(94, 73, 190, 0.4));
  border-color: rgba(148, 164, 255, 0.22);
}

.rail-node-type {
  display: block;
  color: #777d8c;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.rail-node strong {
  display: block;
  margin-top: 5px;
  color: #f0f0f3;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.rail-node small {
  display: block;
  margin-top: 6px;
  color: #828792;
  font-size: 9.5px;
  line-height: 1.6;
}

.rail-foot {
  color: #737883;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.rail-foot > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rail-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #7ce3aa;
  background: rgba(43, 180, 95, 0.12);
  border-radius: 50%;
}

.rail-check .icon {
  width: 7px;
  height: 7px;
}

.rail-foot-right i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #555a65;
}

.flow-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 72px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.flow-feature {
  max-width: 330px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 21px;
  color: #a8bbff;
  border: 1px solid rgba(151, 171, 255, 0.2);
  border-radius: 50%;
}

.feature-icon .icon {
  width: 15px;
  height: 15px;
}

.flow-feature h3 {
  color: #f0f0f3;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.flow-feature p {
  margin-top: 9px;
  color: #8b909c;
  font-size: 12.5px;
  line-height: 1.8;
}

/* ------------------------------------------------------------
   Process
   ------------------------------------------------------------ */

.process {
  padding: clamp(110px, 13vw, 160px) 0;
  background: #fff;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.process-intro {
  position: sticky;
  top: 120px;
}

.process-intro .section-title {
  font-size: clamp(2.6rem, 4.2vw, 4.2rem);
}

.process-intro .section-intro {
  margin-top: 27px;
}

.process-link {
  margin-top: 34px;
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 51px minmax(0, 1fr) 205px;
  gap: 20px;
  padding: 33px 0 31px;
  border-bottom: 1px solid var(--line);
}

.step-num {
  padding-top: 5px;
  color: #6e6e73;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.step-main h3 {
  font-size: 25px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.04em;
  transition: color 0.25s var(--ease);
}

.step-main p {
  max-width: 380px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 6px;
  padding-top: 4px;
}

.step-tags li {
  padding: 4px 7px;
  color: #5f5f65;
  background: #f7f7f8;
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.3;
  white-space: nowrap;
}

@media (hover: hover) {
  .step:hover .step-main h3 {
    color: var(--accent);
  }
}

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */

.about {
  padding: clamp(100px, 12vw, 150px) 0;
  background: var(--surface);
}

.about-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(55px, 8vw, 110px);
}

.about-visual {
  position: relative;
  display: flex;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(87, 111, 255, 0.2), transparent 50%),
    radial-gradient(ellipse at 70% 78%, rgba(144, 82, 255, 0.12), transparent 48%),
    linear-gradient(145deg, #0d0e13 0%, #11131d 60%, #0b0c11 100%);
  border-radius: 30px;
  box-shadow: 0 40px 80px -50px rgba(16, 22, 50, 0.5);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.6px, transparent 0.6px);
  background-size: 24px 24px;
  opacity: 0.26;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}

.about-emblem {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 210px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    inset 0 0 70px rgba(82, 105, 255, 0.1),
    0 0 80px rgba(83, 95, 220, 0.1);
}

.brand-mark-xl {
  width: 104px;
  height: 104px;
  border-radius: 30px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 20px 60px rgba(57, 70, 200, 0.45);
}

.brand-mark-xl svg {
  width: 57px;
  height: 57px;
}

.about-orbit {
  position: absolute;
  z-index: 1;
  width: 370px;
  height: 370px;
  border: 1px dashed rgba(164, 180, 255, 0.17);
  border-radius: 50%;
  animation: slow-rotate 70s linear infinite;
}

.about-orbit::before,
.about-orbit::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #8ea2ff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(124, 149, 255, 0.8);
}

.about-orbit::before {
  top: 18%;
  left: 8%;
}

.about-orbit::after {
  right: 2%;
  bottom: 29%;
  width: 4px;
  height: 4px;
  background: #bb9bff;
}

.about-visual-copy {
  position: absolute;
  right: 24px;
  bottom: 21px;
  left: 24px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: rgba(235, 238, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.about-copy .section-title {
  font-size: clamp(2.7rem, 4.7vw, 4.7rem);
}

.about-paragraphs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 34px;
}

.about-paragraphs p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.about-copy .text-link {
  margin-top: 30px;
}

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 13vw, 160px) 0 clamp(100px, 11vw, 135px);
  color: #f5f5f7;
  background: #08090c;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-glow {
  position: absolute;
  top: -28%;
  left: 34%;
  width: 800px;
  height: 700px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(57, 86, 220, 0.3), transparent 62%),
    radial-gradient(ellipse at 64% 60%, rgba(114, 63, 190, 0.18), transparent 56%);
  filter: blur(90px);
}

.contact-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 42%, #000, transparent 72%);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #747985;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-location i {
  width: 5px;
  height: 5px;
  background: #7e98ff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(126, 152, 255, 0.8);
}

.contact-title {
  max-width: 1080px;
  margin-top: 25px;
  font-size: clamp(3rem, 6.3vw, 6.5rem);
  font-weight: 550;
  line-height: 1.03;
  letter-spacing: -0.066em;
}

.contact-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(50px, 7vw, 78px);
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

.contact-email {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  color: #f5f5f7;
  font-size: clamp(1.72rem, 4.15vw, 4.25rem);
  font-weight: 450;
  line-height: 1.1;
  letter-spacing: -0.052em;
  transition: color 0.25s var(--ease);
}

.contact-email > span:first-child {
  overflow-wrap: anywhere;
}

.email-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(45px, 4.9vw, 63px);
  height: clamp(45px, 4.9vw, 63px);
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(145deg, #4c6dff, #7351df);
  border-radius: 50%;
  box-shadow: 0 12px 26px -10px rgba(80, 100, 240, 0.5);
  transition: transform 0.35s var(--ease);
}

.email-arrow .icon {
  width: 22px;
  height: 22px;
}

.contact-email:hover .email-arrow {
  transform: rotate(8deg) scale(1.04);
}

.contact-email:hover {
  color: #b9c5ff;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  height: 36px;
  padding: 0 13px;
  color: #aeb1ba;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 10px;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.copy-button .icon {
  width: 12px;
  height: 12px;
}

.copy-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.copy-button.is-copied {
  color: #94e3b9;
  border-color: rgba(101, 215, 147, 0.3);
}

.contact-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 27px;
}

.contact-bottom > p {
  max-width: 480px;
  color: #858a96;
  font-size: 13px;
  line-height: 1.8;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.contact-tags li {
  padding: 6px 11px;
  color: #9fa4b0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 9px;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
  padding: 76px 0 34px;
  color: #f5f5f7;
  background: #08090c;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.55fr 0.65fr 0.65fr 1.15fr;
  gap: 40px;
}

.footer-brand .brand {
  color: #f5f5f7;
}

.footer-brand .brand-type {
  font-size: 20px;
}

.footer-brand > p {
  margin-top: 23px;
  color: #7d828e;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-label {
  margin-bottom: 16px;
  color: #7d828e;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col > a {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  color: #a9adb7;
  font-size: 12px;
  line-height: 1.6;
  transition: color 0.2s var(--ease);
}

.footer-col > a:hover {
  color: #fff;
}

.footer-contact > a:not(.footer-top-link) {
  color: #e3e4e8;
}

.footer-contact > p:not(.footer-label) {
  margin-top: 15px;
  color: #757a86;
  font-size: 11px;
  line-height: 1.8;
}

.footer-top-link {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin-top: 24px;
  color: #8a8f9a !important;
}

.footer-top-link .icon {
  width: 11px;
  height: 11px;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
  padding-top: 23px;
  color: #7d828e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9.5px;
  line-height: 1.75;
}

.footer-sep {
  margin: 0 4px;
}

/* ------------------------------------------------------------
   Toast
   ------------------------------------------------------------ */

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 300;
  padding: 11px 18px;
  color: #fff;
  background: rgba(29, 29, 31, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------------------------------------
   Motion
   ------------------------------------------------------------ */

@keyframes aurora-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(34px, -28px, 0) scale(1.07);
  }
}

@keyframes pulse-ring {
  0% {
    opacity: 0.75;
    transform: scale(0.72);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

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

@keyframes slow-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(190px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(190px) rotate(-360deg);
  }
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -90;
  }
}

@keyframes rail-scan {
  0% {
    left: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 10px);
    opacity: 0;
  }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1220px) {
  .app-inspector {
    display: none;
  }

  .floating-chip-a {
    right: -2%;
  }

  .floating-chip-b {
    left: -2%;
  }

  .app-body {
    height: 545px;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 24px;
    padding-left: 28px;
  }

  .brand-cn,
  .brand-divider {
    display: none;
  }

  .section-head {
    gap: 50px;
  }

  .manifesto-grid {
    grid-template-columns: 155px minmax(0, 1fr);
  }

  .cap-web,
  .cap-software {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .cap-web {
    min-height: 600px;
  }

  .cap-software {
    min-height: 600px;
  }

  .browser-art,
  .dashboard-art {
    height: 360px;
    margin-top: 34px;
  }

  .mini-browser,
  .mini-dashboard {
    height: 346px;
    max-width: 760px;
    margin-inline: auto;
  }

  .mini-site {
    height: 319px;
  }

  .cap-software .mini-dashboard {
    max-width: 680px;
  }

  .mini-site-hero p {
    font-size: 44px;
  }

  .mini-site-orb {
    width: 150px;
    height: 150px;
    right: 13%;
  }

  .process-layout {
    gap: 65px;
  }

  .step {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .step-tags {
    grid-column: 2;
    justify-content: flex-start;
    padding-top: 0;
  }

  .about-top {
    gap: 60px;
  }

  .about-paragraphs {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-top {
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .nav-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header {
    height: 64px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 135px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 10vw, 5.4rem);
  }

  .app-sidebar {
    display: none;
  }

  .app-body {
    height: 530px;
  }

  .floating-chip {
    display: none;
  }

  .flow-head {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .flow-head-copy {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
  }

  .flow-head-copy .button {
    margin-top: 0;
    flex: 0 0 auto;
  }

  .rail-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rail-line {
    display: none;
  }

  .rail-node {
    min-height: 175px;
  }

  .rail-node-index {
    margin-bottom: 18px;
  }

  .flow-features {
    gap: 30px;
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-intro {
    position: static;
  }

  .process-intro .section-title {
    max-width: 600px;
  }

  .process-intro .section-intro {
    max-width: 520px;
  }

  .about-top {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 560px;
    aspect-ratio: 1.15 / 1;
  }

  .about-copy .section-title {
    font-size: clamp(2.8rem, 7vw, 4.2rem);
  }

  

  .contact-main {
    align-items: center;
  }

  .contact-email {
    font-size: clamp(1.55rem, 5.2vw, 3.1rem);
  }

  .footer-top {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-contact .footer-label {
    grid-column: 1 / -1;
  }

  .footer-contact > p:not(.footer-label) {
    margin-top: 0;
  }

  .footer-top-link {
    margin-top: 0;
    justify-self: end;
    align-self: center;
  }

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

  
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .section-title {
    font-size: clamp(2.45rem, 9.3vw, 3.65rem);
  }

  .hero {
    padding-top: 120px;
  }

  .hero-eyebrow {
    font-size: 8.5px;
    letter-spacing: 0.065em;
  }

  .eyebrow-line {
    width: 15px;
  }

  .hero-title {
    margin-top: 18px;
    font-size: clamp(3rem, 13vw, 4.65rem);
    line-height: 1.05;
    letter-spacing: -0.063em;
  }

  .hero-lede {
    max-width: 330px;
    margin-top: 23px;
    font-size: 15px;
    line-height: 1.75;
  }

  .desktop-break {
    display: none;
  }

  .hero-actions {
    gap: 18px;
    margin-top: 29px;
  }

  .button {
    height: 47px;
    padding: 0 20px;
    font-size: 12.5px;
  }

  .hero-actions .text-link {
    font-size: 12px;
  }

  .hero-stage-wrap {
    margin-top: 56px;
  }

  .hero-stage {
    margin-inline: -4px;
  }

  .stage-glow {
    top: -4%;
    left: 2%;
    width: 96%;
  }

  .app-frame {
    border-radius: 15px;
  }

  .app-chrome {
    height: 34px;
    padding: 0 10px;
  }

  .traffic-lights {
    gap: 4px;
    width: 46px;
  }

  .traffic-lights span {
    width: 6px;
    height: 6px;
  }

  .app-url {
    width: 48%;
    height: 20px;
    font-size: 7.5px;
  }

  .chrome-meta {
    width: 46px;
    font-size: 7px;
  }

  .app-body {
    height: 462px;
  }

  .app-toolbar {
    height: 44px;
    flex-basis: 44px;
    padding-inline: 11px;
  }

  .app-breadcrumb {
    font-size: 8px;
  }

  .app-ghost-button {
    display: none;
  }

  .app-run-button {
    height: 24px;
    font-size: 8px;
  }

  .app-canvas {
    min-height: 390px;
  }

  .flow-wires {
    display: none;
  }

  .flow-node {
    width: 57%;
    padding: 10px 11px;
  }

  .node-trigger {
    top: 6%;
    left: 5%;
  }

  .node-ai {
    top: 38%;
    left: 38%;
  }

  .node-action {
    top: 70%;
    left: 5%;
  }

  .flow-node > strong {
    font-size: 10.5px;
  }

  .flow-node > p {
    font-size: 8px;
  }

  .canvas-badge {
    display: none;
  }

  .canvas-tools {
    right: 8px;
    bottom: 8px;
  }

  .app-statusbar {
    height: 25px;
    flex-basis: 25px;
    padding-inline: 10px;
    font-size: 6.5px;
  }

  .run-toast {
    bottom: 10px;
    min-width: 148px;
    padding: 8px 11px;
  }

  .hero-foot {
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 40px;
    padding-bottom: 40px;
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .manifesto {
    padding: 92px 0 100px;
  }

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

  .manifesto .section-title {
    margin-top: 14px;
  }

  .manifesto-copy {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 35px;
  }

  .manifesto-copy p {
    font-size: 14px;
    line-height: 1.85;
  }

  .capabilities {
    padding: 88px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-head .section-intro {
    justify-self: start;
    max-width: 420px;
    padding-bottom: 0;
    font-size: 13.5px;
    line-height: 1.8;
  }

  .section-head .section-title {
    margin-top: 16px;
  }

  .cap-grid {
    gap: 14px;
    margin-top: 40px;
  }

  .cap-card {
    border-radius: 22px;
  }

  .cap-web,
  .cap-software {
    min-height: auto;
    grid-column: 1 / -1;
  }

  .cap-content {
    padding: 27px 25px 0;
  }

  .cap-content h3 {
    margin-top: 28px;
    font-size: 30px;
  }

  .cap-content > p {
    font-size: 13px;
    line-height: 1.75;
  }

  .tag-list {
    margin-top: 18px;
  }

  .tag-list li {
    padding: 5px 9px;
    font-size: 10px;
  }

  .browser-art,
  .dashboard-art {
    height: 253px;
    margin-top: 27px;
    padding: 0 17px;
  }

  .mini-browser,
  .mini-dashboard {
    height: 245px;
    border-radius: 10px 10px 0 0;
  }

  .mini-browser-bar {
    height: 22px;
  }

  .mini-url {
    width: 110px;
    height: 14px;
  }

  .mini-site {
    height: 223px;
    padding: 12px 13px;
  }

  .mini-site-hero {
    margin-top: 32px;
  }

  .mini-site-hero p {
    font-size: 30px;
  }

  .mini-site-orb {
    top: 48px;
    right: 18px;
    width: 96px;
    height: 96px;
  }

  .mini-site-cards {
    right: 13px;
    bottom: 13px;
    left: 13px;
  }

  .mini-site-cards span {
    height: 40px;
  }

  .mini-dashboard {
    height: 245px;
  }

  .mini-dash-main {
    padding: 12px;
  }

  .mini-stats {
    margin-top: 9px;
  }

  .mini-stats > div {
    padding: 7px;
  }

  .mini-chart {
    height: 77px;
  }

  .cap-ai {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .cap-ai .cap-content {
    padding: 27px 25px 4px;
  }

  .ai-art {
    min-height: 280px;
  }

  .ai-orb {
    width: 100px;
    height: 100px;
  }

  .brand-mark-lg {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .brand-mark-lg svg {
    width: 30px;
    height: 30px;
  }

  .ai-ring-1 {
    width: 196px;
    height: 196px;
  }

  .ai-ring-2 {
    width: 270px;
    height: 270px;
  }

  .ai-node {
    padding: 5px 8px;
    font-size: 8px;
  }

  .ai-node-1 {
    top: 12%;
    left: 11%;
  }

  .ai-node-2 {
    top: 20%;
    right: 9%;
  }

  .ai-node-3 {
    right: 11%;
    bottom: 16%;
  }

  .ai-node-4 {
    bottom: 11%;
    left: 12%;
  }

  .extra-services {
    margin-top: 22px;
    font-size: 10.5px;
  }

  .flow-section {
    padding: 88px 0;
  }

  .flow-head {
    gap: 23px;
  }

  .flow-head-copy {
    display: block;
  }

  .flow-head-copy p {
    font-size: 13.5px;
    line-height: 1.8;
  }

  .flow-head-copy .button {
    margin-top: 22px;
  }

  .flow-rail {
    margin-top: 42px;
    border-radius: 18px;
  }

  .rail-head {
    padding: 12px 14px;
  }

  .rail-head-left strong {
    font-size: 9.5px;
  }

  .rail-head-right span:first-child {
    display: none;
  }

  .rail-body {
    padding: 17px;
  }

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

  .rail-node {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 0;
    padding: 16px;
  }

  .rail-node-index {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .rail-node-icon {
    grid-row: 2 / span 3;
    margin: 0;
  }

  .rail-node-type {
    align-self: end;
  }

  .rail-node strong {
    grid-column: 2;
    margin-top: 1px;
    font-size: 14px;
  }

  .rail-node small {
    grid-column: 2;
    margin-top: 1px;
  }

  .rail-foot {
    padding: 11px 14px;
    font-size: 6.8px;
  }

  .rail-foot-right {
    gap: 5px !important;
  }

  .flow-features {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 45px;
    padding-top: 30px;
  }

  .flow-feature {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 13px;
    max-width: none;
  }

  .feature-icon {
    grid-row: 1 / span 2;
    width: 29px;
    height: 29px;
    margin: 0;
  }

  .flow-feature h3 {
    align-self: center;
    font-size: 16px;
  }

  .flow-feature p {
    grid-column: 2;
    margin-top: 5px;
    font-size: 12px;
  }

  .process {
    padding: 88px 0;
  }

  .process-layout {
    gap: 45px;
  }

  .process-intro .section-title {
    font-size: clamp(2.45rem, 9vw, 3.4rem);
  }

  .process-intro .section-intro {
    margin-top: 20px;
    font-size: 13.5px;
  }

  .process-link {
    margin-top: 25px;
    font-size: 12.5px;
  }

  .step {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 13px;
    padding: 26px 0;
  }

  .step-num {
    padding-top: 3px;
    font-size: 8px;
  }

  .step-main h3 {
    font-size: 22px;
  }

  .step-main p {
    font-size: 12.5px;
  }

  .step-tags {
    grid-column: 2;
    gap: 5px;
  }

  .step-tags li {
    font-size: 8px;
  }

  .about {
    padding: 88px 0;
  }

  .about-top {
    gap: 42px;
  }

  .about-visual {
    border-radius: 22px;
    aspect-ratio: 1 / 1;
  }

  .about-emblem {
    width: 160px;
    height: 160px;
  }

  .brand-mark-xl {
    width: 78px;
    height: 78px;
    border-radius: 23px;
  }

  .brand-mark-xl svg {
    width: 42px;
    height: 42px;
  }

  .about-orbit {
    width: 280px;
    height: 280px;
  }

  .about-visual-copy {
    right: 17px;
    bottom: 16px;
    left: 17px;
    font-size: 6.5px;
  }

  .about-copy .section-title {
    font-size: clamp(2.45rem, 9vw, 3.5rem);
  }

  .about-paragraphs {
    margin-top: 24px;
  }

  .about-paragraphs p {
    font-size: 13px;
    line-height: 1.85;
  }

  .about-copy .text-link {
    margin-top: 23px;
    font-size: 12.5px;
  }

  

  

  

  

  .contact {
    padding: 88px 0 80px;
  }

  .contact-title {
    margin-top: 20px;
    font-size: clamp(2.65rem, 11vw, 4rem);
    line-height: 1.06;
  }

  .contact-location {
    font-size: 7px;
  }

  .contact-main {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-top: 43px;
    padding-bottom: 19px;
  }

  .contact-email {
    width: 100%;
    gap: 12px;
    font-size: clamp(1.35rem, 6.2vw, 2rem);
    letter-spacing: -0.045em;
  }

  .email-arrow {
    width: 40px;
    height: 40px;
  }

  .email-arrow .icon {
    width: 18px;
    height: 18px;
  }

  .copy-button {
    height: 32px;
    font-size: 9px;
  }

  .contact-bottom {
    display: block;
    margin-top: 21px;
  }

  .contact-bottom > p {
    font-size: 12px;
  }

  .contact-tags {
    margin-top: 18px;
  }

  .site-footer {
    padding: 55px 0 26px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 33px 20px;
  }

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

  .footer-brand > p {
    margin-top: 16px;
  }

  .footer-col > a {
    font-size: 11.5px;
  }

  .footer-contact {
    display: block;
    grid-column: 1 / -1;
    padding-top: 26px;
  }

  .footer-contact > p:not(.footer-label) {
    margin-top: 12px;
  }

  .footer-top-link {
    display: inline-flex !important;
    margin-top: 17px;
  }

  .footer-bottom {
    margin-top: 42px;
    font-size: 8.5px;
  }

  

  .mobile-only {
    display: block;
  }

  .footer-sep {
    display: none;
  }

  .mobile-menu {
    padding: 92px 20px 28px;
  }

  .mobile-nav a {
    padding: 15px 0;
    font-size: 24px;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-actions {
    gap: 14px;
  }

  .button {
    padding: 0 17px;
    font-size: 12px;
  }

  .hero-actions .text-link {
    font-size: 11px;
  }

  .app-body {
    height: 440px;
  }

  .flow-node {
    width: 62%;
  }

  .contact-email {
    font-size: 1.23rem;
  }

  

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

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

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

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

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

/* Interaction extensions */
.app-frame {
  transform: perspective(2000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease-out);
}

.app-run-button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.app-canvas.is-running .flow-node {
  animation: node-run 0.75s var(--ease) both;
}

.app-canvas.is-running .node-trigger {
  animation-delay: 0.04s;
}

.app-canvas.is-running .node-ai {
  animation-delay: 0.3s;
}

.app-canvas.is-running .node-action {
  animation-delay: 0.65s;
}

@keyframes node-run {
  0%,
  100% {
    border-color: rgba(29, 29, 31, 0.11);
    box-shadow:
      0 12px 30px -12px rgba(28, 38, 73, 0.2),
      0 2px 6px rgba(28, 38, 73, 0.04);
  }
  38% {
    border-color: rgba(91, 124, 255, 0.62);
    box-shadow:
      0 0 0 4px rgba(91, 124, 255, 0.1),
      0 16px 34px -14px rgba(52, 77, 180, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-frame {
    transform: none;
  }
}

/* Refinements */
.nowrap {
  white-space: nowrap;
}

.process-intro .section-title {
  font-size: clamp(2.45rem, 3.9vw, 3.6rem);
}

.floating-chip-a {
  top: -24px;
  right: 30px;
}

.floating-chip-b {
  bottom: -23px;
  left: 30px;
}

.mini-site-cards {
  gap: 7px;
}

.mini-site-cards span {
  position: relative;
  display: flex;
  height: 51px;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 9px;
  color: #29292f;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(40, 47, 90, 0.03);
}

.mini-site-cards span:nth-child(2) {
  color: #f4f4f7;
  background:
    radial-gradient(circle at 82% 20%, rgba(127, 145, 255, 0.38), transparent 58%),
    #23242c;
  border-color: rgba(255, 255, 255, 0.1);
}

.mini-site-cards small {
  color: #9b9ba4;
  font-family: var(--font-mono);
  font-size: 4.5px;
  letter-spacing: 0.06em;
}

.mini-site-cards span:nth-child(2) small {
  color: #8d93ad;
}

.mini-site-cards b {
  font-size: 7px;
  font-weight: 550;
  letter-spacing: -0.01em;
}

@media (max-width: 700px) {
  .floating-chip-a,
  .floating-chip-b {
    display: none;
  }

  .mini-site-cards span {
    height: 39px;
    padding: 6px 7px;
  }

  .mini-site-cards b {
    font-size: 6px;
  }

  .mini-site-cards small {
    font-size: 4px;
  }

  .contact-title {
    font-size: clamp(2.35rem, 9.6vw, 3.7rem);
  }
}

@media (max-width: 390px) {
  .process-intro .section-title {
    font-size: clamp(2.2rem, 8.5vw, 2.8rem);
  }
}

@media (min-width: 901px) and (max-height: 960px) {
  .hero {
    padding-top: clamp(118px, 14vh, 150px);
  }

  .hero-title {
    font-size: clamp(3.7rem, 7.35vw, 6.55rem);
  }

  .hero-lede {
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-stage-wrap {
    margin-top: 58px;
  }

  .floating-chip-a {
    top: -54px;
  }
}

/* Center the orbit before applying its rotation transform. */
.about-orbit {
  top: 50%;
  left: 50%;
}

/* Small phones: preserve deliberate line breaks and keep headings readable. */
.section-kicker {
  white-space: nowrap;
}

@media (min-width: 701px) and (max-width: 1080px) {
  .manifesto-grid {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .section-title,
  .about-copy .section-title,
  .process-intro .section-title {
    font-size: clamp(1.95rem, 8.7vw, 2.2rem);
  }

  .contact-title {
    font-size: 2.15rem;
  }

  .hero-actions {
    flex-wrap: wrap;
    row-gap: 16px;
  }

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