/* Show Wrapped: Apple design grammar (SF type, solid black nav, centred tiles, 18px radius, pill buttons)
   in HyperVisuals colours (ink, white, light grey, Signal red). No serif fonts. */
@font-face { font-family: 'IT'; src: url(/tools/podcasts/fonts/intertight.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'F-archivo'; src: url(/tools/podcasts/fonts/archivo.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'F-bricolage'; src: url(/tools/podcasts/fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'F-grotesk'; src: url(/tools/podcasts/fonts/spacegrotesk.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'F-syne'; src: url(/tools/podcasts/fonts/syne.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'F-unbounded'; src: url(/tools/podcasts/fonts/unbounded.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #f0f0f0; --card: #fff; --dark: #0d0d0d; --ink: #000; --muted: #6e6e73; --line: #d9d9d9; --track: #e4e4e4;
  --accent: #ff0000; --action: #d90000; --action-hover: #b30000; --signal-text: #cc0000; --radius: 18px;
  --shadow: 0 2px 12px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.06);
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "IT", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.4; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: #000; }
.nav-in { max-width: 980px; margin: 0 auto; padding: 0 16px; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav a, .nav span { font-size: 12px; color: #f5f5f5; text-decoration: none; opacity: .8; letter-spacing: -.01em; }
.nav a:hover { opacity: 1; }
.nav .nav-brand { display: inline-flex; align-items: center; gap: 10px; opacity: 1; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; letter-spacing: -.035em; color: #fff; }
.nav-brand .mark { display: block; width: 22px; height: 22px; flex: none; }
.nav .nav-brand .wm span { font-size: inherit; opacity: 1; color: inherit; font-weight: 300; letter-spacing: -.035em; }
.nav .nav-brand .wm.guest span { font-weight: 400; }
.nav-brand .wm b { font-weight: 700; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a[aria-current="page"] { opacity: 1; }

main { max-width: 980px; margin: 0 auto; padding: 0 16px 56px; }

/* tiles */
.tile { margin-top: 16px; border-radius: var(--radius); padding: 40px 20px; text-align: center; }
.tile.hero { background: transparent; padding: 64px 0 24px; }
.tile.card { background: var(--card); box-shadow: var(--shadow); padding: 24px 20px; text-align: left; }
.tile.dark { background: var(--dark); color: #f5f5f5; padding: 48px 24px; }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--signal-text); }
h1 { margin: 0 auto; max-width: 14em; font-size: clamp(34px, 7vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -.015em; }
h1 .soft, .soft { color: var(--muted); }
/* Hero title on two lines: the plain part, then the soft part. Wide screens never wrap a line; phones may. */
@media (min-width: 640px) {
  h1.two { max-width: none; font-size: min(56px, calc(min(948px, 94vw) / var(--fit))); white-space: nowrap; }
  h1.two .soft { display: block; }
}
.lede { margin: 16px auto 28px; max-width: 34em; font-size: clamp(17px, 2.4vw, 21px); line-height: 1.4; color: var(--muted); }
h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -.015em; }

/* inputs and buttons */
form.search { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; }
input[type="text"], input[type="email"] { flex: 1; min-width: 0; padding: 14px 18px; font: 400 17px var(--font); border: 1px solid var(--line); border-radius: 980px; background: var(--card); color: var(--ink); }
input::placeholder { color: #8a8a8e; }
input:focus-visible, button:focus-visible, select:focus-visible, .file input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
button { font: 600 15px var(--font); padding: 12px 22px; border: 0; border-radius: 980px; background: var(--track); color: var(--ink); cursor: pointer; transition: background .15s; }
button:hover { background: #d4d4d4; }
button:disabled { opacity: .5; cursor: wait; }
form.search button, .primary, #unlockBtn { background: var(--action); color: #fff; }
form.search button:hover, .primary:hover, #unlockBtn:hover { background: var(--action-hover); }

.msg { min-height: 22px; margin: 12px 2px 0; font-size: 14px; color: var(--muted); }
.msg.err { color: var(--signal-text); font-weight: 600; }

.picks { list-style: none; margin: 8px auto 0; padding: 0; display: grid; gap: 8px; max-width: 560px; text-align: left; }
.picks button { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 10px 14px; font-weight: 600; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.picks button:hover { background: #fafafa; border-color: #bdbdbd; }
.picks img { width: 52px; height: 52px; border-radius: 12px; background: var(--bg); flex: none; object-fit: cover; }
.picks small { display: block; font-weight: 400; color: var(--muted); }

/* controls */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 2px; background: var(--track); border-radius: 10px; }
.seg button { border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 500; background: transparent; }
.seg button:hover { background: rgba(255,255,255,.5); }
.seg button.on { background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.18); font-weight: 600; }
.yr { font-size: 13px; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.yr input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
select { font: 500 14px var(--font); padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }

canvas { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line); margin-top: 4px; }
.actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.actions button { flex: 1 1 auto; padding: 14px 22px; }
.caption { margin: 16px 2px 0; font-size: 14px; line-height: 1.5; color: var(--muted); white-space: pre-line; }

/* make it yours */
.kit { margin-top: 24px; padding: 24px 20px; background: var(--bg); border-radius: var(--radius); }
.kit[hidden], #kitTools[hidden], #unlock[hidden], #kitFine[hidden] { display: none; }
.kit h2 { font-size: 28px; }
.kit-lede { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.kit-fine { margin: 10px 2px 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
#unlock { display: flex; gap: 8px; }
.kit-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.kit input[type="color"] { width: 44px; height: 34px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); cursor: pointer; }
.kit .file { font-size: 13px; font-weight: 500; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.kit .file input { font: 400 13px var(--font); max-width: 240px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* dark tile + footnote */
.claims { display: grid; gap: 28px; margin-top: 28px; text-align: center; }
.claims b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.claims span { display: block; margin-top: 6px; font-size: 15px; color: #a1a1a6; }
.dark h2 { color: #f5f5f5; }
.foot { margin: 24px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.foot a { color: var(--ink); }
@media (min-width: 720px) { .claims { grid-template-columns: repeat(3, 1fr); } .tile.card { padding: 32px; } }

/* guest wrapped */
.paste { max-width: 560px; margin: 14px auto 0; text-align: left; }
.paste summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); text-align: center; list-style: none; }
.paste summary::-webkit-details-marker { display: none; }
.paste summary:hover { color: var(--ink); }
.paste[open] summary { margin-bottom: 10px; }
.paste textarea { width: 100%; padding: 12px 14px; font: 400 15px var(--font); border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); resize: vertical; }
.paste button { margin-top: 8px; }
.eps { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow: auto; border-top: 1px solid var(--line); }
.ep { display: flex; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.ep input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.ep img { width: 44px; height: 44px; border-radius: 10px; background: var(--bg); object-fit: cover; flex: none; }
.ep b { display: block; font-size: 14px; font-weight: 600; }
.ep .t { display: block; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.ep small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* guest list filters */
.filters { margin-bottom: 14px; }
.neg { display: flex; gap: 8px; max-width: 560px; }
.neg input { flex: 1; min-width: 0; padding: 10px 16px; font: 400 15px var(--font); border: 1px solid var(--line); border-radius: 980px; background: var(--card); color: var(--ink); }
.neg button { padding: 10px 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; font-size: 13px; font-weight: 500; background: var(--track); border-radius: 980px; }
.chip button { padding: 0; width: 20px; height: 20px; line-height: 20px; font-size: 15px; border-radius: 50%; background: rgba(0,0,0,.12); }
.chip button:hover { background: rgba(0,0,0,.25); }
.filters .kit-row button { padding: 8px 14px; font-size: 13px; font-weight: 500; }
.eps li { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); }
.eps li .ep { flex: 1; min-width: 0; border-bottom: 0; }
.row-actions { display: flex; flex-direction: column; gap: 2px; flex: none; }
.row-actions button { padding: 4px 10px; font-size: 12px; font-weight: 500; background: transparent; color: var(--muted); border-radius: 8px; text-align: left; }
.row-actions button:hover { background: var(--track); color: var(--ink); }

/* examples */
.examples { text-align: left; }
.examples h2 { font-size: clamp(24px, 3.4vw, 34px); }
.ex-list { display: flex; gap: 14px; list-style: none; margin: 18px 0 0; padding: 0 0 6px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.ex-list li { flex: 0 0 min(220px, 62vw); scroll-snap-align: start; }
.ex { display: block; width: 100%; padding: 0; background: transparent; border-radius: 10px; text-align: left; font-weight: 600; font-size: 14px; }
.ex:hover { background: transparent; }
.ex img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(0,0,0,.08); transition: transform .15s, box-shadow .15s; }
.ex:hover img { transform: translateY(-3px); box-shadow: 0 0 0 1px #bdbdbd, 0 12px 26px rgba(0,0,0,.14); }
.ex span { display: block; margin-top: 10px; }
