/* ==========================================================================
   ShopifyDevExpert - style.css
   Plain CSS. No framework. Mobile-first.

   Design system inherited from the live shopifydevexpert.com build:
     bg #09090b / #111113 / #18181b   green #22c55e
     Syne 800 display, Inter 400-500 body
     100px pill buttons, 14px cards, grain overlay, green CTA block

   Contents
     1.  Tokens
     2.  Reset & base
     3.  Layout primitives
     4.  Typography
     5.  Motion
     6.  Buttons
     7.  Eyebrow, badges, tags
     8.  Header & navigation
     9.  Hero, stats, marquee
     10. Problem list
     11. Services
     12. Work grid
     13. Process
     14. Offers
     15. Testimonials
     16. FAQ
     17. Forms
     18. CTA block & footer
     19. Page-specific
     20. Responsive
     21. Accessibility & print
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --bg:      #09090b;
  --bg2:     #111113;
  --bg3:     #18181b;

  --border:  rgba(255, 255, 255, .08);
  --border2: rgba(255, 255, 255, .15);

  --ink:     #ffffff;
  --ink2:    rgba(255, 255, 255, .60);
  --ink3:    rgba(255, 255, 255, .32);

  --green:      #22c55e;
  --green-600:  #16a34a;
  --green-400:  #4ade80;
  --green-200:  #86efac;
  --gd:      rgba(34, 197, 94, .12);
  --gd2:     rgba(34, 197, 94, .06);

  --danger:      #f87171;
  --danger-bg:   rgba(248, 113, 113, .10);
  --danger-line: rgba(248, 113, 113, .35);

  --font-display: "Syne", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  --r:  14px;
  --rs: 8px;
  --rl: 20px;
  --pill: 100px;

  --wrap: 1440px;
  --pad: 5%;
  --sec-y: clamp(64px, 8vw, 110px);
  --header-h: 70px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* 2. Reset & base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* Fixed film grain over the whole page - the detail that keeps large flat
   dark areas from banding. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20viewBox%3D%220%200%20200%20200%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%224%22%20stitchTiles%3D%22stitch%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23n)%22%20opacity%3D%220.04%22%2F%3E%3C%2Fsvg%3E");
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--green); color: #000; }

/* 3. Layout primitives -------------------------------------------------- */
.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: 820px; }

.sec {
  position: relative;
  z-index: 1;
  padding-block: var(--sec-y);
}
.sec--tight { padding-block: clamp(40px, 5vw, 64px); }
.sec--line { border-top: 1px solid var(--border); }

/* Faint green wash to lift a section off the base black */
.sec--glow { overflow: hidden; }
.sec--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 0% 0%, rgba(34, 197, 94, .08) 0%, rgba(9, 9, 11, 0) 55%);
}

.grid { display: grid; gap: 14px; }
.grid--2 { grid-template-columns: 1fr; }

.cluster { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { max-width: 18ch; }
.sec-head .lede { max-width: 62ch; }

/* Label left / heading right - editorial framing */
.head-split { display: grid; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); }
.head-split .sec-head { max-width: none; margin-bottom: 0; }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* 4. Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: balance;
  /* Display type must never split mid-word, whatever the column width. */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 { font-size: clamp(32px, 5.6vw, 56px); letter-spacing: -.035em; }
h2 { font-size: clamp(26px, 5vw, 50px); }
h3 { font-size: clamp(18px, 2.1vw, 22px); font-weight: 700; letter-spacing: -.025em; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }

