/* =====================================================
   SafeLift — Rust-Free Landing Page
   Brand: stainless silver + safety red + obsessive whitespace
   ===================================================== */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
/* Headlines: humanist sans (Inter), sentence-case, semi-bold —
   NOT geometric display type. Matches SafeLift's calmer tone. */
h1, h2, h3, h4 { font-family: 'Inter', system-ui, sans-serif; line-height: 1.15; margin: 0; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0; }

:root {
  /* Brand-aligned with safelift.se: white + light-gray alternating, charcoal
     text, restrained accent. Red kept but used as a small punctuation, not as
     a flood color. */
  --red: #b81118;          /* deeper industrial red, not American tech-red */
  --red-dark: #8b0d12;
  --red-soft: rgba(184,17,24,0.08);
  --link: #0073AA;         /* WordPress/SafeLift link blue, used sparingly */
  --ink: #1c1c1c;          /* charcoal — not pure black */
  --ink-2: #4b5563;
  --ink-3: #9ca3af;
  --line: #e5e7eb;
  --line-2: #eef0f2;
  --steel: #cbd5e1;
  --bg-soft: #f5f6f7;      /* the light-gray alternating section bg */
  --bg-cool: #f1f5f9;
  --shadow-1: 0 1px 2px rgba(10,10,10,.04), 0 2px 8px rgba(10,10,10,.04);
  --shadow-2: 0 8px 24px rgba(10,10,10,.08), 0 2px 6px rgba(10,10,10,.04);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1240px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Reusable: eyebrow, headings, buttons ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}
.eyebrow--dark { color: var(--ink); }
.eyebrow--light { color: var(--ink-2); }
.dot--light { background: var(--red); }

.section-h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-h2--light { color: var(--ink); }
.section-sub {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--ink-2);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}
.section-sub--light { color: var(--ink-2); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head--tight { margin-bottom: 32px; }
/* Thin red underline on section headlines — borrowed from SafeLift's
   subtle horizontal divider habit, but tinted with the brand accent. */
.section-head .eyebrow::after {
  content: '';
  display: inline-block;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 22px;
  border-radius: 6px;             /* flatter, more European-industrial */
  border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.btn--primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.16); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--bg-soft); border-color: #d1d5db; }
