/* ==========================================================================
   Working Web Media — site styles
   Built from Figma "Alt 8" (1440px desktop frame). Mobile layout derived.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --c-sky: #00baec;        /* primary buttons, accents */
  --c-sky-deep: #00a4e5;   /* website card, strategy band */
  --c-sky-line: #2da9e8;
  --c-sky-wash: #e8f8ff;
  --c-link: #56c4f0;
  --c-pink: #fe3c63;       /* email card, execution band */
  --c-red: #e11d48;        /* "You focus." */
  --c-yellow: #fbd947;
  --c-ink: #0e1117;
  --c-ink-2: #111111;
  --c-ink-3: #1e1e1e;
  --c-stone-800: #292524;
  --c-stone-700: #44403c;
  --c-stone-600: #57534e;
  --c-stone-400: #a8a29e;
  --c-grey: #7c7c7c;
  --c-grey-light: #a6a6a6;
  --c-paper: #f4efe6;      /* page background */
  --c-paper-2: #f7f5f0;
  --c-paper-3: #faf7f2;
  --c-off-white: #fafafa;
  --c-rule: rgba(214, 211, 209, 0.6);
  --c-card-border: rgba(231, 229, 228, 0.8);

  --f-display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1216px;
  --gutter: 112px;
  --radius-btn: 12px;
  --radius-card: 16px;
  --shadow-card: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* ---------- Base ---------- */
*, *::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(--c-paper);
  color: var(--c-ink-3);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
section[id], [id="main"] { scroll-margin-top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--c-sky); outline-offset: 3px; }
.nowrap { white-space: nowrap; }
.accent-red { color: var(--c-red); }
.accent-blue { color: var(--c-sky); }
.accent-pink { color: var(--c-pink); }

/* Display type: Bricolage at optical size 14, as set in Figma */
.hero-title, .h2, .h2-display, .sprint-title, .service-card p,
.system-bar span, .nonprofits-title {
  font-family: var(--f-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
}
.h2 {
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--c-ink);
}
.h2-display {
  font-size: 52px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -2.08px;
  color: var(--c-ink-2);
}
.section-lede {
  font-size: 16px;
  line-height: 24px;
  color: var(--c-stone-600);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  border: 0;
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--c-sky); color: #fff; }
.btn-primary:hover { background: #00a6d4; box-shadow: 0 6px 16px -6px rgba(0, 186, 236, .6); }
.btn-light { background: var(--c-off-white); color: var(--c-ink-3); font-weight: 500; }
.btn-light:hover { background: #fff; }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Hero wrap + header ---------- */
.hero-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-rule);
}
.hero-glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 612px;
  pointer-events: none;
  z-index: 0;
}
/* Two soft blurred orbs, positioned as in the Figma background layer */
.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.hero-glow::before { /* Ellipse 2: 634px at x1005 y104 */
  width: 634px; height: 634px;
  left: calc(50% + 285px); top: 104px;
  background: radial-gradient(circle, rgba(0, 186, 236, .42) 0%, rgba(0, 186, 236, .3) 45%, transparent 72%);
}
.hero-glow::after { /* Ellipse 1: 320px at x783 y125 */
  width: 320px; height: 320px;
  left: calc(50% + 63px); top: 125px;
  background: radial-gradient(circle, rgba(255, 226, 90, .5), rgba(255, 232, 101, .2) 55%, transparent 75%);
}

