:root {
  color-scheme: dark;
  --ink: #f5f7fa;
  --muted: #a5adb8;
  --quiet: #747d88;
  --black: #07090c;
  --panel: #0d1116;
  --panel-2: #11171e;
  --line: #28313c;
  --blue: #0b6fd3;
  --blue-bright: #76b7ff;
  --green: #68d7a6;
  --max: 1200px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--black);
  transform: translateY(-150%);
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 12, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 35px;
}

.desktop-nav {
  display: flex;
  gap: 32px;
  color: #cad0d8;
  font-size: 14px;
}

.desktop-nav a,
.site-footer a,
.text-link {
  transition: color 150ms ease;
}

.desktop-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--blue-bright);
}

.header-inner > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: #338ee6;
  background: #075fb7;
}

.button:focus-visible,
.text-link:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(118, 183, 255, 0.5);
  outline-offset: 3px;
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 13px;
}

.button-quiet {
  min-height: 44px;
  border-color: #45515e;
  background: transparent;
}

.button-quiet:hover {
  border-color: var(--blue);
  background: #17202b;
}

.hero {
  position: relative;
  min-height: min(900px, 91svh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #080b0f;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.98) 0%, rgba(8, 11, 15, 0.92) 38%, rgba(8, 11, 15, 0.48) 72%, rgba(8, 11, 15, 0.74) 100%),
    repeating-linear-gradient(90deg, transparent 0, transparent 95px, rgba(255, 255, 255, 0.025) 96px),
    repeating-linear-gradient(0deg, transparent 0, transparent 95px, rgba(255, 255, 255, 0.018) 96px);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  border-top: 1px solid rgba(46, 140, 255, 0.12);
  background: rgba(5, 8, 11, 0.42);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: min(900px, 91svh);
  padding-top: clamp(126px, 17svh, 168px);
  padding-bottom: 64px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(540px, 45%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  color: #f2f4f7;
  font-size: 76px;
  line-height: 1;
  font-weight: 760;
}

h2 {
  margin-bottom: 22px;
  font-size: 56px;
  line-height: 1.06;
  font-weight: 720;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 540px;
  margin-bottom: 32px;
  color: #c4cbd4;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  padding-block: 12px;
  color: #e7ebef;
  font-weight: 650;
}

.text-link span {
  padding-left: 5px;
  color: var(--blue-bright);
}

.hero-system {
  position: absolute;
  top: clamp(112px, 15svh, 150px);
  right: 0;
  bottom: 56px;
  left: 44.5%;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(100px, 0.44fr) minmax(160px, 0.7fr);
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

.system-label {
  min-height: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: #8e98a5;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.system-label strong {
  color: #d9dee4;
  font-size: 10px;
}

.system-source-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #465362;
  border-radius: 4px;
  background: #11171d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.system-source-frame img,
.system-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-source-frame img {
  opacity: 0.8;
}

.system-selection {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 57%;
  width: 27%;
  border-inline: 2px solid var(--blue-bright);
  background: rgba(46, 140, 255, 0.08);
}

.system-selection::before {
  content: "HISTOIRE";
  position: absolute;
  top: 8px;
  left: 6px;
  padding: 3px 5px;
  border-radius: 2px;
  background: var(--blue);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.system-timeline {
  position: relative;
  height: 42px;
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.4fr 0.55fr;
  gap: 3px;
  overflow: hidden;
  border: 1px solid #27313b;
  border-radius: 3px;
  padding: 6px;
  background: #0d1217;
}

.system-timeline span {
  background: #1e2b38;
}

.system-timeline span:nth-child(2),
.system-timeline span:nth-child(3) {
  background: #173d39;
}

.system-timeline i {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 61%;
  width: 2px;
  background: #f4f7fb;
  box-shadow: 0 0 10px rgba(118, 183, 255, 0.8);
}

.system-ai {
  position: relative;
  border-block: 1px solid #34414d;
  padding: 20px 12px;
}

.system-ai::before,
.system-ai::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--blue);
}

.system-ai::before { right: 100%; }
.system-ai::after { left: 100%; }

.system-ai-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #eef3f8;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.system-ai-title img {
  width: 34px;
  height: 28px;
}

.system-ai ul {
  margin: 17px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  color: #aeb7c2;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.system-ai li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.system-ai li::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
}

.system-output {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.system-phone {
  position: relative;
  width: min(100%, 200px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  overflow: hidden;
  border: 2px solid #8f9ba8;
  border-radius: 8px;
  background: #11171d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.system-phone img {
  object-position: 79% center;
  filter: saturate(0.9) brightness(0.84);
}

.system-caption {
  position: absolute;
  right: 8%;
  bottom: 13%;
  left: 8%;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.22;
  text-align: center;
  text-shadow: 0 2px 8px #000;
}

.section {
  padding: 112px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 760px;
}

.section-heading > p:last-child {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.section-proof {
  background: #0a0d11;
  padding-top: 64px;
}

.demo-stage {
  min-height: 510px;
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(150px, 0.42fr) minmax(220px, 0.58fr);
  align-items: center;
  gap: 28px;
  border-block: 1px solid var(--line);
  padding-block: 36px;
  background: linear-gradient(90deg, rgba(46, 140, 255, 0.025), transparent 42%, rgba(255, 255, 255, 0.018));
}

.demo-label {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.demo-state {
  min-height: 20px;
  margin: -4px 0 10px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 700;
  transition: color 180ms ease;
}

.source-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #3a4551;
  border-radius: var(--radius);
  background: #10151b;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.source-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.scan-window {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 57%;
  width: 27%;
  border-inline: 2px solid var(--blue-bright);
  background: rgba(46, 140, 255, 0.08);
}

.timeline {
  position: relative;
  height: 54px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.55fr 1.5fr 0.9fr;
  gap: 4px;
  overflow: hidden;
  border-radius: 3px;
  background: #131920;
  padding: 8px;
}

.timeline span {
  background: linear-gradient(0deg, #243f5f, #1b2735);
}

.timeline span:nth-child(2),
.timeline span:nth-child(4) {
  background: linear-gradient(0deg, #1b594a, #1b3232);
}

.timeline i {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 12%;
  width: 2px;
  background: #f2f7ff;
  box-shadow: 0 0 12px rgba(118, 183, 255, 0.8);
}

.demo-stage.is-running .timeline i {
  animation: timeline-scan 2.2s ease-in-out 1 forwards;
}

.demo-stage.is-running .demo-source .demo-state,
.demo-stage.is-processing .demo-processor .processor-word,
.demo-stage.is-output-ready .demo-output .demo-state {
  color: var(--blue-bright);
}

.demo-stage.is-running .source-frame {
  border-color: rgba(118, 183, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(46, 140, 255, 0.12);
}

.demo-processor {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-block: 1px solid #34414d;
  padding-block: 22px;
}

.processor-word {
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.processor-track {
  height: 2px;
  margin: 18px 0;
  overflow: hidden;
  background: #26313d;
}

.processor-track i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--blue);
  transform: translateX(-110%);
}

.demo-stage.is-running .processor-track i {
  animation: processor-pass 1.5s 350ms ease-in-out 1 forwards;
}

.demo-processor ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--quiet);
  font-size: 12px;
  list-style: none;
}

.demo-processor li {
  position: relative;
  padding-left: 10px;
  transition: color 160ms ease;
}

.demo-processor li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.demo-stage.is-running .demo-processor li {
  color: #dbe3ec;
}

.phone-frame {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  overflow: hidden;
  border: 2px solid #4d5a68;
  border-radius: 8px;
  background: #11161d;
  opacity: 0.72;
  transition: border-color 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.demo-stage.is-output-ready .phone-frame,
.demo-stage.is-complete .phone-frame {
  border-color: var(--blue-bright);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(46, 140, 255, 0.14);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 79% center;
  filter: saturate(0.82) brightness(0.83);
}

.caption-preview {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 13%;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 8px #000;
}

.output-label {
  width: min(100%, 250px);
  margin: 12px auto 0;
}

.output-state {
  width: min(100%, 250px);
  margin: 8px auto 0;
  text-align: center;
}

.demo-progress-panel {
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(180px, 1fr);
  align-items: center;
  gap: 22px;
  padding-top: 18px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 700;
}

.demo-progress-track {
  height: 3px;
  overflow: hidden;
  background: #26313d;
}

.demo-progress-track i {
  width: 100%;
  height: 100%;
  display: block;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--blue);
}

.demo-progress-panel.is-running {
  color: #dbe3ec;
}

.demo-progress-panel.is-running .demo-progress-track i {
  animation: demo-progress 2.8s linear 1 forwards;
}

.demo-progress-panel.is-complete .demo-progress-track i {
  transform: scaleX(1);
}

.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
}

.demo-footer p {
  margin: 0;
  color: var(--muted);
}

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

.section-problem {
  background: #0d1014;
}

.split-layout,
.solution-layout,
.quality-layout,
.learning-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.problem-list {
  border-top: 1px solid var(--line);
}

.problem-list p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: #c9d0d8;
}

.solution-statement h2 {
  max-width: 850px;
}

.solution-points {
  padding-top: 40px;
}

.solution-points > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.solution-points span,
.feature-index {
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 800;
}

.solution-points p {
  margin: 0;
  color: #c9d0d8;
}

.section-flow {
  background: #0a0d11;
}

.flow {
  margin: 62px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
}

.flow li {
  position: relative;
  min-height: 220px;
  padding: 22px 20px 20px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.flow li:first-child {
  border-left: 1px solid var(--line);
}

.flow li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 20px;
  width: 32px;
  height: 3px;
  background: var(--blue);
}

.flow span,
.flow strong {
  display: block;
}

.flow span {
  margin-bottom: 24px;
  color: var(--quiet);
  font-size: 11px;
}

.flow strong {
  margin-bottom: 12px;
  font-size: 18px;
}

.flow p {
  color: var(--muted);
  font-size: 14px;
}

.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.format-grid span {
  min-height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #d3d9df;
}

.format-grid span:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 20px;
}

.format-grid span:nth-child(even) {
  padding-left: 20px;
}

.section-platforms {
  background: #0e1217;
}

.platform-row {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.platform-row span {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: #dce1e7;
  font-size: 17px;
  font-weight: 720;
}

.platform-row span:last-child {
  border-right: 0;
}

.difference-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.difference-grid article {
  min-height: 270px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.difference-grid article:first-child {
  border-left: 1px solid var(--line);
}

.difference-grid h3 {
  margin-top: 48px;
}

.difference-grid p {
  color: var(--muted);
}

.section-quality {
  background: #0b1014;
}

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

.quality-list li {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.quality-list span {
  color: var(--muted);
}

.section-learning {
  overflow: hidden;
}

.learning-layout {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  align-items: center;
}

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

.learning-node {
  position: absolute;
  z-index: 2;
  width: 132px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid #41505f;
  border-radius: var(--radius);
  background: #0f141a;
  color: #dbe1e8;
  font-size: 13px;
  font-weight: 750;
}

.node-content { left: 3%; top: 42%; }
.node-clips { right: 7%; top: 12%; }
.node-results { right: 7%; bottom: 12%; }
.node-learning { left: 3%; bottom: 4%; border-color: var(--blue); color: var(--blue-bright); }

.learning-path {
  position: absolute;
  z-index: 1;
  height: 1px;
  transform-origin: left center;
  background: #354352;
}

.path-one { left: 28%; top: 46%; width: 48%; transform: rotate(-33deg); }
.path-two { left: 75%; top: 28%; width: 42%; transform: rotate(90deg); }
.path-three { left: 29%; bottom: 20%; width: 48%; transform: rotate(-6deg); }
.path-four { left: 17%; top: 55%; width: 31%; transform: rotate(82deg); background: var(--blue); }

.section-founder {
  background: #0b1014;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}

.founder-portrait {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(129, 153, 179, 0.35);
  border-radius: var(--radius);
  background: #090c10;
}

.founder-portrait::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(6, 8, 10, 0.28));
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.founder-content h2 {
  max-width: 720px;
}

.founder-copy {
  max-width: 660px;
  margin-top: 26px;
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 18px;
}

.founder-copy p,
.founder-principle {
  margin: 0;
}

.founder-identity {
  max-width: 660px;
  margin-top: 30px;
  padding-top: 24px;
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line);
}

.founder-identity strong {
  color: var(--ink);
  font-size: 18px;
}

.founder-identity span {
  color: var(--blue-bright);
  font-size: 14px;
  font-weight: 750;
  text-transform: uppercase;
}

.founder-principle {
  max-width: 660px;
  margin-top: 20px;
  color: #dbe3eb;
  font-weight: 650;
}

.section-contact {
  background: #10161d;
}

.demo-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.demo-form label {
  display: grid;
  gap: 8px;
  color: #d4dbe3;
  font-size: 14px;
  font-weight: 650;
}

.demo-form .form-message,
.demo-form .button,
.form-status {
  grid-column: 1 / -1;
}

.demo-form small {
  color: #aeb7c2;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid #3b4652;
  border-radius: 4px;
  background: #090c10;
  color: var(--ink);
  padding: 13px 14px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

input {
  min-height: 50px;
}

textarea {
  resize: vertical;
}

input:hover,
textarea:hover {
  border-color: #596777;
}

.demo-form .button {
  width: 100%;
}

.demo-form .button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
}

.form-status.is-error {
  color: #ff9b98;
}

.site-footer {
  padding: 34px 0;
  background: #06080a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  color: var(--quiet);
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  justify-self: end;
  display: flex;
  gap: 22px;
}

.legal-page .site-header {
  position: relative;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: #07090c;
}

.legal-main {
  min-height: calc(100vh - 177px);
  padding: 88px 0 104px;
  background: #0a0d11;
}

.legal-content {
  width: min(100%, 780px);
  overflow-wrap: anywhere;
}

.legal-content > header {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.legal-content h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.06;
}

.legal-content h2 {
  margin: 44px 0 14px;
  font-size: 26px;
  line-height: 1.18;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 0;
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--blue-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-notice {
  margin-top: 32px;
  border-left: 3px solid var(--blue-bright);
  padding: 16px 18px;
  background: #11171e;
  color: #dce3eb;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: transform 300ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
}

@keyframes timeline-scan {
  from { left: 12%; }
  to { left: 84%; }
}

@keyframes processor-pass {
  0% { transform: translateX(-110%); }
  55% { transform: translateX(75%); }
  100% { transform: translateX(250%); }
}

@keyframes demo-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

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

  .hero-inner {
    padding-top: 126px;
    padding-bottom: 64px;
  }

  .hero-copy {
    width: min(680px, 100%);
  }

  .hero-system {
    position: relative;
    inset: auto;
    min-height: 350px;
    margin-top: 58px;
    grid-template-columns: minmax(280px, 1.3fr) minmax(116px, 0.45fr) minmax(170px, 0.65fr);
  }

  h1 {
    max-width: 680px;
    font-size: 62px;
  }

  .demo-stage {
    grid-template-columns: minmax(0, 1fr) 130px 210px;
    gap: 18px;
  }

  .demo-progress-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .flow li:nth-child(4) {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .legal-main {
    padding: 58px 0 76px;
  }

  .legal-content h1 {
    font-size: 40px;
  }

  .header-inner {
    min-height: 66px;
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .header-inner > .button {
    font-size: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: none;
  }

  .brand img {
    width: 41px;
    height: 34px;
  }

  .header-inner > .button {
    min-height: 36px;
    border-color: #4f80b8;
    padding-inline: 12px;
    background: rgba(12, 19, 27, 0.9);
  }

  .hero-inner {
    padding-top: 104px;
    padding-bottom: 38px;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    max-width: 520px;
    font-size: 48px;
    line-height: 1;
  }

  .hero-lede {
    max-width: 560px;
    font-size: 16px;
  }

  .hero-system {
    min-height: 230px;
    margin-top: 34px;
    grid-template-columns: minmax(0, 1.25fr) minmax(78px, 0.48fr) minmax(96px, 0.62fr);
    gap: 9px;
  }

  .system-label {
    gap: 5px;
    font-size: 7px;
  }

  .system-label strong {
    font-size: 8px;
  }

  .system-timeline {
    height: 32px;
  }

  .system-ai {
    padding: 14px 7px;
  }

  .system-ai::before,
  .system-ai::after {
    width: 9px;
  }

  .system-ai-title {
    gap: 3px;
    font-size: 9px;
  }

  .system-ai-title img {
    width: 26px;
    height: 22px;
  }

  .system-ai ul {
    margin-top: 11px;
    gap: 6px;
    font-size: 6px;
  }

  .system-phone {
    width: min(100%, 124px);
  }

  .system-caption {
    font-size: 7px;
  }

  .section {
    padding: 80px 0;
  }

  .section-proof {
    padding-top: 52px;
  }

  .split-layout,
  .solution-layout,
  .quality-layout,
  .learning-layout,
  .founder-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .founder-portrait {
    width: min(100%, 440px);
  }

  .demo-stage {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: end;
  }

  .demo-processor {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
    padding: 20px 0 0;
  }

  .demo-processor ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .demo-output {
    grid-column: 2;
    grid-row: 1;
  }

  .phone-frame {
    width: 150px;
  }

  .caption-preview {
    font-size: 11px;
  }

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

  .flow li:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .flow li:nth-child(4) {
    border-left: 0;
  }

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

  .difference-grid article,
  .difference-grid article:first-child {
    border-left: 1px solid var(--line);
  }

  .platform-row {
    grid-template-columns: 1fr 1fr;
  }

  .platform-row span:nth-child(2) {
    border-right: 0;
  }

  .platform-row span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-inner nav {
    justify-self: start;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .hero-inner {
    padding-top: 98px;
  }

  .legal-page .header-inner {
    grid-template-columns: 1fr auto;
  }

  .legal-page .desktop-nav {
    display: none;
  }

  .legal-content h1 {
    font-size: 34px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-system {
    min-height: 190px;
    grid-template-columns: minmax(0, 1.2fr) minmax(64px, 0.42fr) minmax(82px, 0.6fr);
    gap: 7px;
  }

  .system-label span {
    display: none;
  }

  .system-selection::before {
    top: 4px;
    left: 3px;
    padding: 2px 3px;
    font-size: 5px;
  }

  .system-ai li {
    gap: 3px;
  }

  .system-ai li::before {
    width: 3px;
    height: 3px;
  }

  .system-caption {
    right: 4%;
    left: 4%;
    font-size: 6px;
  }

  .demo-stage {
    grid-template-columns: 1fr;
  }

  .demo-source,
  .demo-output,
  .demo-processor {
    grid-column: 1;
  }

  .demo-output {
    grid-row: 3;
  }

  .demo-processor {
    grid-row: 2;
  }

  .phone-frame {
    width: min(58vw, 220px);
  }

  .demo-footer,
  .quality-list li {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .demo-footer {
    display: grid;
  }

  .flow,
  .format-grid,
  .platform-row,
  .demo-form {
    grid-template-columns: 1fr;
  }

  .flow li,
  .flow li:nth-child(4),
  .flow li:nth-child(odd) {
    min-height: 170px;
    border-left: 1px solid var(--line);
  }

  .format-grid span:nth-child(odd),
  .format-grid span:nth-child(even) {
    border-right: 0;
    padding-inline: 0;
  }

  .platform-row span,
  .platform-row span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .platform-row span:last-child {
    border-bottom: 0;
  }

  .learning-visual {
    min-height: 330px;
  }

  .learning-node {
    width: 112px;
    height: 56px;
    font-size: 12px;
  }

  .demo-form label,
  .demo-form .form-message,
  .demo-form .button,
  .form-status {
    grid-column: 1;
  }
}

@media (max-width: 350px) {
  .shell {
    width: calc(100% - 24px);
  }

  .header-inner {
    gap: 10px;
  }

  .header-inner > .button {
    padding-inline: 9px;
    font-size: 11px;
  }

  .brand {
    font-size: 13px;
  }

  .brand img {
    width: 36px;
    height: 30px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-system {
    grid-template-columns: minmax(0, 1.18fr) 58px 76px;
  }
}

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

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