/* ==========================================================================
   Rebar Marketing — site styles
   Brand tokens are copied from the original Rebar homepage + Night Shift logo.
   Only change: --field-line is a lighter gray than the original #5B6670 so
   form borders meet the 3:1 contrast minimum for UI elements.
   ========================================================================== */

:root {
  /* Brand palette (unchanged from the original site) */
  --charcoal: #1F2328;
  --charcoal-deep: #171A1E;
  --panel: #2A2F35;
  --line: #3A4048;
  --field-line: #7A848E;      /* was #5B6670 — lightened for accessibility */
  --cream: #F2F0EB;
  --white: #FFFFFF;
  --orange: #E8692B;          /* Night Shift safety orange */
  --orange-deep: #A9441F;     /* orange for text on light backgrounds (5.2:1) */

  /* Text on dark */
  --text: #F2F0EB;
  --text-soft: #D5D9DD;
  --text-muted: #C9CDD1;
  --text-dim: #B9BFC5;

  /* Text + rules on light */
  --ink: #1F2328;
  --ink-soft: #3A4048;
  --rule-light: #E2E4E7;
  --rule-mid: #C9CDD1;

  /* Type */
  --font-stencil: "Saira Stencil One", "Arial Black", Impact, sans-serif;
  --font-head: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 24px);
  --section: clamp(64px, 9vw, 104px);
  --stripe: repeating-linear-gradient(-45deg, var(--orange) 0 12px, var(--charcoal) 12px 24px);
  --shadow-hard: 8px 8px 0 var(--charcoal);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: var(--white); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--orange-deep); }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--charcoal); padding: 12px 18px;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 900px; }

/* --------------------------------------------------------------------------
   Hazard stripe — the brand's signature element
   -------------------------------------------------------------------------- */
.stripe { height: 14px; background: var(--stripe); background-size: 34px 34px; }
.stripe--deep { background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, var(--charcoal-deep) 12px 24px); background-size: 34px 34px; }
.stripe--thin { height: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .stripe--animate { animation: stripe-slide 1.6s linear infinite; }
}
@keyframes stripe-slide { to { background-position: 34px 0; } }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange);
}
.light .eyebrow { color: var(--orange-deep); font-weight: 600; }
.eyebrow--muted { color: var(--text-dim); }

.h-stencil {
  font-family: var(--font-stencil); font-weight: 400; letter-spacing: 1px; line-height: 0.98;
}
.h-section {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; text-wrap: balance;
}
.h-card {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  font-size: 1.35rem; line-height: 1.15; letter-spacing: 0.01em;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-soft); max-width: 62ch; }
.light .lede { color: var(--ink-soft); }
.muted { color: var(--text-muted); }
.light .muted { color: var(--ink-soft); }
.accent { color: var(--orange); }
.light .accent { color: var(--orange-deep); }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.section-head--center { margin: 0 auto; text-align: center; align-items: center; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section > .wrap { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 52px); }
.section > .wrap > * { min-width: 0; max-width: 100%; }
.section--deep { background: var(--charcoal-deep); }
.light { background: var(--cream); color: var(--ink); }
.light a { color: var(--ink); }
.light a:hover { color: var(--orange-deep); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange); color: var(--charcoal); border-color: var(--orange); }
.btn--primary:hover { color: var(--charcoal); background: #F07A3E; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--cream); }
.light .btn--primary:hover, .card-light .btn--primary:hover { box-shadow: 4px 4px 0 var(--charcoal); color: var(--charcoal); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--charcoal); }
.btn--dark { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.btn--dark:hover { color: var(--cream); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--orange-deep); }
.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--cream) !important; }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; font-size: 1.15rem; padding: 16px 30px; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none !important; } }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  font-family: var(--font-head); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: var(--orange);
}
.text-link:hover { color: var(--text); }
.text-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.text-link:hover svg { transform: translateX(3px); }
.light .text-link { color: var(--orange-deep); }
.light .text-link:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Header + navigation
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--charcoal); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }

.logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; flex: none; }
.logo__word { font-family: var(--font-stencil); font-size: 2rem; letter-spacing: 1px; color: var(--orange); }
.logo__sub { font-family: var(--font-head); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.62em; color: var(--cream); margin-top: 4px; }
.logo:hover .logo__word { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__link {
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__link:hover { border-bottom-color: var(--orange); }
.nav__link[aria-current="page"] { border-bottom-color: var(--orange); color: var(--white); }
.nav__phone { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.04em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav__phone svg { width: 18px; height: 18px; color: var(--orange); }
.nav__cta { min-height: 46px; padding: 10px 20px; font-size: 1rem; }

.nav-toggle {
  display: none; background: transparent; border: 2px solid var(--line); color: var(--text);
  width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1020px) {
  .nav__phone-text { display: none; }
  .nav__list { gap: 20px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--charcoal); border-top: 1px solid var(--line); border-bottom: 4px solid var(--orange);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="page"] { border-bottom-color: var(--line); color: var(--orange); }
  .nav__phone { padding: 18px 0; font-size: 1.15rem; }
  .nav__phone-text { display: inline; }
  .nav__cta { width: 100%; min-height: 54px; }
}
.no-js .nav { display: flex; position: static; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: clamp(44px, 7vw, 84px) 0 clamp(64px, 8vw, 100px); position: relative; overflow: hidden; }
.hero::before {
  /* faint rebar grid texture, built from the brand line color */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 85% 30%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 85% 30%, #000 0%, transparent 60%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__title { font-size: clamp(2.9rem, 7vw, 5.6rem); color: var(--cream); }
.hero__title .accent { display: inline-block; }
.hero__sub { font-size: clamp(1.12rem, 1.7vw, 1.28rem); color: var(--text-soft); max-width: 58ch; }
.hero__assure { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-dim); font-size: 0.98rem; }
.hero__assure li { display: inline-flex; align-items: center; gap: 8px; }
.hero__assure svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.hero--page { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); }
.hero--page .hero__title { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.hero--page .hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 900px) {
  .hero__grid, .hero--page .hero__grid { grid-template-columns: 1fr; }
}

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.92rem; color: var(--text-dim); }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

/* --------------------------------------------------------------------------
   Cards + panels
   -------------------------------------------------------------------------- */
.panel { background: var(--panel); border: 2px solid var(--line); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.panel__title { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.04em; text-transform: uppercase; }

.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--orange); }
.light .checks svg, .card-light .checks svg { color: var(--charcoal); }
.checks--sm { gap: 10px; font-size: 1rem; }

/* problem cards (light) */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.card-light { background: var(--white); color: var(--ink); border-top: 6px solid var(--charcoal); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card-light p { color: var(--ink-soft); }
.card-light__num { font-family: var(--font-stencil); font-size: 2.4rem; line-height: 1; color: var(--charcoal); }

/* service tiles — dark grid with 2px rules, from the original site */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.tile { background: var(--charcoal); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; position: relative; transition: background-color .2s ease; }
.tile p { color: var(--text-muted); }
.tile__icon { width: 36px; height: 36px; color: var(--orange); }
a.tile { text-decoration: none; }
a.tile:hover { background: #252A30; color: var(--text); }
a.tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
a.tile:hover::after, a.tile:focus-visible::after { transform: scaleX(1); }
.tile .text-link { margin-top: auto; padding-top: 6px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.pillar { border: 2px solid var(--line); background: var(--charcoal); display: flex; flex-direction: column; }
.pillar__head { padding: 26px 28px 20px; border-bottom: 2px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.pillar__num { font-family: var(--font-stencil); font-size: 1rem; color: var(--orange); letter-spacing: 0.1em; }
.pillar__title { font-family: var(--font-stencil); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1; }
.pillar__body { padding: 22px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pillar__body p { color: var(--text-muted); }
.pillar__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pillar__list li { border-bottom: 1px solid var(--line); }
.pillar__list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; text-decoration: none; font-weight: 600; }
.pillar__list a:hover { color: var(--orange); }
.pillar__list svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__bar { display: flex; align-items: center; gap: 14px; }
.step__num { font-family: var(--font-stencil); font-size: 3.2rem; line-height: 1; color: var(--orange); }
.step__line { flex: 1; height: 4px; background: var(--line); }
.step p { color: var(--text-muted); }
.light .step__num { color: var(--orange-deep); }
.light .step__line { background: var(--rule-mid); }
.light .step p { color: var(--ink-soft); }
.step__time { font-family: var(--font-head); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }

/* commitments */
.commit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 0; border-top: 2px solid var(--charcoal); }
.commit__item { display: flex; gap: 18px; padding: 26px 24px 26px 0; border-bottom: 2px solid var(--charcoal); }
.commit__icon { width: 44px; height: 44px; flex: none; background: var(--charcoal); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.commit__icon svg { width: 24px; height: 24px; }
.commit__item h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; margin-bottom: 6px; }
.commit__item p { color: var(--ink-soft); }

/* trade band */
.trade-band { background: var(--orange); color: var(--charcoal); padding: 18px 0; }
.trade-band ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; }
.trade-band a { color: var(--charcoal); text-decoration: none; border-bottom: 2px solid transparent; }
.trade-band a:hover { color: var(--charcoal); border-bottom-color: var(--charcoal); }

/* industry cards */
.industries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.ind-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; text-decoration: none;
  background: var(--white); color: var(--ink); border: 2px solid var(--charcoal);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ind-card:hover { color: var(--ink) !important; transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--charcoal); }
.ind-card__icon { width: 40px; height: 40px; color: var(--orange-deep); }
.ind-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; text-transform: uppercase; }
.ind-card p { color: var(--ink-soft); font-size: 1rem; }
.ind-card .text-link { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .ind-card:hover { transform: none; } }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 24px; align-items: stretch; padding-top: 16px; }
.plan { background: var(--white); color: var(--ink); border: 2px solid var(--rule-mid); padding: 32px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan__name { font-family: var(--font-stencil); font-size: 2rem; line-height: 1; }
.plan__fit { color: var(--ink-soft); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.plan__amount { font-family: var(--font-head); font-weight: 700; font-size: 3.1rem; line-height: 1; }
.plan__per { color: var(--ink-soft); }
.plan__note { font-weight: 600; color: var(--ink-soft); font-size: 0.98rem; }
.plan__rule { height: 2px; background: var(--rule-light); }
.plan__best { font-size: 0.95rem; color: var(--ink-soft); border-left: 0; background: var(--cream); padding: 12px 14px; }
.plan__best strong { color: var(--ink); }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.plan--featured .plan__name { color: var(--orange); }
.plan--featured .plan__fit, .plan--featured .plan__per, .plan--featured .plan__note { color: var(--text-muted); }
.plan--featured .plan__rule { background: var(--line); }
.plan--featured .checks svg { color: var(--orange); }
.plan--featured .plan__best { background: var(--panel); color: var(--text-muted); }
.plan--featured .plan__best strong { color: var(--cream); }
.plan__tag {
  position: absolute; top: -16px; left: 32px; background: var(--orange); color: var(--charcoal);
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px;
}
.plan--heavy { border: 2px solid var(--charcoal); box-shadow: var(--shadow-hard); }

.custom-plan {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  background: var(--charcoal); color: var(--cream); padding: 28px 32px; border-left: 0; position: relative; overflow: hidden;
}
.custom-plan::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, var(--charcoal) 10px 20px); }
.custom-plan > div { padding-left: 14px; display: flex; flex-direction: column; gap: 6px; max-width: 720px; }
.custom-plan p { color: var(--text-muted); }
.custom-plan h3 { font-family: var(--font-stencil); font-weight: 400; font-size: 1.8rem; color: var(--orange); }

