:root {
  --paper: #f8f8f7;
  --panel: #f0f0ef;
  --ink: #151713;
  --muted: #3f423c;
  --soft: #f0f0ef;
  --line: rgba(30, 31, 26, 0.1);
  --purple: #ea4d3d;
  --violet: #ea4d3d;
  --pink: #ea4d3d;
  --magenta: #ea4d3d;
  --charcoal: #222722;
  --shadow: 0 24px 80px rgba(40, 37, 28, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Avenir, "Avenir Next", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 0 max(102px, calc((100% - 1628px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(30, 31, 26, 0.08);
  border-radius: 0;
  background: rgba(248, 248, 247, 0.92);
  box-shadow: 0 12px 34px rgba(40, 37, 28, 0.05);
  backdrop-filter: blur(18px);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 248, 247, 0.96);
  box-shadow: 0 16px 42px rgba(40, 37, 28, 0.07);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-actions,
.window-tabs,
.search-row,
.agent-icons,
.summary-top,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0;
  color: var(--ink);
  font-weight: 900;
}

.brand-logo {
  width: 65px;
  height: auto;
  display: block;
  margin-left: 38px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 55% 45% 52% 48%;
  color: #fff;
  background: var(--charcoal);
  transform: rotate(-18deg);
}

.nav-links {
  justify-content: flex-start;
  gap: clamp(28px, 3.6vw, 48px);
  color: rgba(21, 23, 19, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.nav-links a:last-child {
  margin-left: auto;
  margin-right: 38px;
}

.nav-links a,
.nav-links .nav-trigger {
  position: relative;
  padding: 4px 0;
  transition: color 160ms ease;
}

.nav-links a::after,
.nav-links .nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: var(--violet);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a[aria-current="page"],
.nav-links .nav-trigger[aria-current="page"],
body.menu-open .nav-links .nav-trigger {
  color: var(--ink);
}

.nav-links a[aria-current="page"]::after,
.nav-links .nav-trigger[aria-current="page"]::after,
body.menu-open .nav-links .nav-trigger::after {
  opacity: 1;
  transform: translateY(0);
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.nav-trigger span {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

body.menu-open .nav-trigger span {
  transform: translateY(2px) rotate(225deg);
}

.platform-menu {
  position: fixed;
  top: 56px;
  left: 0;
  z-index: 18;
  width: 100%;
  max-height: calc(100svh - 56px);
  overflow: auto;
  border-top: 1px solid rgba(30, 31, 26, 0.08);
  border-bottom: 1px solid rgba(30, 31, 26, 0.08);
  background: rgba(240, 240, 239, 0.96);
  box-shadow: 0 24px 64px rgba(40, 37, 28, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

body.menu-open .platform-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.platform-menu-inner {
  width: min(1220px, calc(100% - 96px));
  display: grid;
  gap: 58px;
  margin: 0 auto;
  padding: 36px 0 52px;
}

.mega-section h2 {
  margin: 0 0 30px;
  color: rgba(21, 23, 19, 0.72);
  font-size: 1rem;
  font-weight: 900;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px 44px;
}

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

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

.mega-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 14px;
  row-gap: 5px;
  min-height: 58px;
  transition: transform 160ms ease;
}

.mega-item strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 900;
  transition: color 160ms ease;
}

.mega-item small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.mega-icon {
  grid-row: 1 / 3;
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 2px solid var(--violet);
  border-radius: 7px;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.mega-icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--violet);
}

.mega-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 7px;
  width: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--violet);
  opacity: 0.5;
}

.mega-arrow {
  grid-row: 1 / 3;
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid rgba(234, 77, 61, 0.55);
  border-radius: 50%;
  background: transparent;
  opacity: 1;
  transition: border-color 160ms ease;
}

.mega-arrow::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--violet);
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.button-dark {
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 12px 28px rgba(40, 37, 28, 0.14);
}

.hero-section {
  position: relative;
  min-height: auto;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 74px 24px 34px;
  overflow: hidden;
}

.hero-section h1 {
  width: min(760px, 100%);
  margin: 0;
  text-align: center;
  font-size: clamp(2.4rem, 4vw, 4.15rem);
  line-height: 0.92;
  font-weight: 900;
}

.hero-section h1 span {
  position: relative;
  display: inline-block;
}

.hero-section h1 span::after {
  display: none;
  content: none;
}

.hero-copy {
  width: min(760px, 100%);
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  line-height: 1.55;
}

.hero-stage {
  position: relative;
  width: min(920px, 100%);
  margin-top: 26px;
  margin-bottom: 0;
}

.floorplan-app {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 230px;
  grid-template-rows: 34px 44px 1fr;
  min-height: 338px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f0f0ef;
  box-shadow: var(--shadow);
}

.doc-title,
.tool-strip {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.doc-title {
  grid-column: 1 / -1;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
}

.tool-strip {
  gap: 12px;
  padding: 0 14px;
}

.tool-strip span {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  border: 1px solid rgba(100, 103, 94, 0.42);
}

.tool-strip strong {
  padding: 3px 10px;
  border-radius: 3px;
  background: #f0f0ef;
  font-size: 0.78rem;
}

.plan-canvas {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(90deg, rgba(30, 31, 26, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(rgba(30, 31, 26, 0.06) 0 1px, transparent 1px 100%);
  background-size: 26px 26px;
}

.plan-grid {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 232px;
  border: 5px solid #111;
  background: var(--panel);
}

.room {
  position: absolute;
  display: grid;
  place-items: center;
  border: 3px solid #111;
  color: #3c4654;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
}

.room-a { left: 0; top: 0; width: 29%; height: 52%; }
.room-b { left: 29%; top: 0; width: 22%; height: 40%; }
.room-c { right: 0; top: 0; width: 49%; height: 43%; }
.room-d { left: 0; bottom: 0; width: 24%; height: 48%; }
.room-e { left: 24%; bottom: 0; width: 27%; height: 60%; }
.room-f { right: 0; bottom: 0; width: 49%; height: 57%; }

.inspector-panel {
  grid-row: 2 / 4;
  grid-column: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid var(--line);
  background: #f0f0ef;
}

.inspector-tabs {
  display: flex;
  gap: 18px;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.inspector-panel ol {
  margin: 0;
  padding: 16px 20px 16px 30px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.question-box {
  margin: 12px;
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 4px;
  color: rgba(100, 103, 94, 0.72);
  background: #f0f0ef;
  font-size: 0.82rem;
}

.paper-plane {
  display: none;
}

.feature-panel,
.data-section {
  width: min(1660px, calc(100% - 96px));
  margin: 0 auto;
  scroll-margin-top: 96px;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(44px, 6vw, 104px);
  align-items: center;
  min-height: 470px;
  padding: clamp(58px, 6vw, 88px) clamp(64px, 7vw, 116px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f0f0ef;
  box-shadow: var(--shadow);
}

.feature-copy h2,
.data-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.25vw, 2.28rem);
  line-height: 1.18;
  font-weight: 800;
}

.feature-copy p,
.data-copy p {
  width: min(620px, 100%);
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  line-height: 1.55;
}

.context-visual {
  width: min(720px, 100%);
  display: block;
  justify-self: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  mix-blend-mode: multiply;
  -webkit-mask-image:
    radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, 0.88) 74%, transparent 100%);
  mask-image:
    radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, 0.88) 74%, transparent 100%);
}

.hero-context-visual {
  width: min(1120px, 100%);
}

.pipeline-visual {
  position: relative;
  min-height: 360px;
}

.pipeline-button {
  width: 220px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--charcoal);
  font-weight: 900;
}

.agent-icons {
  position: absolute;
  top: 0;
  right: 130px;
  gap: 10px;
}

.agent-icons span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--charcoal);
  font-weight: 900;
}

