/* RampWorks MX — black & white only */
:root {
  --radius: 0; /* sharp lines, no soft corners */
  --black: #000;
  --white: #fff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-600: #555;
  --gray-800: #222;
  --max: 1100px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--black); text-underline-offset: 0.15em; }
a:hover { opacity: 0.7; }
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.25rem; }
ul, ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
li { margin-bottom: 0.35rem; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Nudge main content slightly right — header unchanged */
main .container {
  padding-left: 1.75rem; /* ~28px */
  box-sizing: border-box;
}


/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.2rem 0;
  width: min(100% - 2.5rem, var(--max)); margin-inline: auto;
  position: relative;
}
.header-inner > .logo-link { justify-self: start; grid-column: 1; }
.header-inner > .header-nav { justify-self: center; grid-column: 2; }
.header-inner > .btn-aog { justify-self: end; grid-column: 3; }
.header-inner > .nav-toggle { justify-self: end; grid-column: 3; }
.logo-link {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--black); flex-shrink: 0;
  margin: 0 0.5rem 0 0;
  padding: 0;
}
.logo-link img {
  width: 136px !important;
  height: 136px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-wordmark {
  font-weight: 800; font-size: 1.35rem;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.nav-toggle {
  display: none; background: none; border: 2px solid var(--black);
  padding: 0.4rem 0.6rem; cursor: pointer; font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  font-family: inherit;
}
.header-nav { display: block; }
.site-nav {
  display: flex; align-items: center; gap: 1.5rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  text-decoration: none; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
}
.site-nav a[aria-current="page"] {
  text-decoration: underline; text-underline-offset: 0.3em;
}
.btn {
  display: inline-block; background: var(--black); color: var(--white);
  text-decoration: none; font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.02em; padding: 0.85rem 1.35rem;
  border: 2px solid var(--black); cursor: pointer; line-height: 1.3;
  text-align: center; transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--white); color: var(--black); opacity: 1; }
.btn-aog { white-space: normal; max-width: 320px; font-size: 0.92rem; padding: 0.82rem 1.15rem; }
.btn-lg { font-size: 1rem; padding: 1rem 1.75rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--black);
  min-height: clamp(28rem, 72vh, 40rem);
  display: flex;
  align-items: flex-end;
  padding: 0;
}
.hero--photo .hero-bg {
  position: absolute; inset: 0;
  background:
    url("../assets/hero-ramp.jpg") center / cover no-repeat;
  transform: scale(1.02);
}
.hero--photo .hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.28) 70%, rgba(0,0,0,0.18) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.45) 0%, transparent 55%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  padding: 4.5rem 0 4rem;
  max-width: 40rem;
  color: #fff;
}
.hero-content h1 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.92);
  max-width: 36rem;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.hero-visual { display: none; }
.hero-visual img { display: none; }
.hero-visual-label { display: none; }
.hero-grid { display: block; }

/* Sections */
.section { padding: 4rem 0; }
.section + .section { border-top: 1px solid var(--gray-200); }
.section-alt { background: var(--gray-100); }
/* Tighter stack for problem → solution */
.section-compact { padding: 2.25rem 0; }
.section-compact + .section-compact { padding-top: 1.75rem; border-top: none; }
/* Slightly larger titles on the compact problem/solution pair */
.section-compact h2 {
  font-size: clamp(1.65rem, 3.25vw, 2.5rem); /* was global h2 max 2.25rem / 36px */
}

.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.75rem;
}
.lead { font-size: 1.15rem; max-width: 40rem; }
.mt-2 { margin-top: 2rem; }
.not-offered {
  border-left: 3px solid var(--black); padding-left: 1rem;
  font-size: 0.95rem; margin: 1.5rem 0;
}

/* Steps */
/* Tighter title → steps in How it works */
#how-it-works h2 { margin-bottom: 1rem; }
#how-it-works .steps { margin-top: 0; }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: 2rem; list-style: none; padding: 0; counter-reset: step;
}
.steps li { border-top: 2px solid var(--black); padding-top: 1.25rem; counter-increment: step; }
.steps li::before {
  content: "0" counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 2.35rem; height: 2.35rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--black); /* filled circle — brand black */
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 0.5rem; } /* was 1rem */
.steps p { font-size: 1.05rem; color: var(--gray-800); } /* was 0.95rem */

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.card { border: 1px solid var(--black); padding: 1.5rem; background: var(--white); }
.card h3 { margin-bottom: 0.65rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 2rem 0; }
.price-card { border: 2px solid var(--black); padding: 1.75rem; background: var(--white); }
.price-card.featured { background: var(--black); color: var(--white); }
.price-card .price {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0.5rem 0;
}
.price-card .price span { font-size: 1rem; font-weight: 600; }
.price-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem;
}
.price-amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.35rem; }
.price-unit { font-size: 0.95rem; margin-bottom: 0; opacity: 0.85; }
.badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; border: 1px solid currentColor; padding: 0.2rem 0.45rem;
  margin-left: 0.35rem; vertical-align: middle;
}
.pricing-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.95rem; }
.pricing-table th, .pricing-table td {
  text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--gray-200); vertical-align: top;
}
.pricing-table th { background: var(--black); color: var(--white); font-weight: 700; border-bottom: none; }
.pricing-table tr:last-child td { border-bottom: 2px solid var(--black); }

