:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #62666d;
  --black: #050505;
  --charcoal: #17191d;
  --red: #d71920;
  --red-dark: #9e1016;
  --white: #ffffff;
  --snow: #f6f7f8;
  --silver: #cfd3d8;
  --steel: #8f98a3;
  --line: #d9dde2;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--snow);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(14px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 92px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  background: #000;
  border: 1px solid #000;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 6px;
  color: #34383e;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  color: var(--white);
  background: var(--black);
}

.header-call,
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.1;
}

.header-call,
.btn.primary {
  color: var(--white);
  background: linear-gradient(180deg, #f22830 0%, var(--red-dark) 100%);
  box-shadow: 0 12px 28px rgba(215, 25, 32, 0.28);
}

.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.btn.secondary.dark {
  color: var(--black);
  border-color: var(--silver);
  background: linear-gradient(180deg, #ffffff, #d9dde2);
}

.btn.ghost {
  color: var(--white);
  border: 1px solid rgba(207, 211, 216, 0.7);
  background: rgba(0, 0, 0, 0.36);
}

.btn.small {
  width: 100%;
  margin-top: auto;
  min-height: 44px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 76px clamp(18px, 5vw, 70px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(215, 25, 32, 0.38), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(18, 20, 24, 0.92) 48%, rgba(50, 55, 64, 0.84) 100%),
    url("assets/rivers-hero.png") center / cover no-repeat;
}

.lightbar {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(215, 25, 32, 0.18) 30%, transparent 42%),
    linear-gradient(115deg, transparent 0 58%, rgba(230, 235, 242, 0.18) 68%, transparent 78%);
  animation: sweep 4.8s linear infinite;
}

@keyframes sweep {
  0% { transform: translateX(-15%); opacity: 0.55; }
  50% { opacity: 0.95; }
  100% { transform: translateX(15%); opacity: 0.55; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-logo {
  display: block;
  width: min(540px, 100%);
  max-height: 230px;
  margin-bottom: 24px;
  object-fit: contain;
  object-position: left center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42);
}

.eyebrow {
  margin: 0 0 12px;
  color: #f2f4f7;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.hero-copy,
.page-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.5;
}

.hero-tagline {
  max-width: 720px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(24px, 3.6vw, 42px);
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.hero-art {
  position: relative;
  z-index: 1;
  min-height: 480px;
}

.police-car {
  position: absolute;
  right: 4%;
  bottom: 74px;
  width: min(440px, 88vw);
  height: 156px;
  border-radius: 68px 78px 36px 36px;
  background: linear-gradient(180deg, #ffffff 0 45%, #111 46% 100%);
  border: 5px solid #cfd3d8;
  box-shadow: var(--shadow);
}

.police-car::before {
  content: "RIVERS";
  position: absolute;
  left: 142px;
  top: 76px;
  color: var(--red);
  font-weight: 900;
  font-size: 30px;
}

.police-car .siren {
  position: absolute;
  left: 188px;
  top: -26px;
  width: 86px;
  height: 28px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(90deg, #d71920 0 50%, #f3f6fa 50%);
  box-shadow: 0 0 28px rgba(215, 25, 32, 0.8);
}

.police-car .window {
  position: absolute;
  left: 72px;
  top: 26px;
  width: 190px;
  height: 54px;
  border-radius: 46px 50px 10px 10px;
  background: linear-gradient(135deg, #aeb7c0, #f7f8fa);
  border: 4px solid #111;
}

.police-car .door {
  position: absolute;
  right: 82px;
  top: 50px;
  width: 88px;
  height: 88px;
  border-left: 4px solid #cfd3d8;
}

.police-car .wheel {
  position: absolute;
  bottom: -28px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, #cfd3d8 0 25%, #151515 27% 62%, #050505 64%);
  border: 5px solid #050505;
}

.police-car .one {
  left: 64px;
}

.police-car .two {
  right: 64px;
}

.jail-cell {
  position: absolute;
  top: 24px;
  right: 10%;
  width: 260px;
  height: 260px;
  border: 8px solid rgba(207, 211, 216, 0.86);
  border-radius: 8px;
  transform: rotate(-5deg);
  opacity: 0.9;
}

.jail-cell span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, #7d858f, #f3f5f7, #8f98a3);
}

.jail-cell span:nth-child(1) { left: 42px; }
.jail-cell span:nth-child(2) { left: 96px; }
.jail-cell span:nth-child(3) { left: 150px; }
.jail-cell span:nth-child(4) { left: 204px; }

.cuffs {
  position: absolute;
  top: 112px;
  left: 2%;
  width: 180px;
  height: 94px;
  transform: rotate(14deg);
}

.cuffs::before {
  content: "";
  position: absolute;
  left: 78px;
  top: 40px;
  width: 34px;
  height: 12px;
  background: #cfd3d8;
  border-radius: 8px;
}

.cuffs span {
  position: absolute;
  width: 82px;
  height: 82px;
  border: 12px solid #e7eaee;
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px #8f98a3, 0 8px 22px rgba(0, 0, 0, 0.3);
}

.cuffs span:first-child {
  left: 0;
}

.cuffs span:last-child {
  right: 0;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(90deg, var(--red), #111, var(--red));
}

.quick-strip a {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(24px, 6vw, 80px);
}

.intro .eyebrow,
.section .eyebrow {
  color: var(--red);
}

.intro p:last-child,
.section-heading p,
.county-card p,
.feature-card p,
.contact-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.card-band,
.form-downloads,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.download-card,
.county-card,
.contact-card,
.send-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.feature-card {
  min-height: 240px;
  padding: 24px;
  text-decoration: none;
}

.mini-icon {
  position: relative;
  display: block;
  width: 64px;
  height: 48px;
  margin-bottom: 18px;
}

.mini-icon.bars {
  background: repeating-linear-gradient(90deg, var(--steel) 0 9px, transparent 9px 20px);
  border: 4px solid var(--silver);
  border-radius: 6px;
}

.mini-icon.cuffs::before,
.mini-icon.cuffs::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 34px;
  height: 34px;
  border: 7px solid var(--steel);
  border-radius: 50%;
}

.mini-icon.cuffs::before {
  left: 0;
}

.mini-icon.cuffs::after {
  right: 0;
}

.mini-icon.lights {
  border-radius: 9px 9px 3px 3px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--silver) 50%);
  box-shadow: 0 0 24px rgba(215, 25, 32, 0.55);
}

.page-hero {
  min-height: 380px;
  display: grid;
  align-items: center;
  padding: 70px clamp(18px, 5vw, 70px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.94), rgba(28, 31, 36, 0.88)),
    url("assets/rivers-hero.png") center / cover no-repeat;
  border-bottom: 8px solid var(--red);
}

.page-hero > div {
  width: min(900px, 100%);
}

.service-hero,
.forms-hero,
.contact-hero {
  position: relative;
  overflow: hidden;
}

.service-hero::after,
.forms-hero::after,
.contact-hero::after {
  content: "";
  position: absolute;
  right: clamp(20px, 8vw, 120px);
  bottom: -30px;
  width: 220px;
  height: 220px;
  border: 12px solid rgba(207, 211, 216, 0.45);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(215, 25, 32, 0.2);
}

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

.county-card {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.county-card h2 {
  font-size: 28px;
}

.card-link {
  display: inline-flex;
  margin: 4px 0 18px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.form-downloads {
  padding-bottom: 24px;
}

.download-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--black);
  text-decoration: none;
}

.download-card strong {
  font-size: 24px;
}

.download-card span {
  color: var(--red);
  font-weight: 900;
}

.form-downloads .download-card {
  min-height: 190px;
}

.form-downloads .download-card span {
  display: inline-flex;
  width: fit-content;
  margin-top: 20px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #ffffff;
  background: linear-gradient(180deg, #f22830 0%, var(--red-dark) 100%);
  box-shadow: 0 12px 28px rgba(215, 25, 32, 0.22);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.form-section {
  padding-top: 38px;
}

.bond-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd0d6;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(215, 25, 32, 0.18);
  border-color: var(--red);
}

.full,
.full-button {
  grid-column: 1 / -1;
}

.upload-box {
  padding: 18px;
  border: 1px dashed #aeb5bd;
  border-radius: 8px;
  background: #f8f9fa;
}

.upload-box span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.send-panel {
  margin-top: 18px;
  padding: 24px;
}

.send-panel h3 {
  margin-bottom: 6px;
}

.contact-card {
  padding: 24px;
}

.contact-card p {
  color: var(--red);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 70px) 54px;
  background: var(--black);
  color: var(--white);
  border-top: 6px solid var(--red);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  nav a {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-art {
    min-height: 360px;
  }

  .intro,
  .card-band,
  .county-grid,
  .form-downloads,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px;
  }

  .brand-logo {
    width: 70px;
    height: 40px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 11px;
  }

  .header-call {
    width: 100%;
  }

  .hero,
  .page-hero {
    padding: 42px 18px;
  }

  .hero-logo {
    max-height: 160px;
    margin-bottom: 18px;
  }

  .hero-copy,
  .page-hero p {
    font-size: 17px;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .hero-art {
    min-height: 250px;
  }

  .police-car {
    right: 0;
    bottom: 54px;
    transform: scale(0.72);
    transform-origin: right bottom;
  }

  .jail-cell {
    right: 0;
    top: 0;
    transform: rotate(-5deg) scale(0.72);
    transform-origin: right top;
  }

  .cuffs {
    left: 0;
    top: 72px;
    transform: rotate(14deg) scale(0.72);
    transform-origin: left top;
  }

  .quick-strip,
  .bond-form {
    grid-template-columns: 1fr;
  }

  .quick-strip a {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .section {
    width: min(100% - 28px, 1160px);
    padding: 52px 0;
  }

  .bond-form {
    padding: 16px;
  }

  .site-footer {
    display: block;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 18px;
  }
}

/* Sharp professional refresh */
body {
  background: #ffffff;
}

.site-header {
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(207, 211, 216, 0.22);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.brand strong,
nav a {
  color: var(--white);
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  background: var(--red);
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.92) 48%, rgba(0, 0, 0, 0.72) 100%),
    url("assets/rivers-hero.png") center / cover no-repeat;
  border-bottom: 1px solid #2a2d31;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 54%, rgba(207, 211, 216, 0.14) 54% 55%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 90px);
  pointer-events: none;
}

.lightbar {
  background:
    linear-gradient(90deg, transparent 0 62%, rgba(215, 25, 32, 0.28) 68%, transparent 76%),
    linear-gradient(115deg, transparent 0 60%, rgba(245, 247, 250, 0.16) 66%, transparent 72%);
  opacity: 0.78;
}

.hero-logo {
  background: #000;
  border-color: rgba(207, 211, 216, 0.28);
}

.hero-art {
  min-height: 420px;
  display: grid;
  align-items: center;
}

.response-panel {
  position: relative;
  width: min(420px, 100%);
  margin-left: auto;
  padding: 30px;
  border: 1px solid rgba(207, 211, 216, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 10, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.response-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), #ffffff, var(--red));
}

.panel-label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 10px;
  border: 1px solid rgba(207, 211, 216, 0.32);
  border-radius: 4px;
  color: #ffffff;
  background: rgba(215, 25, 32, 0.9);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.response-panel strong,
.response-panel em {
  display: block;
}

.response-panel strong {
  color: var(--white);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.response-panel em {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-style: normal;
  line-height: 1.4;
}

.metal-lines {
  position: absolute;
  right: clamp(24px, 8vw, 110px);
  bottom: 80px;
  width: min(420px, 58vw);
  height: 130px;
  opacity: 0.42;
}

.metal-lines span {
  display: block;
  height: 8px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, rgba(207, 211, 216, 0.9), transparent);
  transform: skewX(-18deg);
}

.quick-strip {
  background: #050505;
  border-top: 1px solid rgba(207, 211, 216, 0.18);
  border-bottom: 5px solid var(--red);
}

.quick-strip a {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #050505;
}

.quick-strip a:hover,
.quick-strip a:focus-visible {
  background: var(--red);
}

.intro {
  border-bottom: 1px solid var(--line);
}

.feature-card,
.download-card,
.county-card,
.contact-card,
.send-panel,
.bond-form {
  border-color: #d6d9de;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--red);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.16);
}

.card-accent {
  display: block;
  width: 82px;
  height: 8px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--silver), #ffffff);
  box-shadow: 0 0 18px rgba(215, 25, 32, 0.32);
}

.mini-icon,
.police-car,
.jail-cell,
.cuffs {
  display: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.82)),
    url("assets/rivers-hero.png") center / cover no-repeat;
  border-bottom: 6px solid var(--red);
}

