/* Shared layout for funnel step pages (page-1 … page-5, legal, contact) */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
}

.page-shell {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 24px 0 40px;
}

@media (min-width: 1024px) {
  .page-shell {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }
}

.disclosure {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.disclosure p {
  margin: 0 0 10px;
}

.content-shell {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--outline-variant);
  border-top: 3px solid var(--accent);
}

.container-inner {
  padding: 24px;
}

.hero-banner {
  margin: 0 0 16px;
  display: block;
}

.hero-banner img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  color: var(--heading);
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.25;
}

p,
li {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

ul {
  margin: 0 0 18px 24px;
}

.actions {
  margin-top: 24px;
}

.btn-link {
  appearance: none;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 20px;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--on-primary);
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 12px 24px -8px rgba(50, 79, 79, 0.35);
  transition: transform 0.18s ease, background 0.18s ease;
  min-width: 150px;
  text-align: center;
  display: inline-block;
}

.btn-link:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
}

.btn-link--secondary {
  color: var(--accent);
  background: var(--card);
  border: 2px solid var(--accent);
  box-shadow: none;
}

.btn-link--secondary:hover {
  background: var(--surface-dim, #f4f7f7);
}

.lead-emphasis {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.45;
}

button.btn-link,
.choice-grid button {
  width: 100%;
  display: block;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-grid--dual {
  margin-top: 8px;
}

.choice-grid button,
.choice-grid .btn-link {
  appearance: none;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--on-primary);
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 12px 24px -8px rgba(50, 79, 79, 0.35);
  transition: transform 0.18s ease, background 0.18s ease;
  text-align: center;
}

.choice-grid button:hover,
.choice-grid .btn-link:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
}

#under-3000-btn {
  background: var(--danger);
  box-shadow: 0 12px 24px -8px rgba(186, 26, 26, 0.28);
}

#under-3000-btn:hover {
  background: #991b1b;
}

.small-link {
  color: var(--link);
  margin-top: 16px;
  display: inline-block;
}

.call-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.call-cta {
  text-align: center;
  padding: 20px 16px;
}

.phone {
  margin: 10px 0 0;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.phone a {
  color: inherit;
  text-decoration: none;
}

.legal-section {
  margin: 0 0 24px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .container-inner {
    padding: 16px;
  }
}
