/* Impact brand tokens, sourced from https://weareimpact.co CSS on 2026-12-05. */
@font-face {
  font-family: "Die Grotesk B";
  src: url("/assets/fonts/die-grotesk-b-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Die Grotesk B";
  src: url("/assets/fonts/die-grotesk-b-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Die Grotesk B";
  src: url("/assets/fonts/die-grotesk-b-medium.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --lavender-50: #f7f6fb;
  --lavender-100: #edecf4;
  --lavender-200: #d4d2df;
  --lavender-300: #b4b1c4;
  --lavender-400: #938fa6;
  --lavender-500: #726e85;
  --lavender-600: #5e5a6f;
  --lavender-700: #4d4a5c;
  --lavender-800: #3d3b4a;
  --lavender-900: #2e2c38;
  --lavender-950: #1b1922;
  --oat-50: #f8f5ef;
  --oat-100: #efeae0;
  --ember-50: #fef2ef;
  --ember-100: #ffe5dd;
  --ember-200: #ffc9b9;
  --ember-300: #fe9e80;
  --ember-400: #ff5b22;
  --ember-500: #dc4403;
  --ember-950: #3c0c00;
  --white: #fff;
  --color-bg: var(--lavender-50);
  --color-text: var(--lavender-950);
  --color-text-muted: var(--lavender-600);
  --color-accent: var(--ember-400);
  --color-card: var(--lavender-100);
  --color-line: var(--lavender-200);
  --button-primary-bg: var(--ember-400);
  --button-primary-text: var(--ember-950);
  --button-primary-hover: var(--ember-300);
  --font-body: "Die Grotesk B", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: var(--font-body);
  --weight-regular: 400;
  --weight-medium: 500;
  --link-line: 2px;
  --size-h1: clamp(3rem, 2.35rem + 2.6667vw, 4.75rem);
  --size-h2: clamp(2.5rem, 2.0125rem + 2vw, 3.8125rem);
  --size-h3: clamp(2.125rem, 1.777rem + 1.4286vw, 3.0625rem);
  --size-h4: clamp(1.875rem, 1.666rem + .8571vw, 2.4375rem);
  --size-h5: clamp(1.5rem, 1.3375rem + .6667vw, 1.9375rem);
  --size-large: clamp(1.25rem, 1.157rem + .381vw, 1.5rem);
  --size-medium: clamp(1.125rem, 1.0786rem + .1905vw, 1.25rem);
  --size-regular: 1rem;
  --size-small: clamp(.75rem, .7036rem + .1905vw, .875rem);
  --leading-h1: 1;
  --leading-h2: 1.05;
  --leading-h3: 1.05;
  --leading-large: 1.4;
  --leading-medium: 1.4;
  --leading-regular: 1.5;
  --leading-small: 1.3;
  --tracking-small: .01em;
  --tracking-text: .01em;
  --space-3xs: .25rem;
  --space-2xs: .5rem;
  --space-xs: .75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --gutter: clamp(1.25rem, 6.2857vw - .2816rem, 5.375rem);
  --container-large: 79.25rem;
  --container-medium: 60rem;
  --container-small: 45rem;
  --section-space: clamp(6rem, 5.384rem + 2.629vw, 7.75rem);
  --radius: 0;
  --button-height: 3.5rem;
  --button-pad-x: 1.5rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --duration: .4s;
  --duration-hover: .15s;
  --wm-dot: var(--color-accent);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: #F7F6FB;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}
@media (width >= 992px) {
  html { font-size: max(.9rem, 1.11111vw); }
}
body {
  margin: 0;
  cursor: default;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--size-regular);
  line-height: var(--leading-regular);
  letter-spacing: var(--tracking-text);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--size-h1);
  line-height: var(--leading-h1);
  letter-spacing: -0.003em;
}
h2 {
  font-family: var(--font-heading);
  font-weight: var(--weight-regular);
  font-size: var(--size-h2);
  line-height: var(--leading-h2);
}
:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }
.sr-only, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  z-index: 100;
  top: var(--space-s);
  left: var(--space-s);
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  white-space: normal;
  padding: 0.75rem 1rem;
  background: var(--color-text);
  color: var(--color-bg);
}

