:root {
  --bg: #07070a;
  --bg-2: #0c0c10;
  --ink: #f3f1ea;
  --muted: #9b9ba8;
  --cream: #efe6d4;
  --cream-ink: #14120e;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #c4b5fd;
  --accent-2: #8b7cf6;
  --glass: rgba(255, 255, 255, 0.78);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, "Songti SC", serif;
  --sans: Outfit, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --page: 1320px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --radius: 22px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
.sr-only, .skip {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip:focus {
  width: auto; height: auto;
  clip: auto;
  inset: 12px;
  z-index: 100;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--bg);
  overflow-x: hidden;
}

/* Nav */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.brand-mark {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  color: #f4f1ea;
}
.brand-mark img { width: 22px; height: 22px; }
.brand-name { font-size: 15px; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  color: #c9c9d1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  opacity: 0.82;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-left: auto;
}
.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  background: transparent;
  border: 0;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
}
.lang button.is-on {
  background: rgba(255,255,255,0.08);
  color: var(--ink);
}
.menu-btn {
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 14px; height: 1.5px;
  background: #f2f2f2;
  border-radius: 1px;
}
.drawer {
  position: absolute;
  top: 72px; right: 22px;
  z-index: 30;
  background: #141418;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
  min-width: 200px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.drawer[hidden] { display: none !important; }
.drawer a {
  font-size: 14px;
  color: #ddd;
  padding: 6px 8px;
  border-radius: 8px;
}
.drawer a:hover { background: rgba(255,255,255,0.05); }

/* Hero */
.hero {
  --mx: 0;
  --my: 0;
  --ms: 0;
  position: relative;
  min-height: 680px;
  height: 100svh;
  max-height: none;
  overflow: hidden;
  background: #07070a;
  contain: layout paint;
}
.hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.photo-stage {
  position: absolute;
  inset: -8%;
  overflow: hidden;
  transform: translate3d(calc(var(--mx) * 14px), calc(var(--my) * 10px + var(--ms) * 36px), 0);
}
.photo-still {
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.32;
  transform: scale(1.06);
  animation: photoDrift 28s ease-in-out infinite alternate;
}
.css-space {
  position: absolute;
  inset: 0;
  perspective: 1100px;
}
.gplane {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(54vw, 680px);
  height: min(30vw, 380px);
  background: linear-gradient(135deg, rgba(196,181,253,0.14), rgba(255,255,255,0.03) 50%, rgba(140,160,255,0.08));
  border: 1px solid rgba(230,220,255,0.28);
  border-radius: 4px;
}
.gp1 {
  transform:
    translate(calc(-50% + var(--mx) * 10px), calc(-50% + var(--my) * 8px + var(--ms) * 28px))
    rotateX(68deg) rotateZ(-10deg);
  opacity: 0.55;
}
.gp2 {
  transform:
    translate(calc(-46% + var(--mx) * 26px), calc(-48% + var(--my) * 16px + var(--ms) * 12px))
    rotateY(calc(48deg + var(--mx) * 5deg));
  width: min(38vw, 460px);
  opacity: 0.45;
}
.gp3 {
  transform:
    translate(calc(-54% + var(--mx) * -22px), calc(-42% + var(--my) * 12px + var(--ms) * 18px))
    rotateY(calc(-42deg + var(--mx) * -4deg)) rotateX(12deg);
  width: min(42vw, 500px);
  opacity: 0.4;
}

#equalizer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * 20px), calc(var(--my) * 12px + var(--ms) * 16px), 0);
}

