:root {
  --bg: #f6f3ef;
  --ink: #141414;
  --muted: #5b5b5b;
  --line: #d9d4cd;
  --red: #e8453c;
  --red-dark: #cf3a32;
  --dark-card: #1c1c1c;
  --serif: "Gilda Display", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  letter-spacing: .02em; border-radius: 6px; cursor: pointer; border: 0;
  transition: background .2s, transform .2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-sm { font-size: 10px; padding: 9px 14px; }
.btn-lg { font-size: 20px; padding: 18px 70px; border-radius: 10px; }
.btn-block { width: 100%; font-size: 17px; padding: 16px 20px; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed; top: 24px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px;
}
.nav {
  width: min(1100px, 100%);
  background: #fff; border-radius: 18px;
  box-shadow: 0 6px 30px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
}
.logo { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.nav-links { list-style: none; display: flex; gap: 34px; margin: 0 0 0 auto; padding: 0 40px 0 0; }
.nav-links a { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.nav-links a:hover { color: var(--red); }
.menu-btn { background: none; border: 0; color: var(--ink); cursor: pointer; padding: 4px; display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 520px;
  padding: 120px 16px 50px;
  display: flex; justify-content: center; align-items: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0 0 auto 0; height: 470px;
  display: flex; gap: 14px; padding: 0 0 0 0;
  opacity: .45; filter: blur(.5px);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero-bg .col { flex: 0 0 180px; display: flex; flex-direction: column; gap: 14px; }
.hero-bg .tile { height: 300px; flex: none; width: 100%; }
.hero-bg .col:nth-child(even) { margin-top: -80px; }

.composer {
  position: relative; z-index: 2;
  width: min(500px, 100%);
  background: #fff; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  font-family: "Tinos", Georgia, serif;
  font-size: 15px; color: #222;
}
.composer-head {
  background: #f0eeeb; padding: 10px 16px; border-radius: 10px 10px 0 0;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
}
.composer-row { margin: 0 22px; padding: 14px 0 10px; border-bottom: 1px solid #e6e2dc; font-size: 14px; }
.composer-row b { font-family: var(--sans); font-size: 12px; font-weight: 600; margin-left: 6px; }
.composer-body { padding: 14px 22px 4px; line-height: 1.25; }
.composer-body p { margin: 0 0 14px; }
.composer-toolbar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  margin: 0 18px; padding: 10px 0; border-top: 1px solid #ece8e2;
  font-family: var(--sans); font-size: 11px; color: #444;
}
.composer-actions {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 22px 22px; font-family: var(--sans); font-size: 12px; color: #555;
}
.composer-more { margin-left: auto; }

/* ---------- Carousels ---------- */
.carousel-section { padding: 10px 0 0; }
.drag-hint { text-align: center; font-size: 12px; margin: 0 0 10px; color: #333; }
.carousel {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  cursor: grab; user-select: none; scroll-snap-type: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; }
.carousel .tile { flex: 0 0 245px; height: 400px; }

.tile {
  border-radius: 2px; overflow: hidden; position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 18px 14px; color: var(--tc, #111); background: var(--tb, #fff);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.tile .t-brand { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; opacity: .75; margin-bottom: 10px; }
.tile .t-title { font-family: var(--serif); font-size: 22px; line-height: 1.1; margin: 0 0 8px; }
.tile .t-text { font-size: 9px; line-height: 1.4; opacity: .75; margin: 0 0 12px; max-width: 190px; }
.tile .t-btn { font-size: 8px; font-weight: 700; padding: 7px 14px; border-radius: 3px; background: var(--ta, #111); color: var(--tb, #fff); letter-spacing: .08em; text-transform: uppercase; }
.tile .t-img { flex: 1; width: 100%; margin-top: 14px; border-radius: 4px; background: var(--ti); }

.carousel .tile[data-full] { cursor: zoom-in; }
.carousel.dragging .tile[data-full] { cursor: grabbing; }

/* Email zoom (lightbox) */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 15, 15, .82);
  opacity: 0; transition: opacity .2s ease;
}
.lightbox.open { opacity: 1; }
.lightbox .lb-scroll {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 40px 16px;
}
.lightbox img {
  display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  transform: scale(.92); transition: transform .25s ease;
}
.lightbox.open img { transform: scale(1); }
.lightbox .lb-close {
  position: fixed; top: 14px; right: 16px; z-index: 1;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: #111; font-size: 28px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox img { transition: none; }
}

/* Placeholder tile: a neutral email skeleton for free slots */
.tile.ph { background: #f1f0ee; gap: 8px; }
.tile.ph i { display: block; background: #dddad5; border-radius: 3px; }
.tile.ph .ph-logo { width: 60px; height: 8px; margin-bottom: 6px; }
.tile.ph .ph-title { width: 75%; height: 18px; }
.tile.ph .ph-line { width: 80%; height: 6px; }
.tile.ph .ph-line.short { width: 55%; }
.tile.ph .ph-btn { width: 90px; height: 20px; margin-top: 4px; background: #cfcbc4; }
.tile.ph .ph-img { flex: 1; width: 100%; margin-top: 8px; border-radius: 4px; }

/* ---------- Results ---------- */
.results { padding: 50px 16px 30px; text-align: center; }
.eyebrow { font-family: var(--serif); font-size: 18px; margin: 0 0 6px; }
.headline {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.05; margin: 0 0 34px;
}
.sub { font-size: 13px; line-height: 1.3; color: #333; margin: 0 0 32px; }
.practice { font-weight: 700; font-size: 13px; margin: 0 0 40px; }

.proof-grid {
  max-width: 1000px; margin: 0 auto 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 34px;
  align-items: center; text-align: left;
}
.card { border-radius: 4px; font-size: 11px; }
.review { background: var(--dark-card); color: #e8e8e8; padding: 18px 16px 14px; }
.review h3 { font-size: 13px; font-weight: 500; margin: 0 0 6px; color: #fff; }
.review .meta { font-size: 9px; color: #bbb; margin-bottom: 10px; }
.review .stars { color: #f5a623; letter-spacing: 1px; }
.review .sep { margin: 0 6px; }
.review .quote { font-style: italic; font-size: 9.5px; line-height: 1.5; margin: 0 0 12px; }
.review .endorsed { font-size: 9px; color: #bbb; margin-bottom: 6px; }
.review .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.review .tags span { font-size: 8px; background: #333; border-radius: 3px; padding: 3px 7px; }
.review .price { display: flex; gap: 70px; font-size: 9.5px; }

.stat {
  background: #fff; padding: 12px 14px 16px;
  box-shadow: 0 2px 14px rgba(0,0,0,.06); border: 1px solid #ebe8e3;
}
.stat-top { display: flex; justify-content: space-between; font-size: 8px; font-weight: 600; margin-bottom: 10px; }
.pill { font-weight: 500; border: 1px solid #ddd; border-radius: 4px; padding: 2px 6px; }
.stat-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border: 1px solid #eee; border-radius: 4px; padding: 10px; }
.stat strong { display: block; font-family: "Courier New", monospace; font-size: 15px; font-weight: 600; }
.stat small { display: block; font-size: 7.5px; color: #777; margin-top: 2px; }
.stat em { display: block; font-style: normal; font-size: 7.5px; color: #888; margin-top: 2px; }
.stat em.up { color: #2f9e57; }

.chart-card { grid-column: 1 / 2; }
.tabs { display: flex; gap: 14px; font-size: 7.5px; color: #777; border-bottom: 1px solid #eee; margin-bottom: 12px; }
.tabs span { padding-bottom: 5px; }
.tabs .on { color: #111; border-bottom: 1.5px solid #111; }
.chart-wrap { display: flex; justify-content: space-between; margin-bottom: 12px; }
.legend { display: flex; flex-direction: column; gap: 4px; font-size: 7.5px; }
.sw { display: inline-block; width: 7px; height: 7px; border-radius: 1px; margin-right: 4px; vertical-align: middle; }
.sw.a { background: #3c5fc4; } .sw.b { background: #7cc37a; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; border-bottom: 1px solid #ddd; padding: 0 6px; }
.bars div { flex: 1; display: flex; flex-direction: column-reverse; height: 100%; }
.bars i { display: block; width: 100%; }
.bars i.a { background: #3c5fc4; } .bars i.b { background: #7cc37a; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 1000px; margin: 0 auto; padding: 90px 16px 90px;
  display: grid; grid-template-columns: 1fr 300px; gap: 130px; align-items: start;
}
.faq h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 50px); margin: 0 0 30px; }
.red { color: var(--red); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 22px 14px 18px; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; color: #999; transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); color: var(--red); }
.accordion details p { margin: 0 14px 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.book-card {
  margin-top: 66px; background: #fff; border: 1px solid #333; border-radius: 8px;
  padding: 30px 30px 26px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.book-icon { color: #2b3a8c; }
.book-card h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 14px 0 18px; }
.book-card hr { border: 0; border-top: 1px solid #e6e2dc; margin: 24px 0 18px; }
.mail-row { display: flex; align-items: center; gap: 14px; text-align: left; font-size: 8px; color: #444; }
.mail-row small { display: block; font-size: 6.5px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; }
.mail-row .arrow { margin-left: auto; border: 1px solid #ddd; border-radius: 4px; padding: 5px 8px; font-size: 12px; }
.mail-row:hover .arrow { border-color: var(--red); color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: #efeeec; border-top: 1px solid #ddd; padding: 40px 16px 30px; font-size: 13px; }
.footer-inner { max-width: 1000px; margin: 0 auto 80px; }
.footer-inner p { margin: 0 0 12px; line-height: 1.25; max-width: 700px; }
.copyright { text-align: center; font-size: 10px; color: #444; }
.copyright p { margin: 0 0 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .chart-card { grid-column: auto; }
  .faq { grid-template-columns: 1fr; gap: 20px; }
  .book-card { margin-top: 20px; max-width: 360px; justify-self: center; width: 100%; }
}
@media (max-width: 720px) {
  .nav { padding: 12px 18px; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 16px; right: 16px;
    flex-direction: column; gap: 18px; background: #fff; border-radius: 14px;
    padding: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.1);
  }
  .nav-links.open { display: flex; }
  .proof-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 16px 40px; font-size: 17px; }
  .carousel .tile { flex-basis: 200px; height: 330px; }
  .composer { font-size: 14px; }
  .composer-toolbar span:nth-child(n+6) { display: none; }
}
