:root {
  --ink: #16181d;
  --ink-2: #3a3f4a;
  --muted: #5b6270;
  --paper: #f6f3ee;
  --paper-2: #ece7df;
  --line: #d9d2c7;
  --accent: #b4532a;
  --accent-ink: #8f3f1d;
  --radius: 4px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  overflow-x: clip;
}

a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }

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

.skip {
  position: absolute; left: 12px; top: -48px;
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: var(--radius); z-index: 10;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(246, 243, 238, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; letter-spacing: .14em; font-size: 15px;
}
.brand__mark { width: 28px; height: 28px; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav > a { text-decoration: none; color: var(--ink-2); }
.nav > a:hover { color: var(--accent-ink); }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang button {
  font: 600 12px/1 var(--sans); letter-spacing: .08em;
  padding: 7px 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Hero */
.hero { padding: clamp(72px, 14vw, 168px) 0 clamp(64px, 10vw, 120px); }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--accent-ink);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(40px, 7vw, 76px); max-width: 15ch; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 56ch; margin-top: 26px; }

.btn {
  display: inline-block; margin-top: 36px;
  padding: 14px 26px; border-radius: var(--radius);
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  transition: background .15s ease;
}
.btn:hover { background: var(--accent-ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--paper-2); }
.section h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 44px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 22px; }
.steps__num { font: 700 13px/1 var(--sans); letter-spacing: .14em; color: var(--accent-ink); }
.steps h3 { font-size: 26px; margin: 14px 0 10px; }
.steps p { color: var(--ink-2); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--ink-2); }

.contact { background: var(--ink); color: var(--paper); border-top: 0; }
.contact .lead { color: #c9c4bb; }
.contact__addr { margin-top: 22px; font-size: 15px; color: #c9c4bb; }
.contact__addr a { text-decoration-color: rgba(201, 196, 187, .5); text-underline-offset: 3px; }

.foot { background: var(--ink); color: #8d8a84; font-size: 14px; border-top: 1px solid #2a2d34; }
.foot__inner { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; flex-wrap: wrap; }

@media (max-width: 820px) {
  .steps, .grid { grid-template-columns: 1fr; gap: 28px; }
  .nav > a { display: none; }
}