.page-padding { padding-inline: var(--gutter); }
.container-large { width: 100%; max-width: var(--container-large); margin-inline: auto; }
.container-medium { width: 100%; max-width: var(--container-medium); margin-inline: auto; }

.accent-end::after {
  content: ".";
  color: var(--color-accent);
}

/* Links with an underline that grows on hover, matching weareimpact.co footer links. */
.text-link {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 var(--link-line);
  transition: background-size var(--duration-hover) var(--ease);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-text);
}
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { background-size: 100% var(--link-line); }
}

.button {
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  height: var(--button-height);
  padding: 0 var(--button-pad-x);
  border-radius: var(--radius);
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  font-family: var(--font-body);
  font-size: var(--size-medium);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-text);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--duration-hover) var(--ease), color var(--duration-hover) var(--ease), scale .16s var(--ease-out);
  border: 0;
  line-height: 1;
  display: inline-flex;
  text-decoration: none;
}
.button:hover { background: var(--button-primary-hover); }
.button:active { scale: .97; }
.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  scale: 1;
}
.button:focus-visible { outline-color: var(--color-text); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
}
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-m);
}
.logo {
  width: 6.5rem;
  display: block;
  color: var(--color-text);
  --wm-dot: var(--color-accent);
}
.logo .logo-mark { width: 100%; height: auto; }
.lm-dot { fill: var(--wm-dot, #FF5B22); transition: fill var(--duration-hover) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .logo:hover { --wm-dot: var(--lavender-950); }
}
.logo:focus-visible { --wm-dot: var(--lavender-950); }
@media (width <= 767px) {
  .nav-bar { padding-block: 0.875rem; }
  .logo { width: 6rem; }
}

/* Hero */
.hero {
  padding-block: clamp(3rem, 2rem + 4vw, 6.5rem) var(--section-space);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 22.5rem);
  gap: clamp(2.5rem, 6vw, 6.25rem);
  align-items: center;
}
.hero h1 { max-width: 11.5ch; }
.hero-lede {
  margin-top: var(--space-l);
  max-width: 28rem;
  font-size: var(--size-large);
  line-height: var(--leading-large);
  color: var(--color-text-muted);
}
.hero-actions { margin-top: var(--space-xl); }

/* Example ad mockup */
.ad-stage {
  position: relative;
  width: 100%;
  max-width: 22.5rem;
  margin-inline: auto;
  justify-self: end;
  padding-right: 1.25rem;
  padding-bottom: 1.25rem;
}
.ad-stage::before {
  content: "";
  position: absolute;
  width: 5rem;
  height: 5rem;
  background: var(--color-accent);
  right: -1.15rem;
  bottom: -1.15rem;
  z-index: 0;
}
.ad-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
}
.ad-chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  background: var(--white);
}
.ad-avatar {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  background: var(--lavender-950);
  position: relative;
}
.ad-avatar::after {
  content: "";
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--color-accent);
  right: 0;
  bottom: 0;
}
.ad-chrome-text { min-width: 0; }
.ad-chrome-name {
  font-size: var(--size-small);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  letter-spacing: var(--tracking-small);
}
.ad-chrome-meta {
  font-size: var(--size-tiny, 0.75rem);
  color: var(--color-text-muted);
  line-height: 1.3;
}
.ad-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--lavender-950);
  color: var(--lavender-50);
  padding: 1.5rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.ad-visual-mark {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-accent);
}
.ad-visual-kicker {
  font-size: var(--size-small);
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender-300);
  margin-bottom: 0.7rem;
}
.ad-visual-title {
  font-weight: 300;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 8.5ch;
}
.ad-caption {
  padding: 1rem 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--white);
}
.ad-caption-line {
  font-size: var(--size-small);
  line-height: var(--leading-small);
  color: var(--color-text-muted);
}
.ad-cta {
  margin-top: 0.35rem;
  align-self: start;
  height: 2.4rem;
  padding: 0 0.95rem;
  display: inline-flex;
  align-items: center;
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  font-size: var(--size-small);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-small);
  pointer-events: none;
}
.ad-caption-label {
  margin-top: var(--space-s);
  font-size: var(--size-small);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-small);
  text-align: left;
}