.page-hero > div {
  position: relative;
  z-index: 2;
}

.service-hero::after,
.forms-hero::after,
.contact-hero::after {
  right: -120px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  border-width: 1px;
  opacity: 0.22;
  pointer-events: none;
}

.forms-hero::after {
  display: none;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 62%, rgba(207, 211, 216, 0.16) 62% 63%, transparent 63%),
    linear-gradient(90deg, transparent 0 76%, rgba(215, 25, 32, 0.22) 94%);
  pointer-events: none;
}

.download-card {
  border-top: 5px solid var(--red);
}

.download-card strong,
.feature-card h3,
.county-card h2,
.contact-card h2 {
  color: var(--black);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: auto;
  }

  .response-panel {
    margin: 10px 0 0;
  }

  .metal-lines {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: #050505;
  }

  .response-panel {
    padding: 22px;
  }
}

/* Final premium finish */
:root {
  font-family: "Segoe UI Variable", "Segoe UI", "Roboto Condensed", "Arial", sans-serif;
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 46%, #ffffff 100%);
  font-feature-settings: "kern";
}

.brand strong,
h1,
h2,
h3,
.btn,
nav a,
.header-call {
  font-weight: 950;
}

h1 {
  font-size: 68px;
}

h2 {
  font-size: 42px;
}

