/* Let's Talk Trading — brand styles (light) */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --white: #ffffff;
  --panel: #f4f6f1;
  --panel-2: #eef1e9;
  --line: rgba(20, 24, 15, 0.12);
  --ink: #12140f;
  --grey: #565b4f;
  --dark: #0d0f0c;
  --green: #6f9c00;
  --green-bright: #8fca00;
  --green-tint: #eef8d8;
  --up: #4c8a2c;
  --down: #b0453a;
  --radius: 4px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p { margin: 0 0 1em; max-width: 62ch; color: var(--grey); }
a { color: inherit; }

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

/* Ticker — kept as a dark masthead strip, the one deliberate dark accent */
.ticker {
  background: var(--dark);
  color: #c7cabd;
  overflow: hidden;
  white-space: nowrap;
}
.ticker .track { display: inline-flex; padding: 8px 0; animation: scroll-ticker 32s linear infinite; }
.ticker .track span { padding: 0 22px; font-size: 0.8rem; letter-spacing: 0.02em; border-right: 1px solid rgba(255,255,255,0.12); }
.ticker .up { color: var(--green-bright); }
.ticker .down { color: #e08276; }
@keyframes scroll-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: 40px; display: block; border-radius: 50%; }
.brand-text { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.05rem; text-transform: uppercase; color: var(--ink); letter-spacing: 0.02em; }
.brand-text span { color: var(--green); }

nav.site-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey);
  margin-left: 26px;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
nav.site-nav a:hover, nav.site-nav a[aria-current="page"] { color: var(--ink); border-color: var(--green); }

/* Hero with banner */
.hero {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.hero-banner {
  width: calc(100% - 56px);
  max-width: calc(var(--max) - 56px);
  margin: 24px auto 0;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.hero-body { padding: 40px 0 56px; }
.hero .kicker { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 18ch; }
.hero .lede { font-size: 1.08rem; color: var(--grey); max-width: 60ch; margin-top: 16px; }
.hero .actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--green); }
.btn-secondary { border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--green); color: var(--green); }

/* Sections */
section { padding: 60px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.5rem; margin: 0; }
.section-head .note { color: var(--grey); font-size: 0.94rem; max-width: 40ch; }

/* Hosts */
.hosts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.host { background: var(--white); padding: 30px 28px; }
.host .role { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); font-weight: 600; margin-bottom: 10px; }
.host h3 { font-size: 1.2rem; margin-bottom: 10px; }
.host p { font-size: 0.94rem; margin: 0 0 14px; }
.host .host-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.host .host-link:hover { color: var(--green); }
.host .host-link svg { width: 14px; height: 14px; }

/* Curriculum steps (real sequence) */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.approach .step { background: var(--white); padding: 26px 24px; }
.approach .step .num { font-family: 'Oswald', sans-serif; font-size: 0.85rem; color: var(--green); margin-bottom: 10px; letter-spacing: 0.05em; }
.approach .step h3 { font-size: 1.02rem; margin-bottom: 8px; text-transform: none; }
.approach .step p { font-size: 0.92rem; margin: 0; }

/* Episode showcase */
.episodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.episode-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.episode-card:hover { border-color: var(--green); transform: translateY(-2px); }
.episode-card .thumb-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.episode-card .thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.episode-card .thumb-wrap.placeholder {
  background: linear-gradient(160deg, #10120d 0%, #1b2011 100%);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 8px; padding: 20px; text-align: center;
}
.episode-card .thumb-wrap.placeholder .ep-num {
  font-family: 'Oswald', sans-serif; color: var(--green-bright);
  font-size: 2.2rem; font-weight: 600; line-height: 1;
}
.episode-card .thumb-wrap.placeholder .ep-mark {
  font-family: 'Oswald', sans-serif; color: rgba(255,255,255,0.55);
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.episode-card .ep-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--dark); color: var(--white);
  font-family: 'Oswald', sans-serif; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px;
}
.episode-card .play-dot {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.15s ease;
  background: rgba(13, 15, 12, 0.25);
}
.episode-card:hover .play-dot { opacity: 1; }
.episode-card .play-dot svg { width: 46px; height: 46px; color: var(--white); filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4)); }
.episode-card .ep-meta { padding: 14px 16px; }
.episode-card .ep-meta span { font-size: 0.86rem; font-weight: 500; color: var(--grey); }

/* Links / social */
.links-row { display: flex; gap: 14px; flex-wrap: wrap; }
.link-card {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--ink);
  flex: 1 1 220px;
  background: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.link-card:hover { border-color: var(--green); background: var(--green-tint); }
.link-card .icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--green); }
.link-card .label { font-family: 'Oswald', sans-serif; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.03em; }
.link-card .sub { font-size: 0.8rem; color: var(--grey); display: block; margin-top: 2px; }

/* Resources list (shared with resources.html) */
.res-list { border-top: 1px solid var(--line); }
.res-item { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.res-item .meta { flex: 1; }
.res-item h3 { font-size: 1.05rem; margin-bottom: 6px; text-transform: none; }
.res-item p { font-size: 0.92rem; margin: 0; max-width: 56ch; }
.res-item .filetype { font-size: 0.76rem; color: var(--green); font-weight: 600; display: block; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.dl-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; background: var(--ink); color: var(--white); text-decoration: none; border-radius: var(--radius); font-family: 'Oswald', sans-serif; font-size: 0.84rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; transition: background 0.15s ease; }
.dl-btn:hover { background: var(--green); }

/* CTA band — soft green tint instead of a dark block, for on-brand contrast without losing readability */
.cta-band { background: var(--green-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; text-align: left; }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: #40492e; }
.cta-band .btn-primary { background: var(--ink); color: var(--white); }
.cta-band .btn-primary:hover { background: var(--green); }

/* Disclaimer */
.disclaimer { background: var(--panel); padding: 30px 0; }
.disclaimer p { font-size: 0.85rem; color: var(--grey); max-width: 80ch; margin: 0; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 28px 0; background: var(--white); }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: var(--grey); }
footer.site .foot-brand { display: flex; align-items: center; gap: 8px; }
footer.site .foot-brand img { height: 24px; width: 24px; border-radius: 50%; }

a:focus-visible, .btn:focus-visible, .dl-btn:focus-visible, .link-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .approach, .hosts { grid-template-columns: 1fr; }
  .episodes { grid-template-columns: 1fr; }
  header.site .bar { padding: 12px 20px; }
  .hero-body { padding: 34px 0 40px; }
  .hero-banner { width: calc(100% - 32px); }
  section { padding: 44px 0; }
  .res-item { flex-direction: column; align-items: flex-start; }
  .dl-btn { width: 100%; justify-content: center; }
}
