:root {
  color-scheme: light;
  --bg: #f5efe4;
  --ink: #171512;
  --muted: #5f574c;
  --lapis: #0b315f;
  --red: #8b1f22;
  --gold: #c79631;
  --paper: #fffaf1;
  --line: #d7c8b4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(11, 49, 95, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(139, 31, 34, 0.08), transparent 42%),
    var(--bg);
  color: var(--ink);
}

a {
  color: var(--lapis);
}

.home {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 44px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--lapis);
  font-size: clamp(56px, 9vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.primary {
  background: var(--lapis);
  color: white;
}

.secondary {
  color: var(--lapis);
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
}

.phone {
  width: min(100%, 390px);
  justify-self: center;
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(23, 21, 18, 0.18);
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 36px;
}

.details article,
.page {
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.details article {
  padding: 22px;
}

h2 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 22px;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.details p {
  margin: 0;
}

.page {
  width: min(820px, calc(100% - 32px));
  margin: 32px auto;
  padding: 32px;
}

.page h1 {
  font-size: clamp(40px, 7vw, 72px);
}

.page section {
  margin-top: 28px;
}

.updated,
.back {
  color: var(--muted);
}

.back {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 820px) {
  .hero,
  .details {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .lead {
    font-size: 19px;
  }

  .phone {
    max-width: 300px;
  }
}
