/* ==========================================================================
   Kevo Automatizaciones — design system
   ========================================================================== */

:root {
  /* Dark surfaces */
  --ink: #060b14;
  --navy-900: #0a1322;
  --navy-800: #0f1b2e;
  --navy-700: #16253c;
  --navy-600: #1d3050;

  /* Light surfaces */
  --paper: #ffffff;
  --paper-2: #f4f7fb;
  --paper-3: #e9eff7;

  /* Accents */
  --mint: #16e0a3;
  --mint-dark: #0bb583;
  --sky: #4f9cf9;
  --amber: #ffb84d;
  --rose: #ff6b6b;

  /* Text */
  --text: #e9eff7;
  --muted: #93a4bc;
  --ink-text: #0b1524;
  --ink-muted: #56657c;

  /* Lines */
  --line-dark: rgba(148, 163, 184, 0.16);
  --line-light: rgba(11, 21, 36, 0.1);

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --wrap: 1180px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11, 21, 36, 0.06), 0 4px 12px rgba(11, 21, 36, 0.05);
  --shadow-md: 0 8px 30px rgba(11, 21, 36, 0.1);
  --shadow-lg: 0 24px 70px rgba(6, 11, 20, 0.5);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 104px 0;
  position: relative;
}

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

.section--dark {
  background: var(--navy-900);
  color: var(--text);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-dark);
  margin-bottom: 18px;
}

.section--dark .eyebrow {
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin-bottom: 18px;
}

.section-head p {
  font-size: 18px;
  color: var(--ink-muted);
}

.section--dark .section-head p {
  color: var(--muted);
}

.lede {
  font-size: 19px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--mint) 0%, #3ce8bb 100%);
  color: #04231a;
  box-shadow: 0 10px 30px rgba(22, 224, 163, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 16px 40px rgba(22, 224, 163, 0.38);
}

.btn--ghost {
  border-color: var(--line-dark);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: rgba(22, 224, 163, 0.5);
  background: rgba(22, 224, 163, 0.08);
}

.btn--outline {
  border-color: var(--line-light);
  color: var(--ink-text);
  background: var(--paper);
}

.btn--outline:hover {
  border-color: var(--mint-dark);
  color: var(--mint-dark);
}

.btn--lg {
  padding: 17px 34px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.btn svg {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(10, 19, 34, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--text);
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--mint);
  color: #04231a;
}

.nav__burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav__burger span + span {
  margin-top: 4px;
}

.nav.is-open .nav__burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav.is-open .nav__burger span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--text);
  padding: 168px 0 104px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -6%, rgba(22, 224, 163, 0.16), transparent 62%),
    radial-gradient(760px 500px at 88% 8%, rgba(79, 156, 249, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--navy-900) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 72%);
  opacity: 0.5;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}

.hero__badge b {
  color: var(--text);
  font-weight: 600;
}

.flag-cr {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  margin-bottom: 24px;
}

.hero h1 .grad {
  background: linear-gradient(100deg, var(--mint) 10%, var(--sky) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.hero__proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, var(--mint), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__proof-item span {
  font-size: 13.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Hero visual — animated document pipeline
   -------------------------------------------------------------------------- */

.pipeline {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(22, 37, 60, 0.9), rgba(10, 19, 34, 0.95));
  box-shadow: var(--shadow-lg);
  padding: 22px;
  backdrop-filter: blur(10px);
}

.pipeline::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(22, 224, 163, 0.5), transparent 40%, rgba(79, 156, 249, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pipeline__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 20px;
}

.pipeline__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2c3e57;
}

.pipeline__dot:nth-child(1) {
  background: #ff5f57;
}
.pipeline__dot:nth-child(2) {
  background: #febc2e;
}
.pipeline__dot:nth-child(3) {
  background: #28c840;
}

.pipeline__title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.pipeline__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pstep {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.pstep.is-active {
  border-color: rgba(22, 224, 163, 0.55);
  background: rgba(22, 224, 163, 0.09);
  transform: translateX(4px);
}

.pstep.is-done {
  border-color: rgba(22, 224, 163, 0.25);
}

.pstep__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  transition: color 0.5s var(--ease), background 0.5s var(--ease);
}

.pstep.is-active .pstep__icon,
.pstep.is-done .pstep__icon {
  color: var(--mint);
  background: rgba(22, 224, 163, 0.14);
}

.pstep__body {
  min-width: 0;
  flex: 1;
}

.pstep__label {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.pstep__meta {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pstep__state {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.pstep__check {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  color: var(--mint);
}

.pstep.is-done .pstep__check {
  opacity: 1;
  transform: scale(1);
}

.pstep__spin {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(22, 224, 163, 0.25);
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.pstep.is-active .pstep__spin {
  display: block;
}

.pstep.is-active .pstep__check {
  display: none;
}

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

.pipeline__out {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-dark);
}

.pdoc {
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  opacity: 0.28;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease),
    border-color 0.6s var(--ease);
}

.pdoc.is-ready {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(22, 224, 163, 0.4);
}

.pdoc__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 7px;
}

.pdoc__name {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 9px;
}

.pdoc__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pdoc__lines i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.22);
}

