/* Four Boots — the look of the original 4boots.us carried onto the new site:
   near-black #191718 bands, pink→orange gradient display type and borders,
   Inter body + Roboto display, white cards with hover lift, black footer.
   Still no JS, still accessible: AA contrast throughout, visible focus. */

/* ---- Self-hosted fonts (no third-party requests) ---- */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('/fonts/roboto-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/roboto-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/roboto-600.woff2') format('woff2');
}

:root {
  --dark: #191718;             /* the original near-black */
  --ink: #111827;              /* gray-900 body text on white */
  --muted: #4b5563;            /* gray-600 secondary text */
  --rule: #e5e7eb;             /* gray-200 borders */
  --pink: #e63a95;             /* gradient start (display use on dark) */
  --orange: #ec7130;           /* gradient end (display use on dark) */
  --pink-deep: #ad1a67;        /* link color on white — 5.9:1 */
  --pink-deeper: #8c1553;
  --grad: linear-gradient(90deg, #e63a95, #ec7130);
  --grad-button: linear-gradient(90deg, #b91d6e, #bf4c0a); /* darkened for white text AA */
  --wash: #eff6ff;             /* blue-50, from the old testimonial band */
  --focus-light: #1f5aa8;
  --focus-dark: #ffd166;
}

* { box-sizing: border-box; }

html { font-size: 112.5%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: #ffffff;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #ffffff;
  color: var(--dark);
  padding: 0.6rem 1rem;
  z-index: 10;
  font-weight: 600;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---- Focus visibility ---- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus-light);
  outline-offset: 2px;
  border-radius: 2px;
}
.site-header a:focus-visible,
.band--dark a:focus-visible,
.page-hero a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--focus-dark);
}