/* How it works */
.how {
  padding-block: var(--section-space);
  border-top: 1px solid var(--color-line);
}
.how h2, .request h2, .proof h2 {
  max-width: 16ch;
  margin-bottom: var(--space-2xl);
}
#how, #request, #form-success, #proof {
  scroll-margin-top: 5.75rem;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.step {
  padding-right: var(--space-xl);
  padding-left: 0;
  border-left: 0;
}
.step + .step {
  padding-left: var(--space-xl);
  border-left: 1px solid var(--color-line);
  padding-right: 0;
}
.step-num {
  display: block;
  font-size: var(--size-small);
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-s);
}
.step h3 {
  font-size: var(--size-large);
  line-height: var(--leading-large);
  font-weight: var(--weight-regular);
  margin-bottom: var(--space-s);
  max-width: 14em;
}
.step p {
  font-size: var(--size-regular);
  line-height: var(--leading-regular);
  color: var(--color-text-muted);
  max-width: 28ch;
}

/* Request form */
.request {
  padding-block: var(--section-space);
  border-top: 1px solid var(--color-line);
}
.request-panel { max-width: var(--container-medium); }
.request-intro {
  margin: calc(var(--space-m) * -1) 0 var(--space-2xl);
  max-width: 36rem;
  font-size: var(--size-large);
  line-height: var(--leading-large);
  color: var(--color-text-muted);
}
.request-panel.is-hidden { display: none; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-l) var(--space-xl);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}
.field.is-wide { grid-column: 1 / -1; }
.field label {
  font-size: var(--size-small);
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
}
.optional { opacity: 0.7; }
.field input,
.field select,
.field textarea {
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  width: 100%;
  height: 3rem;
  color: var(--color-text);
  font: inherit;
  font-size: var(--size-large);
  background: transparent;
  padding: 0;
  transition: border-color var(--duration-hover) var(--ease), box-shadow var(--duration-hover) var(--ease);
  appearance: none;
  border-radius: 0;
}
.field textarea {
  height: auto;
  min-height: 5.5rem;
  padding-block: var(--space-xs);
  resize: vertical;
  line-height: 1.4;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 9' fill='none'%3E%3Cpath d='M1 1l8 6.5L17 1' stroke='%23FF5B22' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 0.9rem 0.45rem;
  padding-right: 1.4rem;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .field input:hover,
  .field select:hover,
  .field textarea:hover { border-bottom-color: var(--color-text-muted); }
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-bottom-color: var(--color-accent);
  box-shadow: 0 1px 0 var(--color-accent);
  outline: 0;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-bottom-color: var(--color-accent);
  box-shadow: 0 1px 0 var(--color-accent);
}
.field-error {
  min-height: 1.1em;
  font-size: var(--size-small);
  color: var(--ember-500);
  margin: 0;
}
.field-error:empty { display: none; }