.display {
  font-family: var(--font-display);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  font-size: clamp(31px, 8.2vw, 92px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.04em;
  margin: 0 0 24px;
}

/* Gradient-clipped accent word, exactly as the live hero uses it */
.grad {
  font-style: normal;
  background: linear-gradient(90deg, #22c55e, #4ade80, #86efac);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

p { margin: 0 0 16px; max-width: 64ch; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.75;
  color: var(--ink2);
}

.muted { color: var(--ink2); }
.dim   { color: var(--ink3); }
.small { font-size: 14px; }

.mono-label {
  display: block;
  color: var(--ink3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

/* 5. Motion ------------------------------------------------------------- */
@keyframes fu {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Hero animates on load rather than on scroll */
.anim { animation: fu .8s var(--ease) both; animation-delay: var(--d, 0ms); }

/* 6. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--green);
  color: #000;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease),
              opacity .2s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .14);
}
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  border-color: var(--border2);
  color: var(--ink);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: none;
}

/* For use on the green CTA block */
.btn--dark { background: #000; color: #fff; }
.btn--dark:hover { box-shadow: none; opacity: .88; }

.btn--outline-dark {
  background: transparent;
  border-color: rgba(0, 0, 0, .35);
  color: #000;
}
.btn--outline-dark:hover { background: rgba(0, 0, 0, .08); box-shadow: none; }

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }

/* Text link with sliding arrow */
.link-arr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s var(--ease);
}
.link-arr .arr { transition: transform .25s var(--ease); }
.link-arr:hover { color: var(--green); }
.link-arr:hover .arr { transform: translateX(4px); }

/* 7. Eyebrow, badges, tags ---------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 16px;
  border: 1px solid rgba(34, 197, 94, .3);
  border-radius: var(--pill);
  background: var(--gd);
  color: var(--green);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  background: var(--bg3);
  color: var(--ink2);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.tag--green {
  border-color: rgba(34, 197, 94, .3);
  background: var(--gd);
  color: var(--green);
}

/* 8. Header & navigation ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              backdrop-filter .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(9, 9, 11, .78);
  border-bottom-color: var(--border);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  /* Fluid: the Syne wordmark is wide, and must always leave room for the
     44px menu button down to a 320px screen. */
  font-size: clamp(13.5px, 4.2vw, 18px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  white-space: nowrap;
  min-width: 0;
}
.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--rs);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border2);
  border-radius: var(--pill);
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 16px; height: 1.5px; background: var(--ink); }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after  { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-5px) rotate(-45deg); }

.nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 59;
  padding: 28px var(--pad) 48px;
  background: var(--bg);
  overflow-y: auto;
}
.nav.is-open { display: block; }

.nav__list {
  display: flex;
  flex-direction: column;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.nav__list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
}
.nav__list a:hover { color: var(--green); }
.nav__list a .num { color: var(--ink3); }
.nav__cta .btn { width: 100%; }
.nav__meta {
  margin-top: 28px;
  color: var(--ink3);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.header-cta { display: none; }

/* 9. Hero, stats, marquee ----------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 60px) var(--pad) 72px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, .13) 0%, rgba(9, 9, 11, 0) 58%),
    radial-gradient(ellipse at 0% 100%, rgba(34, 197, 94, .07) 0%, rgba(9, 9, 11, 0) 55%);
}

.hero__inner { width: 100%; max-width: var(--wrap); }
.hero .display { max-width: min(16ch, 100%); margin-inline: auto; }
.hero .lede { max-width: 620px; margin-inline: auto; margin-bottom: 0; }
.hero__actions { justify-content: center; margin-top: 40px; }
.hero__actions .btn { width: 100%; }

/* Bordered stat box, as on the live hero */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 300px;
  margin: 56px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg2);
  overflow: hidden;
  text-align: left;
}
.stats__item { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.stats__item:last-child { border-bottom: 0; }
.stats__value {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.2;
}
.stats__label {
  display: block;
  margin-top: 3px;
  color: var(--ink2);
  font-size: 13px;
  line-height: 1.45;
}

/* Capability marquee */
.marquee {
  display: flex;
  overflow: hidden;
  padding-block: 16px;
  border-block: 1px solid var(--border);
  background: var(--bg2);
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  animation: marquee 36s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  color: var(--ink2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* 10. Problem list ------------------------------------------------------ */
.probs { margin: 0; padding: 0; list-style: none; }
.probs li {
  position: relative;
  padding: 16px 0 16px 26px;
  border-bottom: 1px solid var(--border);
  color: var(--ink2);
  max-width: none;
}
.probs li:first-child { border-top: 1px solid var(--border); }
.probs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 27px;
  width: 12px;
  height: 1px;
  background: var(--green);
}

/* 11. Services ---------------------------------------------------------- */
.svc-list { border-top: 1px solid var(--border); }

.svc {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .35s var(--ease), background-color .35s var(--ease);
}
.svc:hover { padding-left: 12px; }
.svc__num { grid-row: span 2; padding-top: 5px; }
.svc__title { margin: 0; }
.svc__desc { margin: 0; color: var(--ink2); font-size: 15px; max-width: 72ch; }

/* 12. Work grid --------------------------------------------------------- */
.work-grid { display: grid; gap: 14px; }

.work {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg2);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease),
              background-color .35s var(--ease);
}
.work:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, .35);
  background: var(--bg3);
}

