/* ==========================================================================
   TRUCK FALL PREVENTION — Outbound Landing Page
   Design tokens: industrial safety system (yellow / black / red)
   ========================================================================== */

:root {
  --ink: #111111;
  --ink-2: #1B1B1B;
  --paper: #F4F4F2;
  --paper-2: #FFFFFF;
  --yellow: #FFD100;
  --yellow-dim: #E0B800;
  --red: #D32F2F;
  --red-dim: #B02525;
  --slate: #5B6472;
  --slate-light: #9AA3B0;
  --line-dark: rgba(244, 244, 242, 0.12);
  --line-light: rgba(17, 17, 17, 0.10);
  --white: #FFFFFF;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --wrap-max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
p { line-height: 1.6; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  text-transform: uppercase;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 3px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-dim); transform: translateY(-1px); }
.btn-large { font-size: 17px; padding: 18px 36px; }

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 17, 17, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.wordmark { display: flex; align-items: center; gap: 10px; color: var(--paper); }
.wordmark-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--red);
  letter-spacing: 0.02em;
}
.wordmark-text { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }

.header-cta { padding: 10px 20px; font-size: 13px; }

/* ---------------------------------- Eyebrow / Section title ---------------------------------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}
.eyebrow-dark { color: var(--red-dim); }
.eyebrow-ink { color: var(--ink); }

.section-title { font-size: clamp(28px, 4vw, 42px); color: var(--ink); max-width: 820px; margin-bottom: 18px; }
.section-title-light { color: var(--paper); }
.section-title-ink { color: var(--ink); }

.section-lede { font-size: 18px; color: var(--slate-light); max-width: 620px; margin: 0 0 40px; }
.section-light .section-lede { color: var(--slate); }
.section-lede-ink { color: rgba(17,17,17,0.75) !important; }

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

.hero { position: relative; background: var(--ink); overflow: hidden; padding: 90px 0 70px; }

.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line-dark) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 90%);
  pointer-events: none;
}
.dot-grid-subtle { opacity: 0.5; }

.hero-inner { position: relative; text-align: center; }
.hero .eyebrow { display: block; text-align: center; }

.hero-headline {
  font-size: clamp(38px, 6.2vw, 72px);
  color: var(--paper);
  letter-spacing: -0.01em;
  margin: 0 auto 22px;
  max-width: 780px;
}
.hero-headline .accent { color: var(--yellow); }

.hero-sub { font-size: 19px; color: var(--slate-light); max-width: 600px; margin: 0 auto 34px; text-transform: none; }
.hero-actions { margin-bottom: 10px; }
.hero-microcopy { font-size: 13px; color: var(--slate-light); margin: 14px 0 0; }

/* ---------------------------------- Sections ---------------------------------- */

.section { position: relative; padding: 92px 0; }
.section-light { background: var(--paper); }
.section-dark { background: var(--ink); }
.section-accent { background: var(--yellow); padding: 76px 0; }
.section-final { padding-bottom: 100px; }

/* ---------------------------------- Pain cards ---------------------------------- */

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.pain-card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  padding: 32px 26px;
}
.pain-index { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--red); display: block; margin-bottom: 18px; }
.pain-card h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; text-transform: none; margin-bottom: 10px; line-height: 1.35; }
.pain-card p { font-size: 15px; color: var(--slate); margin: 0; }

/* ---------------------------------- Approach (yellow band) ---------------------------------- */

.approach-wrap { max-width: 800px; }
.approach-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.approach-list li {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding-left: 28px;
  position: relative;
}
.approach-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--ink);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

/* ---------------------------------- Product/system categories ---------------------------------- */

.systems-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.system-card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 26px 22px;
}
.system-tag {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.system-card p { font-size: 14px; color: var(--slate); margin: 0; text-transform: none; }

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

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--yellow); display: block; margin-bottom: 10px; }
.process-item h3 { font-size: 18px; color: var(--paper); margin-bottom: 10px; }
.process-item p { font-size: 14px; color: var(--slate-light); margin: 0; text-transform: none; }

/* ---------------------------------- Offer stack ---------------------------------- */

.offer-wrap { max-width: 720px; }
.offer-list { display: flex; flex-direction: column; gap: 30px; margin: 40px 0 36px; }
.offer-item { display: flex; gap: 22px; align-items: flex-start; }
.offer-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.offer-item h3 { font-size: 17px; text-transform: none; margin-bottom: 6px; }
.offer-item p { font-size: 15px; color: var(--slate); margin: 0; }
.offer-note { font-size: 13px; color: var(--slate); border-top: 1px solid var(--line-light); padding-top: 22px; margin: 0; }

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

.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item { background: var(--paper-2); border: 1px solid var(--line-light); border-radius: 4px; padding: 6px 24px; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--red); font-size: 20px; margin-left: 16px; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { font-size: 15px; color: var(--slate); margin: 0 0 20px; max-width: 620px; }

/* ---------------------------------- Final CTA / Booking ---------------------------------- */

.section-final .wrap { text-align: center; position: relative; }
.section-final .section-title { margin-left: auto; margin-right: auto; }
.section-final .section-lede { margin-left: auto; margin-right: auto; text-transform: none; }

.booking-shell {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 48px 24px;
  max-width: 640px;
  margin: 0 auto;
}
.booking-placeholder-note { font-size: 13px; color: var(--slate-light); margin: 0 0 20px; }

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

.site-footer { background: #0A0A0A; padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.wordmark-footer { opacity: 0.8; }
.footer-legal { font-size: 12px; color: var(--slate-light); margin: 0; }

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

@media (max-width: 860px) {
  .pain-grid { grid-template-columns: 1fr; }
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 68px 0; }
}

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

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 520px) {
  .systems-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .wordmark-text { display: none; }
  .btn-primary.header-cta { font-size: 13px; padding: 9px 14px; }
}
