/* Fonts (self-hosted, SIL Open Font Licence) */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700; src: url('/assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700; src: url('/assets/fonts/space-grotesk-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Founderr: shared styles */

:root {
  --bg: #FAF8F5;
  --white: #FFFFFF;
  --ink: #141414;
  --ink-2: #3D3D3D;
  --muted: #5C5C5C;
  --line: #E2DED8;
  --sand: #E9E5DF;
  --purple: #A22BEB;
  --purple-dark: #7A1FC0;
  --purple-tint: #F0E3FC;
  --green: #5FCF89;
  --dark-card: #222222;
  --radius: 24px;
  --radius-sm: 16px;
  --wrap: 1160px;
  --pad: clamp(20px, 5vw, 64px);
  --head: 'Space Grotesk', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--purple-dark); }
a:hover { color: var(--purple); }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; }

.section { padding: clamp(72px, 10vw, 120px) var(--pad); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }
.section--purple { background: var(--purple); color: var(--white); }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-dark);
}
.eyebrow--green { color: var(--green); letter-spacing: 0.1em; font-size: 13px; }

.h-xl { font-size: clamp(44px, 7vw, 80px); letter-spacing: -0.035em; line-height: 1; }
.h-lg { font-size: clamp(36px, 5vw, 56px); }
.h-md { font-size: clamp(30px, 4vw, 48px); }

.accent { color: var(--purple); }
.typer { display: inline-block; white-space: nowrap; text-align: left; transition: color .8s ease; }
.typer__base { transition: color .8s ease; }
.typer.typing::after {
  content: ""; display: inline-block; width: 3px; height: 0.9em;
  margin-left: 4px; vertical-align: -0.08em;
  background: var(--green);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 600px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .15s ease, color .15s ease;
}
.btn--primary { background: var(--purple); color: var(--white); }
.btn--primary:hover { background: var(--purple-dark); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #333333; color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { color: var(--ink); background: #F3F0EB; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { color: var(--ink); background: var(--white); }

.btn__arrow { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 5px;
}
.link-arrow:hover { color: var(--purple-dark); }

/* Header */
.site-header {
  padding: 20px var(--pad);
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: transform .3s ease, border-color .3s ease;
}
/* Rolling header: hides on scroll down, returns on scroll up */
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
[id] { scroll-margin-top: 100px; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: block; width: 132px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--purple-dark); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; color: var(--white); }
.nav .btn:hover, .menu__panel .btn:hover { color: var(--white); }

.menu { display: none; }