.site-header {
  position: relative;
  z-index: 10;
  padding-top: 40px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  padding: 0 140px 0 100px;
}
.brand img { width: 135px; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  line-height: 1.5;
}
.site-nav a { text-decoration: none; color: var(--c-ink-3); }
.site-nav a:not(.btn):hover { color: var(--c-sky); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 46px 0 57px;
  border-top: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px;
  align-items: start;
}
.hero-main { padding-top: 32px; }
.hero-title {
  font-size: 88px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -2.2px;
  color: var(--c-ink);
}
.hero-lede {
  margin-top: 35px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: var(--c-stone-800);
}
.hero-side { padding-top: 59px; max-width: 355px; }
.hero-copy { font-size: 16px; line-height: 24px; color: var(--c-stone-600); }
.hero-side .btn-row { margin-top: 23px; }
.hero-terms {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-ink-3);
}
/* Client bar: names scroll left to right on a loop (two copies of the list) */
.client-marquee {
  position: relative;
  margin-top: 66px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-ltr 60s linear infinite;
}
.client-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; flex-shrink: 0; }
.marquee-list li { display: flex; align-items: center; height: 56px; padding: 0 30px; }
.marquee-list img { width: auto; opacity: .85; }
@keyframes marquee-ltr {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; }
  .marquee-list { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .client-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Strategy / Execution band ---------- */
.split-band {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--c-sky-deep) 50%, var(--c-pink) 50%);
}
.split-word {
  position: absolute;
  top: 16px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, calc(9.88vw - 22.5px), 96px);
  line-height: 1;
  font-variation-settings: "opsz" 96;
  font-optical-sizing: none;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .2);
  white-space: nowrap;
  user-select: none;
}
.split-word-left { left: 24px; }
.split-word-right { right: 24px; }
.split-person {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 580px;
  height: auto;
  max-width: none;
  transform: translateX(-50%);
}
.split-pill {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(14, 17, 23, .9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

/* ---------- Marketing stalls ---------- */
.stalls {
  background: var(--c-sky-wash);
  padding: 75px 0 84px;
  text-align: center;
}
.stalls .h2 { color: var(--c-ink-2); }
.stalls-copy {
  max-width: 668px;
  margin: 15px auto 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--c-stone-800);
}

/* ---------- Built for ---------- */
.built-for {
  background: #fff;
  padding: 68px 0;
}
.built-for-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: calc(1187px + 2 * 126.5px);
  padding: 0 126.5px;
}
.built-for-text { flex: 0 1 453px; }
.built-for-text .h2-display { white-space: nowrap; }
.built-for-copy {
  max-width: 441px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 32px;
  color: var(--c-grey);
}
.fit-list { display: grid; gap: 12px; margin-top: 32px; max-width: 453px; }
.fit {
  padding: 16px 30px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 24px;
}
.fit-yes {
  background: var(--c-sky-wash);
  border-left: 6px solid var(--c-sky-line);
  padding-left: 27px;
  font-weight: 700;
  color: var(--c-ink-2);
}
.fit-no {
  background: var(--c-off-white);
  font-weight: 300;
  color: var(--c-grey-light);
}
.collage {
  flex: 0 1 554px;
  display: grid;
  grid-template-columns: 269fr 265fr;
  column-gap: 20px;
  row-gap: 20px;
}
.collage img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 32px;
}
.collage-a { aspect-ratio: 269 / 306; background: var(--c-yellow); }
.collage-c { aspect-ratio: 265 / 262; align-self: end; background: #f0455f; }
.collage-b { grid-column: 1 / -1; aspect-ratio: 554 / 259; background: var(--c-yellow); }

/* ---------- Sequence (How we help) ---------- */
.sequence {
  background: var(--c-paper-2);
  border-bottom: 1px solid var(--c-rule);
  padding: 96px 0 117px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.section-head-text { max-width: 760px; }
.sequence .section-head-text { max-width: 800px; }
.sequence .h2 { white-space: nowrap; }
.sequence .section-lede { max-width: 751px; }
.section-head .section-lede { margin-top: 24px; }
.sequence .section-lede { color: var(--c-stone-700); }
.sprint-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.sprint {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 32px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  color: #fff;
}
.sprint-num {
  font-family: var(--f-body);
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, .7);
}
.sprint-title {
  margin-top: 24px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -.75px;
}
.sprint-tag {
  margin-top: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.sprint-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  height: 53px;
  padding-bottom: 4px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.sprint-foot span:last-child { font-family: "Liberation Sans", Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin-bottom: -6px; }
.sprint-blue { background: var(--c-sky-deep); }
.sprint-red { background: var(--c-pink); }
.sprint-yellow { background: var(--c-yellow); color: var(--c-ink); }
.sprint-yellow .sprint-num { color: rgba(14, 17, 23, .7); }
.sprint-yellow .sprint-tag { color: var(--c-stone-800); }
.sprint-yellow .sprint-foot { border-top-color: rgba(14, 17, 23, .2); }
.sprint-dark { background: var(--c-ink); }
.sprint-dark .sprint-num, .sprint-dark .sprint-tag { color: var(--c-stone-400); }
.sprint-dark .sprint-foot { border-top-color: var(--c-stone-800); }

/* ---------- One monthly subscription (About) ---------- */
.system {
  background: var(--c-paper-3);
  border-bottom: 1px solid var(--c-rule);
  padding: 86px 0 79px;
}
.system-grid {
  display: grid;
  grid-template-columns: minmax(0, 479px) minmax(0, 689px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.system .h2 { color: var(--c-ink-2); }
.system .section-lede { margin-top: 16px; }
.system-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.service-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 98px;
  padding: 12px 24px;
  background: #fff;
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.service-icon { flex: 0 0 35px; width: 35px; height: 35px; }
.service-card p {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--c-ink-3);
}
.system-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  padding: 16px 40px;
  border-radius: var(--radius-card);
  background: linear-gradient(106.7deg, #00baec 0%, #fe3c63 50%, #ffe865 100%);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.system-bar:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(254, 60, 99, .6); }
.system-bar span {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}
.system-bar svg { flex: 0 0 48px; }

/* ---------- Work ---------- */
.work {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-rule);
  padding: 140px 0;
}
.work .section-head .section-lede { margin-top: 16px; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(214, 211, 209, .7);
  border-radius: var(--radius-card);
}
.case-img {
  width: 100%;
  height: auto;
  aspect-ratio: 284 / 213;
  object-fit: cover;
  background: #d6d3d1;
}
.case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 28px;
}
.case-copy { font-size: 13px; line-height: 20px; }
.case-title {
  font-size: 24px;
  line-height: 29px;
  font-weight: 800;
  color: var(--c-ink-2);
}
.case-copy {
  margin-top: 8px;
  font-size: 12px;
  line-height: 19.5px;
  color: var(--c-stone-600);
}
.case-link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  color: var(--c-link);
  text-decoration: none;
}
.case-link:hover { text-decoration: underline; }

/* ---------- Low risk ---------- */
.low-risk {
  background: var(--c-paper-3);
  border-bottom: 1px solid var(--c-rule);
  padding: 80px 0 81px;
}
.low-risk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 592px);
  gap: 48px;
}
.low-risk-text { padding-top: 11px; max-width: 550px; }
.low-risk-text .section-lede { margin-top: 19px; }
.low-risk-text .btn { margin-top: 28px; }
.check-list { display: grid; gap: 12px; align-content: start; }
.check-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px 0 16px;
  background: #fff;
  border: 1px solid var(--c-card-border);
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--c-ink);
}
.check-list svg { color: var(--c-ink-3); flex: 0 0 16px; }

