:root {
  color-scheme: light;
  --paper: #f6f8f4;
  --paper-cool: #eaf1ec;
  --paper-warm: #f0eae0;
  --white: #ffffff;
  --ink: #13202b;
  --ink-soft: #47555f;
  --ink-faint: #6f7e89;
  --green: #0c8163;
  --green-bright: #14a87c;
  --green-dark: #063f2e;
  --green-soft: #d7efe5;
  --mint: #56cfa6;
  --amber: #c2560f;
  --amber-soft: #f7e0d0;
  --red: #c33025;
  --blue: #1f5386;
  --line: rgba(19, 32, 43, 0.15);
  --line-strong: rgba(19, 32, 43, 0.32);
  --shadow: 0 18px 42px rgba(14, 42, 53, 0.14);
  --shadow-lg: 0 30px 66px rgba(14, 42, 53, 0.2);
  --shadow-glow: 0 0 0 1px rgba(20, 168, 124, 0.14), 0 22px 46px rgba(12, 129, 99, 0.22);
  --ease-out: cubic-bezier(0.22, 0.61, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --wrap: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(20, 168, 124, 0.1), transparent 60%),
    radial-gradient(55% 45% at 92% 8%, rgba(31, 83, 134, 0.08), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--paper-cool));
}

/* highlighted keyword for skimmers */
.kw {
  color: var(--green-dark);
  font-weight: 800;
  background: linear-gradient(180deg, transparent 62%, rgba(86, 207, 166, 0.42) 62%);
  padding: 0 1px;
}

.fact-lead {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--green-bright);
  border-radius: 0 8px 8px 0;
  background: var(--green-soft);
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 650;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: 3.8rem;
}

h2 {
  font-size: 2.35rem;
}

h3 {
  font-size: 1.28rem;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--green);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid rgba(14, 122, 95, 0.55);
  outline-offset: 3px;
}

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: 28px;
}

.room-frame {
  position: fixed;
  inset: 14px;
  z-index: 40;
  pointer-events: none;
  border: 1px solid rgba(14, 122, 95, 0.18);
}

.section {
  padding: 84px 0;
}

.section-band {
  padding: 92px 0 70px;
}

.eyebrow {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-head {
  max-width: 650px;
}

.section-head h2 {
  margin-top: 12px;
}

.section-head p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, border-color 170ms ease;
}

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

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

.button-primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  box-shadow: 0 14px 28px rgba(12, 129, 99, 0.28);
}

.button-primary:hover {
  background: linear-gradient(180deg, var(--green-bright), var(--green-dark));
  box-shadow: 0 18px 38px rgba(12, 129, 99, 0.36);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  border-color: var(--green);
  box-shadow: 0 14px 28px rgba(20, 43, 54, 0.1);
}

.button-dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: var(--green-dark);
}

.button-light {
  color: var(--green-dark);
  background: var(--white);
}

.button-light:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 250, 247, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 650;
  white-space: nowrap;
}

.brand b {
  color: var(--green);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand-mark rect:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.brand-mark rect:nth-child(2) {
  fill: var(--green);
}

.brand-mark circle {
  fill: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch,
.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

.lang-switch button,
.segmented button,
.prompt-tabs button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.lang-switch button {
  min-width: 38px;
  padding: 6px 9px;
}

.segmented button {
  min-height: 32px;
  padding: 6px 12px;
}

.lang-switch button[aria-pressed="true"],
.segmented button[aria-pressed="true"],
.prompt-tabs button[aria-pressed="true"] {
  color: var(--white);
  background: var(--green);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-cta:hover {
  background: var(--green-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 760px;
  margin-top: 14px;
}

.hero-copy h1 span {
  display: block;
  color: var(--green);
}

.hero-lede {
  max-width: 600px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1.22rem;
  line-height: 1.5;
}

.hero-note {
  max-width: 590px;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--green);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero-visual {
  min-width: 0;
}

.boundary-demo {
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white), var(--paper-cool));
  box-shadow: var(--shadow);
}

.workflow-demo {
  overflow: hidden;
}

.demo-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.scenario-tabs button {
  min-height: 34px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
}

.scenario-tabs button[aria-pressed="true"] {
  color: var(--white);
  background: var(--green);
}

.workflow-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) 44px minmax(150px, 0.82fr);
  gap: 10px;
  min-height: 344px;
}