.hero {
  background:
    radial-gradient(circle at 72% 18%, rgba(215, 25, 32, 0.32), transparent 22%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.99) 0%, rgba(0, 0, 0, 0.94) 48%, rgba(0, 0, 0, 0.74) 100%),
    url("assets/rivers-hero.png") center / cover no-repeat;
}

.hero::before {
  background:
    linear-gradient(120deg, transparent 0 54%, rgba(207, 211, 216, 0.16) 54% 55%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 90px),
    linear-gradient(180deg, transparent 0 82%, rgba(215, 25, 32, 0.18) 100%);
}

.hero-logo {
  filter: contrast(1.06) saturate(1.05);
}

.response-panel {
  transform: perspective(900px) rotateY(-5deg);
}

.response-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 48%, transparent 56%);
  transform: translateX(-120%);
  animation: sheen 5.5s ease-in-out infinite;
}

@keyframes sheen {
  0%, 42% { transform: translateX(-120%); }
  62%, 100% { transform: translateX(120%); }
}

.card-band,
.form-downloads,
.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card,
.download-card,
.county-card,
.contact-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f3f5f7 100%);
}

.feature-card::after,
.download-card::after,
.county-card::after,
.contact-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--silver), transparent);
  opacity: 0.85;
}

.download-card,
.contact-card {
  border-top: 5px solid var(--red);
}

