/* Niomatic — Robot Studio. Two themes from one set of tokens; the drawings read --draw-* too. */
:root {
  --orange: #ff7a1a;
  --pink: #f2507b;
  --purple: #b45cc6;
  --brand: linear-gradient(90deg, var(--orange), var(--pink) 55%, var(--purple));
  --radius: 24px;
  --font: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", "SF Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #06080c;
  --bg-2: #0c1018;
  --card: #0b0f16;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --ink: #f5f6fa;
  --ink-2: #a6adbd;
  --ink-3: #6b7487;
  --shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.85);
  --nav-bg: rgba(6, 8, 12, 0.72);
  --glow: 0.55;
  --draw-ink: #e9edf6;
  --draw-soft: #b8c0d0;
  --draw-grid: #ffffff;
  --draw-blue: #4ea1ff;
  --draw-amber: #ffb547;
  --draw-teal: #19c3a0;
  --draw-red: #ff5a6a;
}
:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f7;
  --bg-2: #ffffff;
  --card: #ffffff;
  --panel: #ffffff;
  --panel-2: rgba(0, 0, 0, 0.04);
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --ink: #1d1d1f;
  --ink-2: #515154;
  --ink-3: #86868b;
  --shadow: 0 40px 100px -40px rgba(20, 30, 60, 0.35);
  --nav-bg: rgba(245, 245, 247, 0.78);
  --glow: 0.3;
  --draw-ink: #1d2230;
  --draw-soft: #5a6170;
  --draw-grid: #1d2230;
  --draw-blue: #0a6fe0;
  --draw-amber: #d98200;
  --draw-teal: #0b9b7c;
  --draw-red: #e0334a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.04; }
p { margin: 0; }
em { font-style: normal; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
strong { color: var(--ink); font-weight: 650; }
.muted { color: var(--ink-3); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 8px; }
.brand b { font-size: 14px; letter-spacing: 0.3em; font-weight: 700; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 13px; border-radius: 10px; font-size: 14px; color: var(--ink-2); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--ink); background: var(--panel-2); }

.pill, .eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 16px;
  font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--panel-2); border: 1px solid var(--line-2);
}
.pill i, .eyebrow-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(242, 80, 123, 0.2); animation: pulse 2.4s infinite; }
.eyebrow-pill i { background: var(--draw-teal); box-shadow: 0 0 0 4px rgba(25, 195, 160, 0.18); }
.pill.soon { background: linear-gradient(90deg, rgba(255, 122, 26, 0.14), rgba(242, 80, 123, 0.14)); border-color: rgba(242, 80, 123, 0.45); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(242, 80, 123, 0); } }

.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 25px;
  font-weight: 600; font-size: 15px; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -10px rgba(242, 80, 123, 0.7); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(242, 80, 123, 0.85); }
.btn.ghost { background: var(--panel-2); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: var(--line); }

/* Hero */
.hero {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
  max-width: 1320px; margin: 0 auto; padding: 136px var(--gutter) 0;
}
.hero-grid {
  position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.7;
}
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 32%; width: 70vw; height: 46vw; max-width: 1000px; max-height: 640px;
  transform: translateX(-50%); border-radius: 50%; filter: blur(70px); opacity: var(--glow);
  background: radial-gradient(closest-side, rgba(242, 80, 123, 0.35), rgba(180, 92, 198, 0.15) 50%, transparent);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translateX(-46%) translateY(6%) scale(1.08); } }