.feature-stack {
  width: 290px;
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.feature-stack small {
  color: var(--muted);
  font-weight: 900;
}

.feature-stack span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1.5px dashed rgba(34, 39, 34, 0.48);
  border-radius: 8px;
  background: #f0f0ef;
}

.pipeline-box {
  position: absolute;
  top: 58px;
  right: 0;
  width: 360px;
  min-height: 300px;
  display: grid;
  align-content: center;
  gap: 0;
  padding: 28px;
  border: 2px dashed rgba(34, 39, 34, 0.36);
  border-radius: 8px;
}

.pipeline-box span {
  width: 230px;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #e2ded3;
  box-shadow: 46px 36px 0 -20px #c7c0b2;
}

.data-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  min-height: 570px;
  padding: 94px clamp(64px, 7vw, 116px);
}

.audio-visual {
  position: relative;
  min-height: 390px;
}

.wave-card {
  position: absolute;
  top: 40px;
  right: 70px;
  width: min(560px, 100%);
  height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 3px,
    transparent 3px 10px
  );
  mask-image: linear-gradient(180deg, transparent 4%, #000 50%, transparent 96%);
}

.wave.pink {
  top: 110px;
  color: rgba(234, 77, 61, 0.72);
  transform: scaleY(0.72);
}

.wave.dark {
  top: 122px;
  left: 290px;
  color: #697078;
  transform: scaleY(0.6);
}

