/* ============ Tokens ============ */
:root {
  --ink: #080808;
  --ink-soft: #131311;
  --ivory: #f6f3ec;
  --ivory-dim: #eae6db;
  --paper: #fbfaf7;
  --charcoal: #171714;
  --line: #2b2a26;
  --line-soft: #e3ded2;
  --muted: #8c887e;
  --muted-dark: #a9a599;
  --text: #171613;
  --accent: #ff5a36;
  --accent-dim: #d84a2a;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --nav-h: 76px;
  --ease: cubic-bezier(.16,.8,.24,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 40;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--ivory); padding: 12px 20px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow-light { color: var(--accent); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ivory); }
.btn-primary:hover { background: var(--accent-dim); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.link-quiet { font-size: 0.9rem; color: var(--muted); }
.link-quiet:hover { color: var(--text); }
.link-arrow { font-size: 0.9rem; font-weight: 500; color: var(--text); display: inline-block; margin-top: 18px; }
.link-arrow:hover { color: var(--accent); }

/* ============ Brand mark ============ */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 500;
  color: var(--ivory);
}
.nowrap { white-space: nowrap; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(251, 250, 247, 0.6);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: background 0.3s var(--ease);
}
.nav-inner {
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 20px 0 24px;
}
.nav .brand {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--text);
}
.nav .brand img { height: 40px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.nav-links a {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent-dim); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.flag {
  width: 1.05em; height: 0.7em;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.lang-menu { position: relative; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px;
  list-style: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 6px;
  user-select: none;
}
.lang-switch::-webkit-details-marker { display: none; }
.lang-switch:hover, .lang-menu[open] .lang-switch { background: rgba(0, 0, 0, 0.05); }
.lang-caret { width: 0.7em; height: 0.45em; color: var(--muted); transition: transform 0.2s var(--ease); }
.lang-menu[open] .lang-caret { transform: rotate(180deg); }
.lang-options {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 100%;
  margin: 0; padding: 4px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  z-index: 110;
}
.lang-options a {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.lang-options a:hover { background: rgba(0, 0, 0, 0.05); }
.lang-options a[aria-current] { color: var(--accent); }
.demo-lang { display: inline-flex; align-items: center; gap: 7px; }
.lang-menu[hidden], .demo-lang[hidden] { display: none; }

/* ============ Hero ============ */
.hero {
  background: var(--paper);
  color: var(--text);
  padding: 96px 32px 60px;
  min-height: calc(100vh - 228px);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero::before {
  background: radial-gradient(ellipse 45% 90% at 0% 25%, rgba(255,90,54,0.3) 0%, rgba(255,90,54,0.14) 45%, rgba(255,90,54,0) 100%);
}
.hero::after {
  background: radial-gradient(ellipse 45% 90% at 100% 25%, rgba(255,90,54,0.3) 0%, rgba(255,90,54,0.14) 45%, rgba(255,90,54,0) 100%);
}
.hero-top {
  position: relative; z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-inner { text-align: center; }
.hero .eyebrow { display: flex; justify-content: center; }
.hero-title {
  font-size: clamp(3.05rem, 5.83vw, 4.56rem);
  line-height: 1.04;
  color: var(--text);
}
.hero-accent { color: var(--accent); }
.hero-sub {
  margin: 84px auto 0;
  max-width: 620px;
  font-size: 1.66rem;
  color: var(--muted);
}
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }

.hero-video {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin-left: auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--charcoal);
}
.hero-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; gap: 36px; }
}

.hero-mockup {
  max-width: 980px;
  margin: 64px auto 0;
  padding: 0 0 90px;
}
.mockup-window {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.65);
}
.mockup-titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.mockup-titlebar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-soft); opacity: 0.25; }
.mockup-path { margin-left: 10px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.mockup-body { padding: 28px; }
.mockup-row { display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 24px; }
.mockup-metric { display: flex; flex-direction: column; gap: 5px; }
.metric-label { font-size: 0.78rem; color: var(--muted); }
.metric-value { font-family: var(--font-display); font-size: 2.2rem; color: var(--ivory); }
.metric-unit { font-size: 1.2rem; color: var(--muted-dark); }
.metric-delta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-dark); }
.metric-delta.up { color: var(--accent); }
.mockup-chart { margin: 4px 0 22px; }
.mockup-chart svg { width: 100%; height: 90px; display: block; }
.mockup-list { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.mockup-list li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted-dark); }
.mockup-list em { margin-left: auto; font-style: normal; font-family: var(--font-mono); color: var(--muted); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,90,54,0.5); animation: pulse 1.8s infinite; }
.pulse.idle { background: var(--muted); animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,90,54,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(255,90,54,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,90,54,0); }
}