.shot {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(148deg, #101a14 0%, #14301f 55%, #0c120e 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .7s var(--ease);
}
.work:hover .shot img { transform: scale(1.04); }
.shot__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: rgba(255, 255, 255, .92);
  text-align: center;
}
.shot img + .shot__fallback { display: none; }

.work__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.work__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.work__head h3 { margin: 0; }
.work__domain { color: var(--ink3); font-size: 12px; white-space: nowrap; }
.work p { margin-bottom: 18px; color: var(--ink2); font-size: 14px; }
.work .tags { margin-bottom: 18px; }
.work__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }

/* 13. Process ----------------------------------------------------------- */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.steps li::before {
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border: 1px solid rgba(34, 197, 94, .3);
  border-radius: 50%;
  background: var(--gd);
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}
.steps h3 { margin-bottom: 6px; font-size: 18px; }
.steps p { color: var(--ink2); font-size: 14px; }

/* 14. Offers ------------------------------------------------------------ */
.offers { display: grid; gap: 14px; }

.offer {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg2);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.offer:hover { border-color: var(--border2); transform: translateY(-3px); }

.offer--feature {
  border-color: rgba(34, 197, 94, .35);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, .12) 0%, rgba(17, 17, 19, 0) 62%),
    var(--bg2);
}
.offer--feature:hover { border-color: rgba(34, 197, 94, .55); }

.offer__name {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink2);
}
.offer__price {
  display: block;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
}
.offer--feature .offer__price { color: var(--green); }
.offer__price small {
  display: block;
  margin-top: 8px;
  color: var(--ink3);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
.offer p { color: var(--ink2); font-size: 14px; }
.offer__foot { margin-top: auto; padding-top: 22px; }

/* 15. Testimonials ------------------------------------------------------ */
.quote {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg2);
  transition: border-color .3s var(--ease);
}
.quote:hover { border-color: rgba(34, 197, 94, .3); }

.quote__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--ink);
}
.quote__body { margin: 0 0 26px; }
.quote__body p {
  max-width: 46ch;
  color: var(--ink2);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.7;
}

.quote__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.quote__avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--gd);
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__name {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.quote__role {
  display: block;
  color: var(--ink3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* 16. FAQ --------------------------------------------------------------- */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 64px;
  padding: 20px 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.3;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--green); }
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border2);
  border-radius: 50%;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.faq__q:hover .faq__icon { border-color: var(--green); }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background-color .25s var(--ease);
}
.faq__icon::before { width: 12px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 12px; }
.faq__q:hover .faq__icon::before,
.faq__q:hover .faq__icon::after { background: var(--green); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--green); border-color: var(--green); }
.faq__q[aria-expanded="true"] .faq__icon::before { background: #000; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq__a { padding: 0 0 24px; }
.faq__a p { color: var(--ink2); font-size: 15px; max-width: 68ch; }

/* 17. Forms ------------------------------------------------------------- */
.form-panel {
  padding: clamp(22px, 3.2vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg2);
}

.field { margin-bottom: 20px; }
.field > label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.field .req { color: var(--green); }
.field .hint { display: block; margin-top: 8px; color: var(--ink3); font-size: 13px; }

.input, .select, .textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--border2);
  border-radius: var(--rs);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink3); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, .28); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--gd);
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.6; }

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22rgba(255,255,255,0.55)%22%20stroke-width%3D%221.5%22%20d%3D%22M1%201.5%206%206.5l5-5%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.select option { background: var(--bg2); color: var(--ink); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border2);
  border-radius: var(--rs);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .2s var(--ease);
}
.checkbox:hover { border-color: rgba(255, 255, 255, .28); }
.checkbox input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--green);
}
.checkbox span { font-size: 14px; color: var(--ink2); }