/* ---------- Nonprofits band ---------- */
.nonprofits {
  position: relative;
  overflow: hidden;
  background: var(--c-ink-3);
  color: #fff;
  min-height: 311px;
  display: flex;
  align-items: center;
}
.nonprofits-glow {
  position: absolute;
  left: 50%;
  bottom: -260px;
  width: 1000px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 160, 200, .55), rgba(0, 150, 190, .25) 45%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.nonprofits-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 614px);
  align-items: center;
  gap: 48px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.nonprofits-title {
  font-size: 60px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -2.4px;
  text-transform: uppercase;
  color: #fff;
}
.nonprofits-body p { font-size: 18px; line-height: 1.5; }
.nonprofits-body .btn { margin-top: 32px; }

/* ---------- Closing CTA, contact form, footer ---------- */
.closing {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 116px 0 20px;
}
.closing-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(340px 320px at 250px 260px, rgba(255, 226, 90, .32), transparent),
    radial-gradient(600px 560px at 220px 300px, rgba(255, 232, 101, .32), transparent),
    radial-gradient(260px 200px at calc(50% + 243px) 0px, rgba(254, 60, 99, .28), transparent),
    radial-gradient(520px 420px at calc(50% + 353px) 460px, rgba(0, 186, 236, .3), transparent),
    radial-gradient(700px 600px at calc(50% + 380px) 720px, rgba(0, 186, 236, .12), transparent);
}
.closing-inner {
  position: relative;
  max-width: calc(768px + 2 * 24px);
  padding: 0 24px;
  text-align: center;
}
.closing .h2-display { color: var(--c-ink-3); }
.closing-lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--c-ink-3);
}
.closing-alt {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-ink-3);
}
.closing-alt a { font-weight: 700; }

