:root {
  --yellow: #f0c92e;
  --gold: #d5b640;
  --olive: #a29258;
  --paper: #f2f2f3;
  --ink: #0b0c0c;
  --ink-soft: rgba(11, 12, 12, 0.68);
  --ink-faint: rgba(11, 12, 12, 0.42);
  --line: rgba(11, 12, 12, 0.1);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
  --header: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Manrope, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.brand span:not(.brand-mark) {
  color: var(--yellow);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  font-family: Syne, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 8px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  padding: 28px 0 72px;
}

.hero-copy h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 14ch;
  margin: 18px 0 18px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}

.hero-copy p {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-visual {
  margin-top: 12px;
}

.hero-visual img {
  width: 100%;
  height: min(72vh, 640px);
  object-fit: cover;
  border-radius: var(--radius);
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head h2,
.block-title {
  font-family: Syne, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.muted {
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
}

.stats strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 2.4rem;
  letter-spacing: -0.05em;
}

.stats span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cat-card {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--paper);
}

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 12, 0.08) 20%, rgba(11, 12, 12, 0.78) 100%);
}

.cat-card .num {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  font-family: Syne, sans-serif;
  color: var(--yellow);
}

.cat-card .body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  z-index: 1;
}

.cat-card h3 {
  font-family: Syne, sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 200px;
}

.step b {
  display: block;
  color: var(--gold);
  font-family: Syne, sans-serif;
  margin-bottom: 16px;
}

.step h3 {
  font-family: Syne, sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.masonry {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: 280px 220px;
  gap: 16px;
}

.masonry figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.masonry figure:first-child {
  grid-row: 1 / 3;
}

.masonry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masonry figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq p {
  margin-top: 10px;
  color: var(--ink-soft);
  max-width: 68ch;
}

.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.cta-band h2 {
  font-family: Syne, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  margin: 8px 0 12px;
}

.form {
  display: grid;
  gap: 10px;
}

.form input,
.form select {
  height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #171818;
  color: var(--paper);
}

.form .btn {
  width: 100%;
}

.form-ok {
  display: none;
  color: var(--yellow);
  font-weight: 700;
}

.form.is-ok .fields {
  display: none;
}

.form.is-ok .form-ok {
  display: block;
}

.site-footer {
  padding: 48px 0 32px;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.split-hero {
  min-height: calc(100vh - var(--header));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px 0 48px;
}

.split-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 640px;
  color: var(--paper);
}

.split-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 12, 0.1), rgba(11, 12, 12, 0.78));
}

.split-card .content {
  position: absolute;
  inset: auto 28px 28px;
  z-index: 1;
}

.split-card h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 8px 0 14px;
}

.home-intro {
  padding: 40px 0 8px;
}

.home-intro h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  max-width: 16ch;
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .section-head,
  .about-grid,
  .cards-3,
  .steps,
  .masonry,
  .cta-band,
  .split-hero {
    grid-template-columns: 1fr;
  }

  .masonry {
    grid-template-rows: auto;
  }

  .masonry figure,
  .masonry figure:first-child {
    min-height: 240px;
    grid-row: auto;
  }

  .hero-visual img,
  .split-card {
    height: 420px;
    min-height: 420px;
  }

  .cta-band {
    padding: 32px 22px;
  }

  .section {
    padding: 64px 0;
  }
}