.hero-scene::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%;
  top: 34%;
  height: 32%;
  background: radial-gradient(ellipse at 50% 80%, rgba(92, 72, 170, 0.42), transparent 72%);
  z-index: 1;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * 28px), calc(var(--my) * 18px + var(--ms) * 24px), 0);
}
.haze-top {
  position: absolute;
  inset: 0 0 48% 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(7,7,10,0.35), transparent 55%),
    linear-gradient(#07070a 0%, rgba(7,7,10,0.2) 65%, transparent 100%);
  z-index: 4;
  pointer-events: none;
}
.horizon {
  position: absolute;
  left: -4%; right: -4%; bottom: -6%;
  height: 48%;
  background:
    linear-gradient(180deg,
      rgba(247,247,244,0) 0%,
      rgba(247,247,244,0.18) 22%,
      rgba(247,247,244,0.72) 52%,
      #f4f4f1 74%,
      #f7f7f4 100%);
  z-index: 4;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * -8px), calc(var(--my) * 6px + var(--ms) * 48px), 0);
}
.haze-side {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 62%;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 42%, rgba(7,7,10,0.28) 100%);
  z-index: 4;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * 12px), calc(var(--my) * 8px), 0);
}
.silhouette {
  position: absolute;
  left: 50%;
  bottom: -2%;
  transform:
    translate3d(calc(-48% + var(--mx) * 32px), calc(var(--my) * 18px + var(--ms) * -42px), 0)
    rotate(calc(var(--mx) * 1.4deg));
  height: min(62%, 620px);
  width: auto;
  z-index: 5;
  pointer-events: none;
  user-select: none;
}
.hero.is-live .photo-stage,
.hero.is-live .css-space,
.hero.is-live #equalizer,
.hero.is-live .horizon,
.hero.is-live .silhouette,
.hero.is-live .card-agent,
.hero.is-live .card-chat {
  will-change: transform;
}

