:root {
  --bg: #07090e;
  --bg-strong: #05070b;
  --panel: rgba(14, 18, 26, 0.88);
  --panel-soft: rgba(18, 24, 33, 0.78);
  --panel-border: rgba(184, 255, 63, 0.12);
  --panel-border-strong: rgba(184, 255, 63, 0.22);
  --text: #f4f7f2;
  --muted: #99a2aa;
  --muted-strong: #c4ccd2;
  --accent: #b8ff3f;
  --accent-fill: #c9ff63;
  --accent-strong: #9fe423;
  --accent-soft: rgba(184, 255, 63, 0.12);
  --accent-secondary: #dcff99;
  --accent-secondary-soft: rgba(220, 255, 153, 0.14);
  --danger: #ff7f8d;
  --danger-soft: rgba(255, 127, 141, 0.12);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 16px 48px rgba(0, 0, 0, 0.22);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1240px, calc(100vw - 40px));
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(184, 255, 63, 0.09), transparent 24%),
    radial-gradient(circle at 84% 6%, rgba(184, 255, 63, 0.06), transparent 16%),
    radial-gradient(circle at 52% 100%, rgba(184, 255, 63, 0.08), transparent 28%),
    linear-gradient(180deg, #090d14 0%, var(--bg) 42%, var(--bg-strong) 100%);
  animation: page-fade-in 260ms ease both;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.35));
}

body::after {
  background:
    linear-gradient(125deg, rgba(184, 255, 63, 0.05), transparent 42%),
    linear-gradient(320deg, rgba(184, 255, 63, 0.04), transparent 44%);
  z-index: -1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

section,
footer {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg-strong);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.container {
  width: var(--container);
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  isolation: isolate;
  transform: translateZ(0);
  will-change: transform;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 14, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
}

.site-header.is-scrolled {
  background: rgba(7, 9, 14, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.header-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.header-panel-static {
  display: flex;
  justify-content: flex-end;
  grid-template-columns: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent));
  border: 1px solid rgba(184, 255, 63, 0.18);
  color: #10170d;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 36px rgba(184, 255, 63, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  display: flex;
  align-items: baseline;
  gap: 0.22rem;
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-copy strong span,
.footer-brand span {
  color: var(--accent);
}

.brand-copy span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
  max-width: 280px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted-strong);
  font-size: 0.95rem;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  gap: 5px;
  justify-self: end;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(132, 204, 22, 0.34);
  background: rgba(132, 204, 22, 0.08);
  transform: translateY(-1px);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  position: relative;
  padding: 96px 0;
  isolation: isolate;
}

.section-muted {
  background: transparent;
}

main > .section + .section::before {
  display: none;
}

.section-cta {
  padding-top: 112px;
  padding-bottom: 120px;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 6.1rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

h1 span {
  display: block;
  margin-top: 18px;
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--muted-strong);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.36rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

p,
li,
summary,
.section-heading p,
.hero-note,
.stack-list,
.pricing-note,
.founder-role,
.form-note,
.form-status {
  color: var(--muted);
  line-height: 1.72;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 44px;
}

.section-heading-wide {
  max-width: 1040px;
}

.proof-heading {
  max-width: none;
  margin-bottom: 0;
}

.proof-heading h2 {
  max-width: 10ch;
  margin-bottom: 12px;
  font-size: clamp(1.95rem, 2.75vw, 3.15rem);
  line-height: 0.98;
}

.proof-heading p {
  max-width: 60ch;
  font-size: 0.98rem;
  line-height: 1.55;
}

#proof {
  padding-top: 76px;
  padding-bottom: 92px;
}

.proof-top {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-copy {
  font-size: 1.06rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-fill) 0%, var(--accent) 100%);
  color: #11170d;
  box-shadow: 0 14px 38px rgba(184, 255, 63, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(184, 255, 63, 0.22);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(132, 204, 22, 0.34);
  background: rgba(132, 204, 22, 0.08);
}

.header-cta {
  white-space: nowrap;
  justify-self: end;
}

.hero {
  padding-top: 48px;
}

.hero::after {
  display: none;
}

