/* Page components: header, hero, buttons, sections, form, footer. */

/* Header / brand */
header {
  padding: 26px 0 0;
}
.brand {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand span {
  color: var(--warm);
}

/* Hero */
.hero {
  padding: 54px 0 40px;
  text-align: center;
}
.hero h1 {
  font-size: 2.35rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0.2em 0 0.35em;
  font-weight: 800;
}
.hero p.sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
}
.tagline {
  font-size: 1.05rem;
  font-style: italic;
  margin-top: -12px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--warm);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover {
  background: var(--warm-dark);
}
.btn.big {
  font-size: 1.15rem;
  padding: 17px 34px;
}

.reassure {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 12px;
}
.reassure.is-error {
  color: var(--danger);
}

/* Sections */
section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

/* Problem */
.problem p {
  font-size: 1.22rem;
}
.problem strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.4em;
  color: var(--ink);
}

/* How it works */
.steps {
  display: grid;
  gap: 18px;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.num {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--warm);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
}
.step h3 {
  margin: 0.1em 0 0.2em;
  font-size: 1.12rem;
}
.step p {
  margin: 0;
  color: var(--muted);
}

/* What you get */
.get {
  display: grid;
  gap: 14px;
}
.get li {
  list-style: none;
}
.get .item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check {
  color: var(--warm);
  font-weight: 800;
  flex: 0 0 auto;
}

/* Trust */
.trust {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.trust h2 {
  margin-top: 0;
}
.trust p {
  margin: 0.4em 0;
  color: var(--muted);
}
.trust strong {
  color: var(--ink);
}

/* Offer */
.offer {
  text-align: center;
}
.offer .price {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.2em 0;
}
.offer .fine {
  color: var(--muted);
  font-size: 0.98rem;
}

/* FAQ */
details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::after {
  content: "+";
  float: right;
  color: var(--warm);
  font-weight: 800;
}
details[open] summary::after {
  content: "–";
}
details p {
  color: var(--muted);
  margin: 0.6em 0 0;
}

/* Capture form */
form.capture {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 22px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
form.capture input[type="email"] {
  flex: 1 1 240px;
  padding: 15px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 1.05rem;
  background: #fff;
}

/* Honeypot: visually removed, kept in the DOM for bots to fill. */
.honeypot {
  position: absolute;
  left: -9999px;
}

#capture-success {
  font-size: 1.1rem;
  color: var(--warm-dark);
  font-weight: 700;
  margin-top: 18px;
}

/* Footer */
footer {
  padding: 36px 0 60px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
footer a {
  color: var(--muted);
}

.cta-row {
  margin: 22px 0 0;
}

/* Post-submit confirmation banner: hidden until linked to as #thanks. */
.thanks-banner {
  display: none;
  background: var(--warm);
  color: #fff;
  text-align: center;
  padding: 14px 0;
  font-weight: 600;
}
#thanks:target {
  display: block;
}

/* Legal pages (terms, privacy) */
.legal {
  padding: 26px 22px 48px;
}
.legal h1 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.2em;
}
.legal .updated {
  color: var(--muted);
  margin: 0 0 22px;
}
.legal h2 {
  font-size: 1.25rem;
  margin: 30px 0 8px;
}
.legal h3 {
  font-size: 1.05rem;
  margin: 18px 0 6px;
}
.legal p {
  margin: 0 0 12px;
}
.legal ul {
  padding-left: 22px;
  margin: 8px 0 14px;
  display: grid;
  gap: 7px;
}
.legal li {
  list-style: disc;
}
.legal a {
  color: var(--warm-dark);
}
.legal .note {
  background: #fff7ef;
  border: 1px solid #f0d9c4;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 24px;
  font-size: 0.95rem;
}
.legal .toc {
  font-size: 0.95rem;
}

/* Intake / signup page */
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
a.brand {
  text-decoration: none;
}
.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.back-link:hover {
  color: var(--ink);
}

.form-page {
  padding: 30px 22px 10px;
}
.form-page h1 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.3em;
}
.intake-intro {
  color: var(--muted);
  margin: 0 0 26px;
}
.required-star {
  color: var(--warm);
}

.intake fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 22px;
}
.intake legend {
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0 8px;
  color: var(--ink);
}

.field {
  margin: 0 0 16px;
}
.field:last-child {
  margin-bottom: 0;
}
.field .label,
.field label.label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.field .hint {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
}

.intake input[type="text"],
.intake input[type="tel"],
.intake input[type="email"],
.intake textarea,
.intake select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.intake textarea {
  min-height: 84px;
  resize: vertical;
}
.intake input:focus,
.intake textarea:focus,
.intake select:focus {
  outline: 2px solid var(--warm);
  outline-offset: 1px;
  border-color: var(--warm);
}

.radio-group {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.radio-row {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 400;
}

.disclaimer {
  background: #fff7ef;
  border: 1px solid #f0d9c4;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 18px;
  font-size: 0.95rem;
}
.disclaimer p {
  margin: 0;
}
.disclaimer ul {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}
.disclaimer li {
  list-style: disc;
}

.consent {
  display: grid;
  gap: 14px;
}
.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.consent-row input[type="checkbox"] {
  margin-top: 4px;
  flex: 0 0 auto;
}

.submit-row {
  text-align: center;
  margin-top: 8px;
}
.intake .submit-row .btn {
  width: 100%;
  max-width: 340px;
}

#intake-success {
  text-align: center;
  padding: 20px 0 10px;
}
#intake-success h2 {
  color: var(--warm-dark);
}
#intake-success p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 1.9rem;
  }
}