.file-box {
  margin-top: var(--space-2xs);
  background: var(--color-card);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  min-height: 3.5rem;
  transition: background-color var(--duration-hover) var(--ease);
}
.file-box:hover { background: var(--color-line); }
.file-box:has(:focus-visible) {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}
.file-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.file-choose {
  font-size: var(--size-regular);
  color: var(--color-text);
  cursor: pointer;
}
.file-meta {
  font-size: var(--size-small);
  color: var(--color-text-muted);
  min-width: 0;
}
.file-clear {
  font-size: var(--size-small);
  color: var(--color-text-muted);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  display: none;
}
.file-box.has-file .file-clear { display: inline; }
@media (hover: hover) and (pointer: fine) {
  .file-clear:hover { color: var(--color-text); }
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s) var(--space-m);
  padding-top: var(--space-s);
}
.form-note {
  margin: 0;
  font-size: var(--size-small);
  color: var(--color-text-muted);
  line-height: var(--leading-small);
}
.form-note a { color: inherit; }
.form-status {
  grid-column: 1 / -1;
  font-size: var(--size-small);
  margin: 0;
}
.form-status.is-error { color: var(--ember-500); }
.form-status.is-ok { color: var(--color-text); }
.form-status:empty { display: none; }

.success {
  display: none;
  max-width: 32rem;
}
.success.is-visible { display: block; }
.success h2 { max-width: 16ch; }
.success h2 { margin-bottom: var(--space-m); }
.success p {
  font-size: var(--size-large);
  line-height: var(--leading-large);
  color: var(--color-text-muted);
}
#request-form.is-hidden { display: none; }

/* Proof */
.proof {
  padding-block: var(--section-space);
  border-top: 1px solid var(--color-line);
}
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-l);
}
.stat-value {
  font-weight: 300;
  font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text);
}
.stat-label {
  margin-top: var(--space-s);
  font-size: var(--size-regular);
  color: var(--color-text-muted);
  max-width: 12ch;
  line-height: var(--leading-regular);
}
.proof-copy {
  font-size: var(--size-large);
  line-height: var(--leading-large);
  color: var(--color-text);
  max-width: 28rem;
}
.proof-copy p + p { margin-top: var(--space-m); }

/* Footer */
.site-footer {
  padding-block: var(--space-3xl) 2.5rem;
  border-top: 1px solid var(--color-line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  font-size: var(--size-medium);
  line-height: var(--leading-medium);
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2xs);
}
.footer-logo {
  width: min(60%, 28rem);
  margin-top: var(--space-3xl);
  color: var(--color-text);
  --wm-dot: var(--color-accent);
  display: block;
}
.footer-logo .logo-mark { width: 100%; height: auto; }
@media (hover: hover) and (pointer: fine) {
  .footer-logo:hover { --wm-dot: var(--lavender-50); }
}
.footer-logo:focus-visible { --wm-dot: var(--lavender-50); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-s) var(--space-2xl);
  margin-top: 4.875rem;
  font-size: var(--size-small);
  font-weight: var(--weight-medium);
  line-height: var(--leading-small);
  color: var(--color-text-muted);
}
.footer-legal {
  display: flex;
  gap: var(--space-m);
}

@media (width <= 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .hero h1 { max-width: none; }
  .ad-stage { justify-self: start; margin-inline: 0; max-width: 20rem; }
  .steps { grid-template-columns: 1fr; gap: var(--space-xl); }
  .step, .step + .step {
    padding: 0;
    border-left: 0;
    padding-top: var(--space-l);
    border-top: 1px solid var(--color-line);
  }
  .step:first-child {
    padding-top: 0;
    border-top: 0;
  }
  .proof-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: var(--space-l); }
  .footer-logo { width: 100%; margin-top: var(--space-2xl); }
  .site-footer { padding-block: calc(var(--space-2xl) + var(--space-s)) var(--space-xl); }
}

@media (width <= 767px) {
  .file-box {
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }
  .form-grid { grid-template-columns: 1fr; gap: var(--space-m); }
  .hero { padding-block: var(--space-xl) var(--section-space); }
  .hero-actions .button { width: 100%; }
  .form-actions .button { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: var(--space-xl);
  }
  .ad-stage { max-width: 18.5rem; }
  .ad-stage::before { width: 3.5rem; height: 3.5rem; right: -0.7rem; bottom: -0.7rem; }
  .stats { gap: var(--space-m); }
  .how h2, .request h2, .proof h2 { margin-bottom: var(--space-xl); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .button:active { scale: 1; }
}
