:root {
  color-scheme: light;
  --bg: #F4F1EA;
  --ink: #16140F;
  --body: #4C473E;
  --muted: #6B655A;
  --line: #E6E0D3;
  --white: #FFFFFF;
  --accent: #FF5A36;
  --accent-hover: #FF7352;
  --accent-soft: #FFE6DF;
  --photo: #E8D3B9;
  --on-dark-muted: #CFC9BD;
  --on-dark-body: #E3DDD1;
  --gutter: 24px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--muted); }

a:focus-visible, summary:focus-visible, .compare:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Layout */

.wrap { max-width: 1200px; margin: 0 auto; }

.section { padding: 112px var(--gutter); }
.section--flush-top { padding-top: 0; }
.section--white { background: var(--white); }

.stack { display: flex; flex-direction: column; }
.stack--40 { gap: 40px; }
.stack--48 { gap: 48px; }

.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-head--wide { max-width: 820px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 300px), 100%), 1fr));
  gap: 20px;
}

/* Type */

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  max-width: 640px;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  padding: 18px 32px;
  transition: background-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }

.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); color: var(--ink); }

.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: #2E2A22; color: var(--bg); }

.btn--sm { padding: 12px 22px; font-size: 15px; font-weight: 600; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 17px;
}

/* Logo */

.logo { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__word { font-weight: 800; font-size: 24px; letter-spacing: -0.04em; }
.logo__pill {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 241, 234, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 720px) {
  .nav__links a:not(.btn) { display: none; }
}

/* Hero */

.hero { padding: 72px var(--gutter) 56px; }

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  max-width: 1100px;
  text-wrap: balance;
}

.mark {
  display: inline-block;
  background: var(--accent);
  border-radius: 0.26em;
  padding: 0.02em 0.18em 0.08em;
  margin-top: 0.08em;
  line-height: 1;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--body);
  max-width: 680px;
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
}

.avatars { display: flex; padding-left: 8px; }
.avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  object-fit: cover;
}
.avatars--lg { margin-top: auto; }
.avatars--lg img { width: 44px; height: 44px; border-width: 3px; }

