:root {
  --bg: #0f1011;
  --bg-elevated: #151719;
  --panel: rgba(19, 21, 23, 0.88);
  --panel-strong: #1b1d20;
  --panel-soft: #23262a;
  --line: #30343a;
  --line-strong: #434952;
  --text: #f3f0e8;
  --muted: #d8d1c4;
  --dim: #958e81;
  --alloy: #b7aa92;
  --ember: #e7632a;
  --ember-deep: #b9471b;
  --green: #4e9f6e;
  --amber: #c78a2c;
  --shadow: rgba(0, 0, 0, 0.28);
  --radius-xs: 4px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --radius-xl: 26px;
  --content: 1180px;
  --focus: 0 0 0 3px rgba(231, 99, 42, 0.34);
  --ease-premium: cubic-bezier(0.25, 1, 0.5, 1);
  --nokie-motion-distance-hover: -0.125rem;
  --nokie-motion-distance-press: 0.125rem;
  --nokie-motion-distance-nudge: 0.1875rem;
  --nokie-motion-distance-nudge-wide: 0.25rem;
  --nokie-motion-distance-reveal: 1.125rem;
  --nokie-motion-distance-reveal-fade: 0.875rem;
  --nokie-motion-distance-shiver-left: -0.3125rem;
  --nokie-motion-distance-shiver-right: 0.25rem;
  --nokie-motion-duration-cursor: 1000ms;
  --nokie-motion-duration-waveform: 840ms;
  --nokie-motion-duration-scan: 780ms;
  --nokie-motion-duration-shiver: 180ms;
  --nokie-motion-delay-wave-step: 120ms;
  --nokie-motion-delay-zero: 0ms;
  --nokie-motion-duration-reduced: 1ms;
}

/* Nokie editorial landing page */
.home-body {
  --paper: #f3efe5;
  --paper-deep: #e9e3d5;
  --ink: #181816;
  --ink-soft: #494943;
  --rule: #b7b1a3;
  --orange: #dd4c17;
  --orange-dark: #ad3510;
  --olive: #7e8061;
  --olive-pale: #d8d6bf;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.home-body::before {
  display: none;
}

.home-body .sell-shell {
  width: min(calc(100% - 80px), 1340px);
}

.home-body .home-header {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: none;
}

.home-body .home-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.home-body .home-brand {
  gap: 12px;
  color: var(--ink);
}

.home-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.home-brand .brand__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.home-body .home-nav {
  gap: 28px;
}

.home-body .home-nav a {
  color: var(--ink-soft);
  font: 700 11px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-body .home-nav a:hover,
.home-body .home-nav a[aria-current="page"] {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: 700 11px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle img {
  width: 18px;
  height: 18px;
}

.new-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 0 28px;
  border-bottom: 1px solid var(--rule);
}

.new-hero__motion {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.new-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(248, 246, 238, 0.98) 0%, rgba(248, 246, 238, 0.94) 38%, rgba(248, 246, 238, 0.76) 68%, rgba(248, 246, 238, 0.86) 100%);
}

.new-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(460px, 0.97fr);
  min-height: 660px;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.new-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 54px 52px 58px;
  border-right: 1px solid var(--rule);
}

.new-kicker {
  margin: 0 0 22px;
  color: var(--orange);
  font: 700 11px/1.3 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.new-hero h1 {
  max-width: 12.5ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 5.35vw, 5.7rem);
  font-weight: 750;
  line-height: 0.95;
  letter-spacing: -0.062em;
  text-wrap: balance;
}

.new-hero h1 em {
  color: var(--ink);
  font-style: normal;
  white-space: nowrap;
}

.new-hero h1 em::after {
  content: ".";
  color: var(--orange);
}

.new-subhead {
  margin: 24px 0 0;
  color: var(--ink);
  font: 600 clamp(1rem, 1.45vw, 1.3rem)/1.48 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.01em;
}

.new-lede {
  max-width: 46ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  font-weight: 430;
  line-height: 1.72;
}

.new-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.new-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 54px;
  padding: 0 22px;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  font: 700 14px/1 ui-monospace, "SF Mono", Menlo, monospace;
  transition:
    transform 260ms var(--ease-premium),
    background-color 260ms var(--ease-premium),
    border-color 260ms var(--ease-premium),
    color 260ms var(--ease-premium),
    box-shadow 260ms var(--ease-premium);
}

