:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --bg-dark: #1c1c1c;
  --text: #1c1c1c;
  --text-strong: #000000;
  --text-muted: #3e3e3e;
  --text-faint: #797979;
  --border: #e7e7e7;
  --border-strong: #c4c4c4;
  --max-width: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 10vw, 7rem);
  --radius: 4px;
  --transition: 180ms ease;

  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale — matched to Squarespace tweaks
     heading-1: 4.6rem  heading-2: 3.1rem  heading-3: 2.6rem  heading-4: 2rem
     body: 1.2rem  small: 1rem  large: 1.4rem
     Heading font-weight: 500, letter-spacing: -0.05em, line-height: 1.2em
     Body  font-weight: 500, letter-spacing:  0.01em, line-height: 1.5em */
  --text-sm: 1rem;
  --text-base: 1.2rem;
  --text-lg: 1.4rem;
  --h4: clamp(1.5rem, 3vw, 2rem);
  --h3: clamp(1.75rem, 4vw, 2.6rem);
  --h2: clamp(2rem, 5vw, 3.1rem);
  --h1: clamp(2.5rem, 7vw, 4.6rem);
}

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

html {
  /* Lock the root size to 16px so every rem-based value in the type
     scale resolves consistently regardless of user-agent default or
     Chrome's "Page zoom font size" preference. */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.25em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--dark {
  background: var(--bg-dark);
  color: #f6f6f6;
}

.section--alt {
  background: var(--bg-alt);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin: 0 0 1rem;
}

.section--dark .eyebrow { color: #c4c4c4; }

/* ── Announcement bar ─────────────────────────────────────── */

.announcement-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text);
}

.announcement-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  text-align: center;
}

.announcement-bar__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-bar__close {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: inherit;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  opacity: 0.6;
}

.announcement-bar__close:hover { opacity: 1; }

.announcement-bar[data-dismissed="true"] { display: none; }

/* ── Header / Nav ─────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

.site-header__partner {
  display: inline-flex;
  align-items: center;
}

.site-header__partner img {
  height: 38px;
  width: auto;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  letter-spacing: 0.01em;
  color: var(--text-strong);
  justify-content: center;
}

.site-nav a {
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  color: var(--text-strong);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--text-strong);
  text-decoration: none;
}

/* Header button uses smaller padding + slight rounding than body buttons */
.btn--header {
  padding: 0.7rem 1.4rem;
  font-size: var(--text-sm);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
  }

  .site-header__partner { display: none; }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1.25rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child { border-bottom: 0; }

  .site-header__actions { gap: 0.75rem; }
}

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition);
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--text);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--text);
  color: var(--bg);
}

.section--dark .btn,
.cs-hero .btn,
.cs-read .btn {
  border-color: #f6f6f6;
  background: #f6f6f6;
  color: var(--text);
}

.section--dark .btn:hover,
.section--dark .btn:focus-visible,
.cs-hero .btn:hover,
.cs-hero .btn:focus-visible,
.cs-read .btn:hover,
.cs-read .btn:focus-visible {
  background: transparent;
  color: #f6f6f6;
}

.section--dark .btn--ghost,
.cs-hero .btn--ghost,
.cs-read .btn--ghost {
  background: transparent;
  color: #f6f6f6;
}

.section--dark .btn--ghost:hover,
.cs-hero .btn--ghost:hover,
.cs-read .btn--ghost:hover {
  background: #f6f6f6;
  color: var(--text);
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  padding-block: clamp(4rem, 9vw, 6rem) clamp(3rem, 7vw, 5rem);
}

.hero__inner { max-width: 100%; }

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__lede {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

/* ── Services accordion ───────────────────────────────────── */

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.services-layout > h2 {
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  margin: 0;
  letter-spacing: -0.05em;
}

@media (max-width: 820px) {
  .services-layout { grid-template-columns: 1fr; }
}

.services-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--text);
}

.services-accordion details {
  border-bottom: 1px solid var(--text);
}

.services-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  cursor: pointer;
  list-style: none;
}

.services-accordion summary::-webkit-details-marker { display: none; }

.services-accordion summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text);
  margin-left: 1rem;
  transition: transform var(--transition);
}

.services-accordion details[open] > summary::after {
  content: "−";
}

