/* Salesify Ltd — design tokens + components */

/* Self-hosted so no visitor IP is sent to a third party on page load, and so
   there is no un-SRI-able cross-origin stylesheet. Latin subset, variable
   weight axis — same files Google Fonts serves. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/bricolage-latin.woff2') format('woff2');
  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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/hanken-latin.woff2') format('woff2');
  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;
}

:root {
  --accent: #d8ff3e;
  --ink: #111214;
  --ink-soft: #1b1d21;
  --body: #55585f;
  --muted: #6b6e76;
  --muted-2: #5f6268;
  --line: #e4e5e8;
  --line-strong: #d9dade;
  --surface: #f2f3f5;
  --surface-2: #e4e5e8;
  --on-dark: #f4f4f5;
  --on-dark-soft: #a1a4ac;
  --on-dark-strong: #dcdde0;

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --text: 'Hanken Grotesk', system-ui, sans-serif;

  --container: 1240px;
  --gutter: 36px;
  --radius-lg: 28px;
  --radius: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--text);
  line-height: 1.55;
}

a { color: inherit; }
a:hover { opacity: .75; }
::selection { background: var(--accent); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- layout ---------- */

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

.section { padding-top: 72px; padding-bottom: 72px; }
.section--tight { padding-top: 24px; padding-bottom: 0; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

/* Dark full-bleed panel with inset rounded corners */
.panel {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  margin: 0 12px;
}
.panel .container { padding-top: 80px; padding-bottom: 80px; }

/* Two-column split: narrow heading, wide body */
.split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 56px;
}
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--wide-first { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split--centre { align-items: center; }

/* Auto-fitting card grids */
.grid { display: grid; gap: 20px; }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--wide-cards { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--steps { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.grid--values { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 26px; }

/* ---------- type ---------- */

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.kicker--accent { color: var(--accent); margin-bottom: 14px; }

.h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 26px;
  max-width: 20ch;
  text-wrap: balance;
}
.h1--home {
  font-size: clamp(46px, 7vw, 94px);
  line-height: 1;
  letter-spacing: -.035em;
  margin-bottom: 30px;
  max-width: 19ch;
}

.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0;
}
.h2--sm { font-size: 34px; }
.h2--xs { font-size: 32px; }

.h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.h4 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }

.lead {
  font-size: 20px;
  color: var(--body);
  max-width: 560px;
  margin: 0;
  text-wrap: pretty;
}
.prose { font-size: 16px; color: var(--body); margin: 0; }
.prose--lg { font-size: 17px; }
.prose--dark { color: var(--on-dark-soft); font-size: 15px; }

.stack > * + * { margin-top: 12px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--line-strong); }
.btn--sm { padding: 12px 22px; font-size: 15px; white-space: nowrap; }
.btn--block { display: block; width: 100%; text-align: center; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- hero ---------- */

.hero { padding: 64px 0 40px; }
.hero--home { padding-top: 72px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.hero__grid--top { align-items: start; }

/* ---------- art ---------- */

.art {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.art--dark { background: var(--ink); }
.art--map { border-radius: 18px; background: var(--ink-soft); }
.art svg { display: block; width: 100%; height: auto; }

/* ---------- cards & lists ---------- */

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
}
.card__icon { margin-bottom: 14px; }

.card-dark {
  background: var(--ink-soft);
  border-radius: var(--radius);
  padding: 30px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card-dark .h3 { font-size: 24px; }
.card-dark__icon { margin-bottom: 16px; }
.card-dark__more {
  margin-top: auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
}

.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.media-card__figure {
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-card__body { padding: 24px; }
.media-card .h3 { font-size: 21px; margin-bottom: 6px; }

.ticks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ticks li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: var(--on-dark-strong);
}
.ticks li::before { content: '\25CF'; color: var(--accent); }

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 500;
}
.tag--outline {
  background: none;
  border: 1px solid #33363c;
  padding: 6px 13px;
  font-size: 13px;
  color: var(--on-dark-strong);
}
.tag--dark {
  background: var(--ink-soft);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
}

.stat__num {
  font-family: var(--display);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.03em;
}
.stat__label { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

.rule-top { border-top: 1px solid var(--line); padding-top: 16px; }
.rule-accent { border-top: 2px solid var(--accent); padding-top: 18px; }
.step__n {
  font-family: var(--display);
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 8px;
}

.faq-list { display: flex; flex-direction: column; }
.faq { border-top: 1px solid var(--line); padding: 22px 0; }

.def-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.def-list li {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 16.5px;
}
.def-list b { font-weight: 600; }
.def-list span { color: var(--body); font-size: 15.5px; }

.data-row {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(120px, 230px) minmax(0, 1fr);
  gap: 20px;
}
.data-row dt { font-size: 15px; color: var(--muted-2); }
.data-row dd { font-size: 16px; font-weight: 500; margin: 0; }

.fact { border-top: 1px solid var(--line); padding-top: 14px; }
.fact dt { font-size: 13px; color: var(--muted-2); margin-bottom: 4px; }
.fact dd { font-size: 16px; font-weight: 600; margin: 0; }

.cta-band {
  background: var(--surface);
  border-radius: 24px;
  padding: 52px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.cta-band .h2 { font-size: 30px; max-width: 520px; }
.cta-band--tall { padding: 56px 48px; gap: 32px; }

/* ---------- nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
}
.site-nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  min-height: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}
.wordmark {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark__dot { color: var(--accent); }
.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  font-size: 15px;
  font-weight: 500;
}
.site-nav__links a { color: var(--body); text-decoration: none; }
/* WCAG 2.2 AA 2.5.8 Target Size: discrete controls need >=24px. */
.site-nav__links a:not(.site-nav__cta) { padding: 9px 0; }
.site-nav__links a[aria-current='page'] { color: var(--ink); font-weight: 600; }
.site-nav__cta {
  background: var(--ink);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--on-dark-soft);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: 0 12px;
}
.site-footer__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 52px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.site-footer h2 {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 6px;
}
.site-footer__col { font-size: 14px; line-height: 1.9; }
.site-footer__col a { display: block; color: inherit; text-decoration: none; padding: 5px 0; }
.site-footer__brand { max-width: 300px; }
.site-footer__brand p { font-size: 14px; margin: 0 0 14px; }
.site-footer__address { font-size: 14px; max-width: 220px; line-height: 1.7; }
/* Padded on top only: keeps the accent underline tight to the text while
   lifting the target past the 24px minimum. */
.site-footer__brand .email-link { display: inline-block; padding-top: 6px; }
.contact-value {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 4px 0;
}

.email-link {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}
.site-footer__legal {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 13px;
}
.site-footer__legal a { color: #8d919a; text-decoration: none; padding: 7px 0; }
.site-footer__meta {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: #8d919a;
}

/* ---------- forms ---------- */

.form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
}
.form__pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #44464c;
  margin-bottom: 15px;
}
.form__pair .field { margin-bottom: 0; }
.field input,
.field select,
.field textarea {
  border: none;
  border-radius: 11px;
  padding: 13px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  width: 100%;
  min-width: 0;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field--last { margin-bottom: 20px; }

/* FormSubmit spam trap: must be in the DOM and submittable, never shown. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.checklist { display: flex; flex-direction: column; gap: 16px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  color: #44464c;
}
.checklist { list-style: none; margin: 0; padding: 0; }

/* ---------- careers roles ---------- */

.role-row {
  background: var(--ink-soft);
  border-radius: 18px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.role-row__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 5px;
}
.role-row__head svg { flex: none; margin-top: 6.5px; }
.role-row .h3 { font-size: 21px; margin: 0; }

.role-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
}
.role-card__head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 8px;
}
.role-card__head svg { flex: none; margin-top: 5.5px; }
.role-card .h3 { font-size: 20px; margin: 0; }
.role-card .prose { font-size: 15.5px; margin-bottom: 18px; }
.role-card .tags { margin-bottom: 20px; }
.role-card .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 11px 20px;
  font-size: 14.5px;
}

