/* RankFlow Funnel — shared styles. Deliberately plain: system fonts,
   minimal shadows, no animation libraries. Keeps it fast and matches the
   "basic, not fancy" brief. */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --gold: #b8860b;
  --text: #111111;
  --text-muted: #555555;
  --border: #e5e5e5;
  --bg: #ffffff;
  --max-width: 520px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.4;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 40px;
}

img, video, iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.logo-img {
  width: 220px;
  height: auto;
}

/* Headings */
h1 {
  font-size: 28px;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 16px;
}
h1 .accent {
  color: var(--blue);
}
h2 {
  font-size: 20px;
  text-align: center;
  margin: 32px 0 16px;
}

/* Guarantee badge */
.guarantee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  text-align: center;
  margin-bottom: 20px;
}
.guarantee-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.guarantee-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.guarantee p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Step heading + CTA */
.step-heading {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin: 24px 0 20px;
}

.btn {
  display: block;
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover, .btn:focus {
  background: var(--blue-dark);
}

.fine-print {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: 10px 0 0;
}

.social-proof-cta {
  text-align: center;
  font-weight: 700;
  font-size: 17px;
  margin: 28px 0 16px;
}

/* Video testimonial card */
.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 480px;
  background: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 4px;
}
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.play-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 3px;
}
.video-placeholder-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  color: #ccc;
  font-size: 11px;
  text-align: center;
  pointer-events: none;
}

.testimonial-quote {
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  margin: 10px 0 2px;
}
.testimonial-attribution {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 28px;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 16px;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
}
.modal h2 {
  margin: 0 0 20px;
  font-size: 20px;
  text-align: left;
}

.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.radio-option input {
  width: 16px;
  height: 16px;
}

/* Booking page pieces */
.report-heading {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin: 8px 0 8px;
}
.report-subheading {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.step-bar {
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.step-bar u {
  text-decoration: underline;
}

.explainer-video-wrap {
  position: relative;
  margin-bottom: 24px;
}
.explainer-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}

.step2-heading {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  margin: 24px 0 16px;
}

.calendar-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 32px;
}
.calendar-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.calendar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
}
.calendar-card-header h3 {
  margin: 0;
  font-size: 18px;
}
.calendar-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.calendar-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.calendar-embed-container {
  min-height: 400px;
}
.calendar-loading {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 14px;
}

/* Sorry / thank-you pages */
.center-text {
  text-align: left;
}
.center-text h1 {
  text-align: left;
  font-size: 24px;
}
.center-text p {
  font-size: 15px;
  color: var(--text);
}

.confirmed-phone {
  font-weight: 700;
}

footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 32px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}