.field-error {
  display: none;
  margin-top: 8px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 500;
}
.field.has-error .field-error { display: block; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea,
.field.has-error .checkbox { border-color: var(--danger-line); }
.field.has-error .input:focus,
.field.has-error .select:focus,
.field.has-error .textarea:focus { box-shadow: 0 0 0 3px var(--danger-bg); }

.form-note {
  display: none;
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid var(--danger-line);
  border-radius: var(--rs);
  background: var(--danger-bg);
  color: var(--ink);
  font-size: 14px;
  max-width: none;
}
.form-note.is-visible { display: block; }

/* 17b. HubSpot embedded form -------------------------------------------
   The audit form is now a HubSpot form rendered inline (v2 embed).
   These rules map HubSpot's generated classes onto the native form
   styles above so it looks identical to the old static form. */
.hs-audit-form .hs-form fieldset {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

/* HubSpot wraps every control in <div class="input"> - neutralise the
   site's .input rule on that wrapper so only the control is styled. */
.hs-audit-form .hs-form .input {
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  margin-right: 0 !important;
}

.hs-audit-form .hs-form-field { margin-bottom: 20px; }
.hs-audit-form .hs-form-field > label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hs-audit-form .hs-form-required { color: var(--green); margin-left: 2px; }
.hs-audit-form .hs-field-desc {
  margin: -4px 0 8px;
  color: var(--ink3);
  font-size: 13px;
}

.hs-audit-form .hs-input {
  display: block;
  width: 100% !important;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--border2);
  border-radius: var(--rs);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.hs-audit-form .hs-input::placeholder { color: var(--ink3); }
.hs-audit-form .hs-input:hover { border-color: rgba(255, 255, 255, .28); }
.hs-audit-form .hs-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--gd);
}

.hs-audit-form select.hs-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22rgba(255,255,255,0.55)%22%20stroke-width%3D%221.5%22%20d%3D%22M1%201.5%206%206.5l5-5%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.hs-audit-form select.hs-input option { background: var(--bg2); color: var(--ink); }

.hs-audit-form textarea.hs-input {
  min-height: 132px;
  resize: vertical;
  line-height: 1.6;
}

