:root {
  color-scheme: dark;
  --ink: #08090d;
  --ink-soft: #0d1016;
  --panel: #121620;
  --panel-raised: #171c27;
  --line: rgba(226, 232, 242, 0.13);
  --line-strong: rgba(226, 232, 242, 0.22);
  --paper: #f5f3ee;
  --paper-soft: #d6d5d1;
  --muted: #8e94a1;
  --coral: #ff4059;
  --coral-bright: #ff5a70;
  --cyan: #31e8dc;
  --amber: #f1b84b;
  --green: #6ce7a1;
  --container: 1240px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-xl: 0 44px 120px rgba(0, 0, 0, 0.46);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 16% 6%, rgba(255, 64, 89, 0.055), transparent 30rem),
    var(--ink);
  font-family:
    "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: rgba(255, 64, 89, 0.8);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    transform 260ms var(--ease-out);
}

.topbar.scrolled {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(8, 9, 13, 0.78);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.03);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  position: absolute;
  height: 1.5px;
  content: "";
  background: var(--coral-bright);
  box-shadow: 0 0 9px rgba(255, 64, 89, 0.7);
}

.brand-mark::before {
  left: 7px;
  width: 8px;
}

.brand-mark i {
  left: 13px;
  width: 9px;
  transform: rotate(-63deg);
}

.brand-mark::after {
  right: 7px;
  width: 8px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand-name small {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.24em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  position: relative;
  color: #aeb2bc;
  font-size: 13px;
  transition: color 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease-out);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #fff;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav .language-switch {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.primary-nav .language-switch::after {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  padding: 10px 14px 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #e8e7e4;
  font-size: 12px;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav-cta span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: #fff;
  transition: transform 220ms ease;
}

.section {
  position: relative;
  padding-block: clamp(104px, 12vw, 178px);
}

.section-index,
.eyebrow {
  margin: 0;
  color: var(--coral-bright);
  font-family: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.section-index.light {
  color: rgba(255, 255, 255, 0.74);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 930px;
  overflow: hidden;
  align-items: center;
  padding: 136px 0 110px;
  background:
    linear-gradient(90deg, rgba(8, 9, 13, 0.98) 0%, rgba(8, 9, 13, 0.78) 45%, rgba(8, 9, 13, 0.08) 78%),
    radial-gradient(circle at 76% 45%, rgba(30, 37, 53, 0.9), transparent 38%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

#signal-canvas {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.82;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 13%;
  right: 9%;
  width: min(44vw, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 64, 89, 0.1), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 10px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #afb4bf;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--coral);
  box-shadow: 0 0 10px rgba(255, 64, 89, 0.7);
}

.hero h1 {
  max-width: 8.8ch;
  margin: 29px 0 0;
  font-size: clamp(4rem, 7vw, 7.15rem);
  font-weight: 580;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero h1 em {
  display: block;
  color: transparent;
  font-family: "Songti SC", "STSong", "Iowan Old Style", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 1px rgba(245, 243, 238, 0.78);
}

.page-en .primary-nav {
  gap: 26px;
}

.page-en .hero h1 {
  max-width: 9.5ch;
  font-size: clamp(4rem, 6.2vw, 6.7rem);
  letter-spacing: -0.07em;
}

.page-en .hero-lede {
  max-width: 590px;
}

.page-en .hero-facts dd {
  font-size: 9px;
}

.hero-lede {
  max-width: 620px;
  margin: 32px 0 0;
  color: #a7abb5;
  font-size: 16px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 18px 46px rgba(255, 64, 89, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--coral-bright);
  box-shadow: 0 22px 54px rgba(255, 64, 89, 0.3);
}

.button-quiet {
  color: #d6d8de;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 620px;
  padding: 30px 0 0;
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  position: relative;
  padding-right: 14px;
}

.hero-facts div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  margin: 0;
  color: #f2f1ee;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 650;
}

.hero-facts dd {
  margin: 7px 0 0;
  color: #777d89;
  font-size: 10px;
  white-space: nowrap;
}

.hero-product {
  position: relative;
  z-index: 1;
  min-height: 650px;
  perspective: 1100px;
}

.product-aura {
  position: absolute;
  top: 6%;
  right: -7%;
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(255, 255, 255, 0.012),
    0 0 0 120px rgba(255, 255, 255, 0.008);
  transform: rotate(-9deg);
}

.desktop-window {
  position: absolute;
  z-index: 2;
  top: 82px;
  right: 0;
  width: min(100%, 610px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 25px;
  background: rgba(14, 17, 25, 0.91);
  box-shadow:
    0 55px 110px rgba(0, 0, 0, 0.5),
    inset 0 1px rgba(255, 255, 255, 0.05);
  transform: rotateY(-4deg) rotateX(1deg);
  transform-style: preserve-3d;
  transition: transform 280ms var(--ease-out);
  backdrop-filter: blur(18px);
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 50px;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #737987;
  font-size: 10px;
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #313641;
}

.traffic-lights i:first-child {
  background: #ff566a;
}

.window-live {
  justify-self: end;
  color: #7a818e;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.window-live i,
.stream-topline i,
.lab-head i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(108, 231, 161, 0.75);
}

.window-body {
  padding: 17px;
}

.signal-card {
  position: relative;
  min-height: 258px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 64, 89, 0.22);
  border-radius: 19px;
  background:
    linear-gradient(135deg, rgba(255, 64, 89, 0.045), transparent 44%),
    #0c0f16;
}

.signal-card::after {
  position: absolute;
  right: -12%;
  bottom: -65%;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: rgba(255, 64, 89, 0.08);
  filter: blur(34px);
}

.signal-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5f6674;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.connected-label {
  color: var(--green);
  letter-spacing: 0.06em;
}

.signal-reading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  gap: 15px;
  margin-top: 21px;
}

.signal-reading > strong {
  color: #f8f7f3;
  font-family: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  font-size: clamp(5rem, 7vw, 7rem);
  font-weight: 430;
  line-height: 0.8;
  letter-spacing: -0.09em;
  text-shadow: 0 0 42px rgba(255, 64, 89, 0.14);
}

.signal-reading div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 7px;
}

