:root {
  --carmine-red: #bd293a;
  --carmine-red-deep: #C2283B;
  --carmine-orange: #fa8322;
  --carmine-teal: #03809e;
  --carmine-teal-alt: #009788;
  --ink: #292929;
  --muted: #666;
  --paper: #fff;
  --soft: #f3f3f3;
  --line: #dedede;
  font-family: Roboto, "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: inherit; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 34px;
}

.site-header--overlay {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.site-header--solid {
  color: #fff;
  background: #242424;
  border-bottom: 4px solid var(--carmine-red);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .14);
}

.brand {
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
  text-transform: uppercase;
}

.site-nav a { text-decoration: none; }

.hero--full {
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(90deg, rgba(35, 35, 35, .74), rgba(35, 35, 35, .42), rgba(35, 35, 35, .08)), var(--hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 136px 42px 76px;
}

.hero__content { max-width: 560px; }

.eyebrow {
  display: inline-block;
  background: var(--carmine-red);
  padding: 7px 12px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.03;
  margin: 16px 0;
}

.hero p { font-size: 18px; }

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.button--primary {
  background: var(--carmine-orange);
  color: #fff;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, .8);
  color: #fff;
}

.page-hero,
.page-title {
  padding: 132px 0 54px;
  background: var(--carmine-red);
  color: #fff;
}

.content-band { padding: 48px 0; }

.heading-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.heading-list li {
  border: 1px solid var(--line);
  padding: 14px;
  background: #fff;
}

.copy {
  max-width: 860px;
  color: var(--muted);
}

.legacy-main,
.legal-main {
  padding: 126px 0 52px;
  background: var(--soft);
}

.legacy-main .content-band,
.legal-main .content-band {
  border: 1px solid var(--line);
  background: #fff;
}

.legacy-main h1::after,
.legal-main h1::after,
.article h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 8px;
  margin-top: 12px;
  background: var(--carmine-teal);
}

.article,
.simple-main {
  padding-top: 126px;
  padding-bottom: 52px;
}

.local-form {
  padding: 42px 0;
  background: #fff7f7;
  border-top: 1px solid var(--line);
}

.local-form h2 {
  margin-top: 0;
  color: var(--carmine-red-deep);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  min-width: 0;
}

.form-grid input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font: inherit;
}

.site-footer {
  background: #242424;
  color: #fff;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  margin-right: 14px;
  color: #fff;
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    display: block;
    padding: 16px 20px;
  }

  .site-nav {
    margin-top: 12px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero--full { padding: 152px 24px 56px; }

  .site-footer { display: block; }
}