/* Checkbox / consent rows */
.hs-audit-form ul.inputs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hs-audit-form .hs-form-booleancheckbox-display,
.hs-audit-form .hs-form-checkbox-display {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border2);
  border-radius: var(--rs);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .2s var(--ease);
}
.hs-audit-form .hs-form-booleancheckbox-display:hover,
.hs-audit-form .hs-form-checkbox-display:hover { border-color: rgba(255, 255, 255, .28); }
.hs-audit-form .hs-form-booleancheckbox-display input[type="checkbox"],
.hs-audit-form .hs-form-checkbox-display input[type="checkbox"] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--green);
}
.hs-audit-form .hs-form-booleancheckbox-display > span,
.hs-audit-form .hs-form-checkbox-display > span {
  margin-left: 0 !important;
  font-size: 14px;
  color: var(--ink2);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.hs-audit-form .legal-consent-container,
.hs-audit-form .legal-consent-container p {
  color: var(--ink3);
  font-size: 13px;
}
.hs-audit-form .legal-consent-container a { color: var(--green); }

/* Validation messages */
.hs-audit-form ul.hs-error-msgs {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.hs-audit-form .hs-error-msg,
.hs-audit-form ul.hs-error-msgs label {
  display: block;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}
.hs-audit-form .hs-input.invalid,
.hs-audit-form .hs-input.error { border-color: var(--danger-line); }
.hs-audit-form .hs-input.invalid:focus,
.hs-audit-form .hs-input.error:focus { box-shadow: 0 0 0 3px var(--danger-bg); }
.hs-audit-form .hs_error_rollup {
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid var(--danger-line);
  border-radius: var(--rs);
  background: var(--danger-bg);
  color: var(--ink);
  font-size: 14px;
}
.hs-audit-form .hs_error_rollup ul.hs-error-msgs label { color: var(--ink); }

/* Submit button - mirrors .btn.btn--block */
.hs-audit-form .hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--green);
  color: #000;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-shadow: none;
  box-shadow: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), opacity .2s var(--ease);
}
.hs-audit-form .hs-button:hover,
.hs-audit-form .hs-button:focus {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .14);
}
.hs-audit-form .hs-button:active { transform: translateY(0); }
.hs-audit-form .hs_submit { margin-top: 4px; }

/* Success message shown in place of the form */
.hs-audit-form .submitted-message {
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.7;
}
.hs-audit-form .submitted-message a { color: var(--green); }

/* Side-by-side rows (HubSpot's default CSS floats these at 50%) */
.hs-audit-form fieldset.form-columns-2 .hs-form-field,
.hs-audit-form fieldset.form-columns-3 .hs-form-field {
  float: none;
  width: 100%;
}

/* 18. CTA block & footer ------------------------------------------------ */
.cta-outer { position: relative; z-index: 1; padding: 0 var(--pad) var(--sec-y); }
.cta-inner { max-width: var(--wrap); margin-inline: auto; }

.ctabox {
  position: relative;
  padding: clamp(48px, 7vw, 76px) 6%;
  border-radius: var(--rl);
  background: var(--green);
  color: #000;
  text-align: center;
  overflow: hidden;
}
.ctabox::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, .13) 0%, rgba(34, 197, 94, 0) 60%);
}
.ctabox > * { position: relative; }
.ctabox h2 { color: #000; margin-inline: auto; max-width: 18ch; }
.ctabox p {
  margin-inline: auto;
  max-width: 52ch;
  color: rgba(0, 0, 0, .72);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
}
.ctabox .cluster { justify-content: center; margin-top: 32px; }
.ctabox .btn { width: 100%; }

.site-footer {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 6vw, 72px) 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink2);
}
.site-footer a { color: var(--ink2); transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--green); }

.site-footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding-bottom: clamp(36px, 5vw, 56px);
}
.site-footer h2 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer .brand { color: var(--ink); }

.footer-wordmark {
  display: block;
  margin: 0;
  padding-block: clamp(20px, 3vw, 34px);
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  /* min() keeps it inside the 1440 container at every width - vw alone
     overflows once the container stops growing. */
  font-size: clamp(16px, 6.4vw, 88px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .9;
  color: rgba(255, 255, 255, .05);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  user-select: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--ink3);
  font-size: 12px;
}

/* 19. Page-specific ----------------------------------------------------- */
.page-head {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) var(--pad) clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, .12) 0%, rgba(9, 9, 11, 0) 60%);
}
.page-head__inner { max-width: var(--wrap); margin-inline: auto; }
.page-head h1 { max-width: 18ch; }
.page-head .lede { max-width: 58ch; }

.audit-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
.audit-aside { align-self: start; }
.audit-aside__inner {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg2);
}
.audit-aside h2 { font-size: 17px; margin-bottom: 16px; }
.audit-aside .probs li { padding-block: 12px; font-size: 14px; }
.audit-aside .probs li::before { top: 23px; }