.signal-reading span {
  color: var(--coral-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.signal-reading small {
  color: #626977;
  font-size: 9px;
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 78px;
  opacity: 0.7;
}

.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.control-grid article {
  display: flex;
  min-height: 94px;
  flex-direction: column;
  justify-content: center;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.026);
}

.control-kicker {
  margin-bottom: 7px;
  color: #666d7a;
  font-size: 9px;
}

.control-grid strong {
  color: #dbdde2;
  font-size: 12px;
  font-weight: 570;
}

.control-grid small {
  margin-top: 6px;
  color: #646a76;
  font-size: 9px;
}

.window-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 10px;
}

.window-actions span {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #8c929f;
  background: rgba(255, 255, 255, 0.032);
  font-size: 10px;
  text-align: center;
}

.window-actions .accent-action {
  color: var(--cyan);
  border-color: rgba(49, 232, 220, 0.32);
  background: rgba(49, 232, 220, 0.08);
}

.live-overlay {
  position: absolute;
  z-index: 4;
  right: -28px;
  bottom: 63px;
  display: grid;
  grid-template-columns: auto auto;
  width: 190px;
  min-height: 98px;
  align-items: center;
  padding: 19px 20px;
  border: 1px solid rgba(255, 64, 89, 0.35);
  border-radius: 18px;
  background: rgba(7, 8, 12, 0.78);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
}

.mini-heart {
  grid-row: 1 / span 2;
  margin-right: 14px;
  color: var(--coral);
  font-size: 34px;
  text-shadow: 0 0 20px rgba(255, 64, 89, 0.54);
  animation: heart-beat 1.3s ease-in-out infinite;
}

.live-overlay strong {
  align-self: end;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 32px;
  font-weight: 450;
  line-height: 1;
}

.live-overlay span {
  align-self: start;
  color: var(--coral-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.signal-chip {
  position: absolute;
  z-index: 3;
  top: 35px;
  left: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(10, 12, 17, 0.68);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.signal-chip > i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(49, 232, 220, 0.68);
}

.signal-chip > i::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(49, 232, 220, 0.45);
  border-radius: 50%;
  content: "";
  animation: signal-ring 2s ease-out infinite;
}

.signal-chip span {
  color: #717784;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.signal-chip small {
  display: block;
  margin-bottom: 3px;
  color: #bec3cc;
  font-size: 8px;
}

.hero-scroll {
  position: absolute;
  bottom: 35px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5e6470;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
}

.hero-scroll span {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: #30343d;
}

.hero-scroll span::after {
  position: absolute;
  top: -40%;
  right: 0;
  left: 0;
  height: 40%;
  content: "";
  background: var(--paper);
  animation: scroll-drop 2s ease-in-out infinite;
}

.proof-strip {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0a0c11;
}

.proof-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  padding: 22px 28px;
  color: #777d88;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.proof-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
}

.intro {
  background:
    radial-gradient(circle at 82% 36%, rgba(255, 64, 89, 0.065), transparent 28rem),
    #f0eee9;
  color: #15161a;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 40px;
}

.intro .section-index {
  padding-top: 14px;
  color: #d8324a;
}

.intro-copy h2,
.showcase h2,
.annotation h2,
.mochi-copy h2,
.workflow h2,
.run-card h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.7rem);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.intro-copy > p {
  max-width: 780px;
  margin: 33px 0 0;
  color: #66666a;
  font-size: 17px;
  line-height: 1.95;
}

.page-en .intro-copy h2 {
  font-size: clamp(2.8rem, 4.35vw, 4.9rem);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(64px, 8vw, 118px);
}

.capability-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: 31px;
  border: 1px solid rgba(20, 21, 25, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.48);
  transition:
    transform 320ms var(--ease-out),
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.capability-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}

