/* ==========================================================================
   Brytr — Demand Gen Landing Page
   Vanilla CSS, no build step, no external font/image requests (fast load).
   ========================================================================== */

:root {
  --bg-dark: #0b0b0d;
  --bg-dark-2: #151517;
  --bg-light: #ffffff;
  --bg-light-2: #f6f5f2;
  --ink: #17171a;
  --ink-muted: #55555c;
  --ink-on-dark: #f5f5f3;
  --ink-on-dark-muted: #b7b7bd;
  --border-light: #e7e5df;
  --border-dark: #2a2a2e;
  --accent: #f2a93b;
  --accent-dark: #d98f22;
  --accent-ink: #201400;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------------------------------- Buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px -8px rgba(242, 169, 59, 0.65);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-block { width: 100%; }
.btn-ghost-dark {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--ink-on-dark);
}
.btn-ghost-dark:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 11, 13, 0.9);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border-dark);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-on-dark);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo .dot { color: var(--accent); font-size: 16px; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-reviews {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-on-dark-muted);
  text-decoration: none;
}
.header-reviews strong { color: var(--ink-on-dark); }
.header-reviews .stars { color: var(--accent); letter-spacing: 1px; }
@media (min-width: 720px) {
  .header-reviews { display: inline-flex; }
}
.btn-header { padding: 11px 20px; font-size: 14.5px; }

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--ink-on-dark);
  padding: 56px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

.hero-copy h1 {
  font-size: clamp(34px, 5.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-on-dark-muted);
  max-width: 46ch;
  margin-bottom: 26px;
}
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-top: 32px;
  box-shadow: var(--shadow);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 8px;
}
.hero-trust .stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; }
.hero-trust-text { font-size: 14.5px; color: var(--ink-on-dark-muted); }
.hero-trust-text strong { color: var(--ink-on-dark); }
.hero-trust-sep { width: 1px; height: 16px; background: var(--border-dark); display: inline-block; }

/* Hero form card */
.form-card {
  background: var(--bg-light);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.form-card .form-sub {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.ghl-embed {
  width: 100%;
  min-height: 340px;
}
.ghl-embed iframe { width: 100%; min-height: 340px; border: none; }
.form-microcopy {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 14px;
}
.form-microcopy .sep { margin: 0 6px; }

/* ---------------------------------- Placeholder images ---------------------------------- */

.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: inherit;
  background: linear-gradient(135deg, #24242a 0%, #16161a 55%, #201a10 100%);
  color: rgba(245,245,243,0.55);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  padding: 16px;
  min-height: 100%;
  width: 100%;
}
.ph::before {
  content: "\1F4F7";
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
  opacity: 0.8;
}
.ph span { max-width: 30ch; }
.ph.light {
  background: repeating-linear-gradient(45deg, #eeece5, #eeece5 10px, #e6e3da 10px, #e6e3da 20px);
  color: var(--ink-muted);
}
.ph.small { font-size: 12px; padding: 10px; }

/* ---------------------------------- Stats bar ---------------------------------- */

.stats-bar {
  background: var(--bg-light-2);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
}
@media (min-width: 760px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); text-align: left; }
}
.stat-item .stat-icon { font-size: 22px; margin-bottom: 6px; }
.stat-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.stat-item p { font-size: 14.5px; color: var(--ink-muted); }

/* ---------------------------------- Section shells ---------------------------------- */

section { padding: 76px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-head p { font-size: 16.5px; color: var(--ink-muted); }

/* ---------------------------------- Explainer ---------------------------------- */

.explainer { background: var(--bg-light); }
.explainer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 900px) {
  .explainer-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
}
.explainer-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.explainer-photos .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.explainer-photos .ph { aspect-ratio: 4/3; border-radius: var(--radius-sm); }
.explainer-copy .eyebrow { color: var(--accent-dark); }
.explainer-copy h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.explainer-copy p { font-size: 16.5px; color: var(--ink-muted); margin-bottom: 16px; }
.explainer-copy p:last-child { margin-bottom: 0; }

/* ---------------------------------- How it works ---------------------------------- */

.how-it-works { background: var(--bg-light-2); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-muted); }

/* ---------------------------------- Day / Night ---------------------------------- */

.day-night { background: var(--bg-light); }
.dn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .dn-grid { grid-template-columns: 1fr 1fr; }
}
.dn-card { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.dn-card .ph { position: absolute; inset: 0; }
.dn-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------------------------------- Gallery ---------------------------------- */

.gallery { background: var(--bg-light-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-grid .ph { border-radius: var(--radius-sm); aspect-ratio: 4/3; }

/* ---------------------------------- Testimonials ---------------------------------- */

.testimonials { background: var(--bg-light); }
.reviews-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.reviews-badge .stars { color: var(--accent); font-size: 18px; letter-spacing: 2px; }
.reviews-badge a { font-size: 14.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 820px) {
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
}
.testi-card {
  background: var(--bg-light-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.testi-card .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; display: block; }
.testi-card p { font-size: 15.5px; color: var(--ink); margin-bottom: 16px; }
.testi-card footer { font-size: 14px; font-weight: 700; color: var(--ink-muted); }

/* ---------------------------------- FAQ ---------------------------------- */

.faq { background: var(--bg-light-2); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 15px; color: var(--ink-muted); padding-bottom: 18px; }

/* ---------------------------------- Final CTA ---------------------------------- */

.final-cta {
  background: linear-gradient(180deg, var(--bg-dark-2) 0%, var(--bg-dark) 100%);
  color: var(--ink-on-dark);
}
.final-cta .section-head h2 { color: var(--ink-on-dark); }
.final-cta .section-head p { color: var(--ink-on-dark-muted); }
.final-cta-form {
  max-width: 620px;
  margin: 0 auto;
}
.final-cta .form-card { margin: 0; }

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
  background: var(--bg-dark);
  color: var(--ink-on-dark-muted);
  padding: 40px 0 28px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (min-width: 720px) {
  .footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-grid .logo { margin-bottom: 8px; }
.footer-col p { font-size: 14px; margin-bottom: 6px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ---------------------------------- Sticky mobile CTA ---------------------------------- */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11,11,13,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-dark);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 960px) {
  .sticky-cta { display: none; }
}

/* ---------------------------------- Thank you page ---------------------------------- */

.thankyou-section {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--ink-on-dark);
  text-align: center;
  padding: 80px 24px;
}
.thankyou-card { max-width: 560px; }
.thankyou-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin: 0 auto 24px;
}
.thankyou-card h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.thankyou-card p {
  font-size: 17px;
  color: var(--ink-on-dark-muted);
  margin-bottom: 30px;
}
.thankyou-meta {
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-on-dark-muted);
}
