:root {
  --bg: #f4f1e9;
  --paper: #fbfaf6;
  --sand: #e9e4d8;
  --ink: #1f211f;
  --muted: #6c6e64;
  --line: rgba(31, 33, 31, .14);
  --dark: #171918;
  --dark-2: #202320;
  --gold: #b5924c;
  --gold-deep: #806525;
  --gold-light: #d8bf82;
  --white: #fffef9;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--gold-light); color: var(--dark); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(23, 25, 24, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--white);
}
.header-inner { min-height: 68px; display: flex; align-items: center; gap: 36px; }
.wordmark { display: inline-flex; align-items: baseline; font-size: 23px; font-weight: 790; letter-spacing: -.06em; }
.wordmark b { color: var(--gold); font-size: 1.15em; }
.wordmark span:last-child { font-weight: 520; }
.nav { display: flex; gap: 26px; font-size: 14px; color: rgba(255,255,255,.66); margin-left: auto; }
.nav a { transition: color .15s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 680; font-size: 15px; letter-spacing: -.01em;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.button-small { min-height: 38px; padding: 0 18px; font-size: 14px; }
.button-primary { background: var(--gold); color: #11120f; }
.button-primary:hover { background: #c9a961; }
.button-ghost { border-color: rgba(255,255,255,.2); color: var(--white); }
.button-ghost:hover { border-color: rgba(255,255,255,.5); }
.button-line { border-color: rgba(31,33,31,.3); color: var(--ink); }
.button-line:hover { border-color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--dark); color: var(--white); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: var(--gold); filter: blur(130px); opacity: .13; top: -320px; left: -120px; pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px;
  align-items: center; padding: 96px 0 88px;
}
.hero h1 {
  font-size: clamp(44px, 5.6vw, 80px); line-height: .98; letter-spacing: -.055em; font-weight: 720;
  max-width: 13ch;
}
.hero-lead {
  margin-top: 28px; max-width: 56ch;
  color: rgba(255,255,255,.7); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; letter-spacing: -.01em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 18px; color: rgba(255,255,255,.45); font-size: 13.5px; }

/* board: what lives in the one back office */
.board {
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  padding: 10px; box-shadow: 0 40px 120px rgba(0,0,0,.4);
}
.board-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 14px; color: rgba(255,255,255,.5); font-size: 12.5px;
}
.board-bar strong { color: var(--white); font-weight: 640; letter-spacing: -.01em; font-size: 13.5px; }
.board-row {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start;
  padding: 14px 12px; border-top: 1px solid rgba(255,255,255,.08);
}
.board-row > span { color: var(--gold-light); font-size: 13px; font-weight: 640; padding-top: 5px; }
.board-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.board-chips a, .board-chips i {
  font-style: normal; font-size: 13px; line-height: 1; padding: 8px 11px; border-radius: 8px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.06);
}
.board-chips a:hover { border-color: rgba(216,191,130,.6); color: var(--white); }
.board-foot {
  margin-top: 4px; padding: 14px 12px; border-top: 1px solid rgba(255,255,255,.08);
  border-radius: 0 0 10px 10px; background: rgba(181,146,76,.1);
  font-size: 13.5px; color: rgba(255,255,255,.8);
}