/* ============ Logo strip ============ */
.logos { padding: 40px 0 48px; text-align: center; background: #000; overflow: hidden; }
.logos-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 500; letter-spacing: -0.01em; color: var(--ivory); margin-bottom: 34px; padding: 0 32px; }
.logos-grid {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: logos-scroll 40s linear infinite;
}
.logos-grid li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 122px;
  padding: 0 15px;
}
.logo-img {
  width: 210px;
  height: auto;
  aspect-ratio: 210 / 96;
  object-fit: contain;
  flex: none;
  max-width: none;
  display: block;
  box-sizing: border-box;
  border: 2px solid var(--accent);
  background: #fff;
  border-radius: 14px;
}
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-grid { animation: none; }
}

/* ============ Product page ============ */
.active-link { color: var(--accent-dim); }

.product-hero {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  padding: 96px 32px 100px;
}
.product-hero .eyebrow { display: flex; justify-content: center; }

.product-hero--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 96px;
}
.product-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.55), rgba(8,8,8,0.85));
  z-index: -1;
}
.product-hero--lighter::before {
  background: linear-gradient(180deg, rgba(8,8,8,0.42), rgba(8,8,8,0.72));
}
.product-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.06;
  color: var(--ivory);
}
.company-hero-title { max-width: none; }
.product-hero-sub {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: 1.08rem;
  color: var(--muted-dark);
}

.security-copy {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.security-copy p { color: var(--text); font-size: 1.05rem; line-height: 1.65; }
.security-copy h3 { font-size: 1.3rem; margin-bottom: -6px; }
.security-copy--spaced { padding-top: 130px; gap: 0; }
.security-copy--spaced .feature-grid-title { text-align: center; margin-bottom: 4px; }
.security-copy-body { display: flex; flex-direction: column; gap: 22px; }

.stats-copy {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 32px 90px;
  text-align: center;
}
.stats-copy .eyebrow { display: flex; justify-content: center; }
.stats-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.stats-copy-kicker { text-align: center !important; font-size: 0.85rem !important; color: var(--muted) !important; margin-bottom: 20px !important; }
.stats-copy > p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; text-align: left; }
.stats-copy > p + p { margin-top: 20px; }

.stats-row {
  background: var(--ink);
  color: var(--ivory);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 30px 32px;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stats-row .intel-stat { align-items: center; text-align: center; }
.stats-row .stat-label { color: var(--muted-dark); line-height: 1.4; }

@media (max-width: 700px) {
  .stats-row { grid-template-columns: 1fr; }
}

.product-shot { padding: 40px 32px 90px; max-width: 1180px; margin: 0 auto; }
.product-shot-frame {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.25);
}
.product-shot-frame img { width: 100%; height: auto; display: block; }

.feature-grid-section { padding: 90px 32px; max-width: 1180px; margin: 0 auto; }
.feature-grid-title { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin-bottom: 40px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.feature-card {
  background: var(--paper);
  padding: 36px 32px;
}
.feature-card .eyebrow { margin-bottom: 12px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

.feature-grid--dark { background: var(--line); border-color: var(--line); border-radius: 12px; overflow: hidden; }
.feature-card--dark {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  justify-content: center;
}
.feature-card--dark .stat-value { font-size: 2.4rem; }
.feature-card--dark .stat-label { font-size: 0.9rem; max-width: 240px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.testimonial-card {
  background: var(--paper);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 4px;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--text);
  flex: 1 1 auto;
}
.testimonial-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.attr-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.attr-role { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ============ How it works (process) ============ */
.process { padding: 60px 32px 20px; max-width: 1000px; margin: 0 auto; }
.process-intro { text-align: center; margin: 0 auto 56px; }
.process-intro h2 { font-size: clamp(1.1rem, 5.5vw, 2.4rem); margin-bottom: 14px; white-space: nowrap; }
.process-intro p { color: var(--muted); font-size: 1.02rem; }

.process-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}
.process-arrow { align-self: center; }
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.process-step h3 { font-size: 0.98rem; line-height: 1.35; }
.process-step p { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }

.step-icon-inline {
  flex: 0 0 auto;
  width: 68px; height: 68px;
  border-radius: 18px;
  background: var(--ivory-dim);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.step-icon-inline svg { width: 32px; height: 32px; }

.process-arrow {
  color: var(--text);
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .process-flow { grid-template-columns: 1fr; max-width: 360px; gap: 24px; }
  .process-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ============ Product / feature rows ============ */
.product { padding: 90px 32px 40px; max-width: 1000px; margin: 0 auto; }
.product-intro { text-align: center; margin-bottom: 70px; }
.product-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); max-width: 620px; margin: 0 auto; }

.feature {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px;
  align-items: center;
  padding: 56px 0;
}
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }
.feature-copy h3 { font-size: 1.5rem; margin-bottom: 14px; }
.feature-copy p { color: var(--muted); font-size: 1rem; }

.feature-mock {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px;
  color: var(--ivory);
}
.feature-mock .mock-chip { color: var(--muted-dark); }

.feature-mock--image { padding: 0; overflow: hidden; }
.feature-mock--image .mock-image { display: block; width: 100%; height: 100%; object-fit: cover; }

.mock-review p { font-size: 0.85rem; color: var(--muted-dark); margin-bottom: 12px; }
.mock-review b { color: var(--ivory); }
.mock-bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
.mock-bar span { display: block; height: 100%; background: var(--accent); }
.mock-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }

.mock-flow li { font-size: 0.85rem; color: var(--muted-dark); padding: 10px 0 10px 18px; border-top: 1px solid var(--line); position: relative; }
.mock-flow li:first-child { border-top: none; }
.mock-flow li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

.mock-search { display: flex; align-items: center; gap: 10px; background: var(--ink-soft); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; font-size: 0.85rem; color: var(--muted-dark); margin-bottom: 14px; }
.search-icon { color: var(--accent); }
.mock-results li { font-size: 0.82rem; color: var(--muted-dark); padding: 8px 0; border-top: 1px solid var(--line); }
.mock-results li:first-child { border-top: none; }
.mock-results em { font-style: normal; font-family: var(--font-mono); color: var(--accent); }

/* ============ Shared stat tokens (used by industry.html) ============ */
.intel-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-display); font-size: 2.1rem; color: var(--ivory); }
.stat-label { font-size: 0.8rem; color: var(--muted-dark); }
.stat-unit { font-size: 1.2rem; color: var(--muted-dark); }

/* ============ CTA ============ */
.cta { position: relative; overflow: hidden; text-align: center; padding: 70px 32px 120px; background: var(--paper); color: var(--text); }
.cta::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 75%;
  background:
    radial-gradient(ellipse 45% 100% at 0% 100%, rgba(255,90,54,0.5) 0%, rgba(255,90,54,0.24) 45%, rgba(255,90,54,0) 100%),
    radial-gradient(ellipse 45% 100% at 100% 100%, rgba(255,90,54,0.5) 0%, rgba(255,90,54,0.24) 45%, rgba(255,90,54,0) 100%),
    radial-gradient(ellipse 70% 100% at 50% 100%, rgba(255,90,54,0.3) 0%, rgba(255,90,54,0.14) 45%, rgba(255,90,54,0) 100%);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin-bottom: 32px; max-width: 900px; margin-left: auto; margin-right: auto; }
.cta p { color: var(--muted-dark); margin-bottom: 32px; }

