:root {
  --ink: #17324d;
  --muted: #64778b;
  --line: #dce5eb;
  --paper: #fbfcfa;
  --soft: #eef5f2;
  --accent: #ed765f;
  --accent-dark: #bd4e3b;
  --max-width: 920px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 280px;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

a:focus-visible {
  outline: 3px solid rgba(237, 118, 95, 0.45);
  outline-offset: 4px;
}

.wrapper {
  margin: 0 auto;
  max-width: var(--max-width);
  padding-left: 28px;
  padding-right: 28px;
  width: 100%;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.header-nav,
.footer-inner nav,
.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.header-nav a,
.footer-inner a,
.home-footer a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.header-nav a:hover,
.footer-inner a:hover,
.home-footer a:hover {
  color: var(--accent-dark);
}

.content {
  padding-bottom: 88px;
  padding-top: 72px;
}

.narrow-content {
  max-width: 760px;
}

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

h1,
h2 {
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  margin: 0 0 18px;
}

h2 {
  font-size: 1.35rem;
  margin: 44px 0 12px;
}

p,
ul,
address {
  margin: 0 0 18px;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 42px;
  max-width: 650px;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 7px;
  padding-left: 4px;
}

address {
  font-style: normal;
}

.contact-card {
  background: var(--soft);
  border-left: 4px solid var(--accent);
  margin: 36px 0 44px;
  padding: 26px 28px 30px;
}

.contact-card h2 {
  margin-top: 0;
}

.button {
  background: var(--accent);
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  padding: 10px 16px;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-dark);
  color: #fff;
}

.notice {
  background: #fff4e8;
  border: 1px solid #f1d5b4;
  margin-top: 42px;
  padding: 22px 24px 4px;
}

.notice strong {
  color: #8c4c17;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  align-items: flex-start;
  padding-bottom: 28px;
  padding-top: 28px;
}

.home-page {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.home-content {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
  width: 100%;
}

.home-content h1 {
  font-size: clamp(2.7rem, 10vw, 7rem);
  margin: 0;
}

.home-footer {
  padding: 28px;
  text-align: center;
  width: 100%;
}

.home-footer nav {
  justify-content: center;
}

@media (max-width: 600px) {
  .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .header-nav {
    gap: 8px 16px;
  }

  .content {
    padding-bottom: 60px;
    padding-top: 48px;
  }

  .lead {
    margin-bottom: 32px;
  }

  .contact-card {
    padding: 22px 20px 26px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 14px;
  }
}