.bond-form {
  background: linear-gradient(180deg, #ffffff, #f8f9fa);
}

.contact-card p {
  font-size: 38px;
}

@media (max-width: 640px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .response-panel {
    transform: none;
  }
}

/* Jail-cell campaign artwork integration */
body {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.72)),
    url("assets/jail-cell-background.png") center top / cover fixed no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 54%, rgba(0, 0, 0, 0.86) 100%),
    radial-gradient(circle at 78% 22%, rgba(215, 25, 32, 0.24), transparent 28%);
  pointer-events: none;
}

.hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 46%, rgba(0, 0, 0, 0.34) 100%),
    url("assets/jail-cell-background.png") center / cover no-repeat;
}

.hero-art {
  min-height: auto;
  align-self: center;
}

.hero-ad {
  display: block;
  width: min(760px, 100%);
  margin-left: auto;
  border: 1px solid rgba(207, 211, 216, 0.34);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  filter: contrast(1.05) saturate(1.08);
}

.hero-logo,
.response-panel,
.metal-lines {
  display: none;
}

.section {
  color: var(--white);
}

.intro {
  width: min(1160px, calc(100% - 36px));
  margin-top: 44px;
  margin-bottom: 44px;
  padding: 38px;
  border: 1px solid rgba(207, 211, 216, 0.22);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.76);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

.intro p:last-child,
.section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-card,
.download-card,
.county-card,
.contact-card,
.send-panel,
.bond-form {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 239, 242, 0.94));
}

.page-hero {
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.54)),
    url("assets/jail-cell-background.png") center / cover no-repeat;
}

.county-card .btn.small {
  color: #050505;
  border: 1px solid #9fa7b0;
  background: linear-gradient(180deg, #ffffff 0%, #cfd3d8 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.jail-address {
  margin: 12px 0 0;
  color: #30343a;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.jail-label {
  margin: auto 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.form-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 20px;
  border: 1px solid #d6d9de;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.form-group legend {
  padding: 0 8px;
  color: #050505;
  font-size: 18px;
  font-weight: 950;
}

.compact-group {
  padding-bottom: 18px;
}

.checkbox-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.checkbox-line input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.signature-pad {
  display: grid;
  gap: 10px;
}

.signature-pad label {
  color: #050505;
}

.signature-pad canvas {
  width: 100%;
  height: 320px;
  border: 2px solid #9fa7b0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 245, 247, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(215, 25, 32, 0.08) 42px 43px);
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.08);
  cursor: crosshair;
  touch-action: none;
}

.signature-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.signature-actions .btn {
  width: auto;
  min-height: 42px;
}

#signatureStatus {
  color: var(--red);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.faq-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid #d6d9de;
  border-top: 5px solid var(--red);
  border-radius: 8px;
  color: #151515;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 239, 242, 0.94));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.faq-card p {
  color: #4f555d;
  font-size: 18px;
  line-height: 1.55;
}

.rules-preview {
  padding-top: 12px;
}

.rules-preview .section-heading p,
.rules-preview .section-heading h2 {
  color: #ffffff;
}

.rules-preview a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(207, 211, 216, 0.35);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.rules-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.upload-box input[type="file"] {
  padding: 10px;
  background: #ffffff;
}

.form-group .upload-box {
  border-color: #9fa7b0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 244, 247, 0.92));
}

.signature-pad + .signature-pad {
  margin-top: 8px;
}

@media (max-width: 980px) {
  body {
    background-attachment: scroll;
  }

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

  .hero-ad {
    margin: 20px 0 0;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .intro {
    padding: 24px;
  }

  .form-group {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .signature-pad canvas {
    height: 300px;
  }

  .rules-preview {
    padding-top: 0;
  }
}