.hero-grid,
.split-grid,
.proof-layout,
.founder-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(400px, 0.82fr);
  align-items: stretch;
  gap: 24px;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-width: 0;
  max-width: none;
  min-height: 520px;
  padding: 38px 34px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  max-width: 10.2ch;
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 3.85vw, 3.45rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
  margin-top: 18px;
}

.hero-summary {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.hero-visual {
  position: relative;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: start;
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012)),
    rgba(19, 24, 33, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
  border-radius: 4px;
  pointer-events: none;
}

.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 22px;
  border: 0;
  box-shadow: none;
  background: #070a12;
  object-fit: fill;
  object-position: center;
}

.hero-text {
  max-width: 58ch;
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.72;
}

.process-grid,
.services-grid,
.cases-grid,
.pricing-grid,
.why-grid,
.proof-grid {
  align-items: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
}

.hero-note {
  max-width: 52ch;
  margin-bottom: 0;
  font-size: 0.96rem;
}

.marquee-section {
  padding: 0 0 28px;
}

.marquee-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.marquee-label {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.marquee-viewport {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.96) 8%, rgba(0, 0, 0, 0.96) 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-track span {
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-copy.reveal {
  transition-delay: 40ms;
}

.hero-visual.reveal {
  transition-delay: 140ms;
}

.hero-summary.reveal {
  transition-delay: 220ms;
}

.hero-founder {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-founder-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 26%;
  border: 2px solid rgba(132, 204, 22, 0.3);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}

.hero-founder-copy {
  display: grid;
  gap: 2px;
}

.hero-founder-copy strong {
  font-size: 0.98rem;
}

.hero-founder-copy span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-metrics,
.pain-grid,
.services-grid,
.cases-grid,
.pricing-grid,
.why-grid,
.proof-grid {
  display: grid;
  gap: 16px;
}

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

.metric-card,
.card,
.panel-card,
.workflow-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.metric-card::before,
.card::before,
.panel-card::before,
.workflow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(184, 255, 63, 0.05), transparent 45%);
  pointer-events: none;
}

.metric-card {
  padding: 18px;
}

.metric-card strong,
.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.54rem;
  line-height: 1;
  color: var(--accent);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.panel-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.panel-card-accent {
  border-color: var(--panel-border-strong);
}

.panel-kicker,
.pricing-tag,
.workflow-label,
.case-topline,
.step-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-kicker,
.workflow-label,
.pricing-tag {
  color: var(--accent);
}

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

.signal-grid article,
.contact-point {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.signal-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.34rem;
}

.signal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.flow-card {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.flow-step {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 16px;
}

.flow-dot {
  width: 18px;
  height: 18px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 0 0 6px rgba(132, 204, 22, 0.12);
}

.flow-step strong,
.contact-point strong {
  display: block;
  margin-bottom: 6px;
}

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

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

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

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

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

.split-grid,
.proof-layout,
.founder-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

#solution .split-grid {
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  align-items: start;
  gap: 28px;
}

#solution .split-grid > * {
  min-width: 0;
}

#solution h2 {
  max-width: 11.2ch;
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

#services .section-heading,
#cases .section-heading,
#pricing .section-heading {
  max-width: none;
}

#pricing .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  column-gap: 40px;
  row-gap: 18px;
  align-items: start;
}

#pricing .section-heading .eyebrow {
  grid-column: 1 / -1;
}

#pricing .section-heading h2 {
  grid-column: 1;
}

#pricing .section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: 0.92;
}

#pricing .section-heading > p:not(.eyebrow) {
  grid-column: 2;
  align-self: end;
  max-width: 30ch;
  margin: 0;
}

.proof-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.founder-grid {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 40px;
}

.solution-visual {
  display: grid;
  gap: 20px;
  align-content: start;
  align-self: start;
}

.diagram {
  display: grid;
  gap: 14px;
}

.diagram-head,
.diagram-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.diagram-head {
  align-items: center;
}