.capability-card:hover {
  border-color: rgba(20, 21, 25, 0.18);
  box-shadow: 0 22px 50px rgba(45, 34, 36, 0.08);
  transform: translateY(-5px);
}

.capability-card:hover::before {
  transform: scaleX(1);
}

.capability-card.featured {
  color: #f7f4ef;
  border-color: #17191f;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 64, 89, 0.16), transparent 42%),
    #15171d;
  box-shadow: 0 30px 70px rgba(28, 23, 25, 0.18);
}

.card-number {
  display: block;
  color: #9a9894;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.featured .card-number {
  color: #6f737d;
}

.capability-icon {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  margin-top: 44px;
  place-items: center;
  border: 1px solid rgba(20, 21, 25, 0.1);
  border-radius: 50%;
}

.featured .capability-icon {
  border-color: rgba(255, 255, 255, 0.1);
}

.radio-icon::before,
.radio-icon::after {
  position: absolute;
  border: 1px solid #d8324a;
  border-radius: 50%;
  content: "";
}

.radio-icon::before {
  width: 36px;
  height: 36px;
}

.radio-icon::after {
  width: 56px;
  height: 56px;
  opacity: 0.35;
}

.radio-icon i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8324a;
}

.pulse-icon::before,
.pulse-icon::after,
.pulse-icon i {
  position: absolute;
  height: 2px;
  content: "";
  background: var(--coral);
  box-shadow: 0 0 10px rgba(255, 64, 89, 0.5);
}

.pulse-icon::before {
  left: 20px;
  width: 23px;
}

.pulse-icon i {
  width: 31px;
  transform: rotate(-64deg);
}

.pulse-icon::after {
  right: 20px;
  width: 23px;
}

.mark-icon::before {
  width: 28px;
  height: 34px;
  border: 1.5px solid #d8324a;
  border-radius: 7px;
  content: "";
}

.mark-icon::after {
  position: absolute;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid #d8324a;
  border-bottom: 1.5px solid #d8324a;
  content: "";
  transform: rotate(45deg) translate(7px, 7px);
}

.capability-card h3 {
  margin: 35px 0 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.capability-card p {
  max-width: 32ch;
  margin: 16px 0 0;
  color: #717173;
  font-size: 13px;
  line-height: 1.75;
}

.capability-card.featured p {
  color: #92969f;
}

.capability-card > small {
  position: absolute;
  right: 31px;
  bottom: 28px;
  left: 31px;
  padding-top: 17px;
  border-top: 1px solid rgba(20, 21, 25, 0.09);
  color: #969491;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.capability-card.featured > small {
  border-color: rgba(255, 255, 255, 0.08);
  color: #737782;
}

.showcase {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 64, 89, 0.08), transparent 28rem),
    #090a0e;
}

.showcase::after {
  position: absolute;
  right: -16%;
  bottom: -38%;
  width: 54vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.012),
    0 0 0 140px rgba(255, 255, 255, 0.008);
}

.showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(600px, 1.28fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
}

.showcase h2 {
  margin-top: 25px;
  font-size: clamp(3rem, 4.4vw, 5.1rem);
}

.page-en .showcase h2 {
  font-size: clamp(2.8rem, 4vw, 4.55rem);
}

.showcase-copy > p:not(.section-index),
.mochi-copy > p:not(.section-index) {
  max-width: 500px;
  margin: 28px 0 0;
  color: #8b909a;
  font-size: 14px;
  line-height: 1.9;
}

.mode-switcher {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.mode-button {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 23px;
  padding: 18px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #6e737d;
  background: transparent;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition:
    color 180ms ease,
    padding-left 220ms var(--ease-out);
}

.mode-button::after {
  position: absolute;
  right: 8px;
  content: "↗";
  opacity: 0;
  transform: translate(-7px, 7px);
  transition:
    opacity 180ms ease,
    transform 220ms var(--ease-out);
}

.mode-button span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.mode-button.active {
  padding-left: 15px;
  color: #fff;
}

.mode-button.active span {
  color: var(--coral-bright);
}

.mode-button.active::after {
  opacity: 1;
  transform: translate(0, 0);
}

.stream-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background: #10131a;
  box-shadow: var(--shadow-xl);
}

.stream-topline,
.stream-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #626975;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.stream-topline {
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-scene {
  position: relative;
  isolation: isolate;
  min-height: 470px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.8), transparent 60%),
    radial-gradient(circle at 70% 35%, rgba(255, 98, 77, 0.28), transparent 20rem),
    linear-gradient(145deg, #242734 0%, #11131a 48%, #181219 100%);
}

.stream-scene::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.35;
  background:
    repeating-linear-gradient(105deg, transparent 0 56px, rgba(255, 255, 255, 0.05) 57px 58px),
    linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.5));
}

