/* ==========================================================================
   Direct Buyer Access - shared styles for order.html + confirmation.html
   Mobile-first. No frameworks. System fonts only (zero font download).
   To re-theme, change the variables in :root.
   ========================================================================== */

:root {
  --bg: #0b0d10;
  --surface: #14171c;
  --border: #242932;
  --text: #f3f4f6;
  --muted: #a3a9b4;
  --accent: #22c55e;        /* CTA / success green */
  --accent-hover: #16a34a;
  --accent-text: #04130a;
  --radius: 14px;
  --max: 640px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .3);
  border-radius: 999px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 6.4vw, 32px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.01em;
}

.sub {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

strong { color: var(--text); }

.center { text-align: center; }

/* ---------- Cards / sections ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 24px;
}

.value p { color: #d4d8de; font-size: 16px; line-height: 1.5; margin-bottom: 12px; }
.value p:last-child { margin-bottom: 0; }

section + section { margin-top: 36px; }

/* ---------- Price + CTA ---------- */
.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 0 0 16px;
}
.price .amount {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}
.price .term {
  font-size: 16px;
  color: var(--muted);
}

.btn {
  display: block;
  width: 100%;
  padding: 20px 18px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--accent-text);
  background: var(--accent);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(34, 197, 94, .6);
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }

.trust {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}
.trust .lock { margin-right: 4px; }

/* ---------- Confirmation page ---------- */
.check {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, .12);
  border: 2px solid var(--accent);
}
.check svg { width: 38px; height: 38px; }

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.video iframe,
.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

.calendly-inline-widget {
  min-width: 320px;
  height: 700px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.calendly-placeholder {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.footer-note {
  margin-top: 32px;
  padding: 18px 20px;
  font-size: 16px;
  color: #d4d8de;
  background: rgba(34, 197, 94, .07);
  border: 1px solid rgba(34, 197, 94, .25);
  border-radius: var(--radius);
  text-align: center;
}

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .wrap { padding: 56px 24px 72px; }
  .card { padding: 28px; }
  .calendly-inline-widget { height: 760px; }
}

/* ---------- Confirmation page additions ---------- */
.email-note {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

h3 {
  margin: 14px 0 6px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.testimonial {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.testimonial img {
  display: block;
  width: 100%;
  height: auto;
}
.testimonial-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.faq-list {
  display: grid;
  gap: 28px;
}
.faq p {
  font-size: 16px;
  line-height: 1.55;
  color: #d4d8de;
}

/* Very narrow phones: stack testimonials */
@media (max-width: 359px) {
  .grid-2 { grid-template-columns: 1fr; }
}