.workflow-room,
.workflow-cloud {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.workflow-room {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  gap: 12px;
  padding: 42px 14px 14px;
  border: 2px solid var(--green);
  background:
    radial-gradient(120% 80% at 50% 46%, rgba(86, 207, 166, 0.24), transparent 60%),
    linear-gradient(160deg, rgba(12, 129, 99, 0.13), rgba(255, 255, 255, 0.68));
}

.workflow-cloud {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  padding: 42px 12px 14px;
  border: 1px solid rgba(195, 48, 37, 0.3);
  background:
    radial-gradient(120% 70% at 62% 30%, rgba(195, 48, 37, 0.14), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(247, 224, 208, 0.7));
}

.zone-label {
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.cloud-label {
  color: var(--amber);
}

.doc-stack {
  display: grid;
  gap: 7px;
  align-content: start;
}

.output-stack {
  align-content: end;
}

.workflow-doc {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(24, 34, 46, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.workflow-doc i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(14, 122, 95, 0.1);
}

.workflow-doc.output {
  justify-self: end;
  color: var(--green-dark);
  border-color: rgba(14, 122, 95, 0.32);
  background: var(--green-soft);
}

.workflow-doc.cloud,
.workflow-doc.cloud-output-doc {
  color: #9a2b22;
  border-color: rgba(195, 48, 37, 0.34);
  background: #fdeee9;
}

.workflow-doc.cloud i,
.workflow-doc.cloud-output-doc i {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(195, 48, 37, 0.12);
}

.local-ai-core {
  position: relative;
  justify-self: center;
  align-self: center;
  display: grid;
  place-items: center;
  width: 142px;
  min-height: 106px;
  padding: 14px 12px;
  border: 1px solid rgba(12, 129, 99, 0.42);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 8px rgba(12, 129, 99, 0.08), var(--shadow);
  text-align: center;
  overflow: visible;
  z-index: 3;
}

.local-ai-core::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 2px solid rgba(20, 168, 124, 0.55);
  opacity: 0;
  pointer-events: none;
  animation: corePulse 3s ease-out infinite;
}

.core-lock {
  width: 30px;
  height: 30px;
  margin-bottom: 3px;
  fill: var(--green);
  color: var(--green);
}

.local-ai-core b,
.cloud-server b {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 0.9rem;
}

.local-ai-core small,
.cloud-server small {
  position: relative;
  z-index: 1;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

/* local loop: files fed into the core, results emitted out */
.feed {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 27px;
  margin: -13px 0 0 -11px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid rgba(12, 129, 99, 0.55);
  box-shadow: 0 6px 14px rgba(12, 129, 99, 0.24);
  z-index: 0;
}

.feed::before,
.feed::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  border-radius: 2px;
  background: rgba(12, 129, 99, 0.5);
}

.feed::before { top: 8px; }
.feed::after { top: 13px; right: 8px; }

.ingest { animation: ingestDrop 3s var(--ease-out) infinite; }
.ingest.i2 { animation-delay: 1.5s; }
.emit { animation: emitOut 3s var(--ease-out) infinite; }
.emit.o1 { animation-delay: 0.6s; }
.emit.o2 { animation-delay: 2.1s; }

.workflow-boundary {
  position: relative;
  display: grid;
  place-items: center;
  z-index: 2;
}

.workflow-boundary::before {
  content: "";
  width: 6px;
  height: 100%;
  border-radius: 999px;
  background: repeating-linear-gradient(180deg, var(--green) 0 12px, transparent 12px 22px);
  box-shadow: 0 0 0 6px rgba(12, 129, 99, 0.07), 0 0 16px rgba(20, 168, 124, 0.4);
}

.workflow-boundary span {
  position: absolute;
  transform: rotate(-90deg);
  padding: 3px 7px;
  border-radius: 5px;
  color: var(--green-dark);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cloud-server {
  display: grid;
  place-items: center;
  min-height: 66px;
  border: 1px solid rgba(195, 48, 37, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.cloud-docs {
  display: grid;
  gap: 7px;
  align-content: start;
}

.mag-lens {
  position: absolute;
  right: 18px;
  top: 98px;
  width: 46px;
  height: 46px;
  color: var(--red);
  filter: drop-shadow(0 4px 10px rgba(195, 48, 37, 0.4));
  animation: lensScan 4.5s ease-in-out infinite;
  z-index: 5;
  pointer-events: none;
}

.mag-lens svg { width: 100%; height: 100%; }

.cloud-output {
  align-self: end;
  justify-self: start;
}

/* cross-boundary loop: data leaves the room, gets inspected, returns marked */
.xflow {
  position: absolute;
  top: 46%;
  width: 20px;
  height: 25px;
  margin-top: -12px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid rgba(12, 129, 99, 0.55);
  box-shadow: 0 8px 16px rgba(20, 43, 54, 0.18);
  opacity: 0;
  z-index: 6;
}

.xflow::before,
.xflow::after {
  content: "";
  position: absolute;
  left: 4px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}

.xflow::before { right: 4px; top: 7px; }
.xflow::after { right: 8px; top: 12px; }

.xflow-out { color: var(--green); animation: xOut 5s ease-in-out infinite; }
.xflow-back { color: var(--red); animation: xBack 5s ease-in-out infinite; animation-delay: 2.4s; }

.workflow-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.workflow-legend div {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.green {
  background: var(--green);
}

.legend-dot.red {
  background: var(--red);
}

@keyframes ingestDrop {
  0% { transform: translateY(-92px) scale(0.92); opacity: 0; }
  15% { opacity: 1; }
  70% { transform: translateY(-8px) scale(0.5); opacity: 0.85; }
  85%, 100% { transform: translateY(0) scale(0.2); opacity: 0; }
}

@keyframes emitOut {
  0%, 22% { transform: translateY(2px) scale(0.3); opacity: 0; }
  36% { transform: translateY(10px) scale(0.6); opacity: 0.95; }
  100% { transform: translateY(92px) scale(0.92); opacity: 0; }
}

@keyframes corePulse {
  0% { opacity: 0; transform: scale(0.82); }
  40% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.16); }
}

@keyframes lensScan {
  0%, 100% { transform: translate(6px, -6px) rotate(-6deg); opacity: 0.82; }
  40% {
    transform: translate(-8px, 8px) rotate(4deg);
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(195, 48, 37, 0.6));
  }
}

@keyframes xOut {
  0% { left: 32%; opacity: 0; color: var(--green); border-color: rgba(12, 129, 99, 0.55); transform: scale(0.9); }
  8% { opacity: 1; }
  46% { left: 55%; color: var(--green); border-color: rgba(12, 129, 99, 0.55); }
  54% { left: 63%; color: var(--red); border-color: rgba(195, 48, 37, 0.6); }
  84% { left: 82%; opacity: 1; color: var(--red); border-color: rgba(195, 48, 37, 0.6); transform: scale(0.86); }
  92%, 100% { left: 84%; opacity: 0; }
}

@keyframes xBack {
  0% { left: 82%; opacity: 0; transform: scale(0.86); }
  10% { opacity: 1; }
  90% { left: 33%; opacity: 0.95; transform: scale(0.92); }
  100% { left: 31%; opacity: 0; }
}

.room-box {
  position: relative;
  min-height: 270px;
  padding: 40px 18px 16px;
  overflow: hidden;
  border: 2px solid var(--green);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(14, 122, 95, 0.12), rgba(14, 122, 95, 0.04) 58%, rgba(182, 83, 20, 0.08)),
    var(--green-soft);
}

.room-label {
  position: absolute;
  top: 12px;
  left: 16px;
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.room-node {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 275px);
  min-height: 44px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
}

.node-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(14, 122, 95, 0.45);
  animation: smallPulse 2.7s ease-out infinite;
}

.room-node b {
  margin-left: auto;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.boundary-track {
  position: relative;
  height: 116px;
  margin-top: 12px;
}

.leaving-doc {
  position: absolute;
  top: 38px;
  left: 14px;
  z-index: 3;
  width: 42px;
  height: 52px;
  padding: 9px 7px;
  border: 1px solid rgba(24, 34, 46, 0.2);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 12px 18px rgba(24, 34, 46, 0.16);
  animation: hitBoundary 4.8s cubic-bezier(0.35, 0.1, 0.2, 1) infinite;
}

.leaving-doc span {
  display: block;
  height: 3px;
  margin-bottom: 6px;
  border-radius: 99px;
  background: rgba(24, 34, 46, 0.32);
}

.leaving-doc span:first-child {
  width: 80%;
  background: var(--green);
}

.boundary-wall {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 63%;
  z-index: 2;
  width: 6px;
  border-radius: 99px;
  background: repeating-linear-gradient(180deg, var(--green), var(--green) 12px, rgba(14, 122, 95, 0.2) 12px, rgba(14, 122, 95, 0.2) 20px);
  box-shadow: 0 0 0 6px rgba(14, 122, 95, 0.08);
}

.boundary-wall span {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cloud-target {
  position: absolute;
  right: 10px;
  bottom: 32px;
  color: rgba(24, 34, 46, 0.46);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stop-badge {
  position: absolute;
  left: calc(63% - 46px);
  top: 12px;
  z-index: 4;
  padding: 3px 8px;
  border: 1px solid rgba(182, 83, 20, 0.3);
  border-radius: 999px;
  color: var(--amber);
  background: var(--amber-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0;
  text-transform: uppercase;
  animation: stopBadge 4.8s ease infinite;
}

@keyframes hitBoundary {
  0%,
  12% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.25;
  }
  22% {
    opacity: 1;
  }
  44% {
    transform: translate(196px, -1px) rotate(0deg);
    opacity: 1;
  }
  49% {
    transform: translate(185px, -1px) rotate(-4deg);
  }
  62% {
    transform: translate(92px, 20px) rotate(-8deg);
  }
  80% {
    transform: translate(24px, 16px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.25;
  }
}

@keyframes stopBadge {
  0%,
  39%,
  67%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
  44%,
  58% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes smallPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(14, 122, 95, 0.42);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(14, 122, 95, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.reasons-section {
  border-top: 1px solid var(--line);
}

.reason-list {
  margin-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.reason {
  border-bottom: 1px solid var(--line-strong);
}

.reason summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

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

.reason-index {
  color: var(--green);
  font-family: var(--mono);
  font-weight: 800;
}

.reason-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.15;
}

.reason-chev {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg);
  transition: transform 180ms ease, border-color 180ms ease;
}

.reason[open] .reason-chev {
  transform: rotate(225deg);
  border-color: var(--green);
}

.reason-body {
  max-width: 790px;
  padding: 0 0 34px 64px;
}

.reason-body > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.mini-tool {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(20, 43, 54, 0.08);
}

.tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.tool-head b {
  font-size: 1rem;
}

.mock-label,
.source-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--ink-faint);
  font-size: 0.74rem;
  font-weight: 750;
}

.source-label {
  border-style: solid;
  color: var(--green-dark);
  background: var(--green-soft);
}

.data-path {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 100px;
  padding: 10px;
  border-radius: 8px;
  background: var(--paper-cool);
  overflow: hidden;
}

.path-packet {
  position: absolute;
  top: 50%;
  left: 7%;
  z-index: 4;
  width: 30px;
  height: 38px;
  margin-top: -19px;
  padding: 7px 6px;
  border: 1px solid rgba(12, 129, 99, 0.5);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(20, 43, 54, 0.16);
  animation: pathLocal 3.4s ease-in-out infinite;
}

.path-packet span {
  display: block;
  height: 3px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(12, 129, 99, 0.5);
}

.path-packet span:first-child { margin-top: 0; }

.processing-wheel { display: none; }

.path-room,
.path-cloud {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  font-weight: 750;
}

.path-room {
  color: var(--green-dark);
  border-color: rgba(12, 129, 99, 0.4);
  background: var(--green-soft);
}

.path-cloud { color: var(--ink-faint); }

.path-gate {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82px;
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.path-gate::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: repeating-linear-gradient(180deg, var(--green) 0 8px, transparent 8px 15px);
}

.boundary-choice[data-mode="local"] .path-room { animation: zoneWork 2.6s ease-in-out infinite; }

.boundary-choice[data-mode="cloud"] .path-room {
  color: var(--red);
  border-color: rgba(195, 48, 37, 0.4);
  background: #fdeee9;
}

.boundary-choice[data-mode="cloud"] .path-cloud {
  color: var(--red);
  border-color: rgba(195, 48, 37, 0.4);
  animation: zoneWorkRed 2.6s ease-in-out infinite;
}

.boundary-choice[data-mode="cloud"] .path-gate { color: var(--red); }

.boundary-choice[data-mode="cloud"] .path-gate::before {
  background: repeating-linear-gradient(180deg, var(--red) 0 8px, transparent 8px 15px);
}

.boundary-choice[data-mode="cloud"] .path-packet {
  border-color: rgba(195, 48, 37, 0.5);
  animation-name: pathCloud;
  animation-duration: 3.8s;
}

.boundary-choice[data-mode="cloud"] .path-packet span { background: rgba(195, 48, 37, 0.5); }

@keyframes pathLocal {
  0% { left: 7%; opacity: 0.65; }
  34% { left: 34%; opacity: 1; }
  45% { left: 29%; }
  58% { left: 34%; opacity: 1; }
  100% { left: 7%; opacity: 0.65; }
}

@keyframes pathCloud {
  0% { left: 7%; opacity: 0.7; }
  42% { left: 45%; opacity: 1; }
  56% { left: 55%; }
  86%, 100% { left: 78%; opacity: 0.92; }
}

@keyframes zoneWork {
  0%, 100% { box-shadow: 0 0 0 0 rgba(12, 129, 99, 0); }
  50% { box-shadow: 0 0 0 4px rgba(12, 129, 99, 0.14); }
}

@keyframes zoneWorkRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(195, 48, 37, 0); }
  50% { box-shadow: 0 0 0 4px rgba(195, 48, 37, 0.16); }
}

.tool-result {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.fact-grid div {
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.fact-grid b {
  display: block;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.1;
}

.usecase-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.usecase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.usecase-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* privacy mode cards are styled via .mode-cards below */

.usecase-cards span,
.regulation-cards b,
.privacy-modes b {
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.usecase-cards b {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 1rem;
}

.usecase-cards p,
.privacy-modes p,
.regulation-cards p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.fact-grid span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.42;
}

.range-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
}

.range-row input {
  accent-color: var(--green);
}

.cost-bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.cost-line {
  --bar: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-cool);
  font-weight: 750;
}

.cost-line::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: var(--bar);
  background: rgba(14, 122, 95, 0.14);
}

.cloud-line::before {
  background: rgba(182, 83, 20, 0.14);
}

.cost-line span,
.cost-line b {
  position: relative;
  z-index: 1;
}

.kill-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(195, 48, 37, 0.5);
  border-radius: 999px;
  color: var(--red);
  background: linear-gradient(180deg, #ffffff, #fdeee9);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.16s var(--ease-spring), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  animation: killGlow 2.2s ease-in-out infinite;
}

.kill-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 26px rgba(195, 48, 37, 0.3); }
.kill-btn:active { transform: scale(0.93); }