.stream-scene::after {
  position: absolute;
  z-index: -1;
  top: -25%;
  right: 5%;
  width: 46%;
  height: 150%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 90, 75, 0.13), transparent);
  transform: rotate(15deg);
  filter: blur(12px);
}

.scene-copy {
  position: absolute;
  top: 43px;
  left: 40px;
}

.scene-copy small {
  color: rgba(255, 255, 255, 0.42);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.scene-copy strong {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Iowan Old Style", "Times New Roman", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.scene-runner {
  position: absolute;
  z-index: -1;
  right: 12%;
  bottom: -20%;
  width: 43%;
  height: 98%;
  border-radius: 48% 50% 10% 10%;
  background:
    radial-gradient(circle at 52% 10%, #4a3a3d 0 11%, transparent 11.5%),
    radial-gradient(ellipse at 50% 53%, #29252c 0 26%, transparent 26.5%),
    linear-gradient(110deg, transparent 0 35%, #252129 36% 64%, transparent 65%);
  opacity: 0.8;
  filter: blur(1px);
  transform: rotate(-7deg);
}

.mode-preview {
  position: absolute;
  right: 36px;
  bottom: 44px;
  display: grid;
  grid-template-columns: auto auto;
  min-width: 220px;
  min-height: 112px;
  align-content: center;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(7, 8, 12, 0.66);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  transition:
    width 240ms var(--ease-out),
    border-color 220ms ease,
    background 220ms ease;
}

.mode-preview canvas {
  grid-row: 1 / span 2;
  width: 102px;
  height: 66px;
  margin-right: 16px;
}

.mode-preview > strong {
  align-self: end;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 45px;
  font-weight: 430;
  line-height: 0.94;
  letter-spacing: -0.08em;
}

.mode-preview > span {
  align-self: start;
  margin-top: 5px;
  color: var(--coral-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.preview-heart,
.preview-pet {
  display: none;
  grid-row: 1 / span 2;
}

.preview-heart {
  margin-right: 17px;
  color: var(--coral);
  font-size: 55px;
  text-shadow: 0 0 28px rgba(255, 64, 89, 0.4);
  animation: heart-beat 1.25s ease-in-out infinite;
}

.preview-pet {
  width: 94px;
  margin-right: 12px;
  object-fit: contain;
  filter: drop-shadow(0 15px 13px rgba(0, 0, 0, 0.38));
}

.mode-preview[data-mode-preview="number"] {
  grid-template-columns: 1fr;
  justify-items: center;
  min-width: 150px;
  border-color: rgba(49, 232, 220, 0.26);
}

.mode-preview[data-mode-preview="number"] canvas,
.mode-preview[data-mode-preview="number"] .preview-heart,
.mode-preview[data-mode-preview="number"] .preview-pet {
  display: none;
}

.mode-preview[data-mode-preview="number"] > strong {
  font-size: 62px;
}

.mode-preview[data-mode-preview="number"] > span {
  justify-self: center;
  color: var(--cyan);
}

.mode-preview[data-mode-preview="heart"] canvas,
.mode-preview[data-mode-preview="heart"] .preview-pet {
  display: none;
}

.mode-preview[data-mode-preview="heart"] .preview-heart {
  display: block;
}

.mode-preview[data-mode-preview="mochi"] canvas,
.mode-preview[data-mode-preview="mochi"] .preview-heart {
  display: none;
}

.mode-preview[data-mode-preview="mochi"] .preview-pet {
  display: block;
}

.corner-index {
  position: absolute;
  bottom: 18px;
  left: 20px;
  color: rgba(255, 255, 255, 0.33);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.stream-foot {
  gap: 20px;
  min-height: 68px;
  padding: 0 20px;
}

.stream-foot span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stream-foot b {
  color: #555c68;
  font-size: 7px;
  font-weight: 500;
}

.stream-foot em {
  color: #a4a9b2;
  font-size: 8px;
  font-style: normal;
}

.annotation {
  color: #15161a;
  background: #efede8;
}

.annotation-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: end;
}

.annotation .section-index {
  color: #d8324a;
}

.annotation h2 {
  margin-top: 25px;
  font-size: clamp(3rem, 5vw, 5.45rem);
}

.page-en .annotation h2,
.page-en .mochi-copy h2,
.page-en .workflow h2,
.page-en .run-card h2 {
  font-size: clamp(2.8rem, 4.35vw, 4.9rem);
}

.page-en .annotation-toolbar strong {
  font-size: 12px;
}

.page-en .tag-line {
  grid-template-columns: 58px repeat(3, minmax(0, 1fr));
}

.page-en .tag-line span,
.page-en .tag-line b {
  font-size: 7px;
}

.annotation-lede {
  margin: 0 0 5px;
  color: #6a6a6e;
  font-size: 14px;
  line-height: 1.9;
}

.annotation-stage {
  overflow: hidden;
  margin-top: 76px;
  border: 1px solid rgba(16, 18, 24, 0.88);
  border-radius: 27px;
  background: #0c0f15;
  box-shadow: 0 42px 90px rgba(42, 33, 35, 0.22);
}

.annotation-toolbar {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 27px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4e6eb;
}

.annotation-toolbar > div:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
}

.annotation-toolbar > div:first-child i {
  grid-row: 1 / span 2;
  width: 5px;
  height: 34px;
  border-radius: 99px;
  background: var(--coral);
}

.annotation-toolbar span {
  color: #666d79;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.annotation-toolbar strong {
  font-size: 14px;
  font-weight: 560;
}

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

.toolbar-actions span,
.toolbar-actions b {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 8px;
  font-weight: 500;
}

.toolbar-actions span:first-child {
  color: var(--amber);
  border-color: rgba(241, 184, 75, 0.24);
  background: rgba(241, 184, 75, 0.08);
}

.toolbar-actions b {
  color: var(--cyan);
  border-color: rgba(49, 232, 220, 0.3);
  background: rgba(49, 232, 220, 0.07);
}

.annotation-ui {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 12px;
  min-height: 530px;
  padding: 14px;
}

.chart-panel,
.inspector-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background: #121721;
}

.chart-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 17px;
}

.panel-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #7c8390;
  font-size: 9px;
}

.panel-heading small {
  color: #555c68;
  font-size: 8px;
}

.chart-shell {
  position: relative;
  flex: 1;
  min-height: 385px;
  margin-top: 12px;
  overflow: hidden;
  background: #0c1119;
}

.chart-grid {
  position: absolute;
  inset: 20px 20px 30px 52px;
  background-image:
    linear-gradient(rgba(102, 113, 134, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 113, 134, 0.18) 1px, transparent 1px);
  background-size: 25% 33.33%;
  border-bottom: 1px solid rgba(102, 113, 134, 0.18);
  border-left: 1px solid rgba(102, 113, 134, 0.18);
}

.selected-range {
  position: absolute;
  z-index: 1;
  top: 20px;
  bottom: 30px;
  left: 39%;
  width: 34%;
  border-inline: 1px solid var(--cyan);
  background: rgba(49, 232, 220, 0.1);
}

#annotation-chart {
  position: absolute;
  z-index: 2;
  inset: 20px 20px 30px 52px;
  width: calc(100% - 72px);
  height: calc(100% - 50px);
}

.chart-value,
.chart-time {
  position: absolute;
  color: #596170;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.chart-value {
  left: 11px;
}

.chart-value.top {
  top: 17px;
}

.chart-value.mid {
  top: 49%;
}

.chart-value.bottom {
  bottom: 27px;
}

.chart-time {
  bottom: 9px;
}

.chart-time.start {
  left: 52px;
}

.chart-time.end {
  right: 20px;
}

.chart-status {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  color: #555c68;
  font-size: 8px;
}

.inspector-panel {
  padding: 21px;
  color: #dfe2e8;
}

.inspector-label {
  display: block;
  color: #646c7a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inspector-label.spaced {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.inspector-panel > strong {
  display: block;
  margin-top: 8px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 560;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-top: 16px;
}

.metric-row span {
  display: flex;
  min-height: 52px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: #10151e;
}

.metric-row small {
  color: #5d6572;
  font-size: 7px;
}

.metric-row b {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 560;
}

.tag-line {
  display: grid;
  grid-template-columns: 42px repeat(3, 1fr);
  gap: 6px;
  align-items: center;
  margin-top: 12px;
}

.tag-line small {
  color: #6c7380;
  font-size: 8px;
}

.tag-line span,
.tag-line b {
  padding: 9px 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #717886;
  background: rgba(255, 255, 255, 0.025);
  font-size: 8px;
  font-weight: 500;
  text-align: center;
}

.tag-line b {
  color: var(--cyan);
  border-color: rgba(49, 232, 220, 0.4);
  background: rgba(49, 232, 220, 0.08);
}

.annotation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 30px;
}