.contact-form {
  margin: 32px auto 0;
  max-width: 640px;
  padding: 32px;
  text-align: left;
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--c-card-border);
  border-radius: 24px;
  box-shadow: 0 20px 40px -24px rgba(14, 17, 23, .25);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--c-ink);
}
.optional { font-weight: 400; color: var(--c-stone-600); }
.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid #d6d3d1;
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-sky);
  box-shadow: 0 0 0 3px rgba(0, 186, 236, .2);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--c-red); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 14px; line-height: 20px; color: var(--c-stone-600); }
.form-status.is-success { color: #0f7a3e; font-weight: 700; }
.form-status.is-error { color: var(--c-red); font-weight: 700; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }

.site-footer {
  position: relative;
  margin: 115px auto 0;
  max-width: 1400px;
  padding: 40px 64px 32px;
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 24px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  max-width: 1272px;
  margin: 0 auto;
}
.footer-brand { max-width: 480px; }
.footer-brand img { width: 163px; height: auto; }
.footer-brand p { margin-top: 24px; font-size: 18px; line-height: 1.5; }
.footer-nav { display: flex; gap: 32px; font-size: 18px; line-height: 1.5; font-weight: 600; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--c-sky); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1272px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(30, 30, 30, .15);
  font-size: 14px;
  line-height: 1.5;
}
.footer-legal { display: flex; gap: 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Large tablet / small laptop */
@media (max-width: 1280px) {
  :root { --gutter: 48px; }
  .header-inner { padding: 0 var(--gutter); }
  .site-nav { gap: 24px; }
  .built-for-grid { padding: 0 var(--gutter); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .hero-title { font-size: 76px; }
}

/* Tablet */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .site-header { padding-top: 24px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    margin-left: auto;
    background: #fff;
    border: 1px solid var(--c-card-border);
    border-radius: 12px;
    cursor: pointer;
  }
  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    display: block;
    width: 18px; height: 2px;
    background: var(--c-ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-open .nav-toggle-bar { background: transparent; }
  .nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    left: var(--gutter); right: var(--gutter); top: calc(100% + 12px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--c-card-border);
    border-radius: 16px;
    box-shadow: 0 20px 40px -20px rgba(14, 17, 23, .3);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 14px; border-radius: 10px; font-size: 18px; }
  .site-nav a:not(.btn):hover { background: var(--c-paper-3); }
  .nav-cta-mobile { display: flex; margin: 8px 6px 6px; }
  .header-cta { display: none; }

  .hero { padding: 48px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-main { padding-top: 0; }
  .hero-side { padding-top: 0; max-width: 560px; }
  .hero-title { font-size: 72px; }
  .hero-lede { margin-top: 20px; }
  .hero-side .btn-row { margin-top: 24px; }
  .client-marquee { margin-top: 56px; }
  .sequence .h2 { white-space: normal; }

  .built-for-grid { flex-direction: column; align-items: stretch; }
  .built-for-text { flex-basis: auto; }
  .collage { flex-basis: auto; width: 100%; max-width: 640px; margin: 0 auto; }

  .sprint-grid, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sprint { min-height: 300px; }

  .system-grid, .low-risk-grid, .nonprofits-grid { grid-template-columns: 1fr; gap: 40px; }
  .nonprofits-grid { padding-top: 72px; padding-bottom: 72px; gap: 24px; }

  .work { padding: 96px 0; }
  .site-footer { margin-left: 16px; margin-right: 16px; padding: 32px; }
}

/* Phone */
@media (max-width: 680px) {
  :root { --gutter: 20px; }
  .brand img { width: 112px; }
  .hero { padding: 36px 0 40px; }
  .hero-title { font-size: 56px; letter-spacing: -1.6px; }
  .hero-lede { font-size: 18px; line-height: 26px; }
  .br-desktop { display: none; }
  .hero-side .btn-row .btn { flex: 1 1 auto; }
  .client-marquee { margin-top: 44px; }
  .marquee-list li { height: 46px; padding: 0 20px; }
  .marquee-list img { transform: scale(.82); }

  .h2 { font-size: 36px; letter-spacing: -.9px; }
  .sequence .h2, .built-for-text .h2-display { white-space: normal; }
  .h2-display { font-size: 40px; letter-spacing: -1.4px; }

  .split-band { height: 380px; }
  .split-word { font-size: calc((100vw - 48px) / 10); top: 14px; }
  .split-word-left { left: 12px; }
  .split-word-right { right: 12px; }
  .split-person { width: 400px; }
  .split-pill { bottom: 12px; }

  .stalls { padding: 56px 0 60px; }
  .stalls-copy { font-size: 17px; line-height: 27px; }

  .built-for { padding: 56px 0; }
  .built-for-copy { line-height: 28px; }
  .fit { padding: 14px 20px; }
  .fit-yes { padding-left: 17px; }
  .collage { column-gap: 12px; row-gap: 12px; }
  .collage img { border-radius: 22px; }

  .sequence { padding: 64px 0 72px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .sprint-grid { grid-template-columns: 1fr; margin-top: 40px; gap: 16px; }
  .sprint { min-height: 220px; padding: 24px; }

  .system { padding: 64px 0; }
  .system-cards { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 80px; }
  .system-bar { padding: 16px 20px; }
  .system-bar span { font-size: 17px; line-height: 1.35; }
  .system-bar svg { width: 40px; height: 40px; flex-basis: 40px; }

  .work { padding: 64px 0; }
  .case-grid { grid-template-columns: 1fr; margin-top: 40px; gap: 16px; }
  .case { min-height: 0; }
  .case-copy { font-size: 14px; line-height: 21px; }

  .low-risk { padding: 64px 0; }
  .low-risk-text { padding-top: 0; }

  .nonprofits-title { font-size: 44px; letter-spacing: -1.6px; }
  .nonprofits-body p { font-size: 17px; }

  .closing { padding-top: 72px; }
  .contact-form { padding: 20px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .btn { width: 100%; }
  .site-footer { margin: 72px 12px 0; padding: 28px 20px 24px; border-radius: 20px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-nav { gap: 24px; font-size: 17px; }
  .footer-bottom { flex-direction: column; margin-top: 32px; padding-top: 24px; }
}

/* ==========================================================================
   For Nonprofits page
   ========================================================================== */
.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--c-ink);
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.np-hero { padding-bottom: 80px; }
.np-title { font-size: 76px; }
.np-hero-actions { margin-top: 32px; }
.np-glance {
  align-self: center;
  padding: 28px 28px 24px;
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 40px -24px rgba(14, 17, 23, .25);
}
.np-glance-title {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--c-stone-600);
}
.np-glance ul { margin-top: 14px; display: grid; gap: 12px; }
.np-glance li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--c-ink);
}
.np-glance li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-sky);
  box-shadow: inset 0 0 0 4px #e8f8ff;
}

