:root {
  --bg: #05070a;
  --bg-raised: #0b0f13;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef2ee;
  --muted: #94a19d;
  --dim: #66726f;
  --sun: #f4e531;
  --mint: #75cdb1;
  --warn: #f2a541;
  --brand-gradient: linear-gradient(120deg, var(--sun), var(--mint));
  --radius: 14px;
  --radius-lg: 24px;
  --page-max: 1240px;
  --gutter: 48px;
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
}

h3 {
  font-weight: 600;
}

::selection {
  background: rgba(117, 205, 177, 0.35);
}

.page-shell {
  overflow: clip;
}

.word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  vertical-align: top;
}

.word > span {
  display: inline-block;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dim);
}

.dot-on {
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(117, 205, 177, 0.15), 0 0 12px rgba(117, 205, 177, 0.8);
}

.dot-warn {
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(242, 165, 65, 0.15);
}

/* Buttons */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 200ms var(--ease-out), box-shadow 300ms ease, background 300ms ease, border-color 300ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 1rem;
}

.button-glow {
  background: var(--brand-gradient);
  color: #061009;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 10px 30px -8px rgba(117, 205, 177, 0.55);
}

.button-glow:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 16px 44px -8px rgba(117, 205, 177, 0.75), 0 0 60px -10px rgba(244, 229, 49, 0.5);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  border-color: rgba(117, 205, 177, 0.5);
  background: rgba(117, 205, 177, 0.08);
}

/* Navigation */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 7, 10, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav-inner {
  width: min(var(--page-max), calc(100% - var(--gutter)));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 168px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.nav-links a {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 200ms ease, background 200ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 75% 40%, rgba(117, 205, 177, 0.14), transparent 70%),
    radial-gradient(40% 40% at 55% 85%, rgba(244, 229, 49, 0.08), transparent 70%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 45%, #000, transparent 80%);
  mask-image: radial-gradient(70% 60% at 60% 45%, #000, transparent 80%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-fallback {
  position: absolute;
  top: 50%;
  right: max(2vw, calc((100% - var(--page-max)) / 2 - 40px));
  width: min(46vw, 640px);
  max-height: 80%;
  object-fit: contain;
  transform: translateY(-46%);
  transition: opacity 600ms ease;
}

.hero-stage.is-3d .hero-fallback {
  opacity: 0;
  visibility: hidden;
}

.hero-inner {
  width: min(var(--page-max), calc(100% - var(--gutter)));
  margin: 0 auto;
}

.hero-copy-block {
  max-width: 620px;
}

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--mint);
  animation: pulse 2s ease-out infinite;
}

.hero-title {
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 620px;
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
}

.stat {
  padding: 18px 20px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.stat > span {
  color: var(--muted);
  font-size: 0.82rem;
}

.stat-link {
  transition: background 200ms ease;
}

.stat-link:hover {
  background: rgba(117, 205, 177, 0.08);
}

.stat-link strong {
  color: var(--mint);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 22px;
  height: 36px;
  margin-left: -11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--mint);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

/* Marquee */

.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

/* Sections */

.section {
  position: relative;
  padding: 130px 0;
}

.section-inner {
  width: min(var(--page-max), calc(100% - var(--gutter)));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading.compact {
  margin-bottom: 40px;
}

/* Command center */

.command {
  background:
    radial-gradient(50% 60% at 80% 50%, rgba(117, 205, 177, 0.1), transparent 70%),
    var(--bg);
}

.command-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
}

.command-points {
  display: grid;
  gap: 4px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.command-points li {
  padding: 16px 18px;
  border-left: 2px solid var(--line);
  transition: border-color 400ms ease, background 400ms ease;
}

.command-points li.is-active {
  border-left-color: var(--mint);
  background: linear-gradient(90deg, rgba(117, 205, 177, 0.08), transparent);
}

.command-points strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
}

.command-points span {
  color: var(--muted);
  font-size: 0.95rem;
}

.command-scene {
  perspective: 1800px;
}

.dash {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateX(10deg) rotateY(-18deg) rotateZ(2deg);
  transform-style: preserve-3d;
  transform-origin: 60% 50%;
}

.dash::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(117, 205, 177, 0.18), transparent);
  filter: blur(30px);
  transform: translateZ(-80px);
}