.services-accordion details > p {
  padding: 0 0 1.5rem;
  margin: 0;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ── CopilotCRM case-study page ──────────────────────────── */

.cs-hero {
  position: relative;
  background: var(--bg-dark);
  color: #f6f6f6;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(7rem, 12vw, 10rem);
  text-align: center;
  overflow: hidden;
}

.cs-hero__inner { max-width: 1080px; }

.cs-hero__title {
  font-size: clamp(3rem, 9vw, 7rem);
  margin: 0 0 1.5rem;
  letter-spacing: -0.05em;
}

.cs-hero__lede {
  max-width: 60ch;
  margin: 0 auto 1.25rem;
  font-size: var(--text-base);
}

.cs-hero__result {
  max-width: 60ch;
  margin: 0 auto 3rem;
  font-size: var(--text-base);
}

.cs-hero__video {
  max-width: 880px;
  margin: 0 auto 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cs-hero__video--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at center, #2a2a2a 0%, #0a0a0a 70%);
  color: #f6f6f6;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background-color var(--transition);
}

.cs-hero__video--placeholder:hover { text-decoration: none; }

.cs-hero__play {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0e0e0e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding-left: 0.3rem;
  transition: transform var(--transition);
}

.cs-hero__video--placeholder:hover .cs-hero__play { transform: scale(1.08); }

.cs-hero__playLabel {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c4c4c4;
}

.cs-hero__caption {
  max-width: 60ch;
  margin: 0 auto;
  color: #c4c4c4;
  font-size: var(--text-sm);
}

/* Wavy dividers */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  display: block;
}

.wave--down {
  bottom: -1px; /* sit at the bottom of the dark hero, pointing into the next light section */
  fill: var(--bg-alt);
}

.wave--up {
  bottom: -1px;
  fill: var(--bg-dark);
}

/* "What They Got" — light, centered grid */
.cs-what-they-got {
  position: relative;
  background: var(--bg-alt);
  padding: clamp(5rem, 9vw, 7rem) 0 clamp(7rem, 12vw, 10rem);
  text-align: center;
  overflow: hidden;
}

.cs-section-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem);
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .cs-grid { grid-template-columns: 1fr; }
}

.cs-grid article {
  text-align: center;
}