.confirm {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(64px, 10vw, 120px);
}
.confirm h1 { margin-inline: auto; max-width: 18ch; }
.confirm p { margin-inline: auto; }
.confirm .cluster { justify-content: center; margin-top: 36px; }
.confirm .btn { width: 100%; }
.confirm__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 28px;
  border: 1px solid rgba(34, 197, 94, .3);
  border-radius: 50%;
  background: var(--gd);
}

.prose h2 { margin-top: clamp(36px, 5vw, 52px); font-size: clamp(20px, 2.6vw, 26px); }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--ink2); }
.prose ul { padding-left: 18px; max-width: 64ch; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--green-400); }

/* 20. Responsive -------------------------------------------------------- */
@media (min-width: 560px) {
  .hero__actions .btn,
  .ctabox .btn,
  .confirm .btn { width: auto; }

  .stats { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .stats__item { border-right: 1px solid var(--border); }
  .stats__item:nth-child(2n) { border-right: 0; }
  .stats__item:nth-last-child(-n+2) { border-bottom: 0; }

  .offers { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .hs-audit-form fieldset.form-columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav {
    display: block;
    position: static;
    inset: auto;
    padding: 0;
    background: none;
    overflow: visible;
  }
  .nav__list { flex-direction: row; align-items: center; gap: 26px; margin: 0; }
  .nav__list a {
    display: inline;
    padding: 0;
    border: 0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--ink2);
    transition: color .2s var(--ease);
  }
  .nav__list a:hover { color: var(--ink); }
  .nav__list a[aria-current="page"] { color: var(--green); }
  .nav__list .num { display: none; }
  .nav__cta, .nav__meta { display: none; }
  .header-cta { display: inline-flex; }

  .head-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
  }
  /* Capped so a long headline in a half-width column still wraps cleanly */
  .head-split h2 { font-size: clamp(26px, 3.1vw, 42px); }
  /* A short supporting line sits on the heading's baseline rather than
     floating at the top. Only direct .lede children - taller right-hand
     columns (the problem list, about copy, FAQ) stay top-aligned. */
  .head-split > .lede { align-self: end; margin-bottom: 8px; }

  .grid--2 { grid-template-columns: 1fr 1fr; gap: 14px; }

  .stats { grid-template-columns: repeat(4, 1fr); max-width: 900px; }
  .stats__item { border-bottom: 0; }

  .svc {
    grid-template-columns: 72px minmax(0, 320px) minmax(0, 1fr);
    align-items: baseline;
    gap: 24px;
    padding-block: 28px;
  }
  .svc__num { grid-row: auto; padding-top: 0; }

  .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps li { padding-block: 24px 0; }

  .offers { grid-template-columns: repeat(4, 1fr); }

  .audit-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; }
  .audit-aside { position: sticky; top: calc(var(--header-h) + 20px); }

  .site-footer__grid { grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 40px; }

  /* Asymmetric work grid: two features, then three */
  .work-grid { grid-template-columns: repeat(6, 1fr); }
  .work:nth-child(1),
  .work:nth-child(2) { grid-column: span 3; }
  .work:nth-child(3),
  .work:nth-child(4),
  .work:nth-child(5) { grid-column: span 2; }
  .work:nth-child(1) .shot,
  .work:nth-child(2) .shot { aspect-ratio: 16 / 9; }
}

/* 21. Accessibility & print --------------------------------------------- */
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--rs);
}
.ctabox :where(a, button):focus-visible { outline-color: #000; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--green);
  color: #000;
  font-size: 14px;
  font-weight: 500;
}
.skip-link:focus { left: 16px; top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .anim { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  body { background: #fff; color: #000; }
  body::before, .hero::before, .page-head::before, .sec--glow::before { display: none; }
  .site-header, .nav, .marquee, .cta-outer, .footer-wordmark { display: none; }
  .work, .offer, .quote, .form-panel, .stats { background: #fff; border-color: #ccc; }
  h1, h2, h3, h4, .display, .quote__name, .stats__value { color: #000; }
  p, .lede, .muted { color: #333; }
}
