:root {
  --coal: #1a1a1a;
  --charcoal: #2d2d2d;
  --orange: #ff6600;
  --orange-hover: #ff8533;
  --paper: #f4f4f4;
  --muted: #60656f;
  --line: #d9dce1;
  --success: #10b981;
  --warning: #f59e0b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--coal);
  background: #fff;
  font: 400 1rem/1.65 "JetBrains Mono", "Courier New", monospace;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

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

.shell {
  width: min(75rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--coal);
  border: 2px solid var(--orange);
  border-radius: 0.375rem;
  transform: translateY(-160%);
}

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

.hero {
  color: #fff;
  background: var(--coal);
  overflow: hidden;
}

.nav {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid #333;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 3rem;
  line-height: 1;
}

.logo img {
  display: block;
  width: 10rem;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  color: #c7c7c7;
  font-size: 0.875rem;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1.25rem;
  border: 1px solid currentColor;
  border-radius: 0.375rem;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

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

.button.primary {
  color: var(--coal);
  background: var(--orange);
  border-color: var(--orange);
}

.button.primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

.button.ghost {
  color: #fff;
  background: transparent;
  border-color: #707070;
}

.button.ghost:hover {
  color: var(--coal);
  background: #fff;
  border-color: #fff;
}

.hero-grid {
  min-height: 40.625rem;
  display: grid;
  grid-template-areas: "copy mascot" "panel panel";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 1rem 3rem;
  padding-block: 3rem 4rem;
}

.hero-copy {
  grid-area: copy;
  min-width: 0;
}

.hero-mascot {
  position: relative;
  grid-area: mascot;
  width: min(24rem, 100%);
  margin: 0 auto;
  pointer-events: none;
  animation: mascot-entry 750ms 380ms both;
}

.hero-mascot::before {
  position: absolute;
  z-index: 0;
  inset: -3% -17%;
  background: radial-gradient(ellipse at center, #686868 0%, #424242 38%, transparent 70%);
  content: "";
}

.hero-mascot picture,
.hero-mascot img {
  display: block;
  width: 100%;
}

.hero-mascot img {
  position: relative;
  z-index: 1;
  height: auto;
  filter: drop-shadow(0 0.75rem 0.7rem #0008);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .kicker,
.dark .kicker {
  color: #b7b7b7;
}

.kicker::before {
  width: 1.875rem;
  height: 0.1875rem;
  flex: 0 0 auto;
  background: var(--orange);
  content: "";
}

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

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.3rem, 5.2vw, 4.25rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.625rem);
  letter-spacing: -0.04em;
  line-height: 1.18;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.lead {
  max-width: 36.25rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.hero .lead {
  color: #c8c8c8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.brief {
  position: relative;
  grid-area: panel;
  width: 100%;
  min-width: 0;
  padding: 1.5rem;
  background: var(--charcoal);
  border: 1px solid #454545;
  border-radius: 0.5rem;
  box-shadow: 1rem 1rem 0 #101010;
}

.brief::before {
  position: absolute;
  top: -0.875rem;
  right: 1rem;
  padding-inline: 0.5rem;
  color: var(--orange);
  background: var(--coal);
  content: "Na demo";
  font-size: 0.75rem;
}

.data-top {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 0.25rem;
  color: #b7b7b7;
  border-bottom: 1px solid #454545;
  font-size: 0.75rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  color: #ddd;
  border: 1px solid #555;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.tag i {
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--success);
  border-radius: 50%;
}

.tag .warning-dot {
  background: var(--warning);
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
}

.decision {
  min-height: 8rem;
  padding: 1rem;
  border: 1px solid #454545;
}

.decision strong {
  display: block;
  font-size: 1.625rem;
  letter-spacing: -0.07em;
}

.decision small {
  color: #b8b8b8;
  font-size: 0.75rem;
}

.priority {
  grid-column: auto;
  padding: 1rem;
  background: #252525;
  border-left: 0.1875rem solid var(--orange);
}

.priority > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.priority p {
  margin: 0.5rem 0 0;
  color: #c6c6c6;
  font-size: 0.8125rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-row > div {
  padding: 1.75rem;
  border-right: 1px solid var(--line);
}

.stat-row > div:last-child {
  border-right: 0;
}

.stat-row small {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}

.metric {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.section {
  padding-block: 7rem;
}

.section.paper {
  background: var(--paper);
}

.section.dark {
  color: #fff;
  background: var(--coal);
}

.decision-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.flow-copy {
  padding: 2rem 2rem 0;
}

.flow-steps {
  border-top: 1px solid var(--line);
}

.flow-step {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.flow-step b {
  color: var(--orange);
  font-size: 1.125rem;
}

.flow-step p {
  margin-bottom: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-head p {
  max-width: 27.5rem;
  margin-bottom: 0;
  color: #b7b7b7;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof {
  min-height: 11rem;
  padding: 1.5rem;
  border: 1px solid #424242;
}

.proof .metric {
  color: var(--orange);
}

.proof p {
  margin: 0.5rem 0 0;
  color: #c4c4c4;
  font-size: 0.875rem;
}

.final {
  padding-block: 7rem;
  text-align: center;
}

.final h2 {
  max-width: 46.875rem;
  margin: 0 auto 1.5rem;
}

.final > .shell > p:not(.kicker) {
  max-width: 32.5rem;
  margin: 0 auto 2rem;
  color: var(--muted);
}

.centered {
  justify-content: center;
}

:focus-visible {
  outline: 0.1875rem solid var(--orange);
  outline-offset: 0.1875rem;
}

@media (max-width: 60rem) {
  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 70rem) {
  .hero-grid {
    min-height: 0;
    grid-template-areas: "copy" "mascot" "panel";
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    padding-block: 4rem;
  }

  .hero-copy,
  .brief {
    width: 100%;
    max-width: 46rem;
    margin-inline: auto;
  }

  .hero-mascot {
    width: 11.5rem;
  }

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

  .priority {
    grid-column: 1 / -1;
  }
}

@media (max-width: 47.5rem) {
  .shell {
    width: min(100% - 2rem, 37.5rem);
  }

  .nav {
    min-height: 4.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 2.75rem;
    padding-inline: 0.875rem;
    font-size: 0.8125rem;
  }

  .hero-grid,
  .decision-flow {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-grid {
    padding-block: 4rem;
  }

  .brief {
    box-shadow: 0.5rem 0.5rem 0 #101010;
  }

  .stat-row,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .stat-row > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-row > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 4.5rem;
  }

  .flow-copy {
    padding: 0;
  }

  .section-head {
    display: block;
    margin-bottom: 2rem;
  }

  .section-head > p {
    margin-top: 1rem;
  }

  .proof {
    min-height: 0;
  }

  .final {
    padding-block: 4.5rem;
  }
}

@media (max-width: 30rem) {
  .nav {
    gap: 1rem;
  }

  .logo img {
    width: clamp(7.5rem, 34vw, 8.75rem);
  }

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

  .data-top,
  .priority > div {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .priority {
    grid-column: auto;
  }
}

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

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

/* Movement belongs to the operational story, not to every section of the page. */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .2; background-image: linear-gradient(#555 1px, transparent 1px), linear-gradient(90deg, #555 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(110deg, transparent 45%, #000); }
.hero-copy { animation: hero-entry .8s both; }
.brief { animation: panel-entry 1s .2s both; }
.brief .decision { animation: hero-entry .7s .6s both; }
.brief .priority { animation: hero-entry .7s .85s both; }
.demo-caption { color: #b7b7b7; font-size: .7rem; margin: 1rem 0 0; }
.live-story { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #454545; }
.live-story p { flex: 1; margin: 0; color: #ddd; font-size: .72rem; min-height: 2.5em; }
.live-story-icon { color: var(--orange); font-size: 1.6rem; }
.live-story button { min-width: 36px; min-height: 36px; border: 1px solid #555; border-radius: 4px; background: transparent; color: #fff; cursor: pointer; }
.brief-link { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; font-size: .7rem; color: #ff9f60; }
.contact-link { display: block; width: fit-content; margin: 1.5rem auto 0; font-size: .8rem; text-decoration: underline; text-underline-offset: 5px; }
.experience { background: #fff; }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.experience-choices { margin-top: 2rem; border-top: 1px solid var(--line); }
.experience-choice { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.15rem .75rem; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--coal); background: transparent; cursor: pointer; transition: background .25s, padding .25s; }
.experience-choice > span:first-child { font-size: .8rem; color: #a53f00; }
.experience-choice > span:last-child { margin-left: auto; }
.experience-choice b { display: block; font-size: .86rem; }
.experience-choice small { display: block; margin-top: .3rem; font-size: .72rem; color: var(--muted); }
.experience-choice.active { padding-left: 1.25rem; background: #fff1e7; box-shadow: inset 3px 0 var(--orange); }
.scene-window { border: 1px solid #c7cbd1; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px -35px #1a1a1a66; transform: rotate(1deg); transition: transform .35s; }
.scene-window:hover, .scene-window:focus-within { transform: rotate(0); }
.scene-chrome { display: flex; justify-content: space-between; align-items: center; background: #f0f1f3; padding: 1rem; border-bottom: 1px solid #ddd; }
.scene-chrome > span { display: flex; gap: 5px; }
.scene-chrome i { width: 7px; height: 7px; border-radius: 100%; background: #b5bbc2; }
.scene-chrome small { font-size: .65rem; color: #60656f; }
.scene-body { padding: 2rem; min-height: 360px; }
.scene-label { display: block; font-size: .68rem; color: var(--muted); margin-bottom: 1.5rem; }
.scene-person { display: flex; align-items: center; gap: .75rem; }
.scene-person h3 { font-size: 1rem; margin: 0; }
.scene-person p { font-size: .65rem; color: var(--muted); margin: .3rem 0 0; }
.scene-avatar { display: grid; place-items: center; flex: 0 0 42px; height: 42px; background: #fff1e7; color: #a53f00; border-radius: 50%; font-size: .8rem; }
.scene-score { margin-left: auto; color: #167d5a; font-size: 1.7rem; }
.scene-score small { display: block; text-align: center; font-size: .55rem; font-weight: 400; }
.scene-track { display: flex; gap: 8px; margin: 1.5rem 0; }
.scene-track span { flex: 1; padding-top: .5rem; border-top: 3px solid #ddd; font-size: .62rem; }
.scene-track .done { border-color: #167d5a; }
.scene-track .current { border-color: var(--orange); }
.scene-insight { padding: 1rem; margin: 1.5rem 0; background: #f5f6f8; border-left: 2px solid var(--orange); }
.scene-insight b { font-size: .72rem; }
.scene-insight p { font-size: .72rem; color: var(--muted); margin: .5rem 0 0; }
.scene-body .button { font-size: .8rem; width: 100%; }
.scene-footer { display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--line); padding: .9rem 1.5rem; font-size: .62rem; color: var(--muted); }
.scene-dot { width: 6px; height: 6px; background: #167d5a; border-radius: 100%; }
.scene-bars { display: flex; align-items: end; gap: 12px; height: 90px; margin: 1rem 0; }
.scene-bars i { flex: 1; height: var(--bar); background: #ff6600; border-radius: 3px 3px 0 0; transform-origin: bottom; animation: bar-grow .7s both; }
.scene-bars i:nth-child(even) { background: #ffc096; }
.scene-refresh { animation: scene-in .35s both; }
@keyframes hero-entry { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mascot-entry { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-entry { from { opacity: 0; transform: perspective(1000px) rotateY(-7deg) translateY(20px); } to { opacity: 1; transform: perspective(1000px) rotateY(0) translateY(0); } }
@keyframes scene-in { from { opacity: .25; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes bar-grow { from { transform: scaleY(.05); } to { transform: scaleY(1); } }
@media (max-width: 60rem) { .experience-grid { gap: 2rem; } .scene-body { padding: 1.5rem; } }
@media (max-width: 47.5rem) { .experience-grid { grid-template-columns: 1fr; } .scene-window { transform: none; } .experience-choice b { font-size: .77rem; } }