.wave.pale {
  top: 190px;
  color: #d9d9d9;
  transform: scaleY(0.42);
}

.summary-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(420px, 82%);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(40, 37, 28, 0.12);
}

.summary-top {
  gap: 10px;
}

.summary-top span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--charcoal);
  font-weight: 900;
}

.summary-top button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.summary-card p {
  margin: 14px 0 10px;
  color: var(--muted);
  line-height: 1.42;
}

.summary-card small {
  color: var(--muted);
}

.feature-panel.compact {
  min-height: auto;
  margin-bottom: 78px;
}

.process-visual,
.systems-visual,
.trust-visual,
.channels-visual {
  position: relative;
  min-height: 330px;
}

.chat-panel,
.batch-panel,
.channel-card,
.trust-visual div,
.systems-visual span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(40, 37, 28, 0.08);
}

.chat-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  width: min(360px, 88%);
  padding: 24px;
}

.chat-panel span,
.batch-panel span {
  color: var(--charcoal);
  font-weight: 900;
}

.chat-panel p {
  margin: 16px 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.45;
}

.chat-panel strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--charcoal);
}

.batch-panel {
  position: absolute;
  right: 10px;
  bottom: 18px;
  width: min(360px, 82%);
  display: grid;
  gap: 14px;
  padding: 24px;
}

.batch-panel div {
  height: 34px;
  border-radius: 6px;
  background: #ddd8cc;
  opacity: 1;
}

.batch-panel div:nth-child(3) {
  width: 78%;
}

.batch-panel div:nth-child(4) {
  width: 58%;
}

.systems-visual {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
}

.systems-visual span {
  min-height: 94px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
}

.systems-visual span:nth-child(8) {
  grid-column: span 2;
  color: #fff;
  background: var(--charcoal);
}

.trust-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
}

.trust-visual div {
  min-height: 150px;
  display: grid;
  align-content: end;
  padding: 20px;
  font-weight: 900;
}

.trust-visual div::before {
  content: "";
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #ddd8cc;
}

.channels-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: center;
}

.channel-card {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  color: #fff;
  background: var(--charcoal);
  font-weight: 900;
}

.channel-card:nth-child(even) {
  color: var(--ink);
  background: var(--panel);
}

.deployment-visual {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 24% 12%, rgba(248, 248, 247, 0.96), transparent 34%),
    linear-gradient(135deg, #f8f8f7, #f0f0ef);
  box-shadow: var(--shadow);
}

.deployment-art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 330px;
  overflow: hidden;
}

.deployment-art span {
  position: absolute;
  left: 14%;
  width: 96%;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8f8f7, #f0f0ef);
  box-shadow: 16px 18px 36px rgba(72, 67, 55, 0.12);
  transform: rotate(-34deg) skewX(-14deg);
}

.deployment-art span:nth-child(1) { top: 6%; }
.deployment-art span:nth-child(2) { top: 24%; left: 4%; }
.deployment-art span:nth-child(3) { top: 42%; left: -7%; }
.deployment-art span:nth-child(4) { top: 60%; left: -18%; }
.deployment-art span:nth-child(5) { top: 78%; left: -29%; }

.site-footer {
  margin-top: 36px;
  border-top: 1px solid rgba(30, 31, 26, 0.08);
  color: var(--muted);
  background: rgba(240, 240, 239, 0.36);
}

.footer-simple {
  width: min(1500px, calc(100% - 96px));
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 auto;
  font-size: 0.78rem;
}

.about-main {
  min-height: auto;
  padding: 104px max(158px, calc((100% - 1360px) / 2)) 30px;
  background: var(--paper);
}

.about-hero {
  max-width: 1280px;
  margin-bottom: 34px;
  text-align: center;
}

.eyebrow-logo {
  width: 52px;
  height: auto;
  display: block;
  margin: 0 auto 14px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0 auto;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.04;
  font-weight: 400;
}

.about-content {
  max-width: 1280px;
}

.about-block {
  display: none;
}

.about-content > p {
  margin: 0 0 36px;
  color: var(--ink);
  font-size: clamp(1.06rem, 1.42vw, 1.34rem);
  line-height: 1.58;
  font-weight: 400;
}

.about-content > p:last-of-type {
  margin-bottom: 0;
}

.about-main + .site-footer {
  margin-top: 0;
}

.about-content strong {
  font-weight: 900;
}

.about-content em {
  font-style: italic;
}

.card-grid {
  display: grid;
  gap: 28px;
  margin-top: 12px;
}

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

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

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes card-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  opacity: 0;
  animation: card-fade-up 560ms ease forwards;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.info-card:nth-child(1) { animation-delay: 60ms; }