.faces {
  max-width: 1320px;
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.face { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.face img {
  width: 104px;
  height: 128px;
  border-radius: 20px;
  object-fit: cover;
  background: var(--photo);
}
.face span {
  font-size: 12px;
  font-weight: 600;
  background: var(--white);
  border-radius: 999px;
  padding: 4px 10px;
}

@media (max-width: 520px) {
  .faces { gap: 10px; }
  .face img { width: 72px; height: 88px; border-radius: 16px; }
}

/* Logo strip */

.strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip__inner {
  padding: 28px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 56px;
}

.wordmark { font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--body); }

/* Problem */

.stat {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat__num { font-weight: 800; font-size: 56px; letter-spacing: -0.05em; line-height: 1; }
.stat__text { font-size: 18px; line-height: 1.5; }
.stat__source { font-size: 13px; color: var(--muted); margin-top: auto; }

/* Roles */

.roles-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 48px;
}
.roles-head .section-head { max-width: 640px; }

.roles { --min: 260px; gap: 16px; margin: 0; padding: 0; list-style: none; }

.role {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.role__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.role__name { margin: 0; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.role__num { font-size: 12px; font-weight: 700; color: var(--muted); }
.role p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }

/* How it works */

.steps { --min: 250px; margin: 0; padding: 0; list-style: none; }

.step {
  background: var(--bg);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.step h3 { margin: 0; font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.step p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }

.step--accent { background: var(--accent); }
.step--accent .step__num { color: var(--accent); }
.step--accent p { color: var(--ink); }

/* Comparison */

.compare { overflow-x: auto; border-radius: 24px; background: var(--white); }

.compare table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.45;
  text-align: left;
}
.compare th, .compare td { padding: 20px 24px; }
.compare thead th { padding-top: 22px; padding-bottom: 22px; font-weight: 700; }
.compare thead th:first-child { width: 18%; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 600; color: var(--muted); }
.compare thead .us { background: var(--accent); font-weight: 800; }
.compare tbody .us { background: var(--accent-soft); font-weight: 600; }

/* Pricing */

.pricing {
  background: var(--ink);
  color: var(--bg);
  border-radius: 32px;
  padding: clamp(36px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.pricing__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pricing .eyebrow { color: var(--on-dark-muted); }
.pricing .lead { color: var(--on-dark-body); max-width: 520px; }
.pricing .btn { align-self: flex-start; margin-top: 8px; }
.pricing__big {
  font-weight: 900;
  font-size: clamp(120px, 18vw, 240px);
  letter-spacing: -0.07em;
  line-height: 0.85;
  color: var(--accent);
}

/* Team */

.team { --min: 340px; }

.person {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.person > img {
  width: 120px;
  height: 140px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--photo);
}
.person__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg);
  border-radius: 999px;
  padding: 5px 10px;
}
.person__name { display: flex; align-items: center; gap: 6px; }
.person__name h3 { margin: 0; font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.person__role { font-size: 17px; font-weight: 600; }
.person__extra { font-size: 15px; color: var(--muted); margin-top: 2px; }

.linkedin {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.linkedin span {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: background-color 0.15s;
}
.linkedin:hover span { background: var(--accent); color: var(--ink); }

@media (max-width: 440px) {
  .person { flex-direction: column; align-items: flex-start; gap: 16px; }
  .person > img { width: 112px; height: 130px; }
}

.story {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.story__quote {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 880px;
  text-wrap: pretty;
}

.facts { --min: 200px; gap: 24px; margin: 0; }
.fact { display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--accent); padding-top: 14px; }
.fact dt { font-weight: 800; font-size: 40px; letter-spacing: -0.04em; line-height: 1; }
.fact dd { margin: 0; font-size: 15px; color: var(--body); }

.clients {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 36px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.clients__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.clients__list .wordmark { font-size: 22px; }

/* FAQ */

.faq-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.faq-wrap .h2 { text-align: center; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  min-height: 44px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  transition: transform 0.2s;
}
.faq details[open] .faq__plus { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 56px 24px 0; font-size: 17px; line-height: 1.6; color: var(--body); }

@media (max-width: 520px) {
  .faq summary { font-size: 18px; }
  .faq p { padding-right: 0; }
}

/* Candidates */

.candidates {
  background: var(--accent);
  border-radius: 32px;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.candidates__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.candidates .eyebrow { color: var(--ink); font-weight: 700; }
.candidates .h2 { font-size: clamp(34px, 4.5vw, 54px); }
.candidates .lead { color: var(--ink); max-width: 520px; }
.candidates .btn { align-self: flex-start; margin-top: 8px; padding: 16px 28px; }

.candidates__photos { display: flex; flex-wrap: wrap; gap: 12px; }
.candidates__photos img {
  width: 130px;
  height: 170px;
  border-radius: 20px;
  object-fit: cover;
}
.candidates__photos img:nth-child(1) { transform: rotate(-3deg); }
.candidates__photos img:nth-child(2) { transform: rotate(2deg); }
.candidates__photos img:nth-child(3) { transform: rotate(-1deg); }

@media (max-width: 520px) {
  .candidates__photos img { width: calc((100% - 24px) / 3); height: auto; aspect-ratio: 13 / 17; }
  .candidates__photos { width: 100%; }
}

/* Final CTA */

.cta { padding: 40px var(--gutter) 120px; }
.cta__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.cta h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.cta p { margin: 0; font-size: 20px; line-height: 1.5; color: var(--body); max-width: 560px; }
.cta .btn { padding: 20px 36px; font-size: 18px; }
.cta__contact { font-size: 15px; color: var(--muted); }
.cta__contact a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cta__contact a:hover { color: var(--ink); }

/* Footer */

.footer { background: var(--ink); color: var(--bg); }
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer .logo, .footer .logo:hover { color: var(--bg); }
.footer .logo__word { font-size: 22px; }
.footer .logo__pill { font-size: 13px; letter-spacing: 0; }
.footer__tagline { font-size: 15px; color: var(--on-dark-muted); }
.footer__copy { font-size: 14px; color: var(--on-dark-muted); }