.list-stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- policies ---------- */

.policies {
  display: grid;
  grid-template-columns: minmax(0, .34fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.policies__aside {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 128px);
  overflow-y: auto;
}
.policies__nav { display: flex; flex-direction: column; gap: 2px; }
.policies__nav a {
  text-decoration: none;
  font-size: 16px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #3c4046;
  font-weight: 500;
}
.policies__nav a[aria-current] {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.policies__heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: 0 0 8px;
}
.policies__blurb { font-size: 15.5px; margin-bottom: 22px; }
.policies__card {
  background: var(--surface);
  border-radius: 16px;
  padding: 22px;
  margin-top: 26px;
}
.policies__card p { font-size: 15px; margin: 0 0 10px; }
.policies__card p:last-child { margin-bottom: 0; }

.doc__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.doc__updated { font-size: 14.5px; color: var(--muted-2); margin: 0 0 24px; }
.doc__intro { font-size: 19px; margin: 0 0 32px; text-wrap: pretty; }
.doc__jumps {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.doc__jumps a {
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.doc__body { display: flex; flex-direction: column; gap: 38px; }
.doc__body h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.doc__body p { font-size: 16.5px; color: #3c4046; margin: 0 0 12px; text-wrap: pretty; }
.doc__body ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc__body ul li {
  display: flex;
  gap: 12px;
  font-size: 16.5px;
  color: #3c4046;
}
.doc__body ul li::before { content: '\2014'; color: var(--ink); flex: none; }
.doc__cta {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius);
  padding: 34px;
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.doc__cta div { max-width: 520px; }
.doc__cta h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-2);
  margin-bottom: 26px;
}
.breadcrumb a { text-decoration: none; padding: 4px 0; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- utilities ---------- */

.meta-list { display: flex; flex-direction: column; gap: 18px; font-size: 16px; }
.meta-list dt { color: var(--muted-2); font-size: 13px; margin-bottom: 3px; }
.meta-list dd { font-weight: 500; margin: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.mt-28 { margin-top: 28px; }
.mb-40 { margin-bottom: 40px; }
.mb-44 { margin-bottom: 44px; }
.narrow { max-width: 620px; }
.self-start { align-self: start; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  :root { --gutter: 24px; }

  .split,
  .split--even,
  .split--wide-first,
  .hero__grid,
  .policies { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .role-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .role-row .btn { justify-self: start; }

  .policies__aside { position: static; max-height: none; overflow: visible; }

  .panel .container { padding-top: 56px; padding-bottom: 56px; }
  .section { padding-top: 48px; padding-bottom: 48px; }

  .cta-band,
  .cta-band--tall { padding: 36px 28px; }
  .doc__cta { padding: 28px; }
}

@media (max-width: 560px) {
  .form { padding: 24px; }
  .form__pair { grid-template-columns: minmax(0, 1fr); }
  .card, .card-dark { padding: 24px; }
  .data-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .btn { padding: 14px 22px; }
  .btn-row .btn { flex: 1 1 auto; text-align: center; }
  .stat__num { font-size: 38px; }
  .h2 { font-size: 30px; }
}