.pdoc__lines i:nth-child(2) {
  width: 78%;
}
.pdoc__lines i:nth-child(3) {
  width: 55%;
}

/* --------------------------------------------------------------------------
   Marquee / logos strip
   -------------------------------------------------------------------------- */

.strip {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--navy-900);
  padding: 24px 0;
  color: var(--muted);
}

.strip__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.strip__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   Cards / grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 224, 163, 0.4);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(22, 224, 163, 0.16), rgba(79, 156, 249, 0.12));
  color: var(--mint-dark);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 11px;
}

.card p {
  font-size: 15.5px;
  color: var(--ink-muted);
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--mint);
}

/* Pain cards (dark) */
.pain {
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.pain:hover {
  border-color: rgba(255, 107, 107, 0.35);
  background: rgba(255, 107, 107, 0.05);
}

.pain__n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--rose);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.pain h3 {
  font-size: 17.5px;
  color: var(--text);
  margin-bottom: 9px;
}

.pain p {
  font-size: 15px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Case study
   -------------------------------------------------------------------------- */

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

.case__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 26px;
  width: fit-content;
}

.case__logo {
  height: 30px;
  width: auto;
  border-radius: 4px;
}

.case__meta-txt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.case__meta-txt b {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14.5px;
}

.case h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  margin-bottom: 18px;
  color: var(--text);
}

.case p {
  color: var(--muted);
  margin-bottom: 16px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.metric {
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--mint);
  line-height: 1.1;
}

.metric span {
  font-size: 13.5px;
  color: var(--muted);
}

/* App screenshot mock */
.appshot {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
}

.appshot__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line-dark);
}

.appshot__url {
  flex: 1;
  margin-left: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.appshot__tabs {
  display: flex;
  gap: 2px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}

.appshot__tab {
  padding: 11px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.appshot__tab.is-on {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.appshot__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.appshot__row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.appshot__key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.appshot__val {
  padding: 9px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  color: var(--text);
}

.appshot__val--hl {
  border-color: rgba(22, 224, 163, 0.45);
  background: rgba(22, 224, 163, 0.08);
  color: var(--mint);
}

/* --------------------------------------------------------------------------
   Problem examples — a small, concrete sample inside each pain card
   -------------------------------------------------------------------------- */

.ex {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 12px 13px 13px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(6, 11, 20, 0.45);
}

.ex__cap {
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.55);
}

.ex__row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.1);
}

.ex__k {
  flex: none;
  font-size: 10.5px;
  color: rgba(226, 232, 240, 0.55);
}

.ex__v {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  color: rgba(237, 243, 252, 0.92);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ex__q {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
}

.ex__row.is-bad {
  background: rgba(255, 107, 107, 0.14);
  box-shadow: inset 2px 0 0 var(--rose);
}

.ex__row.is-bad .ex__v {
  color: #ffc9c9;
}

.ex__row.is-bad .ex__k {
  color: var(--rose);
}

.ex__out {
  margin-top: 3px;
  font-size: 11px;
  color: var(--rose);
}

.ex__note {
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.5);
}

/* --------------------------------------------------------------------------
   Dataflow diagram — real document previews wired together
   -------------------------------------------------------------------------- */

.section--ink {
  background: var(--ink);
  color: var(--text);
}

.section--ink .eyebrow {
  color: var(--mint);
}

.section--ink .section-head p {
  color: var(--muted);
}

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

.flow {
  margin: 0;
  padding: 34px 26px 26px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 27, 46, 0.5), rgba(10, 19, 34, 0.3));
}