.info-card:nth-child(2) { animation-delay: 160ms; }
.info-card:nth-child(3) { animation-delay: 260ms; }

.info-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.24rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  font-weight: 800;
}

.info-card > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.info-card h4 {
  margin: 28px 0 0;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benefit-list {
  display: grid;
  gap: 11px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
}

@media (max-width: 980px) {
  .plans-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
    justify-content: space-between;
    gap: 24px;
    padding: 0 clamp(18px, 5vw, 64px);
  }

  .nav-links {
    display: flex;
    gap: clamp(18px, 4vw, 34px);
    min-width: 0;
    font-size: 0.82rem;
  }

  .nav-links a:last-child {
    margin-left: auto;
    margin-right: 0;
  }

  .brand-logo {
    margin-left: 0;
  }

  .platform-menu-inner {
    width: min(760px, calc(100% - 48px));
  }

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

  .feature-panel,
  .data-section {
    grid-template-columns: 1fr;
  }

  .pipeline-box,
  .agent-icons,
  .wave-card,
  .summary-card,
  .chat-panel,
  .batch-panel {
    position: relative;
    inset: auto;
  }

  .pipeline-visual,
  .audio-visual,
  .process-visual {
    min-height: auto;
  }

  .pipeline-box {
    margin-top: 18px;
    width: 100%;
  }

  .agent-icons {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .summary-card {
    width: 92%;
    margin: -52px 0 0 auto;
  }

  .chat-panel,
  .batch-panel {
    width: 100%;
  }

  .batch-panel {
    margin-top: 18px;
  }

}

@media (max-width: 640px) {
  .site-header {
    top: 0;
    width: 100%;
    left: 0;
    min-height: 54px;
    gap: 14px;
    padding: 0 14px;
  }

  .brand-logo {
    width: 58px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.78rem;
  }

  .nav-trigger {
    gap: 6px;
  }

  .platform-menu-inner {
    width: calc(100% - 28px);
    gap: 34px;
    padding: 28px 0 36px;
  }

  .skills-grid,
  .core-grid {
    grid-template-columns: 1fr;
  }

  .ghost-link {
    display: none;
  }

  .button {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero-section {
    min-height: auto;
    padding: 96px 14px 54px;
  }

  .about-main {
    padding: 96px 14px 48px;
  }

  .about-hero h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .about-block {
    min-height: auto;
    padding: 0;
  }

  .hero-section h1 {
    width: min(100%, 350px);
    font-size: clamp(2.55rem, 11vw, 3rem);
    line-height: 1;
  }

  .hero-section h1 span::after {
    right: -26px;
    top: auto;
    bottom: -6px;
    width: 116px;
    height: 11px;
  }

  .hero-stage {
    margin-top: 34px;
  }

  .floorplan-app {
    grid-template-columns: 1fr;
    grid-template-rows: 34px 44px 270px;
    min-height: 348px;
  }

  .inspector-panel {
    display: none;
  }

  .tool-strip {
    gap: 9px;
  }

  .tool-strip span {
    width: 13px;
    height: 13px;
  }

  .plan-canvas {
    padding: 18px;
  }

  .room {
    font-size: 0.58rem;
  }

  .paper-plane {
    width: min(360px, calc(100vw - 28px));
    bottom: -92px;
  }

  .feature-panel,
  .data-section {
    width: calc(100% - 28px);
    scroll-margin-top: 78px;
  }

  .feature-panel {
    border-radius: 18px;
    padding: 42px 20px;
  }

  .data-section {
    padding: 76px 20px;
  }

  .feature-stack,
  .pipeline-button {
    width: 100%;
  }

  .pipeline-box span {
    width: 82%;
  }

  .wave-card {
    height: 240px;
  }

  .summary-card {
    width: 100%;
    margin-top: -36px;
  }

  .systems-visual,
  .trust-visual,
  .channels-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deployment-visual,
  .deployment-art {
    min-height: 240px;
  }

  .deployment-art span {
    height: 46px;
  }

  .footer-simple {
    width: calc(100% - 28px);
    min-height: 88px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (hover: hover) {
  .nav-links a:hover,
  .nav-links .nav-trigger:hover {
    color: var(--ink);
  }

  .nav-links a:hover::after,
  .nav-links .nav-trigger:hover::after {
    opacity: 0.5;
    transform: translateY(0);
  }

  .mega-item:hover {
    transform: translateX(4px);
  }

  .mega-item:hover strong {
    color: var(--violet);
  }

  .mega-item:hover .mega-arrow {
    border-color: var(--violet);
  }

  .info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(40, 37, 28, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .info-card,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