.dash-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 6px 14px;
}

.dash-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.dash-chrome span:first-child {
  background: var(--sun);
}

.dash-chrome span:nth-child(2) {
  background: var(--mint);
}

.dash-chrome em {
  margin-left: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  transform-style: preserve-3d;
}

.dash-card {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 15, 19, 0.92);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.9);
}

.dash-kpi span,
.dash-title {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dash-kpi strong {
  display: block;
  margin: 6px 0 2px;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.trend {
  color: var(--mint);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
}

.dash-screens {
  grid-row: span 2;
}

.dash-screens ul {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}

.dash-screens li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-screens em {
  margin-left: auto;
  color: var(--dim);
  font-size: 0.72rem;
  font-style: normal;
}

.dash-schedule {
  grid-column: span 2;
}

.schedule-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.dash-title + .schedule-row {
  margin-top: 6px;
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-row time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.tag {
  padding: 2px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.tag-live {
  border-color: transparent;
  background: var(--brand-gradient);
  color: #061009;
}

.dash-chart {
  grid-column: span 2;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
  margin-top: 12px;
}

.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, rgba(117, 205, 177, 0.25), var(--mint));
}

.bars i:nth-child(odd) {
  background: linear-gradient(to top, rgba(244, 229, 49, 0.2), var(--sun));
}

.sample-note {
  margin: 12px 4px 0;
  color: var(--dim);
  font-size: 0.74rem;
  text-align: right;
}

/* Bento */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  isolation: isolate;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, -20%), rgba(117, 205, 177, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -20%), rgba(117, 205, 177, 0.8), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.bento-card:hover::before,
.bento-card:hover::after {
  opacity: 1;
}

.bento-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.bento-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tag-label {
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bento-design {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-schedule,
.bento-report,
.bento-control {
  grid-column: span 2;
}

.bento-visual {
  position: relative;
  flex: 1;
  min-height: 140px;
  margin-bottom: 24px;
}

/* Bento visual: designer */

.visual-design {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
}

.canvas-mock {
  position: relative;
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 24px 24px,
    #070a0d;
}

.region {
  position: absolute;
  border: 1px solid rgba(117, 205, 177, 0.6);
  border-radius: 8px;
  background: rgba(117, 205, 177, 0.1);
}

.region.r1 {
  inset: 10% 40% 34% 5%;
  border-color: rgba(244, 229, 49, 0.7);
  background: linear-gradient(135deg, rgba(244, 229, 49, 0.25), rgba(117, 205, 177, 0.18));
  animation: region-resize 6s var(--ease-out) infinite;
}

.region.r2 {
  inset: 10% 5% 34% 63%;
}

.region.r3 {
  inset: 72% 5% 8% 5%;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}

.cursor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--text);
  transform: rotate(-45deg);
  animation: cursor-move 6s var(--ease-out) infinite;
}

.timeline-mock {
  display: flex;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #070a0d;
}

.timeline-mock i {
  height: 22px;
  border-radius: 6px;
  background: rgba(117, 205, 177, 0.35);
}

.timeline-mock i:nth-child(1) { flex: 3; }
.timeline-mock i:nth-child(2) { flex: 2; background: rgba(244, 229, 49, 0.35); }
.timeline-mock i:nth-child(3) { flex: 4; }
.timeline-mock i:nth-child(4) { flex: 1.5; background: rgba(255, 255, 255, 0.12); }

/* Bento visual: calendar */

.visual-calendar {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
}

.cal-head {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.cal-body {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 22px);
  gap: 8px 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #070a0d;
}

.cal-body i {
  grid-row: var(--r);
  grid-column: var(--s) / span var(--w);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(117, 205, 177, 0.55), rgba(117, 205, 177, 0.2));
}

.cal-body i.alt {
  background: linear-gradient(90deg, rgba(244, 229, 49, 0.55), rgba(244, 229, 49, 0.15));
}

/* Bento visual: health */

.visual-health {
  display: flex;
  align-items: center;
  gap: 20px;
}

.health-ring {
  position: relative;
  display: grid;
  flex: none;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--mint) 0 92%, rgba(255, 255, 255, 0.08) 92% 100%);
}