.kill-ico {
  position: relative;
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  border: 2.5px solid currentColor;
}

.kill-ico::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 2.5px;
  height: 8px;
  border-radius: 2px;
  background: currentColor;
  transform: translateX(-50%);
}

.kill-tool[data-cut="true"] .kill-btn {
  color: var(--green-dark);
  border-color: rgba(12, 129, 99, 0.5);
  background: linear-gradient(180deg, #ffffff, var(--green-soft));
  animation: none;
}

@keyframes killGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(195, 48, 37, 0.34); }
  50% { box-shadow: 0 0 0 8px rgba(195, 48, 37, 0); }
}

.kill-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kill-panel {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-cool);
}

.kp-title {
  display: block;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kp-flow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  margin: 14px 0 12px;
}

.kp-doc {
  position: relative;
  width: 22px;
  height: 27px;
  flex: none;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 0 4px 10px rgba(20, 43, 54, 0.1);
}

.kp-doc::before,
.kp-doc::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-faint);
  opacity: 0.5;
}

.kp-doc::before { top: 8px; }
.kp-doc::after { top: 13px; right: 8px; }

.kp-link {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 12px);
}

.kp-link::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(20, 168, 124, 0.7);
  animation: kpTravel 1.6s linear infinite;
}

.cloud-panel .kp-link { background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 12px); }
.cloud-panel .kp-link::after { background: var(--blue); box-shadow: 0 0 8px rgba(31, 83, 134, 0.6); }