.flow__stage {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

/* Vertical rails that frame where the work comes from and who it lands on.
   The border lives on the upright wrapper: on the rotated text, logical
   borders resolve against the vertical writing mode and come out sideways. */
.flow__rail {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  padding-inline: 7px;
  border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.flow__rail--r {
  border-right: 0;
  border-left: 1px solid rgba(148, 163, 184, 0.16);
}

.flow__railtxt {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(147, 164, 188, 0.75);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.flow__grid {
  position: relative;
  display: grid;
  flex: 1;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr) 58px minmax(0, 1fr);
}

.flow__col {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.flow__col:nth-of-type(1) {
  grid-column: 1;
}

.flow__col--mid {
  grid-column: 3;
}

.flow__col:nth-of-type(3) {
  grid-column: 5;
}

.flow__hd {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(147, 164, 188, 0.8);
  text-align: center;
}

.flow__cards {
  display: grid;
  flex: 1;
  align-content: center;
  gap: 24px;
  grid-template-rows: auto auto;
}

.flow__cards--one {
  gap: 14px;
  grid-template-rows: auto auto;
}

.flow__cards--out {
  gap: 18px;
  grid-template-rows: auto auto auto;
}

.flow__tag {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 184, 77, 0.75);
  text-align: center;
}

.flow__cards--one .flow__tag {
  margin-top: 0;
  color: rgba(22, 224, 163, 0.8);
}

/* Wires sit behind the cards so the elbows tuck under the card edges.
   An SVG is a replaced element, so it needs explicit sizing to stretch. */
.flow__wires {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.flow__paths path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 5 8;
  animation: flowDash 1.5s linear infinite;
}

/* Negative offset walks the dashes forward, along the direction of the path. */
@keyframes flowDash {
  to {
    stroke-dashoffset: -26;
  }
}

.wire--in {
  stroke: rgba(148, 163, 184, 0.8);
}

.wire--out {
  stroke: rgba(255, 184, 77, 0.85);
}

.wire--addon {
  stroke: rgba(148, 163, 184, 0.5);
  animation-duration: 2.6s;
}

@media (prefers-reduced-motion: reduce) {
  .flow__paths path {
    animation: none;
  }
}

/* Document cards ---------------------------------------------------------- */

.doc {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 13px 15px 14px;
  border: 1px solid;
  border-radius: 12px;
  background: rgba(12, 22, 38, 0.92);
}

.doc--in {
  border-color: rgba(79, 156, 249, 0.42);
}

.doc--do {
  border-color: rgba(22, 224, 163, 0.5);
  outline: 1px solid rgba(22, 224, 163, 0.18);
  outline-offset: 5px;
  box-shadow: 0 0 46px rgba(22, 224, 163, 0.14);
}

.doc--out {
  border-color: rgba(255, 184, 77, 0.42);
}

.doc--addon {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.42);
  background: rgba(12, 22, 38, 0.55);
}

.doc__hd {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 10px;
  margin-bottom: 11px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.doc__kind {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.doc__badge {
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--muted);
}

.doc--addon .doc__badge {
  color: rgba(255, 184, 77, 0.8);
}

.doc__rows {
  display: grid;
  gap: 7px;
  margin: 0;
}

.doc__row {
  display: grid;
  align-items: baseline;
  gap: 8px;
  grid-template-columns: 80px minmax(0, 1fr);
}

.doc__row dt {
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(147, 164, 188, 0.75);
  overflow-wrap: anywhere;
}

.doc__row dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text);
  overflow-wrap: break-word;
}

/* Nothing on the output side was typed by a person, so every value is marked. */
.doc--out .doc__row dd {
  padding: 2px 7px;
  margin-left: -7px;
  border-radius: 6px;
  background: rgba(79, 156, 249, 0.18);
  font-weight: 500;
}

.doc__do {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.doc__checks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc__checks li {
  position: relative;
  padding-left: 22px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text);
}

.doc__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}

.doc__note {
  margin: 13px 0 0;
  padding-top: 11px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 11.5px;
  color: var(--muted);
}

.flow__cap {
  max-width: 620px;
  margin: 30px auto 0;
  padding-top: 24px;
  border-top: 1px dashed rgba(148, 163, 184, 0.18);
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

/* Below this width the three columns get too cramped, so the flow stacks and
   the wires are replaced by simple arrows between cards. */
@media (max-width: 1080px) {
  .flow__stage {
    display: block;
  }

  .flow__rail {
    display: none;
  }

  .flow__grid {
    display: block;
  }

  .flow__wires {
    display: none;
  }

  .flow__hd {
    margin: 0 0 12px;
    text-align: left;
  }

  /* The flow between groups becomes a real arrow once stacked. */
  .flow__col + .flow__col::before {
    content: "";
    display: block;
    width: 14px;
    height: 30px;
    margin: 28px auto 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 30'%3E%3Cpath d='M7 0v22M1.6 16.6L7 22l5.4-5.4' fill='none' stroke='%2393a4bc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / contain no-repeat;
  }

  .flow__cards,
  .flow__cards--out {
    display: grid;
    gap: 34px;
    grid-template-rows: none;
  }

  .flow__cards--one {
    gap: 14px;
  }

  /* Cards inside a group are parallel, not sequential, so they get a "+". */
  .flow__cards > .doc + .doc::before,
  .flow__cards > .doc + .doc::after {
    content: "";
    position: absolute;
    left: 50%;
    background: rgba(147, 164, 188, 0.8);
    transform: translateX(-50%);
  }

  .flow__cards > .doc + .doc::before {
    top: -24px;
    width: 2px;
    height: 14px;
  }

  .flow__cards > .doc + .doc::after {
    top: -18px;
    width: 14px;
    height: 2px;
  }

  .flow__tag {
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Process timeline
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--sky));
  opacity: 0.28;
}