.health-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #0a0e12;
}

.health-ring span {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
}

.visual-health ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
}

.visual-health li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Bento visual: media */

.visual-media {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
}

.visual-media span {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.visual-media span:nth-child(3n + 1) {
  border-color: rgba(117, 205, 177, 0.4);
  color: var(--mint);
}

/* Bento visual: report */

.visual-report .bars {
  height: 120px;
  margin-top: 0;
}

.csv-chip {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--brand-gradient);
  color: #061009;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Bento visual: roles */

.visual-roles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.role {
  align-self: flex-start;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #0a0e12;
  font-size: 0.86rem;
  font-weight: 600;
}

.role-1 {
  border-color: rgba(244, 229, 49, 0.45);
}

.role-2 {
  margin-left: 32px;
  border-color: rgba(117, 205, 177, 0.45);
}

.role-3 {
  margin-left: 64px;
  color: var(--muted);
}

/* Deploy story */

.deploy {
  background:
    radial-gradient(40% 50% at 20% 50%, rgba(244, 229, 49, 0.05), transparent 70%),
    var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.deploy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}

.deploy-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deploy-step {
  display: flex;
  gap: 22px;
  min-height: 46vh;
  padding: 24px 0;
  opacity: 0.35;
  transition: opacity 500ms ease;
}

.deploy-step:last-child {
  min-height: 0;
}

.deploy-step.is-active {
  opacity: 1;
}

.step-index {
  flex: none;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.deploy-step h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.deploy-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.deploy-stage {
  position: sticky;
  top: calc(50vh - 190px);
  height: 380px;
  align-self: start;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);
}

.stage-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 500ms ease, transform 600ms var(--ease-out);
  pointer-events: none;
}

.stage-panel.is-active {
  opacity: 1;
  transform: none;
}

.stage-title {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-hint {
  margin: auto 0 0;
  color: var(--dim);
  font-size: 0.82rem;
}

.stage-device {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a0e12;
}

.stage-device em {
  margin-left: auto;
  color: var(--dim);
  font-size: 0.78rem;
  font-style: normal;
}

.switch {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text);
  transition: transform 300ms var(--ease-out);
}

.switch.is-on {
  background: var(--mint);
}

.switch.is-on::after {
  transform: translateX(14px);
}

.stage-layout {
  position: relative;
  height: 150px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #070a0d;
}

.stage-layout i {
  position: absolute;
  border-radius: 8px;
}

.stage-layout .l1 {
  inset: 10px 38% 40px 10px;
  background: linear-gradient(135deg, rgba(244, 229, 49, 0.4), rgba(117, 205, 177, 0.3));
}

.stage-layout .l2 {
  inset: 10px 10px 40px 64%;
  background: rgba(117, 205, 177, 0.25);
}

.stage-layout .l3 {
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.stage-track {
  display: flex;
  gap: 6px;
}

.stage-track i {
  width: var(--w);
  height: 22px;
  border-radius: 6px;
  background: rgba(117, 205, 177, 0.4);
}

.stage-track i.alt {
  background: rgba(244, 229, 49, 0.4);
}

.stage-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stage-wall i {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0a0e12;
  transition: background 500ms ease, box-shadow 500ms ease;
}

.stage-panel.is-active .stage-wall i {
  background: linear-gradient(135deg, rgba(244, 229, 49, 0.5), rgba(117, 205, 177, 0.5));
  box-shadow: 0 0 24px -4px rgba(117, 205, 177, 0.6);
}

.stage-panel.is-active .stage-wall i:nth-child(2) { transition-delay: 80ms; }
.stage-panel.is-active .stage-wall i:nth-child(3) { transition-delay: 160ms; }
.stage-panel.is-active .stage-wall i:nth-child(4) { transition-delay: 240ms; }
.stage-panel.is-active .stage-wall i:nth-child(5) { transition-delay: 320ms; }
.stage-panel.is-active .stage-wall i:nth-child(6) { transition-delay: 400ms; }
.stage-panel.is-active .stage-wall i:nth-child(7) { transition-delay: 480ms; }
.stage-panel.is-active .stage-wall i:nth-child(8) { transition-delay: 560ms; }
.stage-panel.is-active .stage-wall i:nth-child(9) { transition-delay: 640ms; }

/* Devices */

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.device-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: translate 400ms var(--ease-out), border-color 400ms ease;
}