.kp-brain {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
}

.kp-brain svg { width: 22px; height: 22px; }

.local-brain {
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(12, 129, 99, 0.4);
  animation: kpWork 1.3s ease-in-out infinite;
}

.cloud-brain {
  color: var(--blue);
  background: rgba(31, 83, 134, 0.12);
  border: 1px solid rgba(31, 83, 134, 0.35);
  animation: kpWork 1.3s ease-in-out infinite;
}

.kp-status {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 750;
}

.kp-status.local { background: var(--green); }

.kp-note {
  margin-top: 11px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.kill-tool[data-cut="true"] .cloud-panel {
  border-color: rgba(195, 48, 37, 0.45);
  background: repeating-linear-gradient(45deg, #faf0ee, #faf0ee 9px, #f4e2df 9px, #f4e2df 18px);
  animation: cutFlash 0.55s ease;
}

.kill-tool[data-cut="true"] .cloud-panel .kp-link { background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 12px); }
.kill-tool[data-cut="true"] .cloud-panel .kp-link::after { display: none; }

.kill-tool[data-cut="true"] .cloud-panel .kp-link::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 3px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(195, 48, 37, 0.16);
}

.kill-tool[data-cut="true"] .cloud-brain {
  color: var(--red);
  background: #fdeee9;
  border-color: rgba(195, 48, 37, 0.5);
  animation: kpError 0.4s ease-in-out 3;
}

.kill-tool[data-cut="true"] .cloud-panel .kp-status { background: var(--red); }
.kill-tool[data-cut="true"] .cloud-panel .kp-doc { opacity: 0.45; }
.kill-tool[data-cut="true"] .local-brain { box-shadow: 0 0 0 5px rgba(12, 129, 99, 0.14); }

@keyframes kpTravel {
  0% { left: -10px; opacity: 0; }
  20% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 4px); opacity: 0; }
}

@keyframes kpWork {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.06); }
}

@keyframes kpError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

@keyframes cutFlash {
  0% { box-shadow: inset 0 0 0 2px rgba(195, 48, 37, 0.6); }
  100% { box-shadow: inset 0 0 0 0 rgba(195, 48, 37, 0); }
}

.prompt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.prompt-tabs button {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  background: var(--white);
}

.answer-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-cool);
}

.answer-box .prompt {
  color: var(--ink);
  font-weight: 750;
}

.answer-box .answer {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--green);
  color: var(--ink-soft);
}

.refusal-tool[data-mode="cloud"] .answer-box .answer {
  border-left-color: var(--amber);
  color: #7c441d;
}

.chart-tabs {
  margin-bottom: 14px;
}

.mock-chart {
  margin: 0;
}

.mock-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7f8f5);
}

.chart-grid path {
  fill: none;
  stroke: rgba(24, 34, 46, 0.15);
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line-b {
  stroke: var(--blue);
  opacity: 0.38;
}

.chart-dots circle {
  fill: var(--green);
  cursor: pointer;
  outline: none;
  stroke: var(--white);
  stroke-width: 2;
  transition: r 0.18s ease, filter 0.18s ease;
}

.chart-dots circle:hover,
.chart-dots circle:focus {
  r: 6;
  filter: drop-shadow(0 0 8px rgba(14, 122, 95, 0.35));
}

.chart-readout {
  display: grid;
  gap: 4px;
  min-height: 82px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-soft);
}

.chart-readout b,
.chart-readout small {
  color: var(--ink);
}

.chart-readout span {
  display: block;
}