.step {
  position: relative;
  text-align: center;
}

.step__n {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--mint);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--mint-dark);
  position: relative;
  z-index: 1;
}

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

.step h3 {
  font-size: 17.5px;
  margin-bottom: 9px;
}

.step p {
  font-size: 15px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Stack
   -------------------------------------------------------------------------- */

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.chip:hover {
  border-color: rgba(22, 224, 163, 0.45);
  background: rgba(22, 224, 163, 0.07);
  transform: translateY(-2px);
}

.chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Packages
   -------------------------------------------------------------------------- */

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pkg:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pkg--feature {
  border-color: var(--mint);
  box-shadow: 0 20px 50px rgba(22, 224, 163, 0.14);
}

.pkg__flag {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--mint);
  color: #04231a;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pkg h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.pkg__for {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
}

.pkg__price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--mint-dark);
  margin-bottom: 18px;
}

.pkg ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.pkg li {
  position: relative;
  padding-left: 27px;
  font-size: 15px;
  color: var(--ink-muted);
}

.pkg li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(22, 224, 163, 0.16);
}

.pkg li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 5px;
  height: 8px;
  border: solid var(--mint-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--line-light);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink-text);
  transition: color 0.2s var(--ease);
}

.faq__q:hover {
  color: var(--mint-dark);
}

.faq__ico {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.faq__item.is-open .faq__ico {
  transform: rotate(45deg);
  background: var(--mint);
  border-color: var(--mint);
  color: #04231a;
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  padding-bottom: 24px;
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

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

.contact h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  color: var(--text);
  margin-bottom: 18px;
}

.contact__lede {
  color: var(--muted);
  margin-bottom: 30px;
}

.channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.channel:hover {
  border-color: rgba(22, 224, 163, 0.5);
  background: rgba(22, 224, 163, 0.07);
  transform: translateX(4px);
}

.channel__ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(22, 224, 163, 0.12);
  color: var(--mint);
}

.channel__txt {
  min-width: 0;
}

.channel__txt b {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--text);
}

.channel__txt span {
  font-size: 13.5px;
  color: var(--muted);
  word-break: break-word;
}

.form {
  padding: 34px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(22, 37, 60, 0.85), rgba(10, 19, 34, 0.9));
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.field label span {
  color: var(--mint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 118px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5b6b83;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
  background: rgba(0, 0, 0, 0.4);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2393a4bc' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.field select option {
  background: var(--navy-800);
  color: var(--text);
}

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

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form__note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.form__status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  display: none;
}

.form__status.is-ok {
  display: block;
  background: rgba(22, 224, 163, 0.12);
  border: 1px solid rgba(22, 224, 163, 0.4);
  color: var(--mint);
}

.form__status.is-err {
  display: block;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ff9b9b;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: var(--muted);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line-dark);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}

.footer__about {
  font-size: 15px;
  max-width: 380px;
  margin-top: 18px;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 18px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer a {
  font-size: 15px;
  transition: color 0.2s var(--ease);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  padding: 64px 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0b2e28 0%, #0d2440 55%, #0a1322 100%);
  border: 1px solid rgba(22, 224, 163, 0.28);
  overflow: hidden;
  text-align: center;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 50% 0%, rgba(22, 224, 163, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--text);
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 30px;
}

.cta-band__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero__inner,
  .case,
  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .case__visual {
    order: -1;
  }

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

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }

  .steps::before {
    display: none;
  }

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

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

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 20px 26px;
    background: var(--navy-900);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px rgba(6, 11, 20, 0.5);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
  }

  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
  }

  .nav__burger {
    display: flex;
    order: 3;
  }

  .nav__actions .btn {
    display: none;
  }

  .nav.is-stuck,
  .nav.is-open {
    background: rgba(10, 19, 34, 0.92);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 136px 0 76px;
  }

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

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

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

  .cta-band {
    padding: 44px 26px;
  }

  .flow {
    padding: 24px 18px 22px;
  }

  .form {
    padding: 26px 22px;
  }

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

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

  .hero__proof {
    gap: 20px;
  }

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

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

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

  .btn {
    width: 100%;
  }

  .hero__cta,
  .cta-band__btns {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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