.device-card:hover {
  translate: 0 -6px;
  border-color: rgba(117, 205, 177, 0.4);
}

.device-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.device-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.device-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 120px;
  margin-bottom: 26px;
  padding: 18px 24px;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff, #eef2ef);
  box-shadow: 0 20px 40px -24px rgba(117, 205, 177, 0.6), inset 0 -2px 0 rgba(5, 7, 10, 0.06);
  transition: transform 400ms var(--ease-out);
}

.device-card:hover .device-logo {
  transform: scale(1.03);
}

.device-logo img {
  display: block;
  height: auto;
}

.device-logo-stack {
  flex-direction: column;
  gap: 10px;
}

.logo-android {
  width: 190px;
}

.logo-samsung {
  width: 150px;
}

.logo-tizen {
  width: 110px;
  /* The official wordmark is light silver; deepen it so it reads on the white plate. */
  filter: brightness(0.55) contrast(1.3);
}

.logo-lg {
  width: 96px;
}

.logo-webos {
  width: 120px;
}

.trademark-note {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 0.76rem;
}

.language-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  margin-top: 24px;
  padding: 44px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(244, 229, 49, 0.16), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(117, 205, 177, 0.2), transparent 60%),
    var(--bg-raised);
  border: 1px solid rgba(117, 205, 177, 0.25);
  scroll-margin-top: 100px;
}

.language-count {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.language-count strong {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 0.85;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.language-count span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.15;
}

.language-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.15;
}

.language-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-grid li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 108px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 300ms var(--ease-out), border-color 300ms ease, background 300ms ease;
}

.language-grid li:hover,
.language-grid li.is-lit {
  transform: translateY(-4px);
  border-color: rgba(117, 205, 177, 0.5);
  background: rgba(117, 205, 177, 0.08);
}

.language-grid li strong {
  font-size: 1.15rem;
  line-height: 1.2;
}

.language-grid li span {
  color: var(--muted);
  font-size: 0.78rem;
}

.language-grid .language-switch {
  border-color: transparent;
  background: var(--brand-gradient);
  color: #061009;
}

.language-grid .language-switch span {
  color: rgba(6, 16, 9, 0.7);
}

/* Solutions */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.industry {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 300ms ease, background 300ms ease;
}

.industry:hover {
  border-color: rgba(117, 205, 177, 0.4);
  background: rgba(117, 205, 177, 0.05);
}

.industry-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.industry-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 7, 10, 0) 45%, rgba(11, 15, 19, 0.95));
  pointer-events: none;
}

.industry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 900ms var(--ease-out), filter 600ms ease;
}

.industry:hover .industry-media img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.industry-index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.55);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.industry-body {
  margin-top: -28px;
  position: relative;
  padding: 0 24px 24px;
}

.industry h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.industry p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.format-block {
  margin-top: 90px;
}

.format-heading h3 {
  margin-bottom: 10px;
  line-height: 1.15;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.format-heading p {
  margin-bottom: 28px;
  color: var(--muted);
}

.shapes {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.shape-tabs {
  display: grid;
  gap: 4px;
}

.shape-tab {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 11px 14px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 300ms ease, border-color 300ms ease;
}

.shape-tab:hover {
  background: rgba(255, 255, 255, 0.04);
}

.shape-tab:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.shape-tab.is-active {
  border-color: rgba(117, 205, 177, 0.4);
  background: rgba(117, 205, 177, 0.07);
}

/* Autoplay progress along the bottom of the active tab. */
.shape-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
}

.shape-tab.is-timing::after {
  animation: shape-progress var(--shape-delay, 3200ms) linear forwards;
}

.shape-icon {
  justify-self: center;
  width: min(40px, calc(28px * var(--r)));
  max-height: 28px;
  aspect-ratio: var(--r);
  border: 2px solid var(--dim);
  border-radius: 3px;
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.shape-tab.is-active .shape-icon {
  border-color: transparent;
  background: var(--brand-gradient);
  box-shadow: 0 0 14px -2px rgba(117, 205, 177, 0.7);
}

.shape-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
}

.shape-text span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.shape-tab em {
  color: var(--dim);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: color 300ms ease;
}

.shape-tab.is-active em {
  color: var(--mint);
}

.shape-more {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px dashed rgba(117, 205, 177, 0.35);
  border-radius: 14px;
}

.shape-more p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.shape-more strong {
  color: var(--text);
}

.shape-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 540px;
  padding: 56px 64px 48px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(55% 55% at 50% 50%, rgba(117, 205, 177, 0.12), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--bg-raised);
}