/* Resources hub */
.resource-list { display: grid; gap: 1.25rem; margin-top: 2rem; }
.resource-item {
  display: block; border: 2px solid var(--black); padding: 1.75rem;
  text-decoration: none; color: var(--black); transition: background 0.15s, color 0.15s;
}
.resource-item:hover { background: var(--black); color: var(--white); opacity: 1; }
.resource-item h3 { margin: 0 0 0.5rem; }

/* Contact */
.contact-box { border: 2px solid var(--black); padding: 2rem; max-width: 36rem; margin-top: 1.5rem; }
.contact-box .contact-line { font-size: 1.15rem; margin-bottom: 0.75rem; }
.contact-note { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--gray-200); font-size: 0.95rem; }

/* Article */
.article-header { padding: 3.5rem 0 2rem; border-bottom: 2px solid var(--black); }
.article-meta {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--gray-600); margin-bottom: 1rem;
}
.article { padding: 3rem 0 4rem; max-width: 42rem; }
.article h2 { margin-top: 2.75rem; padding-top: 0.5rem; border-top: 1px solid var(--gray-200); }
.article h3 { margin-top: 1.75rem; }
.article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.9rem; }
.article table th, .article table td {
  text-align: left; padding: 0.75rem 0.85rem; border: 1px solid var(--gray-200); vertical-align: top;
}
.article table th { background: var(--black); color: var(--white); border-color: var(--black); }
.article-cta { margin-top: 3rem; padding: 1.75rem; border: 2px solid var(--black); background: var(--gray-100); }
.article-cta h2 { margin-top: 0; border: 0; padding: 0; }
.print-hint { font-size: 0.85rem; color: var(--gray-600); margin-top: 1.5rem; }

/* Footer */
.site-footer { background: var(--black); color: var(--white); padding: 3.5rem 0 2rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { opacity: 0.75; }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; margin-bottom: 2rem;
}
.footer-brand { font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem; }
.footer-tag, .footer-tagline { font-size: 0.95rem; opacity: 0.85; max-width: 36rem; }
.footer-meta { font-size: 0.85rem; opacity: 0.7; margin-top: 0.75rem; }
.footer-cta { font-size: 1rem; }
.footer-cta .btn { margin-top: 0.75rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.25); padding-top: 1.25rem;
  font-size: 0.8rem; letter-spacing: 0.03em; opacity: 0.7;
}

@media (max-width: 860px) {
  .header-inner {
    display: flex; justify-content: space-between; align-items: center;
  }
  .header-inner > .header-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.25rem 1.5rem; z-index: 50; justify-self: stretch;
  }
  .header-inner > .header-nav.is-open { display: block; }
  .nav-toggle { display: block; }
  .site-nav {
    flex-direction: column; align-items: flex-start; gap: 0.85rem;
  }
  .header-inner > .btn-aog { justify-self: end; max-width: none; }
  .btn-aog { max-width: none; }
  .hero-grid, .footer-inner, .card-grid, .pricing-grid { grid-template-columns: 1fr; }
  /* Tighter title → steps in How it works */