.np-help {
  background: var(--c-paper-2);
  border-bottom: 1px solid var(--c-rule);
  padding: 96px 0 104px;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.help-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 32px;
  background: #fff;
  border: 1px solid var(--c-card-border);
  border-top: 6px solid var(--c-sky-deep);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.help-card:nth-child(4), .help-card:nth-child(5) { grid-column: span 3; }
.help-pink { border-top-color: var(--c-pink); }
.help-yellow { border-top-color: var(--c-yellow); }
.help-dark { border-top-color: var(--c-ink); }
.help-num {
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: var(--c-stone-400);
}
.help-title {
  margin-top: 14px;
  font-family: var(--f-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--c-ink);
}
.help-card p { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--c-stone-600); }

.np-benefits {
  background: var(--c-paper-3);
  border-bottom: 1px solid var(--c-rule);
  padding: 96px 0;
}
.np-benefits .h2 { color: var(--c-ink-2); }
.np-benefits .section-lede { margin-top: 16px; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit-list li {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.benefit-list h3 {
  font-family: var(--f-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--c-ink);
}
.benefit-list p { margin-top: 8px; font-size: 15px; line-height: 23px; color: var(--c-stone-600); }

.np-proof {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-rule);
  padding: 96px 0;
}
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.proof-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid rgba(214, 211, 209, .7);
  border-radius: var(--radius-card);
}
.proof-card img { flex: 0 0 auto; opacity: .85; }
.proof-card p { font-size: 15px; line-height: 24px; color: var(--c-stone-600); }