.new-button:active {
  transform: translateY(0) scale(0.985);
}

.new-button--primary {
  color: #fff8ef;
  background: var(--orange);
  border-color: var(--orange);
}

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

.new-button--text {
  min-height: auto;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
}

.new-fineprint {
  margin-top: 20px;
  color: #69675f;
  font: 500 11px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.02em;
}

.product-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 38px 28px;
  background: var(--paper);
}

.product-stage__image-wrap {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--olive);
  border: 1px solid #6a6d51;
  clip-path: polygon(0 0, 94% 0, 100% 12%, 100% 100%, 0 100%);
}

.product-stage__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.product-stage.is-listening .product-stage__image-wrap img {
  transform: translateY(var(--nokie-motion-distance-press)) scale(0.995);
  filter: saturate(1.1) contrast(1.03);
}

.product-stage.is-finished .product-stage__image-wrap {
  border-color: var(--orange);
}

.product-stage__identity {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--rule);
}

.product-stage__identity > div {
  display: grid;
  gap: 6px;
}

.product-stage__label {
  color: var(--orange);
  font: 700 10px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-stage__identity strong {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.control-action {
  min-width: 158px;
  min-height: 46px;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  font: 700 11px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 240ms var(--ease-premium),
    background-color 240ms var(--ease-premium),
    border-color 240ms var(--ease-premium),
    transform 240ms var(--ease-premium),
    box-shadow 240ms var(--ease-premium);
}

.control-action:hover,
.control-action[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
}

.control-action:active {
  transform: translateY(0) scale(0.985);
  box-shadow: none;
}

.product-stage__caption {
  max-width: 52ch;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.problem-strip {
  border-bottom: 1px solid var(--rule);
}

.problem-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--rule);
}

.problem-strip p {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 2px 12px;
  min-height: 118px;
  margin: 0;
  padding: 28px 30px;
  color: var(--ink-soft);
  border-right: 1px solid var(--rule);
  font-size: 0.88rem;
}

.problem-strip p > span {
  grid-row: 1 / span 2;
  color: var(--orange);
  font: 700 11px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
}

.problem-strip strong {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.new-section {
  padding: 110px 0;
  border-bottom: 1px solid var(--rule);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  gap: 46px;
  align-items: start;
}

.statement-grid h2 {
  grid-row: 1 / span 3;
}

.statement-grid h2,
.value-heading h2,
.room-grid h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.8rem, 5.3vw, 5.4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.statement-copy {
  grid-column: 2;
  padding-top: 10px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.live-proof {
  color: var(--paper);
  background: var(--ink);
  border-bottom-color: #34342f;
}

.live-proof .new-kicker {
  color: #ef7040;
}

.value-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 60px;
  align-items: end;
}

.value-heading h2 {
  max-width: 12ch;
  color: var(--paper);
}

.value-heading > p {
  color: #c6c0b3;
  line-height: 1.7;
}

.sentence-demo {
  display: grid;
  grid-column: 2;
  grid-template-columns: 86px minmax(0, 1fr) 86px;
  gap: 16px;
  align-items: center;
  min-width: 0;
  margin-top: 38px;
}

.sentence-demo__rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sentence-demo__rail i {
  display: block;
  height: 28px;
  border: 1px solid #54544d;
}

.sentence-demo > p {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 24px 28px 26px;
  border-top: 1px solid #74736b;
  border-bottom: 1px solid #74736b;
  font: 500 clamp(1.1rem, 1.55vw, 1.55rem)/1.45 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.sentence-demo mark {
  padding: 4px 8px;
  color: #ff7744;
  background: transparent;
  border: 1px solid #ff7744;
}

.sentence-demo b {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 5px;
  vertical-align: -0.12em;
  background: #ff7744;
  animation: cursor-blink var(--nokie-motion-duration-cursor) steps(1, end) infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

.sentence-key {
  display: flex;
  grid-column: 2;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 18px;
  color: #aca699;
  font: 500 10px/1.3 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sentence-key span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sentence-key i {
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
}

.sentence-key__locked {
  background: var(--olive);
}

.sentence-key__live {
  border-color: #ff7744 !important;
}

.outcomes-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.outcome-list article {
  display: grid;
  grid-template-columns: 56px 1fr minmax(180px, 0.34fr);
  gap: 30px;
  align-items: start;
  padding: 46px 0;
  border-top: 1px solid var(--rule);
}

.outcome-list article:last-child {
  border-bottom: 1px solid var(--rule);
}

.outcome-list__number {
  color: var(--orange);
  font: 700 15px/1 ui-monospace, "SF Mono", Menlo, monospace;
}

.outcome-list h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
}

.outcome-list p {
  max-width: 62ch;
  color: var(--ink-soft);
  line-height: 1.65;
}

.outcome-list article > strong {
  padding-top: 8px;
  color: var(--olive);
  font: 700 11px/1.35 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-section {
  background: var(--olive-pale);
}

.room-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 90px;
  align-items: center;
}

.room-grid h2 {
  max-width: 11ch;
}

.room-grid > div:first-child > p:not(.new-kicker) {
  max-width: 52ch;
  margin: 28px 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.7;
}

.room-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
  background: var(--paper);
}

.room-panel > div {
  display: grid;
  gap: 28px;
  min-height: 190px;
  padding: 28px 24px;
  border-right: 1px solid var(--ink);
}

.room-panel > div:nth-child(3) {
  border-right: 0;
}

.room-panel > div.is-selected {
  background: var(--olive);
  color: #fffdf4;
}

.room-panel span,
.room-panel strong {
  font: 700 11px/1.3 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.room-panel strong {
  align-self: end;
  font-size: 1rem;
}

.room-panel > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 24px;
  color: var(--ink-soft);
  border-top: 1px solid var(--ink);
  font: 500 11px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
}

.final-cta {
  color: var(--paper);
  background: var(--ink);
}

.final-cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.final-cta h2 {
  color: var(--paper);
}

.final-cta__action {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.final-cta__action p {
  color: #c6c0b3;
  font-size: 1.08rem;
}

.final-cta__action > span {
  color: #918c81;
  font: 500 10px/1.4 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.new-footer {
  padding: 44px 0;
  color: var(--ink);
  background: var(--paper);
}

.new-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 50px;
  align-items: end;
}

.new-footer strong {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.new-footer p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.new-footer nav {
  display: flex;
  gap: 20px;
}

.new-footer a {
  color: var(--ink-soft);
  font: 700 10px/1.3 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.new-footer a:hover {
  color: var(--orange);
}

@media (hover: hover) and (pointer: fine) {
  .new-button:hover {
    transform: translateY(var(--nokie-motion-distance-hover)) scale(1.012);
    box-shadow: 0 14px 30px rgba(24, 24, 22, 0.13);
  }

  .new-button--text:hover {
    transform: translateY(var(--nokie-motion-distance-hover));
    box-shadow: none;
  }

  .control-action:hover {
    transform: translateY(var(--nokie-motion-distance-hover)) scale(1.012);
    box-shadow: 0 14px 28px rgba(24, 24, 22, 0.15);
  }

  .home-body .sell-nav__cta,
  .home-body .sales-offer__card .sell-button,
  .home-body details summary {
    transition:
      color 240ms var(--ease-premium),
      background-color 240ms var(--ease-premium),
      border-color 240ms var(--ease-premium),
      transform 240ms var(--ease-premium),
      box-shadow 240ms var(--ease-premium);
  }

  .home-body .sell-nav__cta:hover,
  .home-body .sales-offer__card .sell-button:hover {
    transform: translateY(var(--nokie-motion-distance-hover)) scale(1.012);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  }

  .home-body details summary:hover {
    color: var(--orange);
    transform: translateX(var(--nokie-motion-distance-nudge-wide));
  }
}

.js.motion-enhanced .reveal-item {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, var(--nokie-motion-distance-reveal), 0);
  transition:
    opacity var(--hvy-motion-duration-expressive) var(--ease-premium) var(--reveal-delay, 0ms),
    clip-path var(--hvy-motion-duration-expressive) var(--ease-premium) var(--reveal-delay, 0ms),
    transform var(--hvy-motion-duration-expressive) var(--ease-premium) var(--reveal-delay, 0ms);
  will-change: opacity, clip-path, transform;
}

.js.motion-enhanced .reveal-item[data-reveal="fade"] {
  clip-path: none;
  transform: translate3d(0, var(--nokie-motion-distance-reveal-fade), 0);
}

.js.motion-enhanced .reveal-item.is-revealed {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0);
}

.js.motion-enhanced .motion-rule {
  position: relative;
  border-bottom-color: transparent;
}

.js.motion-enhanced .motion-rule::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--motion-rule-color, var(--rule));
  content: "";
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--hvy-motion-duration-expressive) var(--ease-premium);
}

.js.motion-enhanced .motion-rule.is-rule-drawn::after {
  transform: scaleX(1);
}

.motion-rule-sentinel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.live-proof,
.final-cta {
  --motion-rule-color: #34342f;
}

@media (max-width: 1040px) {
  .home-body .sell-shell {
    width: min(calc(100% - 48px), 1340px);
  }

  .new-hero__grid {
    grid-template-columns: 1fr;
  }

  .new-hero__copy {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .new-hero h1 {
    max-width: 10ch;
  }

  .product-stage {
    padding: 38px;
  }

  .statement-grid {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .statement-copy {
    grid-column: 2;
  }

  .sentence-demo {
    grid-template-columns: 72px 1fr 72px;
  }

  .room-grid {
    gap: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .new-hero__motion {
    display: none;
  }
}

@media (max-width: 760px) {
  .home-body .sell-shell {
    width: min(calc(100% - 28px), 1340px);
  }

  .home-body .home-header__inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .home-body .home-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    padding: 16px 20px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }

  .home-body .home-nav.is-open {
    display: grid;
  }

  .home-body .home-nav a {
    padding: 10px 0;
  }

  .new-hero {
    padding-top: 18px;
  }

  .new-hero__grid {
    min-height: auto;
  }

  .new-hero__copy {
    padding: 48px 24px 42px;
  }

  .new-hero h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .new-subhead {
    font-size: 0.95rem;
  }

  .new-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-stage {
    padding: 20px;
  }

  .product-stage__identity {
    align-items: stretch;
    flex-direction: column;
  }

  .control-action {
    width: 100%;
  }

  .problem-strip__grid {
    grid-template-columns: 1fr;
  }

  .problem-strip p {
    min-height: 0;
    border-bottom: 1px solid var(--rule);
  }

  .problem-strip p:last-child {
    border-bottom: 0;
  }

  .new-section {
    padding: 78px 0;
  }

  .statement-grid,
  .value-heading,
  .room-grid,
  .final-cta__grid {
    grid-template-columns: 1fr;
  }

  .statement-copy {
    grid-column: auto;
  }

  .statement-grid h2 {
    grid-row: auto;
  }

  .statement-grid h2,
  .value-heading h2,
  .room-grid h2,
  .final-cta h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .sentence-demo {
    grid-column: auto;
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .sentence-demo__rail {
    grid-template-columns: repeat(3, 32px);
  }

  .sentence-demo__rail:last-child {
    justify-content: end;
  }

  .sentence-demo > p {
    overflow-x: auto;
    font-size: 1.06rem;
  }

  .sentence-key {
    grid-column: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .outcome-list article {
    grid-template-columns: 42px 1fr;
    gap: 18px;
  }

  .outcome-list article > strong {
    grid-column: 2;
  }

  .room-panel {
    grid-template-columns: 1fr;
  }

  .room-panel > div {
    min-height: 100px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .room-panel > div:nth-child(3) {
    border-bottom: 0;
  }

  .new-footer__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .new-footer nav {
    flex-wrap: wrap;
  }
}

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

  .new-button,
  .control-action,
  .sentence-demo b,
  .home-body .sell-nav__cta,
  .home-body .sell-button,
  .home-body details summary,
  .reveal-item,
  .motion-rule::after {
    animation: none;
    transition: none;
  }

  .reveal-item {
    opacity: 1;
    clip-path: none;
    transform: none;
  }
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(231, 99, 42, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(183, 170, 146, 0.08), transparent 30%),
    linear-gradient(180deg, #151618 0%, #0f1011 50%, #0c0d0e 100%);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

a {
  color: inherit;
}

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

button,
a.button {
  font: inherit;
}

:focus-visible {
  outline: var(--hvy-interaction-focus-inner-width) solid var(--hvy-interaction-focus-inner-color);
  outline-offset: var(--hvy-interaction-focus-offset);
  box-shadow: 0 0 0 var(--hvy-interaction-focus-outer-width) var(--hvy-interaction-focus-outer-color);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  background: var(--text);
  color: var(--bg);
  transform: translateY(-140%);
  transition: transform 0.15s ease;
  z-index: 100;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(15, 16, 17, 0.82);
  border-bottom: 1px solid rgba(67, 73, 82, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand__glyph {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, #32363b 0%, #23262a 100%);
  border: 1px solid #515861;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.brand__glyph::before,
.brand__glyph::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  border-radius: 999px;
}

.brand__glyph::before {
  top: 7px;
  height: 8px;
  background: linear-gradient(180deg, rgba(243, 240, 232, 0.92), rgba(183, 170, 146, 0.44));
}

.brand__glyph::after {
  bottom: 6px;
  height: 7px;
  background: linear-gradient(90deg, rgba(231, 99, 42, 0.94), rgba(231, 99, 42, 0.28));
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}

.brand__tag {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

main {
  display: block;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 56px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--alloy);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--ember), transparent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  max-width: 10.5ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

p {
  margin: 0;
}

.lede,
.section-intro {
  color: var(--muted);
  font-size: clamp(1rem, 1.9vw, 1.16rem);
  max-width: 62ch;
}

.mono,
.meta-list dt,
.data-table th,
.faq__question,
.microcopy,
.button--ghost,
.inline-pill {
  font-family: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, monospace;
}

.hero {
  padding: 72px 0 54px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: 20px;
}

.hero__copy h1 {
  max-width: 8.5ch;
}

.hero__copy h1 span {
  color: var(--ember);
}

.hero__note {
  color: var(--dim);
  font: 12px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.04em;
}

.hero__proofs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.inline-pill {
  padding: 8px 12px;
  border: 1px solid rgba(67, 73, 82, 0.55);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  background: rgba(24, 26, 28, 0.7);
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-m);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  transition:
    transform 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.button:hover {
  transform: translateY(var(--nokie-motion-distance-hover));
}

.button--primary {
  color: #0f1011;
  background: linear-gradient(180deg, #f08a5a 0%, var(--ember) 100%);
  box-shadow: 0 16px 24px rgba(185, 71, 27, 0.22);
}

.button--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(67, 73, 82, 0.6);
}

.button[aria-disabled="true"],
.button.is-disabled {
  color: var(--dim);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(67, 73, 82, 0.45);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.microcopy {
  color: var(--dim);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.panel {
  border: 1px solid rgba(67, 73, 82, 0.62);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%),
    var(--panel);
  box-shadow: 0 20px 60px var(--shadow);
}

.demo-panel {
  padding: 22px;
}

.demo-panel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.key-demo {
  position: relative;
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #111315 0%, #0d0e10 100%);
  border: 1px solid rgba(67, 73, 82, 0.32);
  overflow: hidden;
}

.key-demo__stage {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.key-demo__glow {
  position: absolute;
  width: 260px;
  height: 90px;
  top: 126px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(231, 99, 42, 0.32), transparent 70%);
  filter: blur(10px);
  transition: opacity 160ms ease;
  z-index: -1;
}

.key-demo__dock {
  position: absolute;
  width: min(88%, 390px);
  height: 104px;
  top: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #353a3f;
  border-radius: 42px;
  background: linear-gradient(180deg, #111315, #08090a);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.key-demo__cap {
  position: absolute;
  width: min(72%, 310px);
  height: 164px;
  top: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #5a6067;
  border-radius: 54px;
  color: rgba(243, 240, 232, 0.8);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 26%),
    linear-gradient(180deg, #31353a, #202327);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 26px 32px rgba(0, 0, 0, 0.42);
  transition: transform 170ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}

.key-demo__mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid #596068;
  border-radius: 18px;
  background: #17191c;
  color: var(--alloy);
  font: 700 19px/1 ui-monospace, "SF Mono", Menlo, monospace;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.key-demo__wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 58px;
  transition: opacity 130ms linear, transform 170ms ease;
}

.key-demo__wave i {
  display: block;
  width: 7px;
  height: var(--bar-height, 22px);
  border-radius: 6px;
  background: var(--wave-color);
  transform-origin: center;
}

.key-demo__wave i:nth-child(1),
.key-demo__wave i:nth-child(2),
.key-demo__wave i:nth-child(3),
.key-demo__wave i:nth-last-child(1),
.key-demo__wave i:nth-last-child(2),
.key-demo__wave i:nth-last-child(3) {
  visibility: hidden;
}

.key-demo__wave i:nth-child(4) { --bar-height: 24px; }
.key-demo__wave i:nth-child(5) { --bar-height: 46px; }
.key-demo__wave i:nth-child(6) { --bar-height: 30px; }

.key-demo__confirm {
  position: absolute;
  bottom: 15px;
  width: 44%;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  transition: opacity 160ms ease;
}

.key-demo__status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.key-demo__copy {
  display: grid;
  gap: 10px;
}

.key-demo__controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.button--small {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
}

.button--ghost {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(67, 73, 82, 0.58);
}

.demo-terminal {
  margin-top: 18px;
  border-radius: 16px;
  border: 1px solid rgba(67, 73, 82, 0.55);
  background: rgba(8, 9, 10, 0.92);
  overflow: hidden;
}

.demo-terminal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(67, 73, 82, 0.4);
}

.demo-terminal__body {
  padding: 18px 14px;
  min-height: 124px;
  color: var(--muted);
  font-size: 15px;
}

.demo-terminal__body strong {
  color: var(--text);
}

.proof-bar {
  border-block: 1px solid rgba(67, 73, 82, 0.38);
  background: rgba(8, 9, 10, 0.42);
}

.proof-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-bar__grid span {
  padding: 18px;
  border-left: 1px solid rgba(67, 73, 82, 0.38);
  color: var(--dim);
  font-size: 13px;
}

.proof-bar__grid span:last-child {
  border-right: 1px solid rgba(67, 73, 82, 0.38);
}

.proof-bar__grid strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 30px;
}

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

.bento-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card--wide {
  grid-column: span 2;
  min-height: 250px;
}

.bento-card h3 {
  max-width: 18ch;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.bento-card p {
  max-width: 60ch;
}

.word-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 36px;
}

.word-stream span {
  padding: 8px 11px;
  border: 1px solid rgba(231, 99, 42, 0.24);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(231, 99, 42, 0.07);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.word-stream span:nth-last-child(-n + 2) {
  border-color: rgba(231, 99, 42, 0.7);
  color: var(--text);
}

.meter-lines {
  display: grid;
  gap: 9px;
  margin-top: 28px;
}

.meter-lines i {
  display: block;
  width: var(--meter-width, 76%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ember), rgba(231, 99, 42, 0.08));
}

.meter-lines i:nth-child(2) { --meter-width: 92%; }
.meter-lines i:nth-child(3) { --meter-width: 58%; }
.meter-lines i:nth-child(4) { --meter-width: 84%; }
.meter-lines i:nth-child(5) { --meter-width: 46%; }

.theme-swatches {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.theme-swatches i {
  width: 68px;
  height: 68px;
  border: 1px solid #4f555c;
  border-radius: 18px;
  background: linear-gradient(145deg, #33373c 50%, #e7632a 50%);
}

.theme-swatches i:nth-child(2) {
  border-color: #6d5734;
  background: linear-gradient(145deg, #2b2116 50%, #d99a37 50%);
}

.theme-swatches i:nth-child(3) {
  border-color: #315640;
  background: linear-gradient(145deg, #12281e 50%, #61b77a 50%);
}

.privacy-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  min-height: 220px;
}

.text-link {
  color: var(--alloy);
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--text);
}

.section--steps {
  border-block: 1px solid rgba(67, 73, 82, 0.34);
  background: rgba(8, 9, 10, 0.42);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  border: 1px solid rgba(67, 73, 82, 0.52);
  border-radius: 20px;
  overflow: hidden;
}

.step-grid article {
  min-height: 220px;
  padding: 24px;
  border-left: 1px solid rgba(67, 73, 82, 0.52);
}

.step-grid article:first-child {
  border-left: 0;
}

.step-grid article > span {
  display: block;
  margin-bottom: 42px;
  color: var(--ember);
  font: 12px/1 ui-monospace, "SF Mono", Menlo, monospace;
}

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

.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.mini-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 96px;
  padding: 20px 34px;
  border: 1px solid #565d64;
  border-radius: 34px;
  background: linear-gradient(180deg, #2b2f33, #17191c);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}

.mini-panel i {
  width: 7px;
  height: var(--mini-height, 22px);
  border-radius: 999px;
  background: var(--ember);
}

.mini-panel i:nth-of-type(2), .mini-panel i:nth-of-type(6) { --mini-height: 38px; }
.mini-panel i:nth-of-type(3), .mini-panel i:nth-of-type(5) { --mini-height: 52px; }
.mini-panel i:nth-of-type(4) { --mini-height: 28px; }

.mini-panel span {
  width: 7px;
  height: 7px;
}

.section--cta {
  padding-top: 30px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(231, 99, 42, 0.55);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(231, 99, 42, 0.2), transparent 32%),
    #17191b;
}

.cta-panel p {
  max-width: 62ch;
  color: var(--muted);
}

.cta-panel__actions {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.feature-grid,
.cards,
.pricing-grid,
.requirement-grid,
.footer-grid,
.columns {
  display: grid;
  gap: 18px;
}

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

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

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

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

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

.card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(67, 73, 82, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0)),
    rgba(20, 22, 24, 0.84);
}

.card p,
.card li,
.card dd {
  color: var(--muted);
}

.card__kicker {
  color: var(--alloy);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.price-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-card__amount strong {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
}

.price-card__amount span {
  color: var(--dim);
  font-size: 0.95rem;
}

.price-card ul,
.stack-list,
.faq-list,
.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-list {
  display: grid;
  gap: 12px;
}

.stack-list li,
.price-card li,
.faq-list li,
.link-list li {
  padding-top: 12px;
  border-top: 1px solid rgba(67, 73, 82, 0.42);
}

.price-card li:first-child,
.faq-list li:first-child,
.link-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 10px;
}

.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 14px 14px 0;
  border-top: 1px solid rgba(67, 73, 82, 0.42);
}

.data-table th {
  width: 22%;
  color: var(--alloy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--muted);
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notice {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(199, 138, 44, 0.42);
  background: rgba(199, 138, 44, 0.08);
  color: var(--muted);
}

.notice strong {
  color: var(--text);
}

.faq__question {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.footer {
  border-top: 1px solid rgba(67, 73, 82, 0.45);
  padding: 28px 0 54px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  align-items: start;
}

.footer h2 {
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.footer p,
.footer li {
  color: var(--dim);
  font-size: 0.95rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

.legal-copy {
  color: var(--dim);
  font-size: 0.9rem;
  margin-top: 20px;
}

.simple-hero {
  padding: 64px 0 26px;
}

.simple-hero h1 {
  max-width: 12ch;
}

.simple-hero .section-intro {
  margin-top: 18px;
}

.section-divider {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(67, 73, 82, 0.35);
}

.meta-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px 16px;
  margin: 0;
}

.meta-list dt {
  color: var(--alloy);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.mono {
  word-break: break-word;
}

.nowrap {
  white-space: nowrap;
}

.key-demo[data-state="idle"] {
  --cap-shift: 0px;
  --wave-y: 26px;
  --wave-opacity: 0;
  --wave-color: var(--ember);
  --glow-opacity: 0;
  --confirm-opacity: 0;
}

.key-demo[data-state="key-down"],
.key-demo[data-state="waveform-popout"],
.key-demo[data-state="recording"],
.key-demo[data-state="processing"] {
  --cap-shift: 28px;
  --glow-opacity: 1;
}

.key-demo[data-state="waveform-popout"],
.key-demo[data-state="recording"],
.key-demo[data-state="processing"],
.key-demo[data-state="success"],
.key-demo[data-state="error"] {
  --wave-y: 0px;
  --wave-opacity: 1;
}

.key-demo[data-state="recording"] {
  --wave-color: var(--ember);
}

.key-demo[data-state="processing"] {
  --wave-color: var(--amber);
}

.key-demo[data-state="success"] {
  --cap-shift: 14px;
  --wave-color: var(--green);
  --glow-opacity: 0.78;
  --confirm-opacity: 1;
}

.key-demo[data-state="error"] {
  --cap-shift: 18px;
  --wave-color: #b4463e;
  --glow-opacity: 0.68;
}

.key-demo__cap {
  transform: translateY(var(--cap-shift));
}

.key-demo__wave {
  opacity: var(--wave-opacity);
  transform: translateY(var(--wave-y));
}

.key-demo__glow {
  opacity: var(--glow-opacity);
}

.key-demo__confirm {
  opacity: var(--confirm-opacity);
}

.key-demo[data-state="recording"] .key-demo__wave i {
  transform-origin: center bottom;
  animation: waveform-live var(--nokie-motion-duration-waveform) ease-in-out infinite alternate;
}

.key-demo[data-state="processing"] .key-demo__wave i {
  animation: waveform-scan var(--nokie-motion-duration-scan) linear infinite;
}

.key-demo[data-state="error"] .key-demo__cap {
  animation: cap-shiver var(--nokie-motion-duration-shiver) linear 1;
}

.key-demo__wave i:nth-child(4) { animation-delay: var(--nokie-motion-delay-zero); }
.key-demo__wave i:nth-child(5) { animation-delay: var(--nokie-motion-delay-wave-step); }
.key-demo__wave i:nth-child(6) { animation-delay: calc(var(--nokie-motion-delay-wave-step) * 2); }

@keyframes waveform-live {
  0% { transform: scaleY(0.62); }
  100% { transform: scaleY(1.12); }
}

@keyframes waveform-scan {
  0% { opacity: 0.28; }
  50% { opacity: 1; }
  100% { opacity: 0.28; }
}

@keyframes cap-shiver {
  0% { transform: translateX(0) translateY(var(--cap-shift)); }
  25% { transform: translateX(var(--nokie-motion-distance-shiver-left)) translateY(var(--cap-shift)); }
  60% { transform: translateX(var(--nokie-motion-distance-shiver-right)) translateY(var(--cap-shift)); }
  100% { transform: translateX(0) translateY(var(--cap-shift)); }
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards,
  .pricing-grid,
  .requirement-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .hero__grid,
  .columns,
  .footer-grid,
  .focus-grid,
  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 42px;
  }

  .site-header {
    position: static;
  }

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

  .step-grid article {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid rgba(67, 73, 82, 0.52);
  }

  .step-grid article:first-child {
    border-top: 0;
  }

  .step-grid article > span {
    margin-bottom: 20px;
  }

  .cta-panel__actions {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-shell {
    width: min(calc(100% - 20px), var(--content));
  }

  .site-header__inner {
    min-height: 64px;
    align-items: flex-start;
    padding: 14px 0;
  }

  .site-nav {
    gap: 8px 14px;
  }

  .section,
  .hero {
    padding: 42px 0;
  }

  .demo-panel,
  .card {
    padding: 18px;
  }

  .feature-grid,
  .cards,
  .pricing-grid,
  .requirement-grid,
  .bento-grid,
  .proof-bar__grid {
    grid-template-columns: 1fr;
  }

  .bento-card--wide {
    grid-column: auto;
  }

  .privacy-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .proof-bar__grid span,
  .proof-bar__grid span:last-child {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(67, 73, 82, 0.38);
  }

  .proof-bar__grid span:first-child {
    border-top: 0;
  }

  .key-demo {
    padding: 14px;
  }

  .key-demo__stage {
    min-height: 230px;
  }

  .key-demo__cap {
    width: 76%;
    height: 144px;
  }

  .key-demo__dock {
    top: 102px;
    height: 92px;
  }

  .key-demo__status {
    flex-direction: column;
  }

  .mini-panel {
    min-height: 82px;
    padding-inline: 18px;
  }

  .meta-list,
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
  }

  .data-table th,
  .data-table td {
    width: 100%;
    padding-right: 0;
  }

  .data-table th {
    padding-bottom: 6px;
  }

  .data-table td {
    padding-top: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: var(--nokie-motion-duration-reduced) !important;
    animation-iteration-count: 1 !important;
    transition-duration: var(--nokie-motion-duration-reduced) !important;
  }

  .button:hover {
    transform: none;
  }

  .key-demo[data-state="recording"] .key-demo__wave i,
  .key-demo[data-state="processing"] .key-demo__wave i {
    animation: none;
  }
}
