/* ============================================================
   Social Media Justice Help Now — design-faithful build
   Layout and palette follow the user's uploaded design image
   ("A clearer path to a free case review"):
   pale blue page #E7EEF4, deep navy #14304D serif headlines,
   teal #0E6E63 accents / checks / progress, white cards.
   HTML + CSS only.
   ============================================================ */

:root {
  --navy: #14304D;
  --navy-deep: #10263F;
  --ink: #22364C;
  --slate: #44586C;
  --muted: #5A6B7C;
  --teal: #0E6E63;
  --teal-tint: #D9EBE7;
  --page: #E7EEF4;
  --line: #D5DEE7;
  --track: #DDE5EC;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Inter", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.site-header { background: #ffffff; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 27px;
  letter-spacing: 0.04em; color: var(--navy); line-height: 1.1;
}
.brand-sub { font-family: var(--serif); font-size: 16.5px; color: var(--navy); margin-top: 2px; }
.header-cta { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--navy); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { padding: 46px 0 58px; }
.hero-grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: 52px; align-items: start;
}
.eyebrow {
  margin: 6px 0 14px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: #33506B;
}
.hero-title {
  font-family: var(--serif); font-weight: 700; color: var(--navy-deep);
  font-size: 54px; line-height: 1.08; margin: 0 0 20px;
}
.hero-sub { font-family: var(--serif); font-size: 19.5px; color: var(--ink); margin: 0 0 22px; max-width: 540px; }

.check-list { list-style: none; margin: 0 0 30px; padding: 0; }
.check-list li {
  position: relative; padding-left: 32px; margin-bottom: 10px;
  font-size: 17px; color: var(--navy-deep);
}
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 800; font-size: 19px;
}

/* Photo placeholder box (swap for an <img> — see index.html) */
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.photo-box {
  aspect-ratio: 8 / 5;
  background: linear-gradient(150deg, #CFDCE8, #AEC4D8);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.photo-box span {
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: #33506B;
}
.hero-photo figcaption { font-style: italic; font-size: 13.5px; color: var(--slate); margin-top: 8px; }

/* ---------- Form card ---------- */
.form-card {
  background: #ffffff; border-radius: 10px;
  box-shadow: 0 24px 55px rgba(16, 38, 63, 0.18);
  padding: 34px 38px 30px;
}
.form-title { font-family: var(--serif); font-weight: 700; font-size: 31px; color: var(--navy-deep); margin: 0 0 6px; }
.form-sub { font-size: 15.5px; color: var(--muted); margin: 0 0 20px; }

.form-steps {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14.5px; color: #8593A1; margin-bottom: 10px;
}
.step--active { color: var(--teal); font-weight: 700; }
.step-arrow { color: #8593A1; }
.progress { height: 6px; border-radius: 999px; background: var(--track); margin-bottom: 24px; overflow: hidden; }
.progress-fill { display: block; height: 100%; width: 33%; background: var(--teal); border-radius: 999px; }

.form-frame {
  height: 730px; overflow: auto; border-radius: 6px;
  -webkit-overflow-scrolling: touch;
}
.form-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-note-strong { text-align: center; font-weight: 600; color: var(--navy-deep); font-size: 15.5px; margin: 22px 0 4px; }
.form-note { text-align: center; font-size: 13.5px; color: var(--muted); margin: 0 0 4px; }
.form-note a { color: var(--teal); }

/* ---------- What happens next ---------- */
.next { background: #ffffff; padding: 42px 0 48px; }
.next-title { font-family: var(--serif); font-weight: 700; font-size: 35px; color: var(--navy-deep); margin: 0 0 30px; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.next-step { display: flex; gap: 16px; padding: 0 30px; }
.next-step:first-child { padding-left: 0; }
.next-step + .next-step { border-left: 1px solid var(--line); }
.next-num {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal-tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.next-step h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 700; color: var(--navy-deep); }
.next-step p { margin: 0; font-size: 14.5px; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: #ffffff; border-top: 1px solid var(--line); padding: 20px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-legal-text p { margin: 0 0 3px; font-size: 12.5px; color: var(--slate); }
.footer-links { display: flex; gap: 26px; padding-top: 2px; }
.footer-links a { font-size: 13.5px; color: var(--teal); text-decoration: underline; white-space: nowrap; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero { padding: 34px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-title { font-size: 40px; }
  .form-card { padding: 28px 22px 26px; }
  .form-frame { height: 480px; }
  .next-grid { grid-template-columns: 1fr; gap: 26px; }
  .next-step { padding: 0; }
  .next-step + .next-step { border-left: 0; }
  .footer-inner { flex-direction: column; gap: 12px; }
  .brand-name { font-size: 22px; }
  .header-cta { font-size: 16px; }
}