#how-it-works h2 { margin-bottom: 1rem; }
#how-it-works .steps { margin-top: 0; }
.steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  /* Tighter title → steps in How it works */
#how-it-works h2 { margin-bottom: 1rem; }
#how-it-works .steps { margin-top: 0; }
.steps { grid-template-columns: 1fr; }
  .logo-wordmark { font-size: 1.05rem; }
  .header-inner, .container { width: min(100% - 1.5rem, var(--max)); }
}
@media print {
  .site-header, .nav-toggle, .print-hint { display: none !important; }
  .site-footer { background: none; color: var(--black); border-top: 1px solid #000; padding: 1rem 0; }
  .site-footer a { color: var(--black); }
  body { font-size: 11pt; }
  .article { max-width: none; padding: 1rem 0; }
  .btn { border: 1px solid #000; color: #000; background: none; }
  .article-cta, table { break-inside: avoid; }
}


/* Brand: sharp, minimal, precise — black & white */
*, *::before, *::after { border-radius: 0 !important; }
body { background: #fff; color: #000; }
.site-header { background: #fff; border-bottom: 1px solid #000; }
.btn { border-radius: 0; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.8rem; }
.hero { border-bottom: 1px solid #000; }
.hero--photo { border-bottom: none; }
.section-alt { background: #fafafa; }
.card, .price-card { border: 1px solid #000; background: #fff; box-shadow: none; }
.site-footer { background: #000; color: #fff; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; }

/* Soften primary CTAs — header AOG, homepage hero, solution section */
.site-header .btn-aog,
.hero .btn-lg,
.section-alt .btn {
  border-radius: 6px !important;
}


/* Lead-magnet soft outline CTAs (homepage guides only) */
.btn-outline {
  background: #fff !important;
  color: #000 !important;
  border: 2px solid #000 !important;
  border-radius: 6px !important;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.95rem 1.35rem;
  max-width: 36rem;
  width: 100%;
  text-align: left;
}
.btn-outline:hover {
  background: #000 !important;
  color: #fff !important;
  opacity: 1;
}
.guide-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  align-items: flex-start;
}

/* Lead-magnet modal */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.lead-modal[hidden] { display: none !important; }
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.lead-modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 6px !important;
  width: min(100%, 28rem);
  padding: 2rem 1.75rem 1.75rem;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
}
.lead-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #000;
  padding: 0.15rem 0.4rem;
  font-family: inherit;
}
.lead-modal__sub { font-size: 0.95rem; color: #222; margin-bottom: 1.25rem; }
.lead-modal__dialog h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.lead-form__field {
  display: block;
  margin-bottom: 1rem;
}
.lead-form__field span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.lead-form__field .optional {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  color: #555;
}
.lead-form__field input {
  width: 100%;
  border: 2px solid #000;
  border-radius: 6px !important;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #000;
}
.lead-form__field input:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.lead-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  border-radius: 6px !important;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 1rem;
}
.lead-form__error {
  color: #000;
  border-left: 3px solid #000;
  padding-left: 0.75rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.lead-form__honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.lead-modal__success h2 { margin-bottom: 0.75rem; }
body.lead-modal-open { overflow: hidden; }

/* Hero desktop — tight lead block under title at ~2/3 up (mobile unchanged) */
@media (min-width: 861px) {
  .hero {
    align-items: stretch;
  }
  .hero .hero-content {
    max-width: none;
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
    padding: 0;
    align-self: stretch;
    position: relative;
    overflow: visible;
  }
  .hero .hero-lead {
    position: absolute;
    left: 50%;
    top: 28%; /* headline band stays in the upper third / sky */
    transform: translateX(-50%); /* horizontal center only — do not lift whole stack */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: max-content;
    max-width: calc(100vw - 2.5rem);
    text-align: center;
  }
  .hero .hero-lead h1 {
    position: static;
    /* keep optical center of the title on the 28% line */
    margin: -0.525em 0 0; /* half line-height: keep title center on 28% line; flex gap handles space below */
    padding: 0;
    width: max-content;
    max-width: none;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    font-size: clamp(3rem, 4.15vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
  }
  .hero .hero-lead .hero-sub {
    max-width: 36rem;
    margin: 0;
    text-align: center;
  }
  .hero .hero-lead .btn-lg {
    margin: 0;
  }
}

/* Header logo — forced large (must beat global img max-width) */
.site-header .logo-link img,
.header-inner .logo-link img,
a.logo-link > img {
  width: 136px !important;
  height: 136px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}


/* Full-bleed color hero */
.hero--photo .btn-lg {
  background: #fff !important;
  color: #000 !important;
  border: 2px solid #fff !important;
}
.hero--photo .btn-lg:hover {
  background: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}
@media (max-width: 860px) {
  .hero { min-height: 70vh; align-items: flex-end; }
  .hero-content { padding: 3.5rem 0 3rem; }
  .hero--photo .hero-scrim {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.7) 55%, rgba(0,0,0,0.82) 100%);
  }
}


/* Logo size — ~2x prior; slightly smaller on narrow screens */
@media (max-width: 860px) {
  .logo-link img,
  .site-header .logo-link img,
  .header-inner .logo-link img,
  a.logo-link > img {
    width: 112px !important;
    height: 112px !important;
    object-fit: contain !important;
  }
  .logo-link {
    margin: 0 0.35rem 0 0;
    padding: 0;
  }
}


/* Solution section: one right-flushed column; body justified; CTA centered in column */
.section-solution .solution-copy {
  max-width: 40rem;
  margin-left: auto;
  margin-right: 0;
}
.section-solution .solution-copy h2 {
  text-align: right;
}
.section-solution .solution-copy .lead {
  max-width: none; /* inherit column width */
  margin-left: 0;
  margin-right: 0;
  text-align: justify;
}
.section-solution .solution-cta {
  margin-top: 2rem;
  text-align: center;
}
.section-solution .solution-cta .btn {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}


/* Problem section: justified body copy */
.section-problem .lead {
  text-align: justify;
}
