:root {
  color-scheme: light;
  --canvas: #f5f1e8;
  --paper: #fffdf8;
  --ink: #1b1b1a;
  --muted: #66625b;
  --line: #dcd5c8;
  --accent: #b92922;
  --accent-dark: #871a16;
  --shadow: 0 24px 70px rgba(31, 27, 20, 0.09);
  --radius: 24px;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 4%, rgba(185, 41, 34, 0.07), transparent 24rem),
    linear-gradient(180deg, #faf7f0 0%, var(--canvas) 54%, #eee8dd 100%);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(185, 41, 34, 0.36);
  outline-offset: 4px;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  border-bottom: 1px solid rgba(27, 27, 26, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(20, 18, 15, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.language-link {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 253, 248, 0.7);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: 70px;
  align-items: center;
  padding: 92px 0 88px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  font-weight: 650;
  letter-spacing: -0.065em;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.lede {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 27, 26, 0.16);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
}

.hero-mark {
  position: relative;
  padding: 18px;
}

.hero-mark::before {
  position: absolute;
  inset: 7% -7% -7% 7%;
  border-radius: 38% 62% 54% 46%;
  background: var(--accent);
  content: "";
  opacity: 0.92;
  transform: rotate(5deg);
}

.hero-mark img {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 28%;
  box-shadow: var(--shadow);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  padding: 24px 28px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 4px;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 94px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.card {
  min-height: 236px;
  padding: 28px;
  border: 1px solid rgba(27, 27, 26, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 12px 38px rgba(39, 32, 24, 0.045);
}

.card-number {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font: 700 0.8rem/1 var(--sans);
  place-items: center;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: center;
  padding: 48px;
  border-radius: 32px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 12px;
}

.contact-panel p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact-panel .button {
  border-color: white;
  background: white;
  color: var(--ink);
}

.document {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 66px;
  align-items: start;
  padding: 78px 0 110px;
}

.document-aside {
  position: sticky;
  top: 28px;
  padding-top: 8px;
}

.document-aside img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(20, 18, 15, 0.14);
}

.document-aside p {
  color: var(--muted);
  font-size: 0.9rem;
}

.document-body {
  padding: 48px clamp(24px, 6vw, 66px);
  border: 1px solid rgba(27, 27, 26, 0.09);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.document-body h1 {
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.document-body h2 {
  margin: 54px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.document-body p,
.document-body li {
  color: #3f3c37;
}

.document-body li + li {
  margin-top: 8px;
}

.meta {
  margin-bottom: 40px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  text-underline-offset: 4px;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 170px);
  place-items: center;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 8px;
}

@media (max-width: 800px) {
  .nav > a:not(.language-link) {
    display: none;
  }

  .hero,
  .section-heading,
  .document {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
    padding: 58px 0 66px;
  }

  .hero-mark {
    width: min(78vw, 420px);
    margin: 0 auto;
  }

  .trust-strip,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    gap: 6px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 34px 28px;
  }

  .document {
    gap: 24px;
    padding-top: 46px;
  }

  .document-aside {
    position: static;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .document-aside p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
