/* Content That Sells. Markora Digital. Mobile first. */

:root {
  --bg: #171618;
  --surface: #1F1E21;
  --line: #2C2A2E;
  --red: #AD0225;
  --red-hover: #C8102E;
  --deep-red: #4E0109;
  --red-ink: #FF4D6A; /* red for small text on charcoal, passes AA contrast */
  --white: #FFFFFF;
  --muted: #B5B2B8;
  --max: 1120px;
  --gutter: 20px;
  --section: 64px;
  --radius-card: 16px;
  --radius-btn: 12px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--white); text-underline-offset: 3px; }
a:hover { color: var(--red-ink); }

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Top bar */
.topbar {
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding: 8px 12px;
}

/* Header */
.site-header { padding: 20px 0 0; }
.logo { height: 40px; width: auto; color: var(--white); font-weight: 700; font-size: 16px; }
.logo-small { height: 30px; }

/* Type */
.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-ink);
  margin-bottom: 14px;
}

h1 {
  font-weight: 800;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}
.h1-red { display: block; color: var(--red-ink); margin-top: 6px; }

h2 {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 28ch;
}

h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--white);
}

.lead { margin-top: 20px; max-width: 54ch; }
.body { margin-top: 16px; max-width: 58ch; }

.prose { margin-top: 20px; max-width: 58ch; }
.prose p + p { margin-top: 16px; }
.prose-strong { color: var(--white); font-weight: 500; }

.microcopy { margin-top: 12px; font-size: 14px; }

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 28px;
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background-color 150ms ease;
}
.btn:hover { background: var(--red-hover); color: var(--white); }
.btn-small { width: auto; min-height: 44px; padding: 10px 22px; font-size: 16px; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
}

/* Sections */
.section { padding: var(--section) 0; }
.section-wash {
  background: linear-gradient(180deg, rgba(78, 1, 9, 0.22), rgba(78, 1, 9, 0.06));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero { padding: 36px 0 var(--section); }
.hero-grid { display: grid; gap: 32px; }

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 24px 0;
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
}
.detail-row li { padding-left: 14px; border-left: 2px solid var(--red); }

/* Placeholders */
.ph {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px),
    var(--surface);
  border: 1px dashed #4A474D;
  border-radius: var(--radius-card);
}
.ph-tag {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-ink);
}
.ph-text { color: var(--white); font-weight: 500; font-size: 15px; line-height: 1.4; }
.ph-hero { aspect-ratio: 4 / 5; max-height: 560px; width: 100%; }
.ph-video { aspect-ratio: 16 / 9; }
.ph-photo { aspect-ratio: 4 / 3; }
.ph-portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 420px; }

.placeholder {
  display: inline-block;
  padding: 2px 10px;
  border: 1px dashed var(--red-ink);
  border-radius: 6px;
  color: var(--red-ink);
  font-weight: 700;
  font-size: 14px;
}

/* Countdown */
.countdown { margin-top: 40px; }
.countdown-label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 520px;
}
.cd-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  background: var(--red);
  border-radius: 12px;
}
.cd-num {
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.cd-unit { font-weight: 500; font-size: 12px; color: var(--white); line-height: 1.2; }
.cd-num.tick { animation: cd-tick 240ms ease; }
@keyframes cd-tick {
  from { opacity: 0.35; transform: translateY(-3px); }
  to { opacity: 1; transform: none; }
}

/* Proof */
.recap { margin-top: 32px; position: relative; }
.recap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  border-radius: var(--radius-card);
}
.recap-sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 44px;
  padding: 8px 18px;
  background: rgba(23, 22, 24, 0.85);
  color: var(--white);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.photo-row { display: grid; gap: 12px; margin-top: 12px; }

/* What you'll learn */
.learn-grid { display: grid; gap: 16px; margin-top: 32px; }
.card-num {
  display: block;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--red-ink);
  margin-bottom: 12px;
}
.learn-grid p { margin-top: 10px; }

/* Split layouts */
.split { display: grid; gap: 32px; align-items: center; }

/* Workbook mock */
.workbook { display: flex; justify-content: flex-start; }
.workbook-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  padding: 28px 28px 28px 40px;
  background: linear-gradient(160deg, #232125, var(--bg));
  border: 1px solid var(--line);
  border-radius: 6px 14px 14px 6px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.workbook-cover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background: var(--red);
}
.workbook-logo { height: 30px; width: auto; }
.workbook-text { display: flex; flex-direction: column; gap: 6px; }
.workbook-title { font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; color: var(--white); }
.workbook-sub { font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-ink); }
.workbook-name { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; color: var(--muted); }

/* Who it's for */
.fit-grid { display: grid; gap: 16px; }
.card-title { font-size: 22px; max-width: none; }
.fit-list { margin-top: 18px; display: grid; gap: 12px; }
.fit-list li { position: relative; padding-left: 26px; }
.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.fit-no .fit-list li::before { background: #5A565E; }
.fit-yes { border-color: var(--deep-red); }

/* Details */
.details-grid { display: grid; gap: 16px; margin-top: 32px; }
.details-list { display: grid; gap: 16px; margin-bottom: 28px; }
.details-list dt {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-ink);
}
.details-list dd { color: var(--white); margin-top: 2px; }
.map {
  min-height: 320px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* FAQ */
.faq { margin-top: 24px; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .placeholder { margin-left: 10px; font-size: 12px; }
.faq summary > span:first-child { flex: 1; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--red-ink);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
}
.faq details[open] summary::after { content: "\00d7"; }
.faq details p { padding: 0 0 22px; max-width: 64ch; }

/* Final CTA */
.final-cta {
  background: linear-gradient(180deg, rgba(78, 1, 9, 0.1), rgba(78, 1, 9, 0.38));
  border-top: 1px solid var(--line);
}
.final-cta .btn { margin-top: 28px; }

/* Footer */
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Sticky bar, mobile only */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(23, 22, 24, 0.96);
  border-top: 1px solid var(--line);
}
.sticky-bar[hidden] { display: none; }
.sticky-text { color: var(--white); font-weight: 700; font-size: 14px; }
body[data-page="index"] { padding-bottom: 72px; }

/* Fade up, one per section */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .cd-num.tick { animation: none; }
  .btn { transition: none; }
}

/* Tablet and up */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .topbar { font-size: 12px; letter-spacing: 0.12em; }
  .btn { width: auto; display: inline-flex; }
  .detail-row { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .photo-row { grid-template-columns: repeat(3, 1fr); }
  .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-num { font-size: 40px; }
  .cd-cell { padding: 18px 18px; }
  .sticky-bar, .sticky-bar[hidden] { display: none; }
  body[data-page="index"] { padding-bottom: 0; }
}

/* Desktop */
@media (min-width: 1000px) {
  :root { --section: 96px; }
  body { font-size: 18px; }
  h1 { font-size: 56px; }
  h2 { font-size: 36px; }
  .site-header { padding-top: 28px; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
  .ph-hero { max-height: 600px; }
  .countdown { margin-top: 56px; }
  .learn-grid { grid-template-columns: repeat(6, 1fr); }
  .learn-grid li { grid-column: span 2; }
  .learn-grid li:nth-child(n + 4) { grid-column: span 3; }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .split-host { grid-template-columns: 0.8fr 1.2fr; }
  .workbook { justify-content: center; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .map, .map iframe { min-height: 100%; }
  .faq summary { font-size: 19px; }
}