.diagram-label {
  display: inline-flex;
  padding: 8px 12px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.diagram-label-accent {
  border: 1px solid rgba(132, 204, 22, 0.24);
  color: var(--accent-secondary);
}

.diagram-label-before {
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #f3b0b6;
}

.diagram-card {
  min-height: 100%;
  padding: 22px 24px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.diagram-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.6;
}

.diagram-card-accent {
  background:
    linear-gradient(135deg, rgba(132, 204, 22, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent);
  border-color: rgba(132, 204, 22, 0.26);
  box-shadow: inset 0 0 0 1px rgba(132, 204, 22, 0.05);
}

.diagram-card-before {
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.03);
  border-left: 3px solid #ef4444;
  border-color: rgba(239, 68, 68, 0.18);
}

.diagram-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
}

.screen-figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

.screen-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 0;
  box-shadow: none;
}

.screen-caption {
  font-size: 0.75rem;
  color: rgba(198, 215, 211, 0.78);
}

.workflow-figure {
  margin-top: 2px;
  gap: 8px;
  overflow: hidden;
}

.solution-figure {
  gap: 12px;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012)),
    rgba(19, 24, 33, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.solution-figure .screen-image {
  aspect-ratio: 16 / 9;
  background: #070a12;
  object-fit: contain;
  object-position: center;
}

.workflow-figure .screen-image {
  aspect-ratio: 4 / 1;
  min-height: 180px;
  object-fit: cover;
  object-position: center 50%;
}

.case-card .screen-image,
.case-card img.case-screenshot {
  height: clamp(220px, 28vw, 300px);
  object-fit: cover;
  object-position: top;
}

.case-screen {
  margin: 2px 0 2px;
}

.card {
  padding: 24px;
}

.card-icon {
  width: fit-content;
  min-width: 34px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 255, 63, 0.22);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-icon.danger {
  background: var(--danger-soft);
  border-color: rgba(255, 127, 141, 0.2);
  color: #ffd2d8;
}

.pain-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pain-card .card-icon {
  margin-bottom: 2px;
}

.step-card,
.pricing-card,
.case-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.case-intro {
  margin-bottom: 0;
  color: var(--muted-strong);
}

.case-points,
.proof-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.case-points li,
.proof-points li {
  position: relative;
  padding-left: 20px;
}

.case-points li::before,
.proof-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
}

.step-index {
  color: var(--accent);
}

