/* =========================================================================
   DAILY OPTIMIZER — PREMIUM LIGHT THEME
   Off-white surfaces · Playfair Display headlines · Inter body
   Soft graphite text · Muted Navy + Sage Green accent system
   ========================================================================= */

:root {
  /* Surfaces */
  --paper:        #f7f4ee;   /* off-white page background */
  --paper-soft:   #ffffff;   /* card surface */
  --paper-deep:   #efeae0;   /* subtle separator wash */

  /* Ink */
  --ink:          #1c2128;   /* primary heading ink */
  --ink-soft:     #3b424c;   /* body copy */
  --ink-mute:     #7a8290;   /* secondary / labels */
  --hairline:     #e3ddd0;   /* hairline borders */

  /* Accents */
  --navy:         #1f2a44;   /* muted navy — primary CTA */
  --navy-deep:    #15203a;
  --sage:         #6f8b6e;   /* sage green — secondary accent */
  --sage-deep:    #57735a;

  /* Type */
  --serif:        'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --shell:        1180px;
  --radius:       4px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ---------------- Layout primitives ---------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

.rule {
  height: 1px;
  width: 100%;
  background: var(--hairline);
  border: 0;
  margin: 0;
}

/* ---------------- Header (root only) ---------------- */
.site-head {
  padding: 36px 0 24px;
}
.site-head .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  transform: translateY(-3px);
}
.brand-mark {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------------- Hero (root) ---------------- */
.hero {
  padding: 80px 0 64px;
}
.hero .eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 22px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 500;
}
.hero p.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* ---------------- Track index (storefront grid) ---------------- */
.tracks {
  padding: 56px 0 96px;
}
.tracks-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.tracks-meta h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.tracks-meta span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.track-list li + li {
  border-top: 1px solid var(--hairline);
}
.track-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 32px 0;
  transition: padding 220ms ease, color 220ms ease;
}
.track-row:hover { padding-left: 8px; }
.track-row:hover .track-arrow { transform: translateX(6px); color: var(--sage-deep); }

.track-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-mute);
}
.track-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
}
.track-body p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-mute);
  max-width: 60ch;
}
.track-arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-mute);
  transition: transform 220ms ease, color 220ms ease;
  white-space: nowrap;
}

/* ---------------- Footer ---------------- */
.site-foot {
  padding: 36px 0 48px;
  border-top: 1px solid var(--hairline);
  background: var(--paper);
}
.site-foot .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.site-foot small {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* =========================================================================
   INNER TRACK — ZERO-NAV CLICKBANK BRIDGE LAYOUT
   ========================================================================= */
.bridge {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 0 80px;
}
.bridge .shell {
  max-width: 880px;
  text-align: center;
}
.bridge .eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 28px;
}
.bridge h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 auto 22px;
  max-width: 22ch;
}
.bridge h1 em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 500;
}
.bridge .sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 auto 44px;
}

/* Video thumbnail trick */
.thumb {
  position: relative;
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 40px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(28, 33, 40, 0.04),
    0 24px 48px -16px rgba(28, 33, 40, 0.18);
  cursor: pointer;
  background: #0e1218;
  aspect-ratio: 16 / 9;
}
.thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1.5px) brightness(0.78) saturate(0.95);
  transform: scale(1.03);
  transition: filter 380ms ease, transform 480ms ease;
}
.thumb:hover .thumb-img {
  filter: blur(0.4px) brightness(0.86) saturate(1);
  transform: scale(1.05);
}
.thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,30,0.10) 0%, rgba(15,20,30,0.42) 100%);
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow:
    0 0 0 0 rgba(255,255,255,0.55),
    0 16px 36px rgba(0,0,0,0.32);
  animation: pulse 2.4s ease-out infinite;
  transition: transform 220ms ease;
}
.thumb:hover .play-btn { transform: translate(-50%, -50%) scale(1.06); }
.play-btn svg {
  width: 34px; height: 34px;
  margin-left: 4px;
  fill: var(--navy);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(255,255,255,0.55), 0 16px 36px rgba(0,0,0,0.32); }
  70%  { box-shadow: 0 0 0 24px rgba(255,255,255,0),   0 16px 36px rgba(0,0,0,0.32); }
  100% { box-shadow: 0 0 0 0   rgba(255,255,255,0),    0 16px 36px rgba(0,0,0,0.32); }
}
.thumb-caption {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  z-index: 2;
  color: rgba(255,255,255,0.92);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
}

/* Bullets */
.proof {
  list-style: none;
  margin: 0 auto 44px;
  padding: 0;
  max-width: 560px;
  text-align: left;
}
.proof li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 17px;
  color: var(--ink-soft);
}
.proof li:last-child { border-bottom: 0; }
.proof li::before {
  content: '';
  flex: 0 0 8px;
  width: 8px; height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--sage);
}
.proof li strong { color: var(--ink); font-weight: 600; }

/* CTA button */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px;
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid var(--navy-deep);
  box-shadow: 0 12px 28px -10px rgba(31, 42, 68, 0.45);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.cta:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -10px rgba(31, 42, 68, 0.55);
}
.cta-arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  transition: transform 220ms ease;
}
.cta:hover .cta-arrow { transform: translateX(4px); }

.fineprint {
  margin: 22px 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 720px) {
  .shell { padding: 0 22px; }
  .hero { padding: 56px 0 40px; }
  .tracks { padding: 32px 0 64px; }
  .track-row { grid-template-columns: 44px 1fr; gap: 18px; padding: 24px 0; }
  .track-arrow { grid-column: 1 / -1; padding-left: 62px; }
  .track-body h3 { font-size: 22px; }
  .play-btn { width: 76px; height: 76px; }
  .play-btn svg { width: 28px; height: 28px; }
  .cta { padding: 18px 28px; font-size: 16px; width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