.hero h1 { font-size: clamp(50px, 9vw, 120px); font-weight: 760; }
.lead { font-size: clamp(18px, 2vw, 23px); color: var(--ink-2); max-width: 680px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-robot { width: 100%; max-width: 1180px; aspect-ratio: 16 / 8; margin-top: -10px; }

/* Windows (screenshots) */
.window { position: relative; border-radius: 16px; overflow: hidden; background: #11151d; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.titlebar { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 14px; font-size: 12px; color: #6e788c; background: #0b0e14; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.caption-btns { display: flex; gap: 14px; }
.caption-btns i { width: 9px; height: 9px; border: 1.5px solid #3a4152; border-radius: 2px; }
.caption-btns i:first-child { border-width: 0 0 1.5px; border-radius: 0; height: 5px; }
/* In light the screenshots are of the app in light, so the frame is light too. */
:root:not([data-theme="dark"]) .window { background: #fff; }
:root:not([data-theme="dark"]) .titlebar { color: #6b7280; background: #f3f4f7; border-bottom-color: rgba(0, 0, 0, 0.07); }
:root:not([data-theme="dark"]) .caption-btns i { border-color: #9aa1ae; }
.showcase { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); perspective: 1600px; }
.showcase .window { transform-origin: 50% 0; transform: rotateX(calc(var(--tilt, 1) * 22deg)) scale(calc(0.92 + 0.08 * (1 - var(--tilt, 1)))); transition: transform 0.08s linear; }
.float-chip {
  position: absolute; display: flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 600; color: #f5f6fa;
  padding: 10px 15px; border-radius: 14px; background: rgba(10, 13, 19, 0.82); border: 1px solid rgba(25, 195, 160, 0.4);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(10px); animation: chip 9s infinite;
}
.float-chip b { display: grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 7px; background: rgba(25, 195, 160, 0.18); color: #19c3a0; font-size: 12px; }
.float-chip.ok { border-color: rgba(78, 161, 255, 0.45); }
.float-chip.ok b { background: rgba(78, 161, 255, 0.18); color: #4ea1ff; }
:root:not([data-theme="dark"]) .float-chip { color: #1d1d1f; background: rgba(255, 255, 255, 0.92); border-color: rgba(11, 155, 124, 0.35); box-shadow: 0 14px 34px -12px rgba(20, 30, 60, 0.32); }
:root:not([data-theme="dark"]) .float-chip b { background: rgba(11, 155, 124, 0.12); color: #0b9b7c; }
:root:not([data-theme="dark"]) .float-chip.ok { border-color: rgba(10, 111, 224, 0.35); }
:root:not([data-theme="dark"]) .float-chip.ok b { background: rgba(10, 111, 224, 0.1); color: #0a6fe0; }
.float-chip.c1 { left: 5%; top: 32%; }
.float-chip.c2 { right: 5%; top: 48%; animation-delay: 3s; }
.float-chip.c3 { left: 28%; bottom: 14%; animation-delay: 6s; }
@keyframes chip { 0%, 3% { opacity: 0; transform: translateY(10px); } 8%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-8px); } }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 13vw, 170px) var(--gutter) 0; }
.section-head { max-width: 800px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2, .release h2 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 750; }
.section-head p, .split-text > p { margin-top: 22px; color: var(--ink-2); }
.big { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; }
.eyebrow { display: inline-block; margin-bottom: 16px; font-size: 14px; font-weight: 650; letter-spacing: 0.02em; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Statement */
.statement-wrap { max-width: 1080px; }
.statement { font-size: clamp(30px, 4.6vw, 60px); font-weight: 720; letter-spacing: -0.03em; line-height: 1.12; text-align: center; }
.statement span { color: var(--ink-3); opacity: 0.35; transition: opacity 0.35s, color 0.35s; }
.statement span.lit { color: var(--ink); opacity: 1; }

/* Connected: the hub */
.hub { max-width: 920px; margin: 0 auto; }
.hub svg { width: 100%; height: auto; overflow: visible; }
.hub-links path { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.hub-links path.spoke { stroke: rgba(242, 80, 123, 0.35); }
.hub-links path.cross { stroke-dasharray: 3 6; }
.packet { fill: var(--pink); }
.packet.back { fill: var(--draw-blue); }
.packet.ring { fill: var(--draw-teal); }
.packet.cross { fill: var(--draw-amber); }
.hub-disc { fill: var(--card); stroke: var(--line-2); stroke-width: 1.4; animation: node 8s infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes node { 0%, 12%, 100% { stroke: var(--line-2); stroke-width: 1.4; } 5% { stroke: var(--pink); stroke-width: 3; } }
.hub-icon { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hub-label { fill: var(--ink-2); font-size: 15px; font-weight: 600; font-family: var(--font); }
.hub-halo { fill: none; stroke: var(--pink); stroke-width: 1.5; opacity: 0.35; transform-origin: center; animation: halo 3s ease-out infinite; }
@keyframes halo { from { transform: scale(0.75); opacity: 0.6; } to { transform: scale(1.25); opacity: 0; } }
.hub-ai { fill: #fff; font-size: 34px; font-weight: 800; font-family: var(--font); letter-spacing: -0.02em; }
.hub-ai-sub { fill: rgba(255, 255, 255, 0.85); font-size: 13px; font-weight: 600; font-family: var(--font); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.trio h3 { font-size: 24px; margin-bottom: 10px; }
.trio p { color: var(--ink-2); }

/* One suite: before and after */
.suite { max-width: 1000px; margin: 0 auto; }
.suite-switch, .theme-switch {
  display: flex; width: max-content; margin: 0 auto 22px; padding: 4px; gap: 4px; border-radius: 14px;
  background: var(--panel-2); border: 1px solid var(--line);
}
.suite-switch button, .theme-switch button {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink-2); font: 600 14px var(--font); cursor: pointer; transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.suite-switch button[aria-pressed="true"], .theme-switch button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); }
.suite-stage { position: relative; height: 540px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.suite-lines { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.5s; }
.suite-lines line { stroke: var(--draw-red); stroke-width: 1.5; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; opacity: 0.55; }
.suite-break { position: absolute; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--draw-red); background: var(--card); border: 1px solid var(--draw-red); transition: opacity 0.5s; }
/* A tool as people know it: its logo, what it does, what it is. */
.suite .tool {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; width: 250px; padding: 9px 14px 9px 9px; border-radius: 16px;
  left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%) rotate(var(--r));
  background: var(--card); border: 1px dashed var(--line-2); box-shadow: 0 10px 28px -16px rgba(20, 30, 60, 0.4);
  transition: left 0.9s cubic-bezier(.6, 0, .2, 1), top 0.9s cubic-bezier(.6, 0, .2, 1), transform 0.9s cubic-bezier(.6, 0, .2, 1), width 0.9s, background 0.5s, border-color 0.5s;
  transition-delay: calc(var(--i) * 55ms);
}
:root[data-theme="dark"] .suite .tool { background: #141a26; box-shadow: 0 10px 28px -16px rgba(0, 0, 0, 0.8); }
.tool-logo {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; overflow: hidden;
  background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: width 0.6s, margin 0.6s, opacity 0.4s, border-width 0.6s;
}
.tool-logo img { max-width: 30px; max-height: 30px; }
.tool-logo.wide { width: 80px; }
.tool-logo.wide img { max-width: 68px; max-height: 28px; }
.tool-logo svg { width: 26px; height: 26px; fill: none; stroke: #5a6170; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-text { min-width: 0; }
.tool-text b { display: block; font-size: 15px; line-height: 1.3; white-space: nowrap; }
.tool-text small { display: block; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.4s; }
.suite .tool > i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) scale(0.4); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; background: var(--draw-teal); opacity: 0; transition: opacity 0.4s 0.6s, transform 0.4s 0.6s; }
.studio-card {
  position: absolute; inset: 6% 9%; border-radius: 22px; display: flex; flex-direction: column; align-items: center; padding-top: 26px; gap: 4px;
  border: 1.5px solid rgba(242, 80, 123, 0.5); background: linear-gradient(180deg, rgba(242, 80, 123, 0.08), rgba(180, 92, 198, 0.03));
  box-shadow: 0 30px 80px -30px rgba(242, 80, 123, 0.45); opacity: 0; transform: scale(0.94); transition: opacity 0.6s, transform 0.8s;
}
.studio-card img { border-radius: 10px; margin-bottom: 6px; }
.studio-card b { font-size: 22px; letter-spacing: -0.02em; }
.studio-card span { font-size: 14px; color: var(--ink-2); }
.suite[data-state="after"] .suite-lines, .suite[data-state="after"] .suite-break { opacity: 0; }
.suite[data-state="after"] .studio-card { opacity: 1; transform: none; }
.suite[data-state="after"] .tool {
  left: calc(31% + var(--col) * 38%); top: calc(41% + var(--row) * 13.4%); transform: translate(-50%, -50%);
  width: 280px; padding: 13px 14px 13px 18px; gap: 0; border: 1px solid var(--line-2); box-shadow: none;
}
.suite[data-state="after"] .tool-logo { width: 0; height: 0; opacity: 0; border-width: 0; }
.suite[data-state="after"] .tool-text small { display: none; }
.suite[data-state="after"] .tool > i { opacity: 1; transform: translateY(-50%); }

/* Tiles with drawings */
.tile { position: relative; margin: 0; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.tile canvas { width: 100%; aspect-ratio: 4 / 3; }
.tile.wide canvas { aspect-ratio: 21 / 9; }
.tile.small canvas { aspect-ratio: 7 / 5; }
.tile figcaption { padding: 4px 28px 28px; }
.tile h3 { font-size: 24px; margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: 16px; }
.glow-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 80, 123, 0.1), transparent 60%);
}
.glow-card:hover::before { opacity: 1; }
.robot-grid, .duo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.robot-grid .wide { grid-column: 1 / -1; }
.make-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.make-grid .tile figcaption { padding: 2px 22px 24px; }
.make-grid h3 { font-size: 19px; }
.make-grid p { font-size: 15px; }

/* Tour */
.tour-tabs { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin-bottom: 24px; }
.tour-tab {
  position: relative; padding: 10px 16px 12px; border-radius: 12px; border: 0; background: none; color: var(--ink-2);
  font: 600 15px var(--font); cursor: pointer; transition: background 0.2s, color 0.2s;
}
.tour-tab:hover { color: var(--ink); background: var(--panel-2); }
.tour-tab[aria-selected="true"] { color: var(--ink); background: var(--panel-2); }
.tour-tab .bar { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; opacity: 0; }
.tour-tab[aria-selected="true"] .bar { opacity: 1; }
.tour-tab .bar::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(var(--p, 0)); }
.tour-frames { position: relative; aspect-ratio: 1600 / 961; }
.tour-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 0.6s, transform 1.2s; }
.tour-frames img.on { opacity: 1; transform: none; }
.tour-caption { margin: 22px auto 0; max-width: 640px; text-align: center; color: var(--ink-2); font-size: 18px; min-height: 3em; }

/* AI */
.split h2 { font-size: clamp(36px, 4.2vw, 56px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; color: var(--ink-2); }
.points b { color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; }
.dot.teal { background: var(--draw-teal); box-shadow: 0 0 14px var(--draw-teal); }
.dot.blue { background: var(--draw-blue); box-shadow: 0 0 14px var(--draw-blue); }
.dot.purple { background: #a855f7; box-shadow: 0 0 14px #a855f7; }
/* The developer's stack: a terminal and an editor, dark in both themes as such tools are */
.devstack { position: relative; display: grid; gap: 0; padding-bottom: 40px; }
.dev {
  border-radius: 14px; overflow: hidden; background: #0d1117; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.25);
  font-family: var(--mono); font-size: 13px; line-height: 1.6; color: #c9d1d9;
}
.dev-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #161b22; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-family: var(--font); font-size: 12px; color: #8b949e; }
.dev-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dev-bar i:nth-child(2) { background: #febc2e; }
.dev-bar i:nth-child(3) { background: #28c840; margin-right: 10px; }
.dev-bar .tab { padding: 3px 10px; border-radius: 6px; background: #0d1117; color: #e6edf3; }
.dev-bar .tab.dim { background: none; color: #6e7681; }
.dev.term { width: 92%; z-index: 1; }
.dev.code { width: 88%; margin: -70px 0 0 auto; z-index: 2; }
.term-log { list-style: none; margin: 0; padding: 14px 18px 18px; height: 300px; overflow: hidden; display: flex; flex-direction: column; gap: 3px; }
.term-log li { opacity: 0; animation: line 0.25s forwards; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.6em; }
.term-log .path { color: #58a6ff; }
.term-log .caret { color: #f2507b; }
.term-log .typed { color: #e6edf3; }
.term-log .ask { color: #e6edf3; font-weight: 600; margin-top: 6px; }
.term-log .ask::before { content: "› "; color: #f2507b; }
.term-log .tool { padding-left: 16px; color: #8b949e; }
.term-log .tool .name { color: #d2a8ff; }
.term-log .tool::before { content: "⚙ "; color: #6e7681; }
.term-log .ok { padding-left: 16px; color: #3fb950; }
.term-log .ok::before { content: "✓ "; }
.term-log .warn { padding-left: 16px; color: #d29922; }
.term-log .warn::before { content: "▲ "; }
.term-log .cursor::after { content: "▍"; color: #e6edf3; animation: blink 1s steps(1) infinite; }
.code-body { margin: 0; padding: 12px 0 14px; height: 330px; overflow: hidden; counter-reset: ln; font: inherit; }
.code-body .ln { display: block; min-height: 1.6em; padding-right: 16px; white-space: pre; counter-increment: ln; }
.code-body .ln::before { content: counter(ln); display: inline-block; width: 44px; padding-right: 16px; text-align: right; color: #484f58; }
.code-body .k { color: #ff7b72; }
.code-body .t { color: #ffa657; }
.code-body .f { color: #d2a8ff; }
.code-body .n { color: #79c0ff; }
.code-body .s { color: #a5d6ff; }
.code-body .c { color: #8b949e; font-style: italic; }
.code-body .cur { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: text-bottom; background: #58a6ff; animation: blink 1s steps(1) infinite; }
.dev-status { display: flex; justify-content: space-between; padding: 6px 14px; background: #161b22; border-top: 1px solid rgba(255, 255, 255, 0.07); font-family: var(--font); font-size: 11.5px; color: #8b949e; }
.dev-status .ok { color: #3fb950; }
@keyframes line { to { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }

/* Every detail */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { padding: 24px 22px 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: transform 0.3s, border-color 0.3s; }
.feat:hover { transform: translateY(-3px); border-color: var(--line-2); }
.feat h3 { font-size: 17px; letter-spacing: -0.01em; margin: 16px 0 6px; }
.feat p { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.fi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.fi svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fi.orange { color: var(--orange); background: rgba(255, 122, 26, 0.12); }
.fi.pink { color: var(--pink); background: rgba(242, 80, 123, 0.12); }
.fi.purple { color: var(--purple); background: rgba(180, 92, 198, 0.13); }
.fi.blue { color: var(--draw-blue); background: rgba(78, 161, 255, 0.13); }
.fi.teal { color: var(--draw-teal); background: rgba(25, 195, 160, 0.13); }

/* Pipeline */
.pipeline { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.pipeline::before, .pipeline::after { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 2px; background: var(--line); }
.pipeline::after { background: var(--brand); transform-origin: left; transform: scaleX(var(--flow, 0)); transition: transform 0.4s; }
.pipeline li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.pipeline .node { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line-2); font-weight: 700; color: var(--ink-3); transition: background 0.4s, color 0.4s, box-shadow 0.4s, border-color 0.4s; }
.pipeline li.lit .node { background: var(--brand); color: #fff; border-color: transparent; box-shadow: 0 0 0 6px rgba(242, 80, 123, 0.14), 0 10px 30px -8px rgba(242, 80, 123, 0.7); }
.pipeline b { font-size: 16px; }
.pipeline small { color: var(--ink-3); font-size: 14px; }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats > div { padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(48px, 6vw, 76px); font-weight: 780; letter-spacing: -0.04em; line-height: 1; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats > div > span { display: block; margin-top: 12px; color: var(--ink-2); font-size: 16px; }

/* Marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { padding: 15px 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 17px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Release */
.release { max-width: var(--max); margin: 0 auto; padding: clamp(100px, 14vw, 180px) var(--gutter); }
.release-card {
  position: relative; overflow: hidden; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: clamp(56px, 9vw, 110px) var(--gutter); border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(800px 380px at 50% 0%, rgba(242, 80, 123, 0.18), transparent 70%), var(--card);
}
.release-card p { color: var(--ink-2); font-size: 19px; max-width: 540px; }

/* Footer */
.footer { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.footer-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .brand b { font-size: 12px; color: var(--ink); }
.footer .theme-switch { margin: 0 auto; }
.theme-switch svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.footer-link { color: var(--ink-2); }
.footer-link:hover { color: var(--ink); }
.fine { margin-top: 20px; font-size: 12px; line-height: 1.6; color: var(--ink-3); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(.2, .7, .2, 1), transform 0.9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav .pill { margin-left: auto; }
  .hero-robot { aspect-ratio: 4 / 3; }
  .split, .trio { grid-template-columns: 1fr; }
  .make-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tour-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 20px; padding: 0 var(--gutter); }
  .tour-tab { flex: none; }
  .suite[data-state="after"] .tool { width: 230px; left: calc(30% + var(--col) * 40%); }
  .features { grid-template-columns: 1fr 1fr; }
  .devstack { max-width: 640px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .robot-grid, .duo-cards, .make-grid { grid-template-columns: 1fr; }
  .tile.wide canvas { aspect-ratio: 4 / 3; }
  .float-chip { display: none; }
  .pipeline { grid-template-columns: 1fr; gap: 16px; }
  .pipeline::before, .pipeline::after { display: none; }
  .pipeline li { flex-direction: row; text-align: left; gap: 14px; }
  .pipeline .node { margin: 0; flex: none; }
  .pipeline li > b { min-width: 90px; }
  .suite-stage { height: 620px; }
  .suite .tool { width: 162px; gap: 8px; padding: 7px 10px 7px 7px; left: clamp(84px, calc(var(--x) * 1%), calc(100% - 84px)); }
  .tool-logo { width: 34px; height: 34px; border-radius: 9px; }
  .tool-logo img { max-width: 22px; max-height: 22px; }
  .tool-logo.wide { width: 56px; }
  .tool-logo.wide img { max-width: 48px; max-height: 20px; }
  .tool-logo svg { width: 20px; height: 20px; }
  .tool-text b { font-size: 12.5px; }
  .tool-text small { font-size: 11px; }
  .suite[data-state="after"] .tool { width: 74%; left: 50%; top: calc(27% + var(--i) * 8.6%); padding: 10px 12px; }
  .studio-card { inset: 4% 5%; padding-top: 18px; }
  .dev { font-size: 11.5px; }
  .dev.term, .dev.code { width: 100%; }
  .dev.code { margin-top: 14px; }
  .term-log { height: 270px; padding: 12px 14px; }
  .code-body { height: 300px; }
  .code-body .ln::before { width: 34px; padding-right: 10px; }
  .features { grid-template-columns: 1fr; gap: 10px; }
  .feat { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px; }
  .feat h3 { margin: 0 0 4px; }
  .feat .fi { grid-row: span 2; }
  .footer .theme-switch { margin: 0; }
  .hub-label { font-size: 23px; }
  .hub-icon { stroke-width: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .float-chip { opacity: 1; transform: none; }
  .showcase .window { transform: none; }
  html { scroll-behavior: auto; }
}