.shape-screen {
  position: relative;
  flex: none;
  width: var(--w);
  height: var(--h);
  aspect-ratio: 16 / 9;
  border: 6px solid #0c1014;
  border-radius: 12px;
  background: #000;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 70px -10px rgba(117, 205, 177, 0.35);
  transition: width 800ms var(--ease-out), height 800ms var(--ease-out);
}

.shape-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  transition: opacity 250ms ease;
}

.shape-screen img.is-fading {
  opacity: 0;
}

.shape-dim {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(117, 205, 177, 0.6);
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.shape-dim::before {
  content: "";
  position: absolute;
}

.shape-dim b {
  position: relative;
  background: var(--bg-raised);
}

.shape-dim-x {
  top: -32px;
  left: -6px;
  right: -6px;
  height: 14px;
  border-left: 1px solid;
  border-right: 1px solid;
  border-color: rgba(117, 205, 177, 0.6);
}

.shape-dim-x::before {
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(117, 205, 177, 0.6);
}

.shape-dim-x b {
  padding: 0 8px;
}

.shape-dim-y {
  top: -6px;
  bottom: -6px;
  right: -36px;
  width: 14px;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: rgba(117, 205, 177, 0.6);
}

.shape-dim-y::before {
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dashed rgba(117, 205, 177, 0.6);
}

.shape-dim-y b {
  padding: 8px 0;
  writing-mode: vertical-rl;
}

.shape-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  padding: 5px 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.72);
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.shape-badge strong {
  color: var(--text);
}

.format-more-mark {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

/* FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: 120px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 300ms ease, background 300ms ease;
}

.faq:hover,
.faq[open] {
  border-color: rgba(117, 205, 177, 0.4);
  background: rgba(117, 205, 177, 0.04);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--mint);
  transition: transform 300ms var(--ease-out);
}

.faq[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

/* CTA */

.cta {
  padding: 60px 0 130px;
}

.cta-panel {
  position: relative;
  width: min(var(--page-max), calc(100% - var(--gutter)));
  margin: 0 auto;
  padding: 90px 40px;
  border: 1px solid rgba(117, 205, 177, 0.3);
  border-radius: 32px;
  background: var(--bg-raised);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta-glow {
  position: absolute;
  inset: -40% -10% auto;
  z-index: -1;
  height: 140%;
  background:
    radial-gradient(40% 50% at 30% 50%, rgba(244, 229, 49, 0.22), transparent 70%),
    radial-gradient(40% 50% at 70% 50%, rgba(117, 205, 177, 0.28), transparent 70%);
  filter: blur(20px);
  animation: glow-shift 10s ease-in-out infinite alternate;
}

.cta-panel h2 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
}

.cta-panel p {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-panel .hero-actions {
  justify-content: center;
}

/* Contact pop-up */

.contact-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--text);
}

.contact-dialog::backdrop {
  background: rgba(3, 5, 7, 0.72);
  backdrop-filter: blur(8px);
}

.contact-dialog[open] .contact-card {
  animation: contact-in 360ms var(--ease-out);
}

.contact-card {
  position: relative;
  padding: 36px;
  overflow: hidden;
  border: 1px solid rgba(117, 205, 177, 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(117, 205, 177, 0.16), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(244, 229, 49, 0.1), transparent 70%),
    var(--bg-raised);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9);
}

.contact-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
}

.contact-intro {
  margin-bottom: 26px;
  color: var(--muted);
}

.contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}

.contact-close:hover {
  border-color: rgba(117, 205, 177, 0.5);
  background: rgba(117, 205, 177, 0.1);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.contact-icon {
  display: grid;
  flex: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-gradient);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #061009;
  stroke-width: 2;
  stroke-linejoin: round;
}

