:root {
  --ink: #172033;
  --muted: #5f6875;
  --line: #d9dee7;
  --paper: #f7f8fb;
  --white: #ffffff;
  --blue: #275f86;
  --green: #526b5b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

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

.brand span {
  font-size: 0.98rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.92rem;
}

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

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

main {
  min-height: calc(100vh - 143px);
}

.intro,
.plain-section,
.contact-section,
.legal-page {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.intro {
  padding: clamp(52px, 9vw, 86px) 0 clamp(28px, 6vw, 54px);
}

.plain-section,
.contact-section {
  padding: clamp(34px, 7vw, 58px) 0;
  border-top: 1px solid var(--line);
}

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

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.1;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 4.25rem);
  font-weight: 820;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 780;
}

p {
  margin: 14px 0 0;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.plain-section p,
.contact-section p,
.legal-page p {
  color: var(--muted);
  font-size: 1.02rem;
}

.facts {
  display: grid;
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.facts div {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) 1fr;
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 0;
}

.facts dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.facts dd {
  margin: 0;
  font-weight: 650;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(22px, 5vw, 52px);
  align-items: start;
}

address {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer span:last-child {
  display: flex;
  gap: 14px;
  white-space: nowrap;
}

.legal-page {
  padding: clamp(46px, 8vw, 78px) 0;
}

.legal-page h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.legal-page section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.legal-page section:last-child {
  border-bottom: 0;
}

.legal-page h2 {
  margin-bottom: 10px;
  font-size: 1.34rem;
}

.updated {
  margin-top: 12px;
}

.sample-message {
  display: inline-block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink) !important;
  background: var(--paper);
  font-weight: 700;
}

.opt-in-preview {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .contact-section {
    display: flex;
  }

  address {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
    white-space: normal;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer span:last-child {
    flex-wrap: wrap;
    white-space: normal;
  }
}