.annotation-actions b,
.annotation-actions span {
  padding: 12px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  font-size: 8px;
  font-weight: 550;
  text-align: center;
}

.annotation-actions b {
  color: #fff;
  border-color: var(--coral);
  background: var(--coral);
}

.annotation-actions span {
  color: #808793;
  background: rgba(255, 255, 255, 0.03);
}

.mochi-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 46%, rgba(49, 232, 220, 0.07), transparent 30rem),
    #0a0c11;
}

.mochi-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(60px, 8vw, 130px);
  align-items: center;
}

.mochi-lab {
  position: relative;
  isolation: isolate;
  min-height: 630px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(18, 24, 33, 0.93), rgba(10, 13, 18, 0.96)),
    #10131a;
  box-shadow: var(--shadow-xl);
}

.mochi-lab::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 43%, black 20%, transparent 68%);
}

.lab-head {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  color: #5f6672;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.pet-orbit {
  position: absolute;
  top: 90px;
  left: 50%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(49, 232, 220, 0.11);
  border-radius: 50%;
  transform: translateX(-50%);
}

.pet-orbit::before,
.pet-orbit::after {
  position: absolute;
  border: 1px solid rgba(49, 232, 220, 0.07);
  border-radius: 50%;
  content: "";
}

.pet-orbit::before {
  inset: 44px;
}