/* ---------- proof strip ---------- */
.proof { background: var(--sand); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { padding: 30px 28px 30px 0; }
.proof-grid div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.proof-grid strong { display: block; font-size: 19px; letter-spacing: -.03em; line-height: 1.25; }
.proof-grid span { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-tight { padding: 80px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-sand { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-paper { background: var(--paper); }

.kicker { color: var(--gold-deep); font-size: 14px; font-weight: 680; margin-bottom: 14px; }
.section-dark .kicker, .hero .kicker, .page-hero .kicker { color: var(--gold-light); }

.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head h2, .h2 {
  font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.045em; font-weight: 700;
}
.section-head p.sub { margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 62ch; }
.section-dark .section-head p.sub { color: rgba(255,255,255,.62); }

/* product rows on the landing */
.prod { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; padding: 56px 0; border-top: 1px solid var(--line); }
.prod:last-child { border-bottom: 1px solid var(--line); }
.prod h3 { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.045em; line-height: 1.05; font-weight: 700; }
.prod .prod-lead { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 42ch; }
.prod .more { display: inline-block; margin-top: 24px; font-weight: 680; font-size: 15px; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.prod .more:hover { color: var(--gold-deep); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.ticks li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.ticks li b { display: block; font-weight: 660; letter-spacing: -.015em; }
.ticks li span { color: var(--muted); font-size: 14.5px; }
.section-dark .prod { border-color: rgba(255,255,255,.12); }
.section-dark .prod .prod-lead, .section-dark .ticks li span { color: rgba(255,255,255,.58); }
.section-dark .ticks li { border-color: rgba(255,255,255,.12); }

/* three reasons */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.reasons h3 { font-size: 22px; letter-spacing: -.035em; line-height: 1.2; padding-top: 20px; border-top: 2px solid var(--gold); }
.reasons p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.section-dark .reasons p { color: rgba(255,255,255,.6); }

/* steps: a real sequence */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { list-style: none; counter-increment: s; padding: 0 28px 0 0; position: relative; }
.steps { margin: 0; padding: 0; }
.steps li::before {
  content: counter(s); display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold);
  color: var(--gold-deep); font-weight: 700; font-size: 15px; margin-bottom: 20px; background: var(--bg);
  position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 19px; left: 38px; right: 0; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-size: 18px; letter-spacing: -.03em; }
.steps span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* CTA band */
.cta { background: var(--dark); color: var(--white); padding: 96px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: var(--gold); filter: blur(140px); opacity: .12; bottom: -360px; right: -100px;
}
.cta-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
.cta h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -.05em; }
.cta p { margin-top: 18px; color: rgba(255,255,255,.64); font-size: 18px; max-width: 52ch; }
.cta-side { display: grid; gap: 14px; justify-items: start; }
.cta-mail { font-size: clamp(22px, 2.2vw, 30px); font-weight: 680; letter-spacing: -.04em; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px; }
.cta-mail:hover { border-color: var(--gold); color: var(--gold-light); }
.cta-side small { color: rgba(255,255,255,.45); font-size: 13.5px; }

/* ---------- module page ---------- */
.page-hero { background: var(--dark); color: var(--white); padding: 72px 0 84px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: var(--gold); filter: blur(130px); opacity: .12; top: -300px; right: -80px;
}
.page-hero .container { position: relative; }
.crumb { color: rgba(255,255,255,.5); font-size: 14px; }
.crumb:hover { color: var(--white); }
.page-hero h1 {
  margin-top: 40px; font-size: clamp(40px, 5.2vw, 72px); line-height: 1; letter-spacing: -.055em; font-weight: 720; max-width: 17ch;
}
.page-hero .hero-lead { max-width: 64ch; }

.facts { background: var(--sand); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-grid div { padding: 34px 32px 34px 0; }
.facts-grid div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.facts-grid strong { display: block; font-size: 20px; letter-spacing: -.03em; line-height: 1.25; }
.facts-grid span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

.group { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; padding: 64px 0; border-top: 1px solid var(--line); }
.group:first-child { border-top: 0; padding-top: 0; }
.group h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.04em; line-height: 1.08; font-weight: 700; }
.group .group-lead { margin-top: 14px; color: var(--muted); font-size: 16.5px; max-width: 40ch; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.feat { padding: 18px 0; border-bottom: 1px solid var(--line); }
.feat b { display: block; font-size: 16.5px; letter-spacing: -.02em; font-weight: 660; }
.feat span { display: block; margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.55; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--paper); transition: border-color .15s ease; }
.related-card:hover { border-color: var(--gold); }
.related-card strong { display: block; font-size: 22px; letter-spacing: -.04em; }
.related-card p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- footer ---------- */
.footer { background: #111311; color: var(--white); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-mark { font-size: 28px; }
.footer p { color: rgba(255,255,255,.45); margin-top: 14px; font-size: 14.5px; max-width: 30ch; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; color: rgba(255,255,255,.62); }
.footer-col b { color: rgba(255,255,255,.4); font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; color: rgba(255,255,255,.35); font-size: 12.5px; }

.legal-page { padding: 104px 0; min-height: 70vh; }
.legal-container { max-width: 760px; }
.legal-page h1 { font-size: 56px; letter-spacing: -.055em; margin: 10px 0 40px; line-height: 1; }
.legal-page p { color: var(--muted); line-height: 1.8; font-size: 17px; margin-bottom: 18px; }
.legal-page a { color: var(--gold-deep); text-decoration: underline; }
.legal-note { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px !important; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .prod, .group, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { padding: 72px 0 64px; }
  .hero h1 { max-width: 16ch; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reasons { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .steps li:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 20px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .nav { display: none; }
  .header-inner { justify-content: space-between; min-height: 60px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .ticks, .feats, .facts-grid, .proof-grid, .related-grid, .steps { grid-template-columns: 1fr; }
  .proof-grid div, .facts-grid div { padding: 22px 0; }
  .proof-grid div + div, .facts-grid div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps li::after { display: none; }
  .steps { gap: 28px; }
  .prod { padding: 40px 0; }
  .group { padding: 44px 0; }
  .board-row { grid-template-columns: 1fr; gap: 8px; }
  .board-row > span { padding-top: 0; }
  .page-hero { padding: 48px 0 60px; }
  .page-hero h1 { margin-top: 28px; }
  .cta { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-actions .button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.feat span a, .ticks span a { color: var(--gold-deep); font-weight: 640; border-bottom: 1px solid rgba(128,101,37,.4); }
.feat span a:hover { border-color: var(--gold-deep); }

#contact { scroll-margin-top: 68px; }