@media (max-width: 1024px) {
  .np-title { font-size: 64px; }
  .np-glance { max-width: 560px; }
  .help-grid { grid-template-columns: 1fr 1fr; }
  .help-card, .help-card:nth-child(4), .help-card:nth-child(5) { grid-column: auto; }
  .help-card:nth-child(5) { grid-column: 1 / -1; }
  .proof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .np-title { font-size: 48px; letter-spacing: -1.4px; }
  .np-hero { padding-bottom: 48px; }
  .np-help, .np-benefits, .np-proof { padding: 64px 0; }
  .help-grid { grid-template-columns: 1fr; margin-top: 32px; gap: 16px; }
  .help-card:nth-child(5) { grid-column: auto; }
  .help-card { padding: 24px; }
  .benefit-list { grid-template-columns: 1fr; gap: 12px; }
  .proof-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
}

/* Nonprofits page: schools and community groups */
.org-heading {
  margin-top: 56px;
  font-family: var(--f-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--c-ink);
}
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.org-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 92px;
  padding: 18px 22px 18px 24px;
  background: #fff;
  border: 1px solid rgba(214, 211, 209, .7);
  border-left: 5px solid var(--c-sky-deep);
  border-radius: 12px;
}
.org-pink { border-left-color: var(--c-pink); }
.org-yellow { border-left-color: var(--c-yellow); }
.org-type {
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--c-stone-600);
}
.org-name {
  font-family: var(--f-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--c-ink);
}
@media (max-width: 1024px) { .org-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px)  { .org-grid { grid-template-columns: 1fr; } .org-heading { margin-top: 40px; font-size: 20px; } }

/* ==========================================================================
   Legal pages (Privacy Policy, Terms of Service)
   ========================================================================== */
.legal-top { border-bottom: 1px solid var(--c-rule); }
.legal-head { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 56px; max-width: calc(760px + 2 * var(--gutter)); }
.legal-updated { margin-top: 12px; font-size: 14px; color: var(--c-stone-600); }
.legal-main { background: #fff; padding: 64px 0 96px; }
.legal { max-width: calc(760px + 2 * var(--gutter)); }
.legal-intro { font-size: 18px; line-height: 30px; color: var(--c-stone-800); }
.legal h2 {
  margin-top: 40px;
  font-family: var(--f-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--c-ink);
}
.legal p, .legal li { font-size: 16px; line-height: 27px; color: var(--c-stone-800); }
.legal p { margin-top: 12px; }
.legal ul { margin-top: 12px; padding-left: 22px; list-style: disc; display: grid; gap: 8px; }
.legal a { color: #0089b0; }
.legal-footer-wrap { background: #fff; padding: 0 0 20px; }
.legal-footer-wrap .site-footer { margin-top: 0; }
@media (max-width: 680px) {
  .legal-head { padding-top: 40px; padding-bottom: 40px; }
  .legal-main { padding: 40px 0 64px; }
  .legal h2 { font-size: 21px; margin-top: 32px; }
}