@media (max-width: 820px) {
  .nav { display: none; }
  .menu { display: block; }
  .menu summary {
    list-style: none;
    cursor: pointer;
    min-height: 44px;
    padding: 10px 18px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .menu__panel {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: 76px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    padding: 12px;
    display: flex;
    flex-direction: column;
  }
  .menu__panel a {
    color: var(--ink);
    text-decoration: none;
    font-size: 18px;
    padding: 14px 12px;
    border-radius: 10px;
  }
  .menu__panel a:hover { background: var(--bg); }
  .menu__panel .btn { margin-top: 8px; color: var(--white); }
  .menu__panel .btn:hover { background: #333333; color: var(--white); }
}

/* Hero */
.hero { padding: clamp(40px, 6vw, 72px) var(--pad) clamp(64px, 8vw, 104px); }
.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

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

/* Proof card */
.proof-card {
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .2s ease;
}
.proof-card:hover { color: var(--white); transform: translateY(-3px); }
.proof-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.proof-card__client { height: 22px; width: auto; }
.proof-card__title { font-family: var(--head); font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.proof-card__quote { font-size: 16px; line-height: 1.55; color: #D4D4D4; }
.person { display: flex; gap: 12px; align-items: center; }
.person__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #3A3A3A; color: var(--white);
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px; flex-shrink: 0;
  object-fit: cover;
}
.person__name { font-size: 15px; font-weight: 600; }
.person__role { font-size: 13px; color: #BDBDBD; }
.proof-card__more { font-size: 14px; font-weight: 600; color: var(--green); }

/* Trust strip */
.trust { padding: 0 var(--pad) clamp(64px, 8vw, 96px); }
.trust__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
}
.trust__label { font-size: 14px; color: var(--muted); }
.trust__logos { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; }
.trust__logos { gap: 16px 44px; }
.trust__logo { height: 26px; width: auto; }
.trust__logo--ziglu { height: 20px; }
.trust__logo--fleggs { height: 28px; }
.trust__rating { font-size: 14px; color: var(--ink-2); }
.trust__rating strong { color: var(--ink); }
.stars { color: #1F8F4E; letter-spacing: 2px; }

/* Cards grid */
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.section-head__note { font-size: 16px; color: var(--muted); }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 { font-family: var(--body); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } }
.step { position: relative; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ink); transform-origin: left center; }

/* Steps animation: each line draws in, then its text fades up */
.js .steps .step::before { transform: scaleX(0); transition: transform .5s ease; }
.js .steps .step > * { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.js .steps.is-visible .step::before { transform: scaleX(1); }
.js .steps.is-visible .step > * { opacity: 1; transform: none; }
.js .steps.is-visible .step:nth-child(1)::before { transition-delay: 0s; }
.js .steps.is-visible .step:nth-child(2)::before { transition-delay: .25s; }
.js .steps.is-visible .step:nth-child(3)::before { transition-delay: .5s; }
.js .steps.is-visible .step:nth-child(4)::before { transition-delay: .75s; }
.js .steps.is-visible .step:nth-child(1) > * { transition-delay: .2s; }
.js .steps.is-visible .step:nth-child(2) > * { transition-delay: .45s; }
.js .steps.is-visible .step:nth-child(3) > * { transition-delay: .7s; }
.js .steps.is-visible .step:nth-child(4) > * { transition-delay: .95s; }
/* Reverse: right to left, quicker */
.js .steps .step:nth-child(4)::before, .js .steps .step:nth-child(4) > * { transition-delay: 0s; }
.js .steps .step:nth-child(3)::before, .js .steps .step:nth-child(3) > * { transition-delay: .1s; }
.js .steps .step:nth-child(2)::before, .js .steps .step:nth-child(2) > * { transition-delay: .2s; }
.js .steps .step:nth-child(1)::before, .js .steps .step:nth-child(1) > * { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .js .steps .step::before, .js .steps .step > * { transition: none; transform: none; opacity: 1; }
}
.step__num { font-family: var(--head); font-size: 40px; font-weight: 600; color: var(--purple); line-height: 1; }
.step h3 { font-family: var(--body); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* Feature (case study) */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
.feature__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.feature__copy p { font-size: 18px; line-height: 1.6; color: #D4D4D4; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--dark-card); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.stat--wide { grid-column: span 2; }
.stat--purple { background: var(--purple); }
.stat__num { font-family: var(--head); font-size: clamp(40px, 5vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat__label { font-size: 14px; color: #BDBDBD; }
.stat--purple .stat__label { color: #F3E6FD; }

/* Founding team animation */
.team__head { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.team__title { max-width: 720px; }
.team__note { font-size: 16px; color: #BDBDBD; }
.team {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
  position: relative;
}
.team::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px;
  background: linear-gradient(to right, var(--purple), #6B6B6B);
  transform-origin: left center;
}
/* End of the line: a small ball holding every role colour (the founding team) */
.team::after {
  content: ""; position: absolute; right: -8px; top: 20px;
  width: 16px; height: 16px; border-radius: 50%;
  background: conic-gradient(var(--white) 0 72deg, var(--purple) 72deg 144deg, var(--green) 144deg 216deg, #D9A8FA 216deg 288deg, #8A8A8A 288deg 360deg);
  box-shadow: 0 0 0 3px var(--ink);
}
.js .team::after { opacity: 0; transform: scale(0); transition: opacity .3s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.js .team.is-visible::after { opacity: 1; transform: scale(1); transition-delay: 2.1s; }
.team__stage { position: relative; display: flex; flex-direction: column; gap: 8px; }
.team__dots { height: 56px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; align-content: center; }
.team__dots--many { gap: 4px; max-width: 120px; }
.dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: #4A4A4A; border: 3px solid var(--ink);
  box-sizing: content-box;
}
.team__dots--many .dot { width: 16px; height: 16px; }
.dot--founder { background: var(--white); }
.dot--eng { background: var(--purple); }
.dot--product { background: var(--green); }
.dot--lead { background: #D9A8FA; }
.dot--team { background: #8A8A8A; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; vertical-align: middle; position: relative; top: -2px; }
.team__label { font-family: var(--head); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-top: 12px; }
.team__sub { font-size: 14px; color: #BDBDBD; line-height: 1.55; padding-right: 8px; }

/* Animation (only when JavaScript is running) */
.js .team::before { transform: scaleX(0); transition: transform 1s ease .2s; }
.js .team.is-visible::before { transition-duration: 2.2s; }
.js .team.is-visible::before { transform: scaleX(1); }
.js .team__stage { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .team .dot--new { transform: scale(0); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.js .team.is-visible .team__stage { opacity: 1; transform: none; }
.js .team.is-visible .dot--new { transform: scale(1); }
/* Building: left to right */
.js .team.is-visible::before { transition-delay: 0s; }
.team.is-visible .team__stage:nth-child(1), .team.is-visible .team__stage:nth-child(1) .dot--new { transition-delay: 0s; }
.team.is-visible .team__stage:nth-child(2), .team.is-visible .team__stage:nth-child(2) .dot--new { transition-delay: .45s; }
.team.is-visible .team__stage:nth-child(3), .team.is-visible .team__stage:nth-child(3) .dot--new { transition-delay: .9s; }
.team.is-visible .team__stage:nth-child(4), .team.is-visible .team__stage:nth-child(4) .dot--new { transition-delay: 1.35s; }
.team.is-visible .team__stage:nth-child(5), .team.is-visible .team__stage:nth-child(5) .dot--new { transition-delay: 1.8s; }
.team.is-visible .team__stage:nth-child(5) .dot--new:nth-child(6) { transition-delay: 1.9s; }
.team.is-visible .team__stage:nth-child(5) .dot--new:nth-child(7) { transition-delay: 2s; }
.team.is-visible .team__stage:nth-child(5) .dot--new:nth-child(8) { transition-delay: 2.1s; }

/* Un-building: right to left, a little quicker */

.team__stage:nth-child(5), .team__stage:nth-child(5) .dot--new { transition-delay: 0s; }
.team__stage:nth-child(4), .team__stage:nth-child(4) .dot--new { transition-delay: .2s; }
.team__stage:nth-child(3), .team__stage:nth-child(3) .dot--new { transition-delay: .4s; }
.team__stage:nth-child(2), .team__stage:nth-child(2) .dot--new { transition-delay: .6s; }
.team__stage:nth-child(1), .team__stage:nth-child(1) .dot--new { transition-delay: .8s; }

@media (max-width: 860px) {
  .team { grid-template-columns: 1fr; gap: 28px; padding-left: 0; padding-bottom: 36px; }
  .team::before { left: 13px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(to bottom, var(--purple), #6B6B6B); transform-origin: top center; }
  .team::after { right: auto; left: 6px; top: auto; bottom: -8px; }
  .team__dots--many { padding-left: 3px; } /* centre the smaller dots on the line */
  .js .team::before { transform: scaleY(0); }
  .js .team.is-visible::before { transform: scaleY(1); }
  .team__stage { display: grid; grid-template-columns: 140px 1fr; column-gap: 12px; align-items: center; }
  .team__dots { grid-row: span 2; height: auto; min-height: 56px; }
  .team__label { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js .team::before, .js .team__stage, .js .team .dot--new { transition: none; transform: none; opacity: 1; }
  .js .team::after { transition: none; opacity: 1; }
}

/* Meet Nick */
.meet { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (max-width: 760px) { .meet { grid-template-columns: 1fr; gap: 24px; } }
.meet__photo { width: 100%; height: auto; max-width: 240px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 50%; background: var(--sand); }
@media (max-width: 760px) { .meet__photo { max-width: 200px; } }
.meet__copy { display: flex; flex-direction: column; gap: 20px; }
.meet__quote { font-family: var(--head); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }
.meet__sig { font-size: 16px; }
.meet__sig span { color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq h2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  font-size: 19px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--purple-dark);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 40px 24px 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

/* Closing CTA */
.cta { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 32px; align-items: center; }
.cta__alt { font-size: 15px; color: #F3E6FD; }
.cta__alt a { color: var(--white); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #BDBDBD; padding: 64px var(--pad) 40px; font-size: 14px; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; }
.site-footer h2 { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #BDBDBD; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .logo { width: 120px; }
.site-footer__legal { border-top: 1px solid #2A2A2A; padding-top: 24px; font-size: 13px; line-height: 1.7; color: #9A9A9A; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.placeholder { background: #FFF3BF; color: #5C4A00; padding: 0 4px; border-radius: 4px; }

/* Candidate page */
.promise-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.promise-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; color: #D4D4D4; }
.promise-list strong { color: var(--white); font-weight: 600; }
.promise-list__tick { width: 28px; height: 28px; border-radius: 50%; background: rgba(95, 207, 137, .15); color: var(--green); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.roles__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.team__note--dark { color: var(--muted); }
.roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.role { background: var(--bg); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.role h3 { font-family: var(--head); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.role p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.role .key { width: 14px; height: 14px; }
.nav a[aria-current="page"] { color: var(--purple-dark); }
@media (max-width: 900px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }
.cand-quote { margin: 64px auto 0; max-width: 860px; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.cand-quote blockquote { margin: 0; }
.cand-quote blockquote p { margin: 0; font-family: var(--head); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }

/* Case study */
.cs-hero .wrap { display: flex; flex-direction: column; gap: 28px; }
.cs-hero__client { height: 28px; width: auto; align-self: flex-start; }
.cs-hero h1 { max-width: 900px; }
.cs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 16px 0 0; max-width: 860px; }
.cs-stats div { background: var(--white); border-radius: 20px; padding: 24px; }
.cs-stats dt { font-family: var(--head); font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em; color: var(--purple); line-height: 1.1; }
.cs-stats dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.cs-narrow { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.cs-brief { font-family: var(--head); font-size: clamp(24px, 3vw, 34px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; margin: 0; }
.cs-hires { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cs-hire { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.cs-hire__tag { font-size: 14px; font-weight: 600; color: var(--purple-dark); margin: 0; }
.cs-hire__name { font-family: var(--head); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.cs-hire p:last-child { color: var(--ink-2); line-height: 1.65; margin: 0; }
.cs-challenges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cs-challenges h3 { font-family: var(--head); font-size: 22px; font-weight: 600; margin: 0 0 10px; color: var(--white); }
.cs-challenges p { color: #BDBDBD; line-height: 1.6; margin: 0; }
.cs-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-results .step p { font-size: 18px; color: var(--ink); }
.cs-quotes { display: flex; flex-direction: column; gap: 24px; }
.cs-quotes .cand-quote { margin: 0 auto; width: 100%; }
.cand-quote--light { background: var(--bg); color: var(--ink); }
.cand-quote--light .person__role { color: var(--muted); }
@media (max-width: 900px) {
  .cs-hires, .cs-challenges { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cs-results { grid-template-columns: 1fr; }
  .cs-stats { gap: 10px; }
  .cs-stats div { padding: 16px 14px; border-radius: 16px; }
  .cs-stats dt { font-size: 28px; }
  .cs-stats dd { font-size: 13px; }
}

/* Legal pages */
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal h1 { margin: 12px 0 8px; }
.legal p.legal__meta { color: var(--muted); font-size: 15px; margin: 0 0 40px; }
.legal h2 { font-family: var(--head); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p:not(.eyebrow), .legal li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal p:not(.eyebrow) { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--purple-dark); }
.legal__company { margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px !important; color: var(--muted) !important; }
.trust__rating-link { color: inherit; text-decoration: none; }
.trust__rating-link:hover { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Draft quotes stay hidden until approved (remove data-draft-quote to show) */
[data-draft-quote] { display: none !important; }

/* Footer on mobile: tidy two-column grid */
@media (max-width: 760px) {
  .site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .site-footer__cols > .logo { grid-column: 1 / -1; }
}

/* Case study stack (homepage hero) */
.hero { overflow-x: clip; }
.stack { position: relative; display: grid; outline: none; padding-right: 22px; }
.stack:focus-visible { outline: 2px solid var(--purple); outline-offset: 6px; border-radius: var(--radius); }
.stack__card {
  grid-area: 1 / 1;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
  transform-origin: 50% 100%;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease, filter .35s ease;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.stack__card[data-pos="0"] { z-index: 3; cursor: grab; }
.stack__card[data-pos="0"].is-dragging { cursor: grabbing; transition: none; }
.stack__card[data-pos="1"] { z-index: 2; transform: translate(14px, 10px) rotate(2.5deg) scale(.97); filter: brightness(.82); cursor: pointer; }
.stack__card[data-pos="2"] { z-index: 1; transform: translate(26px, 20px) rotate(5deg) scale(.94); filter: brightness(.66); cursor: pointer; }
.stack__card[data-pos="1"] > *, .stack__card[data-pos="2"] > * { pointer-events: none; }
.stack__card.is-flying { transition: transform .35s ease-in, opacity .35s ease-in; opacity: 0; }
.stack__card--blank { background: #232323; }
.stack__more { color: var(--green); text-decoration: none; font-size: 14px; font-weight: 600; align-self: flex-start; }
.stack__more:hover { color: var(--white); }
.stack__nav { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.stack__dots { display: flex; gap: 8px; }
.stack__hint { font-size: 13px; color: var(--muted); }
.stack__dot { width: 9px; height: 9px; border-radius: 50%; background: #D4CFC8; transition: background .25s, width .25s; }
.stack__dot.is-active { background: var(--ink); width: 22px; border-radius: 5px; }
@media (max-width: 600px) {
  .stack { padding-right: 14px; }
  .stack__card[data-pos="1"] { transform: translate(8px, 8px) rotate(1.5deg) scale(.97); }
  .stack__card[data-pos="2"] { transform: translate(14px, 16px) rotate(3deg) scale(.94); }
}
@media (prefers-reduced-motion: reduce) { .stack__card, .stack__card.is-flying { transition: none; } }

/* Even line breaks: no single word stranded on its own line */
h1, h2, h3, .proof-card__title, .cs-brief, .meet__quote { text-wrap: balance; }
p, li { text-wrap: pretty; }