.chart-readout small {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mock-chart figcaption {
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.ch-grid { stroke: rgba(19, 32, 43, 0.09); stroke-width: 1; }
.ch-axis { stroke: rgba(19, 32, 43, 0.26); stroke-width: 1.2; }
.ch-ytick,
.ch-xtick {
  fill: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
}
.ch-area { fill: rgba(20, 168, 124, 0.12); }
.ch-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ch-dot {
  fill: var(--green);
  stroke: var(--white);
  stroke-width: 2;
  cursor: pointer;
  outline: none;
  transition: r 0.15s ease;
}
.ch-dot.active {
  r: 5.5;
  filter: drop-shadow(0 0 6px rgba(20, 168, 124, 0.6));
}
.ch-cross-line {
  stroke: var(--green);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0.45;
}

.product-section {
  background: linear-gradient(180deg, rgba(14, 122, 95, 0.05), rgba(33, 79, 122, 0.04));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 38px;
  align-items: start;
}

.price-builder {
  display: grid;
  gap: 14px;
}

.builder-card,
.builder-total,
.hardware-picker button {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
}

.builder-card,
.builder-total {
  padding: 18px;
  box-shadow: 0 16px 34px rgba(20, 43, 54, 0.08);
}

.builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.builder-head span,
.builder-total span {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.builder-head b,
.builder-total b {
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.builder-card p,
.builder-total p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.hardware-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hardware-picker button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 13px 14px;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.hardware-picker button:hover {
  transform: translateY(-1px);
}

.hardware-picker button[aria-checked="true"] {
  color: var(--ink);
  border-color: rgba(14, 122, 95, 0.48);
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px rgba(14, 122, 95, 0.12);
}

.hardware-picker span {
  font-weight: 820;
}

.hardware-picker b {
  color: var(--green-dark);
  font-size: 0.92rem;
  white-space: nowrap;
}

.builder-total {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(14, 122, 95, 0.32), transparent 52%),
    var(--ink);
}

.builder-total span,
.builder-total p {
  color: rgba(255, 255, 255, 0.72);
}

.builder-total b {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 2.8rem;
}

.nested-pricing {
  grid-row: span 2;
}

.price-set {
  position: relative;
  padding: 24px;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}

.price-set h3 {
  margin-right: 100px;
}

.price-set p {
  max-width: 520px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.price-set + .price-set,
.price-set .price-set {
  margin-top: 18px;
}

.premium-set {
  border-color: rgba(33, 79, 122, 0.35);
  background: rgba(33, 79, 122, 0.08);
}

.recommended-set {
  border-color: rgba(14, 122, 95, 0.42);
  background: rgba(14, 122, 95, 0.1);
}

.base-set {
  background: rgba(255, 255, 255, 0.82);
}

.software-set {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--ink);
}

.software-set p {
  color: rgba(255, 255, 255, 0.78);
}

.set-price {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-weight: 850;
}

.premium-set > .set-price {
  background: var(--blue);
}

.base-set > .set-price {
  background: var(--ink);
}

.software-set > .set-price {
  color: var(--ink);
  background: var(--white);
}

.pricing-notes {
  align-self: end;
}

.note-callout {
  padding: 18px;
  border: 1px solid rgba(14, 122, 95, 0.28);
  border-radius: 8px;
  background: var(--green-soft);
}

.note-callout b {
  display: block;
}

.note-callout p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.plain-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.plain-list li {
  position: relative;
  padding-left: 22px;
}

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

.software-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  margin-top: 34px;
}

.pill-rail {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pill-rail button {
  min-height: 46px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  font-weight: 780;
}

.pill-rail button[aria-selected="true"] {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.software-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.software-panel h3,
.software-panel p,
.software-panel .panel-foot {
  grid-column: 2;
}

.software-panel h3 {
  align-self: end;
  font-size: 1.9rem;
}

.software-panel p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.panel-foot {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.product-window {
  grid-row: 1 / span 3;
  width: 100%;
  min-height: 230px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 122, 95, 0.35), transparent 38%),
    #111821;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 24px 42px rgba(17, 24, 33, 0.18);
}

.window-top {
  display: flex;
  gap: 6px;
}

.window-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
}

.window-line {
  width: 65%;
  height: 9px;
  margin-top: 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.window-line.wide {
  width: 88%;
  margin-top: 24px;
  background: rgba(87, 202, 166, 0.45);
}

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

.window-grid span {
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.app-chat {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.chat-line {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.chat-line.user {
  width: 72%;
  justify-self: end;
  background: rgba(255, 255, 255, 0.24);
}

.chat-line.ai {
  width: 88%;
  background: rgba(87, 202, 166, 0.48);
}

.chat-line.file {
  width: 54%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.privacy-chip,
.disk-base,
.roadmap-note {
  display: inline-flex;
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green-soft);
  background: rgba(14, 122, 95, 0.42);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
}

.agent-flow,
.mobile-flow {
  position: relative;
  min-height: 200px;
}

.agent-core,
.tool-node,
.pc-box,
.phone-box,
.internet-wall,
.red-internet {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 850;
}

.agent-core {
  inset: 62px auto auto 50%;
  width: 92px;
  height: 76px;
  color: var(--white);
  background: var(--green);
  transform: translateX(-50%);
  box-shadow: 0 0 0 8px rgba(14, 122, 95, 0.16);
}

.tool-node {
  width: 78px;
  height: 48px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.node-file {
  top: 12px;
  left: 10px;
}

.node-mail {
  right: 10px;
  top: 22px;
}

.node-approve {
  bottom: 10px;
  left: 50%;
  color: var(--ink);
  background: #f4c36d;
  transform: translateX(-50%);
}

.flow-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(87, 202, 166, 0.78), transparent);
  transform-origin: left center;
}

.line-a {
  top: 68px;
  left: 75px;
  width: 90px;
  transform: rotate(26deg);
}

.line-b {
  top: 76px;
  right: 76px;
  width: 88px;
  transform: rotate(150deg);
}

.line-c {
  bottom: 56px;
  left: calc(50% - 3px);
  width: 54px;
  transform: rotate(90deg);
}

.model-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.model-stack span {
  display: block;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 820;
}

.model-stack span:nth-child(2) {
  margin-left: 18px;
}

.model-stack span:nth-child(3) {
  margin-left: 36px;
  background: rgba(14, 122, 95, 0.28);
}

.disk-base {
  margin-top: 16px;
}

.pc-box {
  left: 8px;
  top: 70px;
  width: 92px;
  height: 70px;
  color: var(--green-soft);
  border: 1px solid rgba(87, 202, 166, 0.38);
  background: rgba(14, 122, 95, 0.22);
  font-size: 0.78rem;
  text-align: center;
}

.phone-box {
  left: 148px;
  top: 50px;
  width: 54px;
  height: 96px;
  border: 2px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.phone-box::after {
  content: "";
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transform: translateY(38px);
}

.safe-stream {
  position: absolute;
  left: 98px;
  top: 100px;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(87, 202, 166, 0.95), rgba(87, 202, 166, 0.95) 8px, transparent 8px, transparent 14px);
}

.internet-wall {
  right: 78px;
  top: 24px;
  width: 7px;
  height: 150px;
  border-radius: 999px;
  color: transparent;
  background: var(--green);
}

.red-internet {
  right: 0;
  top: 48px;
  width: 66px;
  height: 96px;
  color: #fff2e9;
  border: 1px solid rgba(182, 83, 20, 0.52);
  background:
    linear-gradient(135deg, rgba(182, 83, 20, 0.95), rgba(126, 31, 28, 0.92));
  font-size: 0.74rem;
}

.roadmap-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 158px;
}

.roadmap-flow span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  font-weight: 850;
}

.roadmap-flow b {
  color: var(--green-soft);
  font-size: 1.3rem;
}

.roadmap-note {
  margin-inline: auto;
}

/* ===== Software tab visualizers (render inside the dark product-window) ===== */
.sv {
  color: #e9eff0;
  font-size: 0.86rem;
  animation: svIn 0.42s var(--ease-out) both;
}

@keyframes svIn {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

/* App: chat mock */
.sv-app { display: grid; gap: 11px; }
.sv-winbar { display: flex; align-items: center; gap: 6px; }
.sv-winbar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.sv-winbar i:first-child { background: #ef6f5e; }
.sv-winbar i:nth-child(2) { background: #f4c36d; }
.sv-winbar i:nth-child(3) { background: #6fd39b; }
.sv-winbar em {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.sv-chat { display: grid; gap: 9px; }
.sv-bubble { max-width: 94%; padding: 9px 12px; border-radius: 13px; line-height: 1.42; }
.sv-bubble.user {
  justify-self: end;
  border-bottom-right-radius: 4px;
  color: #06251c;
  background: linear-gradient(180deg, var(--mint), #46bd93);
  font-weight: 600;
}
.sv-bubble.ai {
  justify-self: start;
  border-bottom-left-radius: 4px;
  color: #e9eff0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sv-bubble.ai p { margin: 0; }
.sv-attach {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
}
.sv-attach .sv-ic { width: 16px; height: 16px; color: var(--mint); }
.sv-attach b {
  margin-left: 2px;
  padding: 2px 6px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: #06251c;
  background: var(--mint);
}
.sv-caret {
  display: inline-block;
  width: 6px;
  height: 0.95em;
  margin-left: 3px;
  vertical-align: -1px;
  background: var(--mint);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.sv-privacy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 168, 124, 0.16);
  border: 1px solid rgba(20, 168, 124, 0.32);
  color: #bfeeda;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.sv-pdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: smallPulse 2.4s ease-out infinite;
}

/* Agent: animated run */
.sv-agent { display: grid; gap: 7px; align-content: start; }
.sv-step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0;
  animation: agentStep 8s var(--ease-out) infinite;
}
.sv-step p { margin: 0; }
.sv-agent .s1 { animation-delay: 0s; }
.sv-agent .s2 { animation-delay: 0.8s; }
.sv-agent .s3 { animation-delay: 1.7s; }
.sv-agent .s4 { animation-delay: 2.7s; }
.sv-agent .s5 { animation-delay: 3.9s; }
.sv-agent .s6 { animation-delay: 4.7s; }
.sv-agent .s7 { animation-delay: 5.5s; }
.sv-tag {
  padding: 3px 7px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #06251c;
  background: var(--mint);
}
.sv-plan { color: #cfe0dd; }
.sv-orb {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(86, 207, 166, 0.28);
  border-top-color: var(--mint);
  animation: spin 0.9s linear infinite;
}
.sv-grab { flex-wrap: wrap; }
.sv-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}
.sv-chip .sv-ic { width: 14px; height: 14px; color: var(--mint); }
.sv-churn i {
  width: 5px;
  height: 15px;
  border-radius: 3px;
  background: var(--mint);
  animation: churn 0.9s ease-in-out infinite;
}
.sv-churn i:nth-child(2) { animation-delay: 0.1s; }
.sv-churn i:nth-child(3) { animation-delay: 0.2s; }
.sv-churn i:nth-child(4) { animation-delay: 0.3s; }
.sv-churn i:nth-child(5) { animation-delay: 0.4s; }
.sv-churn em {
  margin-left: 4px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cfe0dd;
}
.sv-ok {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  color: var(--mint);
  background: rgba(20, 168, 124, 0.2);
  border: 1px solid rgba(20, 168, 124, 0.45);
}
.sv-ok .sv-ic { width: 14px; height: 14px; }
@keyframes agentStep {
  0%, 4% { opacity: 0; transform: translateY(9px); }
  12% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes churn {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; }
  50% { transform: scaleY(1.1); opacity: 1; }
}

/* Models */
.sv-models { display: grid; gap: 8px; align-content: start; }
.sv-model {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sv-model b { color: #eef4f2; font-size: 0.9rem; }
.sv-model span {
  grid-column: 1;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.56);
}
.sv-model em {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  padding: 3px 9px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.72rem;
  color: #cfe0dd;
  background: rgba(255, 255, 255, 0.08);
}
.sv-model.hot { border-color: rgba(20, 168, 124, 0.5); background: rgba(20, 168, 124, 0.14); }
.sv-model.hot em { color: #06251c; background: var(--mint); font-weight: 700; }
.sv-drive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 0;
  font-family: var(--mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.58);
}
.sv-drive-ico {
  width: 22px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 3px, transparent 3px 6px);
}

/* Mobile: phone <-> box */
.sv-mobile {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 196px;
}
.sv-node { display: grid; place-items: center; gap: 9px; }
.sv-pc-scr {
  position: relative;
  width: 94px;
  height: 68px;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid rgba(86, 207, 166, 0.5);
  background: rgba(20, 168, 124, 0.16);
}
.sv-pc-scr::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 4px;
  background: linear-gradient(120deg, transparent 30%, rgba(86, 207, 166, 0.55) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: pcThink 2.6s linear infinite;
}
.sv-node em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}
.sv-wire {
  position: relative;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 6px, transparent 6px 12px);
}
.sv-pkt {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 15px;
  margin-top: -7px;
  border-radius: 3px;
}
.sv-pkt.out { background: var(--mint); animation: pktOut 3.4s ease-in-out infinite; }
.sv-pkt.back { background: #9fd8c4; animation: pktBack 3.4s ease-in-out infinite; }
.sv-phone {
  position: relative;
  justify-self: center;
  width: 56px;
  height: 100px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}
.sv-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}
.sv-phone-bubble {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  height: 15px;
  border-radius: 6px;
  background: rgba(86, 207, 166, 0.35);
  opacity: 0;
  animation: phoneMsg 3.4s ease-in-out infinite;
}
.sv-ping {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-bright);
  opacity: 0;
  animation: phonePing 3.4s ease-in-out infinite;
}
.sv-mobile-cap {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}
@keyframes pcThink { to { background-position: -220% 0; } }
@keyframes pktOut {
  0% { left: 2px; opacity: 0; }
  12% { opacity: 1; }
  44% { left: 62px; opacity: 1; }
  52%, 100% { left: 64px; opacity: 0; }
}
@keyframes pktBack {
  0%, 50% { left: 62px; opacity: 0; }
  60% { opacity: 1; }
  92% { left: 2px; opacity: 1; }
  100% { left: 0; opacity: 0; }
}
@keyframes phoneMsg {
  0%, 52% { opacity: 0; transform: translateY(4px); }
  64% { opacity: 1; transform: none; }
  94% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes phonePing {
  0%, 55% { opacity: 0; transform: scale(0.5); box-shadow: 0 0 0 0 rgba(20, 168, 124, 0.5); }
  64% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 3px rgba(20, 168, 124, 0.35); }
  80% { box-shadow: 0 0 0 9px rgba(20, 168, 124, 0); }
  100% { opacity: 0.85; box-shadow: 0 0 0 0 rgba(20, 168, 124, 0); }
}

/* Roadmap: today vs planned */
.sv-roadmap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 200px;
}
.sv-rail { display: grid; gap: 7px; }
.sv-rail span {
  display: grid;
  place-items: center;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 8px;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.sv-rail .now { color: #06251c; background: var(--mint); }
.sv-rail .soon {
  color: rgba(255, 255, 255, 0.62);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}
.sv-hub {
  position: relative;
  display: grid;
  place-items: center;
  gap: 3px;
  width: 84px;
  height: 84px;
  border-radius: 16px;
  border: 1px solid rgba(86, 207, 166, 0.5);
  background: rgba(20, 168, 124, 0.16);
  box-shadow: 0 0 0 6px rgba(20, 168, 124, 0.08);
}
.sv-hub .sv-ic { width: 30px; height: 30px; color: var(--mint); }
.sv-hub b {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: #cfe0dd;
}
.sv-hub::before,
.sv-hub::after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -6px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid rgba(86, 207, 166, 0.7);
  animation: arrowPulse 2s ease-in-out infinite;
}
.sv-hub::before { left: -15px; }
.sv-hub::after { right: -15px; }
.sv-road-legend {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}
.sv-road-legend .k { width: 10px; height: 10px; border-radius: 3px; }
.sv-road-legend .k.now { background: var(--mint); }
.sv-road-legend .k.soon { border: 1px dashed rgba(255, 255, 255, 0.4); }
@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(3px); }
}

.capability-section {
  background:
    linear-gradient(180deg, rgba(33, 79, 122, 0.06), rgba(14, 122, 95, 0.05)),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(520px, 1fr);
  gap: 34px;
  align-items: start;
}

.capability-matrix {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.25fr) repeat(3, minmax(82px, 0.52fr));
  align-items: center;
  min-height: 58px;
  border-top: 1px solid var(--line);
}

.matrix-row:first-child {
  border-top: 0;
}

.matrix-row > * {
  padding: 12px;
}

.matrix-head {
  color: var(--ink-faint);
  background: var(--paper-cool);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.matrix-row > span:first-child {
  color: var(--ink);
  font-weight: 780;
}

.matrix-row b {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--white);
}

.matrix-row b svg {
  width: 15px;
  height: 15px;
  display: block;
}

.matrix-row .yes {
  background: var(--green);
}

.matrix-row .warn {
  color: var(--ink);
  background: #f4c36d;
}

.matrix-row .no {
  background: var(--ink-faint);
}

.privacy-modes {
  grid-column: 2;
  display: grid;
  gap: 16px;
}

.spectrum {
  padding: 15px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(20, 43, 54, 0.06);
}

.spectrum-ends {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.spectrum-ends span:first-child { color: var(--green-dark); }
.spectrum-ends span:last-child { color: var(--amber); }

.spectrum-track {
  position: relative;
  height: 8px;
  margin: 0 8px 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 50%, var(--amber) 100%);
}

.spectrum-node {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.spectrum-node i {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(20, 43, 54, 0.28);
}

.spectrum-node > span {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.n-local { left: 8%; }
.n-local i { background: var(--green); }
.n-local > span { left: 0; transform: none; }
.n-venice { left: 50%; }
.n-venice i { background: var(--blue); }
.n-open { left: 92%; }
.n-open i { background: var(--amber); }
.n-open > span { left: auto; right: 0; transform: none; }

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

.mode-cards .mode {
  padding: 15px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(20, 43, 54, 0.07);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.mode-cards .mode:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mode-cards .mode.venice { border-top-color: var(--blue); }
.mode-cards .mode.open { border-top-color: var(--amber); }

.mode-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mode-cards .mode.local .mode-tag { color: var(--green-dark); background: var(--green-soft); }
.mode-cards .mode.venice .mode-tag { color: #14456f; background: rgba(31, 83, 134, 0.12); }
.mode-cards .mode.open .mode-tag { color: #8a3d0b; background: var(--amber-soft); }

.mode-cards .mode b {
  display: block;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.mode-cards .mode p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.demo-section {
  background: var(--paper-cool);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: center;
}

.video-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(14, 122, 95, 0.45), transparent 40%),
    linear-gradient(45deg, #111821, #233242);
}

.video-slot::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}

.video-slot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d141b;
}

.video-slot > span {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.play-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 12px rgba(14, 122, 95, 0.22);
}

.play-dot::after {
  content: "";
  position: relative;
  display: block;
  top: 22px;
  left: 28px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid var(--white);
}

.video-slot p {
  position: absolute;
  top: 58px;
  left: 22px;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 44px);
  padding: 5px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(17, 24, 33, 0.48);
  backdrop-filter: blur(10px);
  font-weight: 650;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.portrait-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 122, 95, 0.18), rgba(33, 79, 122, 0.1)),
    var(--white);
  box-shadow: var(--shadow);
}

.portrait-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.portrait-placeholder figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 24, 33, 0.68);
  backdrop-filter: blur(10px);
  font-size: 0.88rem;
  font-weight: 750;
}