.pet-orbit::after {
  inset: 89px;
}

.pet-orbit i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(49, 232, 220, 0.68);
}

.pet-orbit i:nth-child(1) {
  top: 47px;
  right: 49px;
}

.pet-orbit i:nth-child(2) {
  bottom: 25px;
  left: 93px;
  opacity: 0.55;
}

.pet-orbit i:nth-child(3) {
  top: 48%;
  left: -3px;
  opacity: 0.38;
}

#mochi-pet {
  position: absolute;
  z-index: 2;
  top: 132px;
  left: 50%;
  width: 256px;
  height: 256px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 30px 22px rgba(0, 0, 0, 0.42));
  transform: translateX(-50%);
  transition:
    opacity 140ms ease,
    transform 280ms var(--ease-out),
    filter 280ms ease;
}

#mochi-pet.switching {
  opacity: 0.35;
  transform: translateX(-50%) translateY(5px) scale(0.97);
}

.pet-shadow {
  position: absolute;
  top: 378px;
  left: 50%;
  width: 150px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  filter: blur(9px);
  transform: translateX(-50%);
}

.lab-control {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(7, 9, 13, 0.68);
  backdrop-filter: blur(14px);
}

.lab-control label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: #717885;
  font-size: 10px;
}

.lab-control label strong {
  color: #e8eaee;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
}

.lab-control label b {
  color: var(--cyan);
  font-size: 24px;
  font-weight: 450;
}

.lab-control input[type="range"] {
  width: 100%;
  height: 22px;
  margin: 14px 0 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.lab-control input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan) var(--range-progress, 38%), #343a45 var(--range-progress, 38%));
}

.lab-control input[type="range"]::-moz-range-track {
  height: 3px;
  border-radius: 99px;
  background: #343a45;
}

.lab-control input[type="range"]::-moz-range-progress {
  height: 3px;
  background: var(--cyan);
}

.lab-control input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -6.5px;
  appearance: none;
  -webkit-appearance: none;
  border: 3px solid #10141b;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(49, 232, 220, 0.5), 0 0 14px rgba(49, 232, 220, 0.35);
}

.lab-control input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 3px solid #10141b;
  border-radius: 50%;
  background: var(--cyan);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: #505762;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.mochi-copy h2 {
  margin-top: 25px;
  font-size: clamp(3rem, 4.7vw, 5.35rem);
}

.pet-state {
  position: relative;
  display: grid;
  margin-top: 37px;
  padding: 21px 24px 21px 54px;
  border: 1px solid rgba(49, 232, 220, 0.16);
  border-radius: 16px;
  background: rgba(49, 232, 220, 0.035);
}

.pet-state::before {
  position: absolute;
  top: 27px;
  left: 23px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(49, 232, 220, 0.7);
}

.pet-state span {
  color: #626a76;
  font-size: 9px;
}

.pet-state strong {
  margin-top: 5px;
  color: #e8eaee;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 560;
}

.pet-state small {
  margin-top: 7px;
  color: #777e89;
  font-size: 10px;
}

.detail-list {
  padding: 0;
  margin: 31px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.detail-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  color: #8c919a;
  font-size: 12px;
}

.detail-list span {
  color: var(--coral-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.workflow {
  color: #17181b;
  background: #f2f0eb;
}

.workflow-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: end;
}

.workflow .section-index {
  color: #d8324a;
}

.workflow h2 {
  margin-top: 25px;
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.workflow-heading > p {
  margin: 0 0 8px;
  color: #7a7977;
  font-size: 14px;
  line-height: 1.8;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin-top: 78px;
  list-style: none;
  border-block: 1px solid rgba(20, 21, 25, 0.14);
}

.workflow-list li {
  position: relative;
  min-height: 280px;
  padding: 27px 27px 30px;
  transition:
    color 280ms ease,
    background 280ms ease;
}

.workflow-list li + li {
  border-left: 1px solid rgba(20, 21, 25, 0.14);
}

.workflow-list li::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.workflow-list li:hover {
  color: #fff;
  background: #15171d;
}

.workflow-list li:hover::after {
  transform: scaleX(1);
}

.workflow-list > li > span {
  color: #a09e9a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.workflow-list strong {
  display: block;
  margin-top: 67px;
  font-size: 25px;
  font-weight: 590;
}

.workflow-list p {
  max-width: 22ch;
  margin: 14px 0 0;
  color: #777673;
  font-size: 12px;
  line-height: 1.7;
}

.workflow-list i {
  position: absolute;
  top: 24px;
  right: 25px;
  font-size: 16px;
  font-style: normal;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition:
    opacity 240ms ease,
    transform 260ms var(--ease-out);
}

.workflow-list li:hover i {
  opacity: 1;
  transform: translate(0, 0);
}

.workflow-list li:hover p,
.workflow-list li:hover > span {
  color: #858a94;
}

.run-section {
  padding-block: 90px;
  background: #f2f0eb;
}

.run-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(42px, 6vw, 78px);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 25%, rgba(255, 118, 76, 0.4), transparent 24rem),
    linear-gradient(125deg, #f13e58, #d92f48 58%, #cb2a42);
  box-shadow: 0 36px 80px rgba(184, 37, 59, 0.24);
}

.run-card::before {
  position: absolute;
  z-index: -1;
  top: -78%;
  right: -13%;
  width: 66%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.045),
    0 0 0 140px rgba(255, 255, 255, 0.025);
}