.contact-detail {
  flex: 1;
  min-width: 0;
}

.contact-detail span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-detail a {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-detail a:hover {
  color: var(--mint);
}

.contact-copy {
  flex: none;
  min-width: 76px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 600 0.84rem var(--font-body);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.contact-copy:hover {
  border-color: rgba(117, 205, 177, 0.5);
}

.contact-copy.is-copied {
  border-color: transparent;
  background: var(--mint);
  color: #061009;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-actions .button {
  flex: 1;
}

@keyframes contact-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .contact-card {
    padding: 28px 20px 22px;
  }

  .contact-row {
    gap: 12px;
    padding: 12px;
  }

  .contact-icon {
    display: none;
  }

  .contact-detail a {
    font-size: 0.98rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contact-copy {
    min-width: 0;
    padding: 7px 11px;
    font-size: 0.78rem;
  }
}

/* Footer */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(var(--page-max), calc(100% - var(--gutter)));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer .brand img {
  width: 140px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.footer-note {
  color: var(--dim);
  font-size: 0.86rem;
}

/* Animations */

@keyframes pulse {
  from { opacity: 1; transform: scale(0.6); }
  to { opacity: 0; transform: scale(1.8); }
}

@keyframes scroll-cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes region-resize {
  0%, 15% { right: 40%; bottom: 34%; }
  45%, 70% { right: 30%; bottom: 30%; }
  100% { right: 40%; bottom: 34%; }
}

@keyframes cursor-move {
  0%, 15% { left: 58%; top: 64%; }
  45%, 70% { left: 68%; top: 68%; }
  100% { left: 58%; top: 64%; }
}

@keyframes shape-progress {
  to { width: 100%; }
}

@keyframes glow-shift {
  to { transform: translateX(6%) scale(1.05); }
}

/* Responsive */

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

}

@media (max-width: 980px) {
  :root {
    --gutter: 40px;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
    padding: 110px 0 40px;
  }

  .hero-stage {
    position: relative;
    inset: auto;
    order: 2;
    height: 440px;
    margin-top: 12px;
  }

  .hero-fallback {
    right: 50%;
    width: min(80vw, 520px);
    transform: translate(50%, -50%);
  }

  .command-layout,
  .deploy-layout,
  .faq-layout,
  .language-panel {
    grid-template-columns: 1fr;
  }

  .command-layout {
    gap: 40px;
  }

  .dash {
    transform: rotateX(6deg) rotateY(0deg);
  }

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

  .bento-design,
  .bento-schedule,
  .bento-report,
  .bento-control {
    grid-column: span 2;
  }

  .bento-design {
    grid-row: auto;
  }

  .device-grid,
  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .deploy-stage {
    display: none;
  }

  .deploy-step {
    min-height: 0;
    opacity: 1;
  }

  .faq-layout .section-heading {
    position: static;
  }

  .shapes {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .shapes-copy {
    display: contents;
  }

  .shapes .format-heading { order: 0; }
  .shape-stage { order: 1; height: 400px; }
  .shape-tabs { order: 2; }
  .shape-more { order: 3; margin-top: 0; }

  .section {
    padding: 96px 0;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 32px;
  }

  .brand img {
    width: 136px;
  }

  .nav .button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .scroll-cue {
    display: none;
  }

  .hero-stage {
    height: 340px;
  }

  .section {
    padding: 76px 0;
  }

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

  .dash-screens {
    grid-row: auto;
    grid-column: span 2;
  }

  .dash-kpi:nth-child(3) {
    display: none;
  }

  .bento,
  .device-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .bento-design,
  .bento-schedule,
  .bento-report,
  .bento-control {
    grid-column: auto;
  }

  .visual-design {
    min-height: 220px;
  }

  .language-panel {
    padding: 26px;
  }

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

  .shape-stage {
    height: 300px;
    padding: 44px 46px 36px 18px;
  }

  .shape-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .shape-tab {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .shape-tab em,
  .shape-text span {
    display: none;
  }

  .shape-badge span {
    display: none;
  }

  .cta-panel {
    padding: 64px 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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