:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-muted: #eeece5;
  --ink: #171717;
  --muted: #5d625f;
  --line: #d9d5c9;
  --accent: #8f3f2f;
  --accent-dark: #672d23;
  --blue: #23566b;
  --blue-soft: #dfeaec;
  --focus: #1f6feb;
  --shadow: 0 16px 40px rgba(23, 23, 23, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

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

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 0.85rem;
}

.skip-link:focus {
  top: 1rem;
}

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

.nav-wrap,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.94rem;
}

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

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.15;
}

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

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

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

.hero {
  padding: 72px 0 42px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

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

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

h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.lede {
  max-width: 720px;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.notice {
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 6px;
  background: var(--surface);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.notice strong {
  display: block;
  margin-bottom: 0.35rem;
}

.notice p,
.small {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-header p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.15rem;
}

.card h3 {
  margin-bottom: 0.55rem;
}

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

.card-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-soft);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.band p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.content {
  max-width: 820px;
}

.content > * + * {
  margin-top: 1rem;
}

.content h2 {
  margin-top: 2.2rem;
}

.content h2:first-child {
  margin-top: 0;
}

.content ul {
  padding-left: 1.25rem;
}

.info-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1rem;
  margin-top: 1rem;
}

.info-block h3 {
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.embed-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: var(--shadow);
}

.embed-block h3 {
  margin-bottom: 0.5rem;
}

.embed-frame {
  width: 100%;
  min-height: 428px;
  border: 0;
  border-radius: 8px;
  margin-top: 1rem;
  background: var(--surface-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.65rem 0.75rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
a:focus,
button:focus {
  outline: 3px solid rgba(31, 111, 235, 0.25);
  outline-offset: 2px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.footer-inner p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

.footer-links a {
  color: #fff;
  font-size: 0.92rem;
}

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

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .band {
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding-top: 44px;
  }

  .site-nav {
    gap: 0.75rem;
  }

  .nav-cta {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