.run-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(36deg, transparent 0 3px, rgba(255, 255, 255, 0.13) 4px),
    repeating-linear-gradient(124deg, transparent 0 5px, rgba(0, 0, 0, 0.12) 6px);
  background-size: 7px 7px, 11px 11px;
  pointer-events: none;
}

.run-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.run-card h2 {
  margin-top: 20px;
  font-size: clamp(3rem, 5vw, 5.45rem);
}

.run-copy > p:last-child {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.command-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 150px 1fr;
  margin-top: 52px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  background: rgba(15, 17, 23, 0.86);
  box-shadow: 0 20px 50px rgba(103, 14, 29, 0.2);
}

.command-top {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #757b87;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.command-top button {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #aeb2bc;
  background: transparent;
  font-size: 8px;
  cursor: pointer;
}

.command-card code {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0 23px;
  overflow: auto;
  color: #f1f2f4;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  white-space: nowrap;
}

.copy-feedback {
  position: absolute;
  right: 12px;
  bottom: 5px;
  color: var(--green);
  font-size: 8px;
}

.run-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
}

.run-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.run-links a span {
  transition: transform 200ms var(--ease-out);
}

.run-links a:hover span,
.run-links a:focus-visible span {
  transform: translate(3px, -3px);
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer p {
  margin: 0;
  color: #555b66;
  font-family: "Iowan Old Style", "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer-inner > a:last-child {
  justify-self: end;
  color: #717782;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 760ms var(--ease-out),
    transform 760ms var(--ease-out);
}

.reveal[data-delay="1"] {
  transition-delay: 90ms;
}

.reveal[data-delay="2"] {
  transition-delay: 180ms;
}

.reveal[data-delay="3"] {
  transition-delay: 270ms;
}

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

@keyframes heart-beat {
  0%,
  100% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.13);
  }
  18% {
    transform: scale(0.98);
  }
  28% {
    transform: scale(1.08);
  }
  42% {
    transform: scale(1);
  }
}

@keyframes signal-ring {
  0% {
    opacity: 0.8;
    transform: scale(0.6);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@keyframes scroll-drop {
  0% {
    transform: translateY(0);
  }
  70%,
  100% {
    transform: translateY(350%);
  }
}

@media (max-width: 1120px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
  }

  .hero-product {
    min-height: 590px;
  }

  .showcase-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
  }

  .stream-scene {
    min-height: 420px;
  }

  .annotation-ui {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    opacity: 0;
    background: rgba(13, 15, 21, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transform: translateY(-10px);
    transition:
      opacity 200ms ease,
      transform 240ms var(--ease-out),
      visibility 200ms ease;
    backdrop-filter: blur(20px);
  }

  .primary-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .primary-nav .language-switch {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 0;
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    padding-top: 130px;
    background:
      linear-gradient(180deg, rgba(8, 9, 13, 0.96) 0%, rgba(8, 9, 13, 0.75) 55%, rgba(8, 9, 13, 0.2) 100%),
      radial-gradient(circle at 70% 70%, rgba(30, 37, 53, 0.9), transparent 45%);
  }

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

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 9ch;
  }

  .hero-product {
    min-height: 620px;
  }

  .desktop-window {
    right: 5%;
    left: 5%;
    width: auto;
  }

  .signal-chip {
    left: 1%;
  }

  .live-overlay {
    right: 1%;
  }

  .hero-scroll {
    display: none;
  }

  .intro-grid,
  .annotation-heading,
  .workflow-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .intro .section-index {
    padding-top: 0;
  }

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

  .capability-card:last-child {
    grid-column: 1 / -1;
  }

  .showcase-grid,
  .mochi-grid {
    grid-template-columns: 1fr;
  }

  .showcase-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }

  .showcase-copy .section-index,
  .showcase-copy h2 {
    grid-column: 1 / -1;
  }

  .mode-switcher {
    margin-top: 28px;
  }

  .annotation-lede {
    max-width: 620px;
  }

  .annotation-ui {
    grid-template-columns: 1fr;
  }

  .inspector-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
  }

  .metric-row,
  .inspector-label.spaced,
  .tag-line,
  .annotation-actions {
    grid-column: 1 / -1;
  }

  .inspector-label.spaced {
    margin-top: 4px;
  }

  .metric-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .tag-line {
    grid-template-columns: 60px repeat(3, 1fr);
    margin-top: 0;
  }

  .annotation-actions {
    margin-top: 6px;
  }

  .mochi-lab {
    min-height: 590px;
  }

  .mochi-copy {
    max-width: 660px;
  }

  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-list li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(20, 21, 25, 0.14);
  }

  .workflow-list li:nth-child(4) {
    border-top: 1px solid rgba(20, 21, 25, 0.14);
  }
}