.callout { background: var(--white); border: 2px solid var(--charcoal); padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: start; }
.callout__icon { width: 52px; height: 52px; background: var(--orange); color: var(--charcoal); display: flex; align-items: center; justify-content: center; }
.callout__icon svg { width: 28px; height: 28px; }
.callout h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 8px; }
.callout p + p { margin-top: 10px; }
.callout p { color: var(--ink-soft); }
@media (max-width: 560px) { .callout { grid-template-columns: 1fr; } }

.addons { background: var(--white); border: 2px solid var(--rule-mid); padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; }
.addons__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 40px; }
.addons__row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule-light); padding: 14px 0; }
.addons__row span:last-child { font-weight: 700; white-space: nowrap; font-family: var(--font-head); letter-spacing: 0.02em; }
.addons__row small { display: block; color: var(--ink-soft); font-size: 0.92rem; }

.table-wrap { position: relative; overflow-x: auto; border: 2px solid var(--charcoal); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 1rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--rule-light); vertical-align: top; }
.compare thead th { background: var(--charcoal); color: var(--cream); font-family: var(--font-head); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.compare thead th.is-featured { background: var(--orange); color: var(--charcoal); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.compare td { color: var(--ink-soft); }
.compare .yes svg { width: 20px; height: 20px; color: var(--charcoal); }
.compare .no { color: #6B7178; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { border-bottom: 2px solid var(--charcoal); }
.faq details { border-top: 2px solid var(--charcoal); }
.section--deep .faq, .section--deep .faq details, .faq--dark, .faq--dark details { border-color: var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .2s ease; color: var(--orange-deep); }
.faq--dark summary svg { color: var(--orange); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__body { padding: 0 0 24px; color: var(--ink-soft); max-width: 72ch; display: flex; flex-direction: column; gap: 10px; }
.faq--dark .faq__body { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px 20px; }
.form--card { background: var(--panel); border: 2px solid var(--line); padding: clamp(22px, 3vw, 32px); }
.form__head { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.form__title { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; line-height: 1.1; }
.form__intro { color: var(--text-muted); font-size: 1rem; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; }
.field .opt { color: var(--text-dim); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--charcoal); border: 2px solid var(--field-line); color: var(--cream);
  font: inherit; font-size: 1rem; padding: 12px 14px; min-height: 50px; border-radius: 0;
  transition: border-color .15s ease, box-shadow .15s ease; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8692B' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 42px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A929A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,105,43,.35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #FF8A65; }
.field__error { color: #FFB199; font-size: 0.92rem; font-weight: 600; display: none; }
.field.has-error .field__error { display: block; }
.form__actions { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.form__fine { font-size: 0.9rem; color: var(--text-dim); }
.form__fine a { color: var(--text-muted); }
.form__status { grid-column: 1 / -1; display: none; padding: 14px 16px; border: 2px solid; font-weight: 600; }
.form__status.is-error { display: block; border-color: #FF8A65; background: rgba(255,138,101,.08); color: #FFD3C4; }
.form__status a { color: var(--white); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .7; cursor: progress; }

/* --------------------------------------------------------------------------
   CTA band + founding program
   -------------------------------------------------------------------------- */
.cta-band { background: var(--charcoal); }
.cta-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.cta-band__copy { display: flex; flex-direction: column; gap: 18px; }
.cta-band__title { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
.contact-lines { display: flex; flex-direction: column; gap: 10px; font-size: 1.1rem; margin-top: 6px; }
.contact-lines a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.contact-lines a:hover { color: var(--orange); }
.contact-lines svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
@media (max-width: 900px) { .cta-band__grid { grid-template-columns: 1fr; } }

.founding { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 48px); align-items: center; }
.founding__offer { border: 2px solid var(--orange); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.founding__count { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); font-size: 0.9rem; }
@media (max-width: 900px) { .founding { grid-template-columns: 1fr; } }

.print-strip { border: 2px solid var(--line); padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.print-strip p { color: var(--text-soft); font-size: 1.12rem; }
.print-strip strong { color: var(--cream); }

/* service detail blocks (services page) */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); padding: clamp(32px, 4vw, 44px) 0; border-top: 2px solid var(--line); scroll-margin-top: 100px; }
.svc:last-child { border-bottom: 2px solid var(--line); }
.svc__head { display: flex; flex-direction: column; gap: 12px; }
.svc__head .tile__icon { width: 40px; height: 40px; }
.svc__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2rem); text-transform: uppercase; }
.svc__plans { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-head); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--field-line); color: var(--text-muted); }
.chip--on { border-color: var(--orange); color: var(--orange); }
.svc__body { display: flex; flex-direction: column; gap: 18px; }
.svc__body > p { color: var(--text-soft); }
.svc__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px 32px; }
.svc__label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
@media (max-width: 800px) { .svc { grid-template-columns: 1fr; } }

.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { text-decoration: none; border: 2px solid var(--line); padding: 8px 14px; font-family: var(--font-head); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.92rem; }
.jump a:hover { border-color: var(--orange); color: var(--orange); }

/* industry page bits */
.searches { display: flex; flex-wrap: wrap; gap: 10px; }
.search-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--charcoal); border: 2px solid var(--line); padding: 10px 16px; font-size: 1rem; color: var(--text-soft); }
.search-pill svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.plays { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.play { background: var(--charcoal); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.play p { color: var(--text-muted); }
.play__tag { font-family: var(--font-head); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.reco { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; background: var(--white); border: 2px solid var(--charcoal); box-shadow: var(--shadow-hard); padding: clamp(24px, 3vw, 32px); }
.reco h3 { font-family: var(--font-stencil); font-weight: 400; font-size: 1.9rem; }
.reco p { color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 700px) { .reco { grid-template-columns: 1fr; } }

.placeholder {
  border: 2px dashed var(--orange-deep); background: rgba(169,68,31,.06); padding: 20px; color: var(--ink-soft);
  font-family: var(--font-body);
}
.placeholder strong { color: var(--orange-deep); font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; }
.section:not(.light) .placeholder { border-color: var(--orange); background: rgba(232,105,43,.08); color: var(--text-soft); }
.section:not(.light) .placeholder strong { color: var(--orange); }

.prose { display: flex; flex-direction: column; gap: 16px; max-width: 72ch; }
.prose h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; margin-top: 18px; }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.light .prose p, .light .prose li { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--charcoal-deep); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { color: var(--text-dim); max-width: 34ch; }
.footer-col h2 { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--text-soft); }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-dim); font-size: 0.92rem; }
.footer-bottom a { color: var(--text-dim); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Mobile action bar
   -------------------------------------------------------------------------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--charcoal); border-top: 2px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
    transform: translateY(0); transition: transform .25s ease;
  }
  .action-bar .btn { min-height: 50px; padding: 10px 12px; font-size: 1rem; }
  .action-bar.is-hidden { transform: translateY(110%); }
  body { padding-bottom: 76px; }
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll (only when JS runs and motion is OK)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
  .js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .07s; }
  .js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .14s; }
  .js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .21s; }
  .js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
  .js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .35s; }
  .js .reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: .42s; }
}

/* 404 / thank-you */
.center-page { min-height: 60vh; display: flex; align-items: center; }
.center-page .wrap { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

@media print {
  .site-header, .action-bar, .stripe, .site-footer form { display: none !important; }
  body { background: #fff; color: #000; }
}