.step-meta {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.step-meta span,
.stack-list,
.form-note,
.metric-table-head,
.metric-row {
  font-size: 0.92rem;
}

.step-meta span,
.stack-list {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stack-list {
  width: 100%;
  max-width: 100%;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.workflow-card {
  padding: 20px;
}

.workflow-card strong {
  display: block;
  margin: 12px 0 18px;
  font-size: 1.08rem;
}

.workflow-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.workflow-line span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-line span:not(:last-child)::after {
  content: "";
  width: 18px;
  height: 1px;
  margin-left: 10px;
  background: linear-gradient(90deg, rgba(132, 204, 22, 0.8), rgba(190, 242, 100, 0.3));
}

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

.cases-extra {
  height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    height 460ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms ease,
    margin-top 280ms ease;
}

.cases-extra.is-open {
  margin-top: 18px;
  opacity: 1;
  pointer-events: auto;
}

.cases-extra-inner {
  min-height: auto;
  overflow: visible;
}

.case-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-table {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.metric-table-head,
.metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(100px, 0.74fr) minmax(120px, 0.82fr);
  gap: 12px;
  align-items: center;
}

.metric-table-head {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-row {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-table-head > *,
.metric-row > * {
  min-width: 0;
}

.metric-row span,
.metric-row strong {
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  white-space: normal;
  text-wrap: pretty;
}

.metric-row strong:last-child {
  color: var(--accent);
}

.section-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.pricing-card {
  min-height: 100%;
}

.pricing-card h3 {
  margin-bottom: 4px;
  font-size: 2rem;
}

.pricing-card h3 small {
  font-size: 1rem;
  color: var(--muted);
}

.pricing-subtitle {
  margin-bottom: 4px;
  color: var(--muted-strong);
}

.pricing-card-featured {
  border-color: rgba(184, 255, 63, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 255, 63, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014)),
    var(--panel);
  box-shadow: 0 22px 64px rgba(184, 255, 63, 0.12);
  transform: none;
}

#pricing::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(620px, 70vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.06) 0%, rgba(132, 204, 22, 0.03) 34%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 14px;
  display: grid;
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.pricing-note {
  max-width: 820px;
  margin: 26px auto 0;
  text-align: center;
  text-wrap: pretty;
}

.no-break {
  white-space: nowrap;
}

.stat-card {
  padding: 26px;
  text-align: center;
}

.metric-card span,
.stat-card span {
  display: block;
  max-width: 18ch;
  margin: 0 auto;
  line-height: 1.42;
  text-wrap: balance;
}

.hero-metrics .metric-card strong,
.hero-metrics .metric-card span {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
}

.hero-metrics .metric-card strong {
  font-size: clamp(1rem, 1.5vw, 1.44rem);
}

.proof-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.logo-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 22px;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.faq-item[open] {
  border-color: rgba(132, 204, 22, 0.24);
}

.faq-item summary {
  position: relative;
  list-style: none;
  padding: 22px 42px 22px 0;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.8rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    height 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.faq-item[open] .faq-answer {
  opacity: 1;
}

.faq-answer p {
  margin: 0 0 22px;
}

.founder-portrait {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 32%;
  border: 3px solid var(--accent);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.portrait-frame {
  margin: 0;
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius-xl) + 4px);
  background:
    radial-gradient(circle at 28% 26%, rgba(132, 204, 22, 0.34), transparent 24%),
    radial-gradient(circle at 72% 12%, rgba(190, 242, 100, 0.28), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.portrait-frame::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(132, 204, 22, 0.28), transparent 24%),
    radial-gradient(circle at 78% 10%, rgba(190, 242, 100, 0.2), transparent 22%);
}

.portrait-frame::after {
  background: linear-gradient(180deg, rgba(3, 8, 11, 0) 38%, rgba(3, 8, 11, 0.56) 100%);
}

.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transform: scale(1.01);
}

.portrait-frame span {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(3, 8, 11, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.founder-role {
  margin-bottom: 16px;
  color: var(--muted-strong);
}

.founder-copy,
.contact-copy,
.contact-card {
  min-width: 0;
}

.founder-links {
  display: grid;
  gap: 6px;
  margin: 18px 0 0;
}

.founder-stats {
  margin: 20px 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.founder-proof {
  margin-top: 4px;
}

.founder-tools-title {
  margin: 18px 0 12px;
  color: var(--muted-strong);
  font-weight: 700;
}

.founder-link {
  display: inline-flex;
  color: var(--accent);
  font-weight: 700;
}

.founder-link:hover,
.founder-link:focus-visible,
.contact-point a:hover,
.contact-point a:focus-visible {
  color: var(--text);
}

.founder-tools {
  margin-top: 16px;
}

.contact-grid {
  padding: 42px;
  border-radius: calc(var(--radius-xl) + 6px);
  background:
    linear-gradient(135deg, rgba(132, 204, 22, 0.09), transparent 44%),
    linear-gradient(315deg, rgba(190, 242, 100, 0.08), transparent 42%),
    rgba(5, 11, 15, 0.9);
  border: 1px solid rgba(132, 204, 22, 0.16);
  box-shadow: var(--shadow);
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-point a {
  color: var(--accent);
  font-weight: 700;
}

.contact-form {
  padding: 26px;
  background: rgba(3, 8, 11, 0.6);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

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

.form-row label {
  color: var(--muted-strong);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-row-split > div {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 15px 16px;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(198, 215, 211, 0.56);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(132, 204, 22, 0.42);
  box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.iti {
  width: 100%;
  display: block;
  --iti-dropdown-bg: rgba(8, 15, 19, 0.98);
  --iti-hover-color: rgba(132, 204, 22, 0.12);
  --iti-border-color: rgba(255, 255, 255, 0.08);
  --iti-icon-color: rgba(198, 215, 211, 0.82);
}

.iti input.iti__tel-input,
.iti input.iti__tel-input[type="tel"],
.iti input.iti__tel-input[type="text"] {
  width: 100%;
  padding-left: 92px !important;
}

.iti.iti--show-selected-dial-code input.iti__tel-input,
.iti.iti--show-selected-dial-code input.iti__tel-input[type="tel"],
.iti.iti--show-selected-dial-code input.iti__tel-input[type="text"] {
  padding-left: 118px !important;
}

.iti .iti__selected-country {
  border-radius: 16px 0 0 16px;
}

.iti .iti__selected-country-primary {
  min-width: 86px;
  gap: 8px;
  padding-inline: 12px 12px;
}

.iti .iti__selected-dial-code {
  color: rgba(238, 245, 242, 0.82);
  margin-left: 2px;
}

.iti .iti__country-list,
.iti .iti__dropdown-content,
.iti .iti__search-input,
.iti .iti__country-name,
.iti .iti__dial-code {
  color: var(--text);
}

.iti .iti__search-input-wrapper {
  position: relative;
}

.iti .iti__search-input {
  background: rgba(255, 255, 255, 0.04);
  min-height: 52px;
  padding-left: 54px;
  padding-right: 48px;
}

.iti .iti__search-icon {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.iti .iti__search-clear {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.iti .iti__country {
  gap: 8px;
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.consent-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 2px 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.consent-row input {
  margin-top: 3px;
}

.consent-row a,
.footer-meta a,
.policy-section a {
  color: var(--accent);
}

.consent-row a:hover,
.consent-row a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible,
.policy-section a:hover,
.policy-section a:focus-visible {
  color: var(--text);
}

.form-note {
  margin: 14px 0 0;
}

.form-status {
  min-height: 28px;
  margin: 10px 0 0;
}

.form-status.success {
  color: #9df3dc;
}

.form-status.error {
  color: #ffc1ca;
}

.site-footer {
  padding: 0 0 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: max(16px, calc(env(safe-area-inset-top) + 8px)) 16px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.modal-shell[hidden] {
  display: none;
}

.modal-shell.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 10, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.modal-shell.is-visible .modal-backdrop {
  opacity: 1;
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 32px));
  max-height: min(720px, calc(100dvh - 32px));
  overflow-y: auto;
  margin: 0 auto;
  padding: 54px 24px 20px;
  border-radius: calc(var(--radius-xl) + 6px);
  background:
    linear-gradient(135deg, rgba(132, 204, 22, 0.1), transparent 42%),
    linear-gradient(315deg, rgba(190, 242, 100, 0.08), transparent 40%),
    rgba(5, 11, 15, 0.96);
  border: 1px solid rgba(132, 204, 22, 0.18);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.modal-shell.is-visible .modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-panel h2 {
  max-width: 8ch;
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 0.95;
}

.modal-copy {
  max-width: 48ch;
  margin-bottom: 18px;
}

.modal-close {
  position: fixed;
  top: max(16px, calc(env(safe-area-inset-top) + 10px));
  right: max(16px, calc(env(safe-area-inset-right) + 12px));
  margin: 0;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(7, 13, 17, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  z-index: 130;
}

.modal-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-form {
  padding: 0;
  background: transparent;
}

.modal-form textarea {
  min-height: 112px;
  max-height: 176px;
}

body.is-modal-open {
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
  overscroll-behavior: none;
}

.policy-page {
  min-height: 100vh;
}

.policy-layout {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px;
}

.policy-layout h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
  hyphens: auto;
}

.policy-note {
  margin-bottom: 28px;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}

.policy-section + .policy-section {
  margin-top: 28px;
}

.policy-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
}

.policy-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.policy-layout p,
.policy-layout li,
.policy-layout a {
  overflow-wrap: break-word;
  word-break: normal;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 640ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

  .btn,
  .site-nav a,
  .reveal,
  .form-row input,
  .form-row textarea,
  .cases-extra,
  .faq-answer,
  .modal-panel,
  .marquee-track,
  .header-panel {
    transition: none;
  }

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

  .marquee-track {
    animation: none;
  }
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .proof-layout,
  .proof-top,
  .founder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  #pricing .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-visual,
  .solution-visual {
    max-width: 880px;
  }

  .hero-copy,
  .hero-visual,
  .hero-summary {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-copy {
    min-height: auto;
  }

  .founder-portrait {
    justify-content: center;
  }

  .site-nav {
    justify-self: start;
    justify-content: flex-start;
  }

  .hero-metrics,
  .pain-grid,
  .process-grid,
  .pricing-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .contact-grid {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --container: min(100vw - 20px, 1180px);
    --header-height: 88px;
  }

  html {
    background-color: #03080b;
  }

  body {
    background-color: #03080b;
    background:
      radial-gradient(circle at 50% 18%, rgba(184, 255, 63, 0.05), transparent 26%),
      linear-gradient(180deg, #090d14 0%, #07090e 44%, #05070b 100%);
  }

  body::before {
    opacity: 1;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.34));
  }

  body::after {
    background:
      linear-gradient(125deg, rgba(184, 255, 63, 0.04), transparent 42%),
      linear-gradient(320deg, rgba(184, 255, 63, 0.03), transparent 44%);
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding-top: 0;
    background: #07090e;
    border-bottom-color: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header.is-scrolled {
    background: #07090e;
  }

  .site-header.is-mobile-hidden {
    transform: none;
  }

  .site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(-1 * env(safe-area-inset-top, 0px));
    height: env(safe-area-inset-top, 0px);
    background: rgba(7, 9, 14, 0.98);
    z-index: -1;
  }

  .is-telegram-webview .site-header {
    transform: none !important;
    background: #07090e;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .is-telegram-webview .site-header.is-scrolled {
    background: #07090e;
  }

  .is-telegram-webview .site-header::after {
    top: -18px;
    height: calc(env(safe-area-inset-top, 0px) + 18px);
    background: #07090e;
  }

  .site-shell {
    overflow-x: clip;
    overflow-y: visible;
  }

  main {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 6px);
  }

  .section {
    padding: 80px 0;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 0 12px;
    min-height: var(--header-height);
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .brand-copy strong {
    display: flex;
    gap: 0.16rem;
    font-size: 0.86rem;
    line-height: 1;
    white-space: nowrap;
  }

  .brand-copy span:last-child {
    font-size: 0.74rem;
    max-width: 180px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

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

  .header-panel {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    padding-top: 0;
    border-top: 1px solid transparent;
    transition:
      max-height 260ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 180ms ease,
      transform 220ms ease,
      padding-top 220ms ease,
      border-color 220ms ease;
  }

  .site-header.is-menu-open .header-panel {
    max-height: 540px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding-top: 14px;
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  .header-panel-static {
    display: flex;
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
  }

  .site-nav {
    justify-self: stretch;
    gap: 10px;
    font-size: 0.95rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    justify-content: flex-start;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    transform: none;
    border-color: rgba(132, 204, 22, 0.3);
    background: rgba(132, 204, 22, 0.08);
  }

  .header-cta {
    width: 100%;
    justify-self: stretch;
    justify-content: center;
  }

  .hero-metrics,
  .pain-grid,
  .process-grid,
  .services-grid,
  .cases-grid,
  .pricing-grid,
  .why-grid,
  .proof-grid,
  .workflow-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-copy {
    grid-column: auto;
    grid-row: auto;
    margin-bottom: 0;
    min-height: auto;
    padding: 20px 20px 22px;
  }

  .hero-copy h1 {
    max-width: 8.8ch;
    margin: 6px 0 16px;
    font-size: clamp(1.95rem, 8.7vw, 3.05rem);
    line-height: 0.96;
    text-wrap: balance;
  }

  .hero-copy h1 span {
    margin-top: 16px;
    font-size: clamp(1.08rem, 5.5vw, 1.9rem);
  }

  .hero-visual {
    grid-column: auto;
    grid-row: auto;
    order: 2;
    min-height: auto;
    margin-top: 0;
    padding: 12px;
  }

  .hero-summary {
    grid-column: auto;
    grid-row: auto;
    order: 3;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-metrics .metric-card {
    padding: 14px 18px;
    min-height: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }

  .hero-metrics .metric-card strong {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero-metrics .metric-card span {
    font-size: 0.82rem;
    line-height: 1.3;
    max-width: none;
    margin: 0;
    text-align: left;
    text-wrap: balance;
  }

  .diagram {
    gap: 12px;
  }

  .diagram-head {
    display: none;
  }

  .diagram-pair {
    grid-template-columns: 1fr;
  }

  .diagram-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .hero-shot {
    min-height: 0;
    aspect-ratio: auto;
  }

  #solution .split-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #solution h2 {
    max-width: 10.4ch;
    margin-bottom: 14px;
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    line-height: 0.95;
    text-wrap: balance;
  }

  .solution-visual {
    width: 100%;
    order: 2;
  }

  .solution-figure {
    padding: 12px;
    border-radius: 22px;
  }

  .marquee-section {
    padding: 4px 0 12px;
  }

  .marquee-shell {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 24px;
  }

  .marquee-label {
    white-space: normal;
    font-size: 0.94rem;
  }

  .hero-copy.reveal,
  .hero-visual.reveal,
  .hero-summary.reveal {
    transition-delay: 0ms;
  }

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

  .metric-table-head {
    display: none;
  }

  .metric-row {
    gap: 8px;
  }

  .metric-row span:first-child {
    margin-bottom: 2px;
  }

  .metric-row span,
  .metric-row strong {
    overflow-wrap: normal;
    word-break: normal;
  }

  .metric-row strong {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .metric-row strong::before {
    color: var(--muted-strong);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex: 0 0 auto;
  }

  .metric-row strong:first-of-type::before {
    content: "Было";
  }

  .metric-row strong:last-of-type::before {
    content: "Стало";
  }

  .cases-grid,
  .cases-extra .cases-grid {
    grid-template-columns: 1fr !important;
  }

  .cases-extra {
    width: 100%;
  }

  .workflow-figure .screen-image {
    aspect-ratio: 3.2 / 1;
    min-height: 140px;
  }

  .solution-figure .screen-image {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }

  .case-card .screen-image,
  .case-card img.case-screenshot {
    height: 220px;
    max-height: 220px;
  }

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

  .contact-grid {
    padding: 24px;
  }

  .pricing-note {
    font-size: 1rem;
  }

  .founder-portrait {
    width: 100%;
  }

  .portrait-frame {
    width: 100%;
    max-width: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    justify-items: start;
  }

  .modal-shell {
    padding: max(10px, calc(env(safe-area-inset-top) + 6px)) 10px 10px;
    align-items: center;
  }

  .modal-panel {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100dvh - max(10px, env(safe-area-inset-top)) - 10px);
    padding: 46px 14px 14px;
    border-radius: 24px;
  }

  .modal-close {
    top: max(10px, calc(env(safe-area-inset-top) + 6px));
    right: max(10px, calc(env(safe-area-inset-right) + 8px));
  }

  .modal-panel h2 {
    max-width: 7.6ch;
    font-size: clamp(1.65rem, 7.2vw, 2.35rem);
  }

  .modal-form textarea {
    min-height: 92px;
    max-height: 144px;
  }

  .iti.iti--show-selected-dial-code input.iti__tel-input,
  .iti.iti--show-selected-dial-code input.iti__tel-input[type="tel"],
  .iti.iti--show-selected-dial-code input.iti__tel-input[type="text"] {
    padding-left: 110px !important;
  }

  .iti input.iti__tel-input,
  .iti input.iti__tel-input[type="tel"],
  .iti input.iti__tel-input[type="text"] {
    padding-left: 84px !important;
  }

  .policy-layout {
    padding: 28px 20px;
  }

  .policy-layout h1 {
    max-width: 8.6ch;
    margin-bottom: 16px;
    font-size: clamp(2rem, 8.2vw, 2.9rem);
    line-height: 0.95;
    text-wrap: pretty;
  }

  .policy-note {
    margin-bottom: 18px;
  }

  .policy-actions {
    margin-bottom: 24px;
  }

  .policy-actions .btn {
    width: 100%;
  }

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