:root {
  --bg: #000;
  --fg: #fff;
  --muted: #797986;
  --nav-muted: #797986;
  --accent: #c9935a;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --line: rgba(255, 255, 255, 0.12);
  --shell-pad: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scrollbar-gutter: stable;
}

@media (min-width: 810px) and (max-width: 1199.98px) {
  html {
    font-size: 93.75%;
  }
}

@media (max-width: 809.98px) {
  html {
    font-size: 87.5%;
  }
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.page-rays {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.shell {
  position: relative;
  box-sizing: border-box;
  max-width: 75.625rem;
  margin: 0 auto;
  padding: 1.5rem 0 0;
}

.shell-frame {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 1rem;
  left: 1rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  background: var(--fg);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform 140ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero-band {
  position: relative;
}

.hero-band > .top-nav,
.legal-page .top-nav,
.shell-frame > .proof,
.shell-frame > .pain,
.shell-frame > .features,
.shell-frame > .how,
.shell-frame > .faq,
.shell-frame > .site-footer {
  position: relative;
  z-index: 1;
}

.hero-card {
  position: relative;
  min-height: clamp(24rem, 55vh, 40rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: clamp(14px, 2.5vw, 2rem);
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 810px) {
  .hero-band::before {
    content: "";
    position: absolute;
    top: -1.5rem;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.15) 55%,
        rgba(0, 0, 0, 0.45) 100%
      ),
      url("/assets/EI3EK6NLXaYux80deKnzqXyYo0.png") center / cover no-repeat;
  }
}

.hero-split {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 810px) {
  .hero-split {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.hero-col--copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 0 2.5rem;
}

@media (min-width: 810px) {
  .hero-col--copy {
    padding: 3rem 2rem 4.5rem 0;
    position: relative;
    z-index: 1;
  }
}

.hero-col--visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 2.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 810px) {
  .hero-col--visual {
    padding: 12px;
    align-items: flex-start;
    align-self: stretch;
  }
}

.hero-col--visual .workflow-card {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.hero-eyebrow-dots {
  display: inline-grid;
  grid-template-columns: repeat(2, 3px);
  gap: 2px;
  opacity: 0.85;
}

.hero-eyebrow-dots span {
  width: 3px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
}

.top-nav {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 2rem;
  margin-bottom: 1.5rem;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--fg);
}

.brand-logo {
  display: block;
  height: 22px;
  width: auto;
  flex: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.brand-name {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-from {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
}

.nav-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.0175rem;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 140ms var(--ease);
}

.nav-link[aria-pressed="true"] {
  display: none;
}

.nav-link:hover {
  color: var(--nav-muted);
}

.nav-end {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.btn-login {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 0.25rem 0.625rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.0175rem;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    border-color 120ms var(--ease),
    background 120ms var(--ease),
    transform 120ms var(--ease);
}

.btn-login svg {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
}

.btn-login:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.btn-login:active {
  transform: scale(0.98);
}

.btn-contact {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #000;
  text-decoration: none;
  padding: 0.25rem 0.625rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.0175rem;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform 120ms var(--ease),
    opacity 120ms var(--ease);
}

.btn-contact:hover {
  opacity: 0.92;
}

.btn-contact:active {
  transform: scale(0.98);
}

.hero-copy {
  max-width: 900px;
}

h1 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.125rem, 4.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.06rem;
  line-height: 1.12;
  color: var(--fg);
  text-wrap: balance;
}

.sub {
  margin: 1.25rem 0 0;
  max-width: 26rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
  text-wrap: balance;
}

.cta-row {
  margin-top: 2rem;
}

.btn-cta {
  appearance: none;
  display: inline-flex;
  align-items: stretch;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #000;
  padding: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.0175rem;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform 120ms var(--ease),
    opacity 120ms var(--ease);
}

.btn-cta__label {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem 0.625rem 1.125rem;
}

.btn-cta__sep {
  width: 1px;
  align-self: stretch;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.btn-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.875rem;
}

.btn-cta__logo {
  display: block;
  height: 1.5rem;
  width: 1.5rem;
}

.btn-cta:hover {
  opacity: 0.92;
}

.btn-cta:active {
  transform: scale(0.98);
}

.workflow-card {
  width: min(100%, 22.5rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.workflow-head {
  margin: 0;
  padding: 1rem 1.25rem 0.75rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.25rem 1.25rem;
}

.workflow-step {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0 0.875rem;
  position: relative;
  padding-bottom: 1.125rem;
}

.workflow-step:last-child {
  padding-bottom: 0;
}

.workflow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.5625rem;
  top: 1.375rem;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.workflow-step.is-done:not(:last-child)::before {
  background: rgba(255, 255, 255, 0.28);
}

.workflow-marker {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.workflow-step.is-done .workflow-marker {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.workflow-step.is-done .workflow-marker svg {
  width: 0.625rem;
  height: 0.625rem;
}

.workflow-step.is-active .workflow-marker {
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.workflow-step.is-pending .workflow-marker {
  border-color: rgba(255, 255, 255, 0.2);
}

.workflow-label {
  font-size: 0.9375rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.45);
}

.workflow-step.is-done .workflow-label,
.workflow-step.is-active .workflow-label {
  color: var(--fg);
}

.workflow-foot {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0;
  padding: 1rem 1.25rem 1.125rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}

.workflow-foot-dot {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: workflow-foot-dot-pulse 2s ease-in-out infinite;
}

@keyframes workflow-foot-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  50% {
    box-shadow: 0 0 0 0.4rem rgba(34, 197, 94, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-foot-dot {
    animation: none;
  }
}

.asks {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.asks.is-on {
  display: flex;
}

.chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  color: #d4d4d4;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.fail {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  color: #fca5a5;
  font-size: 0.875rem;
}

.fail.is-on {
  display: flex;
}

.fail-retry {
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

.fail-retry:hover {
  background: rgba(255, 255, 255, 0.1);
}

.fail-retry:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.pain {
  display: grid;
  gap: 3rem;
  margin-bottom: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.pain-headline {
  margin: 0;
  padding: 2.75rem var(--shell-pad) 0;
  max-width: 62rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--fg);
  text-wrap: balance;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  justify-content: space-between;
  align-items: stretch;
  margin: 0;
  padding: 0;
  border: 0;
}

@media (min-width: 810px) {
  .pain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    justify-content: space-between;
  }
}

.pain-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  min-height: 24rem;
  margin: 0;
  padding: 1.5rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 810px) {
  .pain-card {
    border-bottom: 0;
  }

  .pain-card + .pain-card {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.pain-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.pain-dots {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  justify-content: start;
  column-gap: 2.5rem;
  row-gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.pain-dots span {
  width: 6px;
  height: 6px;
  background: var(--fg);
}

.pain-title {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--fg);
}

.pain-text {
  margin: 0;
  padding: 0;
  max-width: 22rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

/* —— Social proof (below hero) —— */
.proof {
  border-top: 1px solid var(--line);
}

.proof-logos {
  display: none; /* TODO: restore logo strip when assets are ready */
}

@media (min-width: 810px) {
  .proof-logos {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 2.85fr);
  }
}

.proof-trusted {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: var(--muted);
}

@media (min-width: 810px) {
  .proof-trusted {
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    min-height: 4.5rem;
  }
}

.proof-logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 810px) {
  .proof-logo-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.proof-logo-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 810px) {
  .proof-logo-row li {
    border-bottom: 0;
  }

  .proof-logo-row li:last-child {
    border-right: 0;
  }
}

.proof-logo-mark {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  opacity: 0.55;
}

.proof-statement {
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.75rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.proof-headline {
  margin: 0 auto;
  max-width: 52rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.625rem, 3.2vw, 2.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.28;
  text-wrap: balance;
}

.proof-headline-strong {
  color: var(--fg);
}

.proof-headline-muted {
  color: var(--muted);
}

.proof-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 810px) {
  .proof-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.proof-stat {
  padding: 2rem 1.5rem 2.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 810px) {
  .proof-stat {
    border-bottom: 0;
  }

  .proof-stat:nth-child(4) {
    border-right: 0;
  }
}

@media (max-width: 809.98px) {
  .proof-stat:nth-child(2n) {
    border-right: 0;
  }

  .proof-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

.proof-stat-value {
  margin: 0 0 0.625rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}

.proof-stat-label {
  margin: 0;
  max-width: 11rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}

/* —— Features —— */
.features {
  padding: 4rem 0 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.features-head {
  text-align: center;
  margin-bottom: 3rem;
  padding-inline: var(--shell-pad);
}

.features-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.features-headline {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--fg);
  text-wrap: balance;
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 20rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-row:first-child {
  border-top: 0;
}

@media (min-width: 810px) {
  .feature-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    min-height: 22rem;
  }

  .feature-row--flip {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  }

  .feature-row--flip .feature-copy {
    order: 2;
  }

  .feature-row--flip .feature-visual {
    order: 1;
  }
}

.feature-copy {
  display: flex;
  align-items: center;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background-color: var(--bg);
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.07) 1px,
    transparent 0
  );
  background-size: 22px 22px;
}

@media (min-width: 810px) {
  .feature-copy {
    padding: 2.5rem 2rem;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .feature-row--flip .feature-copy {
    border-right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.feature-copy-in {
  max-width: 20rem;
}

.feature-name {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fg);
}

.feature-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.feature-visual {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  padding: 0;
}

.feature-placeholder {
  position: relative;
  z-index: 1;
  flex: 1;
  align-self: stretch;
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.feature-shot {
  background: #fff;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: center;
}

.how {
  display: grid;
  gap: 4.5rem;
  padding: 4rem 0 0;
}

.how-intro {
  text-align: center;
  padding-inline: var(--shell-pad);
}

.how-eyebrow,
.faq-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.how-headline {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4.4vw, 2.875rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--fg);
  white-space: pre-line;
  text-wrap: balance;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 810px) {
  .how-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.how-step {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 0;
  padding: 32px;
}

.how-step + .how-step {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 810px) {
  .how-step + .how-step {
    padding-left: 1.5rem;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: #16161a;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--fg);
}

.how-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.how-title {
  margin: 0;
  padding: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--fg);
}

.how-text {
  margin: 0;
  padding: 0;
  max-width: 17rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

.faq-intro {
  padding-inline: var(--shell-pad);
}

.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.75rem 0 3rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 810px) {
  .faq {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr);
    gap: 3rem;
    align-items: start;
  }
}

.faq-headline {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--fg);
  text-wrap: balance;
}

@media (min-width: 810px) {
  .faq-list {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-q {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  margin: 0;
  padding: 1.5rem 0.35rem 1.5rem 1.75rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--fg);
  transition: padding 320ms var(--ease);
}

.faq-item.is-open .faq-q {
  padding-bottom: 0.5rem;
}

.faq-q-icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: var(--muted);
  transition:
    transform 320ms var(--ease),
    color 140ms var(--ease);
}

.faq-q:hover .faq-q-icon {
  color: var(--fg);
}

.faq-item.is-open .faq-q-icon {
  transform: rotate(180deg);
  color: var(--fg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-a-text {
  margin: 0;
  padding: 0 2.5rem 1.75rem 1.75rem;
  max-width: 44rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 2rem var(--shell-pad) 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  display: block;
  height: 21px;
  width: auto;
  flex: none;
}

.footer-tag {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nav-muted);
  transition: color 140ms var(--ease);
}

.footer-link:hover {
  color: var(--fg);
}

.footer-copy {
  flex-basis: 100%;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}

.legal-page .top-nav {
  padding-inline: var(--shell-pad);
}

.legal {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.5rem var(--shell-pad) 2rem;
}

.legal-kicker {
  margin: 0 0 0.75rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-updated {
  margin: 0 0 2rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal p {
  margin: 0 0 1rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 0.45rem;
}

.legal a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal strong {
  color: var(--fg);
  font-weight: 500;
}

.error-page .top-nav {
  padding-inline: var(--shell-pad);
}

.error-page .shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.error {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem var(--shell-pad) 4rem;
}

.error-kicker {
  margin: 0 0 1rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.16);
}

.error h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.error-text {
  margin: 1rem 0 0;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.error-action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.625rem 1rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.0175rem;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform 120ms var(--ease),
    opacity 120ms var(--ease),
    border-color 120ms var(--ease),
    background 120ms var(--ease);
}

.error-action--primary {
  border: 1px solid transparent;
  background: #fff;
  color: #000;
}

.error-action--ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
}

.error-action--primary:hover {
  opacity: 0.92;
}

.error-action--ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.error-action:active {
  transform: scale(0.98);
}

.error-note {
  margin: 1.75rem 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nav-muted);
}

@media (prefers-reduced-motion: reduce) {
  .error-action {
    transition: none;
  }

  .error-action:active {
    transform: none;
  }
}

@media (max-width: 809.98px) {
  :root {
    --shell-pad: 1rem;
  }

  .shell {
    padding: 0 0 1rem;
  }

  .shell-frame {
    border-left: 0;
    border-right: 0;
  }

  .hero-band {
    isolation: isolate;
    overflow: hidden;
  }

  .hero-col--visual {
    justify-content: flex-end;
  }

  .hero-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.15) 55%,
        rgba(0, 0, 0, 0.45) 100%
      ),
      url("/assets/EI3EK6NLXaYux80deKnzqXyYo0.png") center / cover no-repeat;
  }

  .top-nav {
    grid-template-columns: 1fr auto;
    padding-inline: var(--shell-pad);
    margin-bottom: 0;
    padding-top: 16px;
    row-gap: 0.5rem;
  }

  .pain {
    gap: 2rem;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .pain-headline {
    margin: 0;
    padding-top: 2rem;
  }

  .pain-card {
    min-height: 0;
    margin: 0;
    padding: 16px;
    border-left: 0;
    border-right: 0;
  }

  .pain-card + .pain-card {
    border-left: 0;
  }

  .pain-dots {
    display: none;
  }

  .how {
    gap: 2.5rem;
    padding: 2.5rem 0 0.5rem;
  }

  .how-grid {
    padding-inline: var(--shell-pad);
  }

  .how-step {
    gap: 1.75rem;
    padding: 1.75rem 0 2rem;
  }

  .faq-list {
    padding-inline: var(--shell-pad);
  }

  .faq-q {
    padding-left: 0;
    font-size: 0.9375rem;
  }

  .faq-a-text {
    padding-right: 0.5rem;
    padding-left: 0;
  }

  .proof-statement {
    padding: 2.5rem 1rem 2rem;
  }

  .feature-copy {
    padding: 1.75rem 1.25rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem var(--shell-pad) 1rem;
  }

  .footer-copy {
    padding-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-contact,
  .btn-login,
  .btn-cta,
  .footer-link,
  .skip-link {
    transition: none;
  }

  .faq-q,
  .faq-a,
  .faq-q-icon {
    transition: none;
  }

  .btn-contact:active,
  .btn-login:active,
  .btn-cta:active {
    transform: none;
  }
}

/* —— Hero: copy row (text left, CTA right) above a framed product video —— */
.hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f7f6f6;
}

.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow-card[hidden] {
  display: none;
}

@media (min-width: 810px) {
  .hero-card {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-col--copy {
    padding: 3rem 0 2rem;
  }

  .hero-copy {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2rem;
    align-items: end;
  }

  .hero-copy > * {
    grid-column: 1;
  }

  .hero-copy > .cta-row {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: end;
    justify-self: end;
  }

  .hero-copy > .asks,
  .hero-copy > .fail {
    grid-column: 1 / -1;
  }

  .hero-col--visual {
    padding: 0;
    align-items: stretch;
  }

  .hero-col--visual .hero-video {
    align-self: stretch;
  }

  .hero-copy .sub {
    max-width: 40rem;
  }
}

/* —— Header menu: anchor links + mobile toggle —— */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

#demo,
#features,
#how,
#faq {
  scroll-margin-top: 1rem;
}

.nav-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.0175rem;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms var(--ease);
}

.nav-links a:hover {
  color: var(--nav-muted);
}

@media (min-width: 810px) {
  .top-nav {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 809.98px) {
  .top-nav {
    position: relative;
    z-index: 5;
  }

  .nav-toggle {
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle-bar {
    display: block;
    width: 16px;
    height: 1.5px;
    border-radius: 1px;
    background: var(--fg);
    transition: transform 160ms var(--ease);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .nav-menu {
    display: none;
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.5rem);
    left: var(--shell-pad);
    right: var(--shell-pad);
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links li:last-child a {
    border-bottom: 0;
  }

  .nav-menu .nav-end {
    justify-self: stretch;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-menu .lang-switch {
    margin-right: auto;
  }
}
