:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #eef3f7;
  --text: #1c2530;
  --muted: #5c6774;
  --border: #d9e0e7;
  --accent: #0f6b7a;
  --accent-dark: #0a4d58;
  --focus: #b45309;
  --shadow: 0 18px 45px rgba(28, 37, 48, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(100% - 32px, 1080px);
  margin-inline: auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

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

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

.brand-mark {
  display: inline-grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.25;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 780px;
  color: #334155;
  font-size: 1.18rem;
}

.contact-panel,
.notice {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: 28px;
}

.email-link {
  display: inline-block;
  font-weight: 700;
}

.legal-links {
  padding: 56px 0 76px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 24px;
}

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

.card {
  display: block;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(28, 37, 48, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.card:hover {
  border-color: rgba(15, 107, 122, 0.45);
  color: var(--text);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.page {
  padding: 56px 0 76px;
}

.legal-document {
  max-width: 820px;
  margin-inline: auto;
  padding: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-document h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.legal-document section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.effective-date {
  color: var(--muted);
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 1.35rem;
}

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

.notice {
  padding: 24px;
  background: var(--surface-soft);
}

.notice h2 {
  color: var(--accent-dark);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 700;
}

@media (max-width: 820px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 48px 0 40px;
  }

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

  .hero-grid {
    gap: 28px;
  }

  .card {
    min-height: 0;
  }

  .legal-document {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1080px);
  }

  .brand {
    white-space: normal;
  }

  .site-nav {
    gap: 8px 14px;
  }

  .legal-document {
    padding: 22px;
  }
}