.hero-copy {
  position: relative;
  z-index: 6;
  text-align: center;
  padding: 118px var(--gutter) 0;
  max-width: min(820px, 100%);
  margin: 0 auto;
  transform: translate3d(calc(var(--mx) * 8px), calc(var(--my) * 6px + var(--ms) * -12px), 0);
}
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.4vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: #f4f2eb;
}
@media (min-width: 960px) {
  .hero-copy h1 span { white-space: nowrap; }
}
.hero-copy p,
.hero-sub {
  margin: 0 auto 28px;
  max-width: 560px;
  color: #b9b9c4;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 300;
}
.hero-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-cream {
  background: var(--cream);
  color: var(--cream-ink);
}
.btn-cream:hover { background: #f6f0e2; }
.btn-ghost {
  background: rgba(20, 20, 28, 0.72);
  border-color: rgba(255,255,255,0.14);
  color: #eee;
  backdrop-filter: blur(10px);
}
.btn-deploy {
  background: #5b4fd6;
  color: #fff;
  padding: 9px 16px;
  font-size: 13px;
  border: 0;
}
.btn-deploy:hover { background: #6b5ef0; }

/* Floating product cards */
.float-card {
  position: absolute;
  z-index: 7;
  width: min(280px, 32vw);
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  color: #16161c;
  box-shadow:
    0 18px 40px rgba(20, 16, 40, 0.16),
    0 0 0 1px rgba(255,255,255,0.6);
  padding: 14px;
}
.card-agent {
  left: max(var(--gutter), calc(50% - 560px));
  bottom: 17%;
  transform: translate3d(calc(var(--mx) * -18px), calc(var(--my) * -10px + var(--ms) * -16px), 0);
}
.card-chat {
  right: max(var(--gutter), calc(50% - 540px));
  bottom: 21%;
  transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -8px + var(--ms) * -20px), 0);
  width: min(268px, 30vw);
  padding: 12px;
}
.card-agent header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.mini-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #d9d3ff, #f4f1ff);
  box-shadow: inset 0 0 0 1px rgba(90,70,180,0.12);
  position: relative;
}
.mini-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.4px solid #5b4fd6;
  border-radius: 3px;
  transform: rotate(-18deg);
}
.card-agent strong { display: block; font-size: 14px; }
.card-agent header span { display: block; font-size: 11px; color: #6d6d78; margin-top: 2px; }
.card-row { display: flex; gap: 8px; }
.select-wrap {
  flex: 1;
  background: #fff;
  border: 1px solid #e4e1ea;
  border-radius: 999px;
  padding: 0 10px;
  display: flex;
  align-items: center;
}
.select-wrap select {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-size: 12.5px;
  outline: none;
  color: #222;
}
.deploy-status {
  margin-top: 10px;
  font-size: 12px;
  color: #4b3fb8;
}
.chat-stream { display: grid; gap: 8px; margin-bottom: 10px; }
.bubble {
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.4;
}
.bubble.bot { background: #1c1c22; color: #ececec; }
.bubble.user { background: #f1f0f4; color: #333; }
.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid #e6e3ea;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
  color: #8a8a94;
}
.icon-go {
  border: 0;
  background: #eceaf3;
  width: 22px; height: 22px;
  border-radius: 6px;
  cursor: pointer;
  color: #444;
}

/* Statement */
.statement {
  background: #07070a;
  padding: 88px var(--gutter) 72px;
  width: 100%;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.statement h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  max-width: 16ch;
  margin: 0;
  letter-spacing: -0.02em;
}
.platform-tag {
  color: #cfcfd6;
  font-size: 13px;
  text-align: right;
}
.mini-wave {
  width: 88px;
  height: 18px;
  display: block;
  margin-left: auto;
  margin-top: 6px;
  color: #cfcfd6;
  opacity: 0.85;
}

/* Shared sections */
.section {
  padding: 88px var(--gutter);
  background: var(--bg);
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}
.products,
.platform,
.usecases,
.playground,
.company,
.contact {
  max-width: none;
}
.product-grid,
.platform-layout,
.use-grid,
.play,
.company-grid,
.contact-grid,
.products .section-kicker,
.products .section-title,
.products .section-lead,
.usecases .section-kicker,
.usecases .section-title,
.playground .section-kicker,
.playground .section-title,
.playground .section-lead {
  max-width: var(--page);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.products .section-lead,
.playground .section-lead {
  margin-bottom: 36px;
}
.section-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 16em;
}
.section-lead {
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.65;
  font-weight: 300;
  margin: 0 0 36px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  background: #101014;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.product-visual {
  height: 210px;
  background: #0a0a0e;
  position: relative;
  overflow: hidden;
}
.product-body { padding: 22px 22px 26px; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.product-body h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 10px;
}
.product-body p {
  color: #b8b8c2;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
  font-weight: 300;
}
.product-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.product-body li {
  font-size: 13px;
  color: #d2d2da;
  padding-left: 14px;
  position: relative;
}
.product-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 1px;
  background: var(--accent);
}

.pv-chat {
  padding: 22px 18px;
  display: grid;
  gap: 10px;
}
.pv-msg {
  max-width: 88%;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
}
.pv-msg.bot { background: #1b1b22; color: #eee; }
.pv-msg.user { background: #eceaf3; color: #222; margin-left: auto; }
.pv-msg.typing {
  display: flex;
  gap: 4px;
  width: 46px;
  background: #1b1b22;
}
.pv-msg.typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #aaa;
  animation: blink 1.2s infinite;
}
.pv-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.pv-msg.typing span:nth-child(3) { animation-delay: 0.3s; }

.desk-window, .sim-desk-win {
  margin: 18px 16px 0;
  background: #16161c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.desk-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #1e1e26;
  font-size: 11px;
  color: #bbb;
}
.desk-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3a3a44;
}
.desk-bar span:first-child { background: #ff6b6b; }
.desk-bar em { font-style: normal; margin-left: 8px; }
.desk-body { padding: 10px 12px 18px; position: relative; }
.desk-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  padding: 7px 8px;
  border-radius: 8px;
  color: #cfcfd6;
}
.desk-row.on { background: rgba(196,181,253,0.1); }
.desk-row i {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: #6d6d7a;
}
.desk-cursor, .sim-pointer {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 0 10px 10px 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  pointer-events: none;
  transform: translate(-2px, -2px);
}

.cloud-console {
  display: grid;
  grid-template-columns: 92px 1fr;
  height: 100%;
  font-size: 11px;
}
.cloud-console.tall { min-height: 280px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.cloud-console aside {
  background: #0e0e14;
  padding: 12px 10px;
  display: grid;
  align-content: start;
  gap: 8px;
  color: #9a9aa6;
}
.cloud-console aside b { color: #eee; font-weight: 500; }
.cloud-console aside span.on { color: var(--accent); }
.cloud-main { padding: 12px 12px 10px; }
.cloud-main header { color: #cfcfd6; margin-bottom: 8px; }
.cloud-main table {
  width: 100%;
  border-collapse: collapse;
  color: #ddd;
}
.cloud-main td, .cloud-main th {
  text-align: left;
  padding: 6px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-weight: 400;
}
.cloud-main tr.hit, .cloud-main tr.is-on {
  background: rgba(196,181,253,0.12);
}
.agent-chip {
  margin-top: 10px;
  font-size: 11px;
  color: #d8d3ff;
  background: rgba(90,70,180,0.22);
  border: 1px solid rgba(196,181,253,0.25);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: s;
}
.steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  counter-increment: s;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 6px;
}
.steps li > div { min-width: 0; }
.steps strong {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}
.steps span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}
.platform-figure {
  margin: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
}
.platform-figure img {
  width: 100%; height: 420px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.platform-figure figcaption {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(8,8,12,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
}

.use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.use-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #121218, #0d0d12);
}
.use-grid h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 8px;
}
.use-grid p { margin: 0; color: var(--muted); font-weight: 300; line-height: 1.55; font-size: 14px; }

.playground { background: #0a0a0e; }
.play {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #101014;
}
.play-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.play-tabs button {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}
.play-tabs button.is-on {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.play-stage { padding: 22px; }
.play-panel[hidden] { display: none !important; }
.sim-chat {
  min-height: 240px;
  display: grid;
  align-content: start;
  gap: 10px;
  margin-bottom: 14px;
}
.sim-chat .bubble { max-width: 70%; }
.sim-chat .bubble.user { margin-left: auto; }
.sim-form { display: flex; gap: 10px; }
.sim-form input {
  flex: 1;
  background: #0c0c10;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  outline: none;
}
.sim-desk, .sim-cloud {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
  margin-bottom: 14px;
}
.sim-fields {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.sim-fields label { font-size: 12px; color: #aaa; display: grid; gap: 4px; }
.sim-fields input {
  background: #0c0c10;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}
.sim-log {
  margin: 0;
  padding: 12px 14px;
  background: #0c0c10;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 12px;
  color: #c9c9d2;
  line-height: 1.55;
  min-height: 180px;
}
.sim-log li { margin: 0 0 8px; }
.sim-desk { position: relative; }

.company { background: #07070a; }
.company-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
.legal {
  margin: 0;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #101014;
}
.legal dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.legal dd { margin: 0; font-size: 15px; line-height: 1.5; }
.legal a { border-bottom: 1px solid rgba(255,255,255,0.2); }

.contact { background: #0a0a0e; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.demo-form label { display: grid; gap: 6px; font-size: 13px; color: #cfcfd6; }
.demo-form .full { grid-column: 1 / -1; }
.demo-form input, .demo-form select, .demo-form textarea {
  background: #101014;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  outline: none;
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
  border-color: rgba(196,181,253,0.5);
}
.demo-form .btn { grid-column: 1 / -1; justify-self: start; }
.form-note, .form-ok {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.form-ok { color: #b7f0c6; }

.footer {
  padding: 32px var(--gutter) 40px;
  max-width: var(--page);
  margin-inline: auto;
  width: 100%;
  background: #050507;
  border-top: 1px solid var(--line);
  color: #9a9aa4;
  font-size: 13px;
}
.footer-top, .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-top { margin-bottom: 18px; color: #ddd; }
.footer a:hover { color: #fff; }

@keyframes photoDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(0, -3%, 0); }
}
@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero { --mx: 0 !important; --my: 0 !important; --ms: 0 !important; }
}

@media (max-width: 1100px) {
  .product-grid, .platform-layout, .company-grid, .contact-grid, .sim-desk, .sim-cloud {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .float-card { width: min(250px, 42vw); }
  .hero { height: auto; min-height: 860px; }
}

@media (max-width: 820px) {
  body { background: #07070a; }
  .nav { padding: 0 14px; }
  .nav-end .lang { display: none; }
  .menu-btn {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.4);
  }
  .hero-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .section, .statement, .footer { padding-left: 20px; padding-right: 20px; }
  .statement { flex-direction: column; align-items: flex-start; }
  .hero-copy { padding: 96px 16px 0; }
  .hero-copy h1 { font-size: clamp(1.42rem, 6vw, 2.2rem); line-height: 1.2; }
  .hero-copy p {
    font-size: 13.5px;
    padding: 0 8px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .card-agent { left: 4%; bottom: 8%; }
  .card-chat { display: none; }
  .use-grid, .demo-form { grid-template-columns: 1fr; }
  .silhouette { height: 48%; }
  .hero { min-height: 780px; height: auto; }
  .play-tabs { flex-direction: column; }
}

@media (max-width: 560px) {
  .card-agent { position: relative; left: auto; bottom: auto; margin: 24px auto 32px; width: min(320px, calc(100% - 32px)); transform: none; }
  .hero { min-height: 0; height: auto; padding-bottom: 12px; }
  .silhouette { height: 280px; bottom: 90px; }
  .hero-copy h1 { font-size: 1.55rem; }
  .lang button { padding: 5px 8px; }
  .nav-end { gap: 8px; }
  .brand-name { font-size: 14px; }
}