/* ============ Footer ============ */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 49px 0; }
.footer-inner { width: 100%; padding: 0 20px 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-brand { grid-column: 1; justify-self: start; }
.footer-links { grid-column: 2; justify-self: center; }
.footer .brand { font-size: 2.4rem; }
.footer .brand img { height: 40px; width: auto; display: block; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-copyright { color: var(--muted); font-size: 0.8rem; font-family: var(--font-mono); line-height: 1.6; }
.footer-links { display: flex; gap: 26px; }
.footer-contact { grid-column: 3; justify-self: end; text-align: right; display: flex; flex-direction: column; gap: 4px; }
.footer-contact p { color: var(--muted); font-size: 0.8rem; font-family: var(--font-mono); }
.footer-contact a { color: var(--muted-dark); font-size: 0.95rem; }
.footer-contact a:hover { color: var(--ivory); }
.footer-links a { color: var(--muted-dark); font-size: 0.85rem; }
.footer-links a:hover { color: var(--ivory); }

/* ============ Reveal-on-scroll ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.product--stacked { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1200px; }
.product--stacked .product-title { grid-column: 1 / -1; text-align: center; font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 32px auto 32px; }
.product--stacked .feature { grid-template-columns: 1fr; gap: 20px; align-items: start; align-content: start; padding: 28px; border: 1px solid #000; margin: 0 0 -1px -1px; background: #fff; }
.product--stacked .feature .feature-mock { order: -1; width: 40%; justify-self: center; }
.product--stacked .feature-copy { text-align: center; }
.product--stacked .feature-copy h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--accent); }
.product--stacked .feature-copy p { font-size: 0.92rem; }
@media (max-width: 900px) {
  .product--stacked { grid-template-columns: 1fr; }
}

.steps { padding: 40px 32px 20px; max-width: 1200px; margin: 0 auto; }
.steps-title { text-align: center; font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 0 auto 44px; max-width: 760px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px; }
.steps-item { padding-top: 0; }
.steps-num { display: block; text-align: center; font-family: var(--font-display); font-size: 3rem; line-height: 1; font-weight: 500; color: var(--accent); margin-bottom: 14px; }
.steps-item h3 { font-size: 1.5rem; line-height: 1.1; text-align: center; margin-bottom: 14px; }
.steps-item p { text-align: center; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) {
  .steps-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps-list { grid-template-columns: 1fr; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .feature, .feature.reverse { grid-template-columns: 1fr; direction: ltr; }
}
@media (max-width: 560px) {
  .hero { padding-top: 76px; }
  .mockup-row { gap: 24px; }
  .stat-value { font-size: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; }
  .footer-links { justify-self: start; }
}

/* ============ Comparison ============ */
.compare { padding: 0 32px 100px; max-width: 1200px; margin: 0 auto; }
.compare-title { text-align: center; font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 0 auto 36px; max-width: none; white-space: nowrap; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto repeat(5, auto); column-gap: 29px; }
.compare-col {
  border: 1px solid var(--line-soft);
  border-radius: 17px;
  padding: 38px 38px 29px;
  background: #fff;
  display: grid;
  grid-row: 1 / span 7;
  grid-template-rows: subgrid;
}
.compare-col h2 {
  font-size: 1.44rem;
  text-transform: none;
  letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  text-align: center;
  margin: 0 0 14px;
}
.compare-col ul { list-style: none; margin: 0; padding: 0; display: contents; }
.compare-col li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 1.224rem;
}
.cmp-text { display: flex; flex-direction: column; gap: 6px; }
.cmp-text strong { font-weight: 600; }
.cmp-text small { font-size: 1.02rem; line-height: 1.4; color: var(--muted); }
.cmp-mark { font-weight: 700; flex: 0 0 auto; width: 1.2em; color: var(--muted); }
.compare-with .cmp-mark, .compare-with .cmp-head-mark { color: var(--accent); }
.compare-without .cmp-head-mark { color: var(--muted); }
@media (max-width: 700px) {
  .compare-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 24px; }
  .compare-col { grid-row: auto; grid-template-rows: none; }
}


.compare-without .cmp-mark, .compare-without .cmp-head-mark { color: #e03a3a; }
.compare-with .cmp-mark, .compare-with .cmp-head-mark { color: #2fb86a; }

.cmp-image { display: block; width: 100%; max-width: 470px; height: auto; margin: 0 auto 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 15%, #000 85%, transparent 100%);
  mask-composite: intersect;
}

#top, #product, #industry, #contact { scroll-margin-top: var(--nav-h); }

@media (max-width: 900px) {
  .cta h2.nowrap { white-space: normal; }
}

@media (max-width: 900px) {
  .compare-title { white-space: normal; }
}

/* ============ Mobile fixes ============ */
html, body { max-width: 100%; overflow-x: hidden; }
@media (max-width: 700px) {
  .nav-inner { gap: 12px; }
  .nav .brand img { height: 32px; }
  .nav-actions .btn { white-space: nowrap; padding: 10px 16px; }
  .nav-inner { padding: 0 16px; }
  .nav-actions { gap: 4px; justify-self: end; }
  .lang-switch { padding: 8px 6px; gap: 5px; }
}
@media (max-width: 420px) {
  .nav .brand img { height: 26px; }
  .nav-actions .btn { padding: 9px 12px; font-size: 0.85rem; }
}
@media (max-width: 700px) {

  .hero { padding: 64px 20px 48px; min-height: 0; }
  .nowrap { white-space: normal; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-sub { margin-top: 32px; font-size: 1.15rem; }

  .logos-title { font-size: 1.6rem; }
  .logo-img { width: 170px; }

  .compare { padding: 0 20px 64px; }
  .compare-col { padding: 28px 22px 20px; }
  .compare-col li { font-size: 1.05rem; }
  .cmp-text small { font-size: 0.95rem; }

  .product { padding: 56px 20px 24px; }
  .product--stacked .feature { padding: 22px; }

  .steps { padding: 32px 20px 16px; }
  .steps-list { gap: 44px; }

  .cta { padding: 56px 20px 88px; }

  .footer { padding: 40px 0; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; padding: 0 20px; gap: 28px; }
  .footer-brand, .footer-links, .footer-contact { grid-column: 1; justify-self: start; text-align: left; }
  .footer-links { flex-wrap: wrap; gap: 14px 22px; }
}
