:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #f4f4f4;
  color: #111111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

button,
a.button {
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #111111;
  color: #ffffff;
  padding: 0.85rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.topbar.hidden {
  display: none;
}

.topbar p {
  margin: 0;
  font-weight: 600;
}

.topbar button {
  background: #c8102e;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 3rem 0;
  position: relative;
  background: transparent;
  border-bottom: none;
  overflow: hidden;
  min-height: auto;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.brand-header {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.brand-header img {
  height: 108px;
  width: auto;
  display: block;
}

.hero-copy .brand-pill {
  display: inline-block;
  background: #111111;
  color: #ffffff;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy p {
  color: #111111;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
}

.hero p {
  margin: 0 0 1.65rem;
  max-width: 42rem;
  color: #475569;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
  overflow-x: auto;
}

.hero-actions::-webkit-scrollbar {
  display: none;
}

.button {
  padding: 0.95rem 1.35rem;
  border-radius: 0.95rem;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #c8102e;
  color: #ffffff;
}

.button-secondary,
.button-outline {
  background: #f5f5f5;
  color: #111111;
}

.button-outline {
  border: 1px solid #c1c1c1;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.hero-card strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.hub {
  margin-top: 2.5rem;
}

.hub h2 {
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.2rem;
  padding: 1.6rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card p {
  margin: 0 0 1.25rem;
  color: #475569;
}

.capture-form-section {
  margin-top: 3rem;
}

.form-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 2rem;
}

.form-panel h2 {
  margin-top: 0;
}

.form-panel p {
  color: #475569;
  margin-bottom: 1.75rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="file"] {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.95rem;
  margin-bottom: 1.25rem;
  background: #f8fafc;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-content {
  width: min(540px, 100%);
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.18);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  color: #475569;
  font-size: 1.5rem;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem 3rem;
    min-height: 62vh;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 1rem;
  }

  .hero {
    padding: 2rem 0 2.5rem;
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