.portrait-placeholder span {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border: 2px solid rgba(14, 122, 95, 0.28);
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--green-soft);
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 650;
}

.portrait-placeholder b {
  margin-top: 16px;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.about-copy h2 {
  margin-top: 12px;
}

.about-copy p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.about-facts span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 700;
}

.founding-band {
  padding: 54px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(14, 122, 95, 0.95), rgba(8, 75, 58, 0.95)),
    var(--green-dark);
}

.founding-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.3fr);
  gap: 24px;
  align-items: center;
}

.founding-inner .eyebrow {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.72);
}

.founding-inner h2 {
  color: var(--white);
}

.founding-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.regulation-section {
  background: linear-gradient(180deg, var(--white), var(--paper));
}

.regulation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1fr);
  gap: 36px;
  align-items: start;
}

.regulation-cards {
  display: grid;
  gap: 12px;
}

.regulation-cards article {
  border-left: 4px solid var(--green);
}

.faq-section {
  background: var(--paper-cool);
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.faq-list details {
  position: relative;
  min-height: 82px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(20, 43, 54, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(14, 122, 95, 0.34);
  box-shadow: 0 20px 42px rgba(20, 43, 54, 0.1);
  transform: translateY(-1px);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 18px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-family: var(--mono);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.faq-list details[open] summary::after {
  color: var(--white);
  background: var(--green);
  transform: rotate(45deg);
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--ink-soft);
}

/* ===== interaction polish ===== */
.pill-rail button,
.scenario-tabs button,
.segmented button,
.prompt-tabs button,
.hardware-picker button,
.chart-tabs button,
.lang-switch button {
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.14s var(--ease-out);
}

.pill-rail button:hover,
.scenario-tabs button:hover,
.prompt-tabs button:hover {
  color: var(--green-dark);
}

.pill-rail button[aria-selected="true"] {
  box-shadow: 0 8px 18px rgba(12, 129, 99, 0.28);
}

.pill-rail button:active,
.scenario-tabs button:active,
.segmented button:active,
.prompt-tabs button:active,
.chart-tabs button:active {
  transform: scale(0.96);
}

.reason-title {
  transition: color 0.2s ease;
}

.reason summary:hover .reason-title {
  color: var(--green-dark);
}

.reason summary:hover .reason-chev {
  border-color: var(--green);
}

.fact-grid div {
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.fact-grid div:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 43, 54, 0.1);
}

.answer-box {
  transition: border-color 0.2s ease;
}

.contact-section {
  padding: 86px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 34, 46, 0.92), rgba(8, 75, 58, 0.92)),
    var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 42px;
  align-items: start;
}

