:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --ink: #20212a;
  --muted: #62656f;
  --line: #ded7cb;
  --panel: #ffffff;
  --brand: #355c7d;
  --brand-strong: #1f3f5f;
  --accent: #b58b4a;
  --success: #1d7a57;
  --shadow: 0 18px 50px rgba(32, 33, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--brand-strong);
}

.site-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button-link.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.hero,
.legal-page {
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

h2 {
  margin-top: 38px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

h3 {
  margin-top: 24px;
  font-size: 1.05rem;
}

p {
  margin: 14px 0 0;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.tile {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.tile h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.tile p {
  color: var(--muted);
}

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

.notice {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--success);
  border-radius: 8px;
  background: #eef7f2;
  color: #194f3c;
}

.section-card {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 10px;
}

.contact-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.contact-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.value {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.footer {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .site-header,
  .contact-box,
  .grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a,
  .button-link {
    flex: 1 1 auto;
  }

  .hero,
  .legal-page {
    padding: 24px;
  }
}