.btn--accent {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(184,17,24,0.18);
}
.btn--accent:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn--block { display: flex; width: 100%; padding: 16px 24px; font-size: 17px; }
/* Text-link CTA — matches SafeLift's habit of using inline links instead of buttons. */
.tlink {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.tlink:hover { color: var(--red); border-color: var(--red); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(10,10,10,0.06);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
/* Logo — matches the safelift.se wordmark: "Safelift" in sentence case,
   single weight. The "lift" half is a touch bolder to echo the visual
   weight Safelift uses on their own site without inventing a symbol. */
.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.logo span { font-weight: 500; }
.logo strong { font-weight: 800; letter-spacing: -0.01em; }
.logo--light { color: #fff; }
.nav__links {
  display: flex; align-items: center; gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a { color: var(--ink-2); transition: color .15s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 14px;
}
.nav__cta:hover { background: #000; }

@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #ffffff;
  padding: 56px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 22px;
  color: var(--ink);
}
.hero__h1 .strike {
  display: inline-block;
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  margin-right: 4px;
  font-weight: 700;
}
.hero__h1 .accent {
  display: inline-block;
  color: var(--ink);
  font-style: normal;
  position: relative;
}
.hero__h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: var(--red);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  color: var(--ink-2);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 24px 36px;
  font-size: 14px; color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero__trust strong { color: var(--ink); font-weight: 700; }

.hero__media { position: relative; }
.hero__photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  background: var(--bg-soft);
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.hero__badge-line1 { display: block; font-weight: 800; font-size: 16px; letter-spacing: 0.04em; }
.hero__badge-line2 { display: block; font-weight: 500; font-size: 11px; margin-top: 4px; color: #cbd5e1; letter-spacing: 0.06em; text-transform: uppercase; }
.hero__badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 2px;
}

/* "6 m working height" overlay on the hero image */
.hero__height {
  position: absolute;
  right: 14px;
  top: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  background: rgba(28,28,28,0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}
.hero__height-arrow {
  font-size: 24px;
  line-height: 1;
  background: var(--red);
  color: #fff;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  animation: floatUp 2.6s ease-in-out infinite;
}
.hero__height strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__height-arrow { animation: none; }
}
@media (max-width: 900px) {
  .hero__height {
    right: 12px; top: 12px; bottom: 12px;
    padding: 10px 8px; font-size: 11px;
  }
  .hero__height strong { font-size: 18px; }
  .hero__height-arrow { width: 30px; height: 30px; font-size: 22px; }
}

.hero__marquee {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.marquee__track {
  display: inline-flex;
  gap: 22px;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
  padding-left: 22px;
}
.marquee__track span:nth-child(2n+1):not(:has-text("·")),
.marquee__track span:nth-child(even) { color: var(--ink-2); }
.marquee__track span:first-child,
.marquee__track span:nth-child(15) { color: var(--red); }
.hero__marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
  .hero__photo { aspect-ratio: 16/11; }
  .hero__h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  /* Reorder so the photo appears between the H1 and the body copy on mobile.
     The product visual must land before the user has to scroll. */
  .hero__copy { display: contents; }
  .hero__copy > .eyebrow      { order: 1; }
  .hero__copy > .hero__h1     { order: 2; }
  .hero__media                { order: 3; margin: 4px 0 8px; }
  .hero__copy > .hero__sub    { order: 4; }
  .hero__copy > .hero__ctas   { order: 5; }
  .hero__copy > .hero__trust  { order: 6; }
  .hero__inner { display: flex; flex-direction: column; }
  .hero__badge { padding: 10px 14px; }
  .hero__badge-line1 { font-size: 18px; }
  .hero__badge-line2 { font-size: 11px; }
}
@media (max-width: 520px) {
  /* Trust stats: 2×2 grid on small screens so labels don't truncate */
  .hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; font-size: 13px; }
  .hero__trust li { display: flex; flex-direction: column; gap: 2px; }
  .hero__trust strong { font-size: 14px; }
}

/* ---------- Customer logo bar ---------- */
.customers {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 28px 0 32px;
}
.customers__label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.customers__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 44px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  opacity: 0.85;
}
.customers__list li {
  filter: grayscale(100%);
  transition: opacity .2s ease, color .2s ease;
}
.customers__list li:hover { color: var(--ink); opacity: 1; }
@media (max-width: 720px) {
  .customers__list { gap: 22px 32px; font-size: 17px; }
}

/* ---------- Transform strip (folded → extended) ---------- */
.transform {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.transform__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.transform__head .eyebrow { justify-content: center; }
.transform__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.transform__step {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.transform__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.transform__media {
  aspect-ratio: 4/5;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
.transform__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.transform__step figcaption { padding: 20px 24px 24px; }
.transform__tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(218,31,38,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.transform__step h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.transform__step p {
  color: var(--ink-2);
  font-size: 15.5px;
}

.transform__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
}
.transform__arrow-icon {
  font-size: 36px;
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(218,31,38,0.35);
  animation: nudgeRight 2.4s ease-in-out infinite;
}
.transform__arrow-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@keyframes nudgeRight {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .transform__arrow-icon { animation: none; }
}

.transform__caption {
  text-align: center;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 14px;
}

@media (max-width: 820px) {
  .transform__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .transform__arrow {
    flex-direction: row;
    gap: 12px;
    padding: 6px 0;
  }
  .transform__arrow-icon {
    width: 48px; height: 48px;
    font-size: 28px;
    transform: rotate(90deg);
    animation: nudgeDown 2.4s ease-in-out infinite;
  }
  @keyframes nudgeDown {
    0%, 100% { transform: rotate(90deg) translateX(0); }
    50%      { transform: rotate(90deg) translateX(6px); }
  }
  .transform { padding: 56px 0 64px; }
}

/* ---------- Problem section ---------- */
.problem {
  padding: 100px 0;
  background: #fff;
}
.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: #d1d5db; }
.problem-card__icon { font-size: 32px; margin-bottom: 16px; }
.problem-card h3 { font-size: 1.35rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.problem-card p { color: var(--ink-2); font-size: 15.5px; }

@media (max-width: 820px) {
  .problems { grid-template-columns: 1fr; }
  .problem { padding: 64px 0; }
}

/* ---------- Hammer (DOESN'T RUST.) — now light & typographic ---------- */
.hammer {
  background: #ffffff;
  color: var(--ink);
  padding: 96px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hammer__inner { text-align: center; position: relative; }
.hammer__big {
  font-size: clamp(2.6rem, 13vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
}
.hammer__big .rust-accent {
  position: relative;
  display: inline-block;
}
.hammer__big .rust-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.08em;
  background: var(--red);
}
@media (max-width: 520px) { .hammer { padding: 64px 0; } }
.hammer__small {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.hammer__small--right { text-align: right; max-width: 600px; margin: 22px auto 0; }

/* ---------- Features ---------- */
.features { padding: 100px 0; background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: #d1d5db;
}
.feature__media {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  overflow: hidden;
}
.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  filter: contrast(1.05) saturate(1.06);
}
.feature:hover .feature__media img { transform: scale(1.05); }
.feature__body { padding: 24px 26px 28px; }
.feature__num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--red);
  background: rgba(218,31,38,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.feature h3 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.feature p { color: var(--ink-2); font-size: 15.5px; }

@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } .features { padding: 64px 0; } }

/* ---------- Industries (dark) ---------- */
.industries {
  background:
    radial-gradient(800px 400px at 80% 100%, rgba(218,31,38,0.10), transparent 60%),
    #0a0a0a;
  color: #fff;
  padding: 100px 0;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.industry {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.industry:hover {
  transform: translateY(-3px);
  background: #1c1c1c;
  border-color: rgba(255,255,255,0.12);
}
.industry__icon { font-size: 40px; margin-bottom: 14px; }
.industry h3 { font-size: 1.6rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.industry p { color: #cbd5e1; font-size: 15.5px; margin-bottom: 18px; }
.industry ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: #9ca3af; }
.industry ul { color: #cbd5e1; }
.industry ul li { padding: 6px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.industry ul li:first-child { border-top: 0; }
.industry--featured {
  background: linear-gradient(180deg, #1c1c1c 0%, #161616 100%);
  border-color: rgba(218,31,38,0.45);
  box-shadow: 0 20px 60px rgba(218,31,38,0.10);
}
.industry__badge {
  position: absolute;
  top: -12px; right: 18px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(218,31,38,0.35);
}

@media (max-width: 900px) { .industry-grid { grid-template-columns: 1fr; } .industries { padding: 64px 0; } }

/* ---------- Demo videos ---------- */
.demo { padding: 100px 0; background: var(--bg-soft); }
.demos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.demo-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.demo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.demo-card__media {
  aspect-ratio: 16/9;
  background: #0a0a0a;
  overflow: hidden;
}
.demo-card__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  background: #0a0a0a;
}
.demo-card figcaption { padding: 24px 28px 28px; }
.demo-card__tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #fff;
  background: var(--ink);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.demo-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.demo-card p { color: var(--ink-2); font-size: 15px; }

@media (max-width: 900px) { .demos { grid-template-columns: 1fr; } .demo { padding: 64px 0; } }

/* ---------- VS table ---------- */
.vs { padding: 100px 0; background: #fff; }
.vs__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.vs__left p { color: var(--ink-2); margin-bottom: 14px; font-size: 1.05rem; }
.vs__lead { font-weight: 600; color: var(--ink) !important; font-size: 1.15rem !important; }
.vs__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.vs__table th, .vs__table td {
  padding: 14px 18px;
  text-align: left;
  border-top: 1px solid var(--line);
}
.vs__table thead th {
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 0;
  color: var(--ink-2);
}
.vs__col-us {
  background: rgba(218,31,38,0.08) !important;
  color: var(--red) !important;
}
.vs__table tbody tr td:first-child { font-weight: 600; }
.vs__table tbody tr td:nth-child(2) { color: var(--ink-2); }
.vs__table tbody tr td:nth-child(3) {
  font-weight: 600;
  color: var(--ink);
  background: rgba(218,31,38,0.04);
}

@media (max-width: 980px) {
  .vs__inner { grid-template-columns: 1fr; gap: 36px; }
  .vs { padding: 64px 0; }
  .vs__table { font-size: 14px; }
  .vs__table th, .vs__table td { padding: 12px 14px; }
}

/* ---------- Detail strip ---------- */
.detail-strip { padding: 90px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.detail-grid figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
}
.detail-grid figure img {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.detail-grid figure:hover img { transform: scale(1.05); }
.detail-grid figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-size: 12px;
  color: #fff;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
}

@media (max-width: 980px) { .detail-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } .detail-strip { padding: 60px 0; } }

/* ---------- CTA — now light with strong card contrast ---------- */
.cta {
  background: #ffffff;
  color: var(--ink);
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.cta__h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--ink);
}
.cta__sub {
  color: var(--ink-2);
  font-size: 1.02rem;
  margin-bottom: 22px;
  max-width: 520px;
  line-height: 1.65;
}
.cta__bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 8px;
  color: var(--ink);
  font-size: 15px;
}
.cta__bullets li { padding: 4px 0; color: var(--ink-2); }
.cta__bullets li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  margin-right: 8px;
}
/* The default markup has the ✓ already in the text — strip it via CSS so the
   pseudo-element doesn't double up. */
.cta__bullets li { text-indent: -1.1em; padding-left: 1.1em; }

.cta__form {
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
  position: relative;
}
.cta__form h3 {
  font-size: 1.55rem;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.field { display: block; margin-bottom: 16px; }
.field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.field input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  font: inherit;
  font-size: 16px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(28,28,28,0.10);
}
.field input:invalid:not(:placeholder-shown) {
  border-color: #f59e0b;
}
.hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.cta__fineprint {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.cta__success {
  margin-top: 18px;
  padding: 14px 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  color: #065f46;
  font-size: 14.5px;
}
.cta__success strong { display: block; margin-bottom: 4px; font-size: 15.5px; }
.cta__error {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #991b1b;
  font-size: 14px;
}

@media (max-width: 980px) {
  .cta__inner { grid-template-columns: 1fr; gap: 36px; }
  .cta { padding: 64px 0; }
}

/* ---------- Footer ---------- */
.footer {
  background: #050505;
  color: #cbd5e1;
  padding: 64px 0 28px;
  font-size: 14.5px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__brand p { margin-top: 14px; color: #9ca3af; max-width: 320px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer__cols h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer__cols ul { list-style: none; padding: 0; margin: 0; }
.footer__cols li { padding: 4px 0; color: #9ca3af; }
.footer__cols a { color: #cbd5e1; transition: color .15s ease; }
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex; justify-content: space-between;
  color: #6b7280;
  font-size: 13px;
}

@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* ---------- Reveal on scroll (subtle, safe defaults) ---------- */
/* Default state: VISIBLE. Only hide when JS has confirmed IO support
   and the element is below the initial fold — see app.js. This way the
   page renders fine without JS, with reduced motion, and in screenshots. */
.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.reveal.is-hidden { opacity: 0; transform: translateY(20px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile sticky CTA bar ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 60;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(218,31,38,0.45), 0 4px 10px rgba(0,0,0,0.15);
  align-items: center; justify-content: space-between; gap: 10px;
  text-align: left;
  transition: transform .2s ease, opacity .2s ease;
}
.sticky-cta__arrow { font-size: 20px; line-height: 1; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  /* leave room at the very bottom of the page so the bar doesn't cover the footer */
  .footer { padding-bottom: 88px; }
}
.sticky-cta.is-hidden { opacity: 0; pointer-events: none; transform: translateY(120%); }

/* Honor reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .reveal, .reveal.is-hidden { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