@media (max-width: 620px) {
  .container,
  .nav-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-shell {
    min-height: 72px;
  }

  .section {
    padding-block: 94px;
  }

  .hero {
    padding: 116px 0 70px;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 17vw, 5rem);
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .hero-facts div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-product {
    min-height: 530px;
    margin-top: 12px;
  }

  .desktop-window {
    top: 68px;
    right: 0;
    left: 0;
    border-radius: 19px;
    transform: none !important;
  }

  .window-bar {
    height: 43px;
  }

  .window-body {
    padding: 11px;
  }

  .signal-card {
    min-height: 217px;
    padding: 17px;
  }

  .signal-reading > strong {
    font-size: 4.8rem;
  }

  .hero-wave {
    height: 62px;
  }

  .control-grid article {
    min-height: 82px;
    padding: 13px;
  }

  .live-overlay {
    right: -5px;
    bottom: 7px;
    width: 164px;
    min-height: 80px;
    padding: 14px;
  }

  .live-overlay strong {
    font-size: 26px;
  }

  .mini-heart {
    font-size: 27px;
  }

  .signal-chip {
    top: 28px;
    left: -2px;
    transform: scale(0.88);
    transform-origin: left center;
  }

  .proof-track {
    justify-content: flex-start;
    animation: marquee 28s linear infinite;
  }

  .intro-copy h2,
  .showcase h2,
  .annotation h2,
  .mochi-copy h2,
  .workflow h2,
  .run-card h2 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .page-en .hero h1,
  .page-en .intro-copy h2,
  .page-en .showcase h2,
  .page-en .annotation h2,
  .page-en .mochi-copy h2,
  .page-en .workflow h2,
  .page-en .run-card h2 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .page-en .tag-line {
    grid-template-columns: 52px repeat(3, minmax(0, 1fr));
  }

  .intro-copy > p {
    font-size: 15px;
  }

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

  .capability-card:last-child {
    grid-column: auto;
  }

  .capability-card {
    min-height: 390px;
  }

  .showcase-copy {
    display: block;
  }

  .stream-scene {
    min-height: 390px;
  }

  .scene-copy {
    top: 32px;
    left: 26px;
  }

  .scene-copy strong {
    font-size: 33px;
  }

  .mode-preview {
    right: 18px;
    bottom: 43px;
    min-width: 190px;
    padding: 17px;
  }

  .mode-preview canvas {
    width: 76px;
  }

  .mode-preview > strong {
    font-size: 37px;
  }

  .stream-foot {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-block: 15px;
  }

  .annotation-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .toolbar-actions {
    width: 100%;
  }

  .toolbar-actions span,
  .toolbar-actions b {
    flex: 1;
    text-align: center;
  }

  .annotation-ui {
    padding: 9px;
  }

  .chart-shell {
    min-height: 320px;
  }

  .chart-status {
    gap: 8px;
  }

  .inspector-panel {
    display: block;
  }

  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .inspector-label.spaced {
    margin-top: 25px;
  }

  .tag-line {
    grid-template-columns: 44px repeat(3, 1fr);
    margin-top: 12px;
  }

  .annotation-actions {
    margin-top: 25px;
  }

  .mochi-lab {
    min-height: 530px;
  }

  .pet-orbit {
    top: 82px;
    width: 280px;
    height: 280px;
  }

  #mochi-pet {
    top: 108px;
    width: 230px;
    height: 230px;
  }

  .pet-shadow {
    top: 328px;
  }

  .lab-control {
    right: 15px;
    bottom: 15px;
    left: 15px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li,
  .workflow-list li:nth-child(2),
  .workflow-list li:nth-child(3),
  .workflow-list li:nth-child(4) {
    min-height: 220px;
    border-top: 1px solid rgba(20, 21, 25, 0.14);
    border-left: 0;
  }

  .workflow-list li:first-child {
    border-top: 0;
  }

  .workflow-list strong {
    margin-top: 46px;
  }

  .run-section {
    padding-block: 30px 70px;
  }

  .run-card {
    width: calc(100% - 20px);
    padding: 38px 24px;
    border-radius: 24px;
  }

  .command-card {
    grid-template-columns: 1fr;
  }

  .command-top {
    min-height: 46px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .command-card code {
    min-height: 64px;
    padding: 0 17px;
    font-size: 10px;
  }

  .run-links,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .run-links {
    display: flex;
  }

  .footer-inner {
    display: flex;
  }
}

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

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

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

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