/* holdmypromptpod.com. Colors and type match the approved mockups. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #14120e;
  --surface: #1d1a15;
  --sunken: #0b0a08;
  --line: #2a2620;
  --line-strong: #4a443a;
  --text: #f3eee3;
  --text-soft: #c9c3b6;
  --muted: #a8a294;
  --accent: #FFD400;
  --accent-hover: #ffe566;
  --on-accent: #14120e;
  --ph-1: #2e2a22;
  --ph-2: #1f1c16;
  --ph-3: #23201a;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --gutter: 32px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-bottom: 80px; }
.muted { color: var(--muted); }
.soft { color: var(--text-soft); }
.mono { font-family: var(--mono); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Header + footer */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 20px; padding-bottom: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font: 700 20px/1 var(--mono); }
.wordmark:hover { color: var(--text); }
.caret { color: var(--accent); }
.cursor { display: inline-block; width: 11px; height: 22px; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .cursor { animation: blink 1.1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.main-nav a { color: var(--text); text-decoration: none; padding: 6px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav a.button { padding: 0 18px; min-height: 42px; color: var(--on-accent); }
.main-nav a.button:hover { color: var(--on-accent); }

.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.footer-row p { margin: 0; }
.footer-row nav { display: flex; gap: 24px; }
.footer-row a { color: var(--muted); }
.footer-row a:hover { color: var(--text); }

/* Buttons + pills */
.button, .pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
}
.button { background: var(--accent); color: var(--on-accent); border: 0; }
.button:hover { background: var(--accent-hover); color: var(--on-accent); }
.button-ghost, .pill { background: transparent; color: var(--text); border: 1.5px solid var(--line-strong); }
.button-ghost:hover, .pill:hover { color: var(--text); border-color: var(--text-soft); background: transparent; }
.pill-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill-primary:hover { background: #fff; color: var(--bg); border-color: #fff; }
.pills { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }

/* Type helpers */
.eyebrow { margin: 0 0 20px; font: 500 14px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lede { margin: 28px 0 0; max-width: 640px; font-size: 20px; color: var(--text-soft); }
.meta { margin: 0; font: 500 14px/1.5 var(--mono); color: var(--muted); }
.meta a { color: var(--muted); }
.meta a:hover { color: var(--text); }
.num { color: var(--accent); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.section-title { font-size: 28px; }
.page-title { font-weight: 700; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.02em; max-width: 900px; }

/* Home hero */
.hero { padding-top: 96px; padding-bottom: 72px; }
.hero h1 { max-width: 900px; font-weight: 700; font-size: clamp(42px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }

/* Video frames: local thumbnail, or the screen+webcam placeholder from the mockup */
.frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--sunken);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame .ph-screen { position: absolute; left: 0; top: 0; width: 66%; height: 100%; background: var(--ph-3); }
.frame .ph-cam { position: absolute; right: 0; top: 0; width: 34%; height: 45%; background: var(--ph-1); }
.play { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; transition: transform .15s ease; }
.play svg { width: 30px; height: 30px; margin-left: 4px; }
a.frame:hover .play, button.frame:hover .play { transform: scale(1.06); }

/* Latest episode card */
.feature { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.feature .frame { flex: 1 1 460px; }
.feature-body { flex: 1 1 360px; min-width: 0; }
.feature-body h3 { margin: 12px 0; font-size: clamp(28px, 3vw, 36px); }
.feature-body h3 a { color: var(--text); text-decoration: none; }
.feature-body h3 a:hover { color: var(--accent); }
.feature-body p.soft { margin: 0 0 24px; }

/* Episode list rows */
.ep-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ep-list li { border-bottom: 1px solid var(--line); }
.ep-list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 32px; padding: 22px 0; color: var(--text); text-decoration: none; }
.ep-list a:hover .ep-title { color: var(--accent); }
.ep-list .num { font-family: var(--mono); width: 64px; flex-shrink: 0; }
.ep-title { flex: 1 1 360px; font: 500 22px/1.3 var(--display); }
.ep-list .meta { flex-shrink: 0; }
.ep-list .ep-summary { flex-basis: 100%; margin: 0; padding-left: 96px; color: var(--text-soft); font-size: 16px; }

/* Clip cards (9:16) */
.clip-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 20px; }
.clip-grid.small { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 16px; }
.clip { display: flex; flex-direction: column; gap: 10px; }
.clip-thumb { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 14px; background: var(--sunken); border: 1px solid var(--line); }
.clip-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip-thumb .ph-cam { position: absolute; left: 0; top: 0; right: 0; height: 40%; background: var(--ph-1); }
.clip-thumb .ph-screen { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: var(--ph-2); }
.clip-thumb .ph-caption { position: absolute; left: 12px; right: 12px; top: 64%; margin: 0; text-align: center;
  font: 700 17px/1.15 var(--display); color: #fff; }
.clip-thumb .ph-caption em { font-style: normal; color: var(--accent); }
.clip-title { font-weight: 600; line-height: 1.3; }
.clip-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font: 500 13px/1.4 var(--mono); }
.clip-links a { color: var(--muted); }
.clip-links a:hover { color: var(--accent); }

/* Episode page */
.episode { padding-top: 56px; padding-bottom: 96px; }
.episode .page-title { margin: 14px 0 16px; }
.episode .lede { margin: 0 0 36px; max-width: 760px; }
.player { width: 100%; padding: 0; font: inherit; color: inherit; cursor: pointer; border-radius: 18px; }
.player .play { width: 92px; height: 92px; }
.player .play svg { width: 36px; height: 36px; }
.player-note { position: absolute; left: 20px; bottom: 16px; font: 500 13px/1.3 var(--mono); color: var(--text-soft);
  background: rgba(11, 10, 8, .72); padding: 4px 8px; border-radius: 6px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.episode-body { display: flex; flex-wrap: wrap; gap: 56px; margin-top: 56px; }
.notes { flex: 999 1 560px; min-width: 0; }
.notes h2 { font-size: 26px; margin: 0 0 12px; }
.notes h2 + .clip-grid { margin-top: 16px; }
.notes p { margin: 0 0 16px; color: var(--text-soft); }
.notes p:last-of-type { margin-bottom: 40px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.chapters { flex: 1 1 300px; min-width: 0; align-self: flex-start; }
.chapters h2 { font-size: 22px; margin: 0 0 12px; }
.chapters ol { list-style: none; margin: 0; padding: 0; }
.chapters li { border-top: 1px solid var(--line); }
.chapters a, .chapters span.row { display: flex; gap: 14px; padding: 12px 0; color: var(--text); text-decoration: none; }
.chapters a:hover { color: var(--accent); }
.ts { font-family: var(--mono); font-size: 14px; color: var(--accent); width: 52px; flex-shrink: 0; padding-top: 2px; }

.transcript { margin-top: 56px; padding: 24px 28px; }
.transcript h2 { font-size: 22px; }
.transcript-lines p { margin: 0 0 12px; color: var(--text-soft); display: flex; gap: 14px; }
.transcript-lines .ts { color: var(--muted); }
.transcript-lines { margin-top: 16px; }
.transcript details { margin-top: 4px; }
.transcript summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin-top: 4px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); font-weight: 600; cursor: pointer; list-style: none; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary:hover { border-color: var(--text-soft); }
.transcript details[open] summary { display: none; }

/* Host */
.host { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.host-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: var(--ph-1); border: 2px solid var(--accent); }
.host-text { flex: 1 1 420px; }
.host-text h2 { font-size: 28px; margin: 0 0 8px; }
.host-text p { margin: 0; color: var(--text-soft); max-width: 640px; }

/* Empty states */
.terminal { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; font-family: var(--mono); }
.terminal p { margin: 0; }
.terminal p + p { margin-top: 8px; color: var(--muted); }

/* Legal pages */
.legal { padding-top: 56px; max-width: calc(760px + 2 * var(--gutter)); }
.legal .page-title { font-size: clamp(34px, 4vw, 48px); margin-bottom: 12px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal h3 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--text); }

/* Phones */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding-top: 56px; padding-bottom: 48px; }
  .lede { font-size: 18px; }
  .main-nav { gap: 4px 18px; }
  .main-nav a.button { min-height: 38px; padding: 0 14px; }
  .feature { padding: 16px; gap: 20px; }
  .feature .frame { flex-basis: 100%; }
  .ep-list .ep-summary { padding-left: 0; }
  .clip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .clip-grid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .episode-body { gap: 40px; }
  .transcript { padding: 20px 16px; }
  .section { padding-bottom: 56px; }
}
