:root {
  --ink: #1f2a44;
  --ink-soft: #4a5571;
  --paper: #faf7f1;
  --paper-deep: #f1ebdf;
  --accent: #a3743b;
  --line: #e2d9c8;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink-soft);
}
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 110px 0 100px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 1.05;
  margin: 0 0 26px;
  max-width: 16ch;
}
.hero p.lead {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 0 38px;
}
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.btn:hover { background: #2c3a5c; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  margin-left: 12px;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--paper-deep); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.section-head p { color: var(--ink-soft); margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card { background: var(--paper); padding: 40px 34px; }
section.alt .card { background: var(--paper-deep); }
.card .num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 14px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 12px;
}
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.split h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.1;
  margin: 0;
}
.split p { color: var(--ink-soft); margin: 0 0 18px; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  padding: 26px 0 26px 64px;
  border-top: 1px solid var(--line);
  position: relative;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 24px;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--accent);
}
.steps strong { display: block; font-size: 18px; margin-bottom: 4px; }
.steps span { color: var(--ink-soft); font-size: 16px; }

/* Contact */
.contact {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.contact h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 54px);
  margin: 0 0 16px;
}
.contact p { color: #c9cfdc; max-width: 560px; margin: 0 auto 34px; }
.contact .btn { background: var(--paper); color: var(--ink); }
.contact .btn:hover { background: var(--white); }
.contact .mail { display: block; margin-top: 22px; color: #c9cfdc; font-size: 15px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Legal pages */
.legal { padding: 80px 0 100px; }
.legal .wrap { max-width: 760px; }
.legal h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 54px);
  margin: 0 0 8px;
}
.legal .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 40px; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  margin: 40px 0 10px;
}
.legal p, .legal li { color: var(--ink-soft); }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .nav { display: none; }
  .hero { padding: 72px 0 64px; }
  section { padding: 72px 0; }
  .wrap { padding: 0 16px; }
  .btn-ghost { margin: 12px 0 0; }
}