.contact-copy .eyebrow {
  color: #9fd8c4;
}

.contact-copy h2 {
  margin-top: 12px;
  color: var(--white);
}

.contact-copy > p {
  max-width: 580px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.contact-details {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-top: 26px;
}

.contact-details div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-details span {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-details b {
  text-align: right;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.2);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 18, 24, 0.42);
}

.contact-form input,
.contact-form select {
  min-height: 44px;
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 140px;
  padding: 12px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.contact-form select option {
  color: var(--ink);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  min-height: 46px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.contact-form button[aria-busy="true"] {
  opacity: 0.72;
  cursor: wait;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-faint);
  font-size: 0.86rem;
}

.footer-brand {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .usecase-grid,
  .product-grid,
  .capability-layout,
  .demo-grid,
  .about-grid,
  .regulation-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .nested-pricing {
    grid-row: auto;
  }

  .software-layout {
    grid-template-columns: 1fr;
  }

  .pill-rail {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .pill-rail button {
    text-align: center;
  }

  .price-builder {
    max-width: 720px;
  }

  .privacy-modes {
    grid-column: 1;
  }

  .founding-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wrap {
    padding-inline: 18px;
  }

  .room-frame {
    inset: 8px;
  }

  .section,
  .section-band {
    padding: 64px 0;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .nav-inner {
    gap: 12px;
  }

  .nav-cta {
    display: none;
  }

  .brand {
    font-size: 1.08rem;
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .room-box {
    min-height: 250px;
  }

  @keyframes hitBoundary {
    0%,
    12% {
      transform: translate(0, 0) rotate(0deg);
      opacity: 0.25;
    }
    44% {
      transform: translate(112px, -1px) rotate(0deg);
      opacity: 1;
    }
    49% {
      transform: translate(104px, -1px) rotate(-4deg);
    }
    62% {
      transform: translate(54px, 20px) rotate(-8deg);
    }
    100% {
      transform: translate(0, 0) rotate(0deg);
      opacity: 0.25;
    }
  }

  .reason summary {
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    gap: 10px;
  }

  .reason-body {
    padding-left: 0;
  }

  .tool-head,
  .contact-details div {
    align-items: flex-start;
    flex-direction: column;
  }

  .scenario-tabs,
  .workflow-stage,
  .privacy-modes,
  .mode-cards,
  .kill-stage,
  .fact-grid,
  .faq-list,
  .software-panel {
    grid-template-columns: 1fr;
  }

  .workflow-stage {
    min-height: 0;
  }

  .workflow-boundary {
    min-height: 46px;
  }

  .workflow-boundary::before {
    width: 100%;
    height: 7px;
    background: repeating-linear-gradient(90deg, var(--green), var(--green) 14px, rgba(14, 122, 95, 0.18) 14px, rgba(14, 122, 95, 0.18) 23px);
  }

  .workflow-boundary span {
    transform: none;
  }

  .xflow {
    display: none;
  }

  .workflow-cloud {
    min-height: 250px;
  }

  .mag-lens {
    top: auto;
    bottom: 14px;
    right: 14px;
  }

  .capability-matrix {
    overflow-x: auto;
  }

  .matrix-row {
    min-width: 620px;
  }

  .hardware-picker {
    grid-template-columns: 1fr;
  }

  .builder-total b {
    font-size: 2.25rem;
  }

  .path-packet {
    top: 34px;
    left: 28px;
  }

  .path-gate {
    min-height: 42px;
    border-left: 0;
    border-top: 4px solid var(--green);
  }

  .software-panel h3,
  .software-panel p,
  .software-panel .panel-foot,
  .product-window {
    grid-column: 1;
  }

  .product-window {
    grid-row: auto;
    min-height: 260px;
  }

  .red-internet {
    width: 58px;
    font-size: 0.68rem;
  }

  .internet-wall {
    right: 66px;
  }

  .video-slot {
    min-height: 260px;
  }

  .video-slot p {
    font-size: 0.82rem;
  }

  .price-set {
    padding: 18px;
  }

  .price-set h3 {
    margin-right: 0;
    padding-top: 34px;
  }

  .set-price {
    left: 18px;
    right: auto;
  }

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

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

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

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