.cs-grid h3 {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.cs-grid p {
  color: var(--text-muted);
  margin: 0;
  max-width: 30ch;
  margin-inline: auto;
}

/* "Read the Case Study" — black */
.cs-read {
  background: var(--bg-dark);
  color: #f6f6f6;
  padding: clamp(5rem, 9vw, 7rem) 0 clamp(5rem, 9vw, 7rem);
  text-align: center;
}

.cs-read .cs-section-title { color: #f6f6f6; }

.cs-read__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

@media (max-width: 820px) {
  .cs-read__inner { grid-template-columns: 1fr; text-align: center; }
}

.cs-read__preview img {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.cs-read__bullets article + article { margin-top: 1.5rem; }
.cs-read__bullets h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}
.cs-read__bullets p {
  color: #c4c4c4;
  margin: 0;
}

.cs-read__download {
  margin-top: 2rem;
}

/* "Schedule a Call" — light split */
.cs-schedule {
  background: var(--bg);
  padding: clamp(5rem, 9vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
}

.cs-schedule__intro h2 {
  font-size: var(--h1);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 1.75rem;
}

.cs-schedule__intro p {
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: 42ch;
}

/* ── Acuity scheduling embed ──────────────────────────────── */

.acuity-embed {
  background: var(--bg-alt);
  padding-block: clamp(4rem, 8vw, 6rem);
}

.acuity-embed__frame {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  /* width: 100% prevents iframe's default 300px intrinsic width from
     collapsing the frame. max-width caps it so the Acuity content (which
     renders as a ~700px column) doesn't sit in a giant empty box. */
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.acuity-embed iframe,
.acuity-embed__frame iframe {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
  background: transparent;
}

/* "Schedule a call" / "How to Work With YGG" split layout
   Original page renders heading:acuity ≈ 38:62, with the Acuity card
   ~720px wide. */
.acuity-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Allow this split section to use more horizontal room than the
   default 1200px container so the heading doesn't wrap awkwardly. */
.acuity-embed > .acuity-split,
.cs-schedule > .acuity-split {
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.acuity-split .acuity-embed__frame {
  max-width: 820px;
  height: 760px;
}

.acuity-split .acuity-embed__frame iframe { height: 100%; }

.acuity-split__intro h2 {
  font-size: var(--h1);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 1.75rem;
}

.acuity-split__intro p {
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: 42ch;
  margin: 0;
}

@media (max-width: 900px) {
  .acuity-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .acuity-split .acuity-embed__frame { max-width: 720px; margin: 0 auto; }
  .acuity-split__intro h2 { max-width: none; }
}

/* ── Marquee / partners ───────────────────────────────────── */

.marquee {
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--bg);
}

.marquee__eyebrow {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin: 0 0 2rem;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  will-change: transform;
}

.marquee__track > span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}

.marquee__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  display: inline-block;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ── Testimonial ──────────────────────────────────────────── */

.testimonial {
  max-width: 1080px;
  margin: 0 auto;
}

.testimonial__eyebrow {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin: 0 0 3rem;
}

.testimonial__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.testimonial__avatar {
  width: clamp(140px, 18vw, 200px);
  height: clamp(140px, 18vw, 200px);
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1.3;
  margin: 0 0 1rem;
}

.testimonial__cite {
  font-style: normal;
  font-size: var(--text-base);
  color: var(--text);
}

.testimonial__cite a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.testimonial__actions {
  margin-top: 1.75rem;
}

@media (max-width: 720px) {
  .testimonial__row {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* ── Podcast section ──────────────────────────────────────── */

.podcast {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.podcast__title {
  /* Original page renders this as ~5.6rem — larger than --h1 */
  font-size: clamp(2.75rem, 8.5vw, 5.6rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.podcast__art {
  border-radius: var(--radius);
  overflow: hidden;
}

.podcast__listen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.podcast__listen a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.1rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.podcast__listen a:hover {
  background: #f6f6f6;
  color: var(--text);
  text-decoration: none;
}

.podcast__embed {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.podcast__embed iframe {
  width: 100%;
  height: 232px;
  border: 0;
  display: block;
}

/* Generic 16:9 video embed (use for YouTube iframes) */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 820px) {
  .podcast { grid-template-columns: 1fr; }
}

/* ── About / split sections ───────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split--reverse > :first-child { order: 2; }

@media (max-width: 820px) {
  .split,
  .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.prose h3 { margin-top: 2rem; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--text-muted); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Team grid ────────────────────────────────────────────── */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.team__member {
  text-align: center;
}

.team__avatar {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--bg-alt);
}

.team__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--text-faint);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.team__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  margin: 0;
}

.team__role {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 0.25rem;
}

.team__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

/* ── Case study bullets (copilotcrm) ──────────────────────── */

.case-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.case-bullets__item {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.case-bullets__item h3 {
  font-size: var(--h4);
  margin-bottom: 0.75rem;
}

.case-bullets__item p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
}

/* ── Forms ────────────────────────────────────────────────── */

.form {
  display: grid;
  gap: 1.25rem;
  max-width: 560px;
}

.form__row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}

.form__field {
  display: grid;
  gap: 0.35rem;
}

.form__field label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--text);
}

.form__required {
  color: var(--text-faint);
  font-weight: 400;
}

.form__field input,
.form__field textarea {
  font: inherit;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__field input:focus,
.form__field textarea:focus {
  outline: 0;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(28, 28, 28, 0.08);
}

.form__field textarea {
  min-height: 120px;
  border-radius: 1.5rem;
  resize: vertical;
}

.form__submit {
  width: 100%;
  border-radius: var(--radius);
}

.form__status {
  font-size: var(--text-sm);
  color: var(--text-muted);
  min-height: 1.5em;
}

.form__status[data-state="error"] { color: #b13e3e; }
.form__status[data-state="ok"] { color: #2f7a45; }

/* Honeypot field — visible only to bots. */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline newsletter form (homepage) */
.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  max-width: 460px;
}

.newsletter input {
  flex: 1;
  font: inherit;
  padding: 0.9rem 1.25rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
}

.newsletter input:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.newsletter input::placeholder { color: #797979; }

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
  background: var(--bg);
  color: var(--text);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  font-size: var(--text-base);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: auto auto 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.site-footer__brand img { height: 40px; width: auto; }

.site-footer__copy {
  font-size: var(--text-sm);
  color: var(--text);
  margin: 0;
}

.site-footer__partner img {
  height: 80px;
  width: auto;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.site-footer address,
.site-footer__contact a {
  font-style: normal;
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text);
}

.site-footer__contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ── Page heading ────────────────────────────────────────── */

.page-header {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.page-header h1 { margin-bottom: 0.5rem; }
.page-header p {
  color: var(--text-muted);
  max-width: 60ch;
  font-size: var(--text-lg);
  margin: 0;
}

/* ── About prose layout ──────────────────────────────────── */

.about-prose {
  max-width: 900px;
  text-align: center;
}

.about-prose h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  margin-bottom: 1.5rem;
}

.about-prose h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.about-prose p {
  font-size: var(--text-base);
  max-width: 76ch;
  margin-inline: auto;
}

.about-prose p + p { margin-top: 1rem; }

.about-prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-page .section { padding-block: clamp(2rem, 4vw, 3.5rem); }

/* ── Utilities ────────────────────────────────────────────── */

.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