/* ---- Layout ---- */
.wrap {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main { padding-bottom: 3rem; }

/* ---- Header / nav (dark, uppercase, like the original) ---- */
.site-header {
  background: var(--dark);
  padding: 0.9rem 0;
}

.site-header nav {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { text-decoration: underline; color: #ffffff; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #ffffff;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.85rem;
}

.site-header ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-header ul a {
  color: #b8bcc2; /* 8:1 on #191718 */
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 500;
}
.site-header ul a:hover { color: #ffffff; text-decoration: underline; }

.site-header a[aria-current="page"] { color: #ffffff; font-weight: 700; }

.site-header .button {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* ---- Links ---- */
a { color: var(--pink-deep); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { color: var(--pink-deeper); }

/* ---- Buttons ---- */
.button {
  display: inline-block;
  background: var(--grad-button);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.3rem;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25, 23, 24, 0.25);
}
@media (prefers-reduced-motion: reduce) {
  .button, .card { transition: none !important; }
  .button:hover, .card:hover { transform: none !important; }
}

/* Outline button for dark hero (like the old "Schedule a Demo") */
.button--outline {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.button--outline:hover { background: rgba(255, 255, 255, 0.22); }

/* ---- Type ---- */
h1, h2, h3 {
  font-family: 'Roboto', 'Inter', -apple-system, sans-serif;
  line-height: 1.2;
  margin: 2.2rem 0 0.8rem;
}
h1 { font-size: 2.1rem; font-weight: 600; }
h2 { font-size: 1.5rem; font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; font-family: 'Inter', sans-serif; }

p, ul, ol { margin: 0 0 1.1rem; }

.lede { font-size: 1.15rem; color: var(--muted); font-weight: 300; font-family: 'Roboto', sans-serif; }

.note { font-size: 0.95rem; color: var(--muted); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

/* ---- Page hero (dark band with gradient headline, on every page) ---- */
.page-hero {
  background: var(--dark);
  color: #ffffff;
  padding: 3rem 0 3.2rem;
  border-bottom: 3px solid transparent;
  border-image: var(--grad) 1;
}
.page-hero h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 600;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
  color: #f3a0c9; /* fallback if background-clip unsupported */
  -webkit-text-fill-color: transparent;
}
.page-hero .lede { color: rgba(255, 255, 255, 0.92); font-weight: 300; font-size: 1.25rem; }
.page-hero .note { color: rgba(255, 255, 255, 0.75); }
.page-hero p:last-child { margin-bottom: 0; }
.page-hero a { color: #ff9ecb; } /* 7.6:1 on #191718 */
.page-hero a:hover { color: #ffffff; }
.page-hero .kicker { color: rgba(255, 255, 255, 0.75); }

/* Homepage hero: bigger */
.page-hero--home h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: 1.05; }
.page-hero--home { padding: 4rem 0 4.2rem; }
.page-hero .button { margin-top: 0.5rem; }

/* ---- Dark content bands (homepage rhythm, like the old "Section 1/2/3") ---- */
.band { padding: 3rem 0 3.4rem; }
.band--dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.92);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-image: var(--grad) 1;
}
.band--dark h2 {
  color: #ffffff;
  font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}
.band--dark a { color: #ff9ecb; }
.band--dark a:hover { color: #ffffff; }
.band--dark .note { color: rgba(255, 255, 255, 0.75); }
.band--dark strong { color: #ffffff; }
.band--wash { background: var(--wash); }

/* Arrow lists on dark bands (the old pink → bullets) */
.band--dark ul, .band--dark ol { list-style: none; padding-left: 0; }
.band--dark ul > li, .band--dark ol > li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.9rem;
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
}
.band--dark ul > li::before, .band--dark ol > li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #ff7ab8;
  font-weight: 700;
}

/* ---- Cards (white, bordered, hover lift — the old service cards) ---- */
.card {
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.4rem 1.5rem;
  margin: 0 0 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(25, 23, 24, 0.12);
}
.card h2, .card h3 { margin-top: 0; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.15rem; }
.card :last-child { margin-bottom: 0; }

/* Check bullets inside cards (the old green ✓ list) */
.card ul { list-style: none; padding-left: 0; }
.card ul > li { position: relative; padding-left: 1.5rem; margin-bottom: 0.45rem; }
.card ul > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #15803d; /* green-700, 4.7:1 on white */
  font-weight: 700;
}

/* ---- Fact strip ---- */
.facts {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.9rem;
}
.facts li {
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 0;
  box-shadow: 0 4px 12px rgba(25, 23, 24, 0.06);
}
.facts li::before { content: none; }

/* ---- Tables ---- */
table { border-collapse: collapse; width: 100%; margin: 0 0 1.25rem; font-size: 0.98rem; }
caption { text-align: left; font-weight: 600; margin-bottom: 0.4rem; }
th, td { border: 1px solid var(--rule); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
th { background: #f9fafb; }

/* ---- CTA block (dark, gradient-bordered, like the old contact section) ---- */
.cta-block {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  border: 3px solid transparent;
  border-image: var(--grad) 1;
  padding: 1.8rem 1.6rem;
  margin: 2.5rem 0;
}
.cta-block h2 { margin-top: 0; color: #ffffff; font-weight: 300; }
.cta-block a { color: #ff9ecb; }
.cta-block a:hover { color: #ffffff; }
.cta-block .note { color: rgba(255, 255, 255, 0.75); }
.cta-block strong { color: #ffffff; }
.cta-block .button { margin: 0.3rem 0; }
.cta-block :last-child { margin-bottom: 0; }

/* ---- Team ---- */
.team-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
}
.team-card .role {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

/* ---- Footer (black, like the original) ---- */
.site-footer {
  background: #000000;
  color: #b8bcc2;
  margin-top: 3rem;
  padding: 2.2rem 0 2.6rem;
  font-size: 0.95rem;
  border-top: 3px solid transparent;
  border-image: var(--grad) 1;
}
.site-footer a { color: #ff9ecb; }
.site-footer a:hover { color: #ffffff; }
.site-footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}
.site-footer strong { color: #ffffff; }

/* ---- Motion & print ---- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  .page-hero, .band--dark, .cta-block { background: #fff; color: #000; border: 1px solid #000; }
  .page-hero h1 { -webkit-text-fill-color: initial; color: #000; background: none; }
}
