/* Disruptware — modern rebuild */
:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-2: #3b4358;
  --muted: #6b7280;
  --line: #e6e8f0;
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --accent-soft: #eef2ff;
  --grad: linear-gradient(100deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11,18,32,.05), 0 8px 24px -12px rgba(11,18,32,.12);
  --shadow-lg: 0 2px 4px rgba(11,18,32,.06), 0 20px 40px -16px rgba(11,18,32,.22);
  --max: 1120px;
  --prose: 720px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #111a2c;
    --ink: #eef1f8;
    --ink-2: #c3cadb;
    --muted: #8a93a8;
    --line: #1f2a41;
    --accent: #818cf8;
    --accent-2: #22d3ee;
    --accent-soft: #1a2340;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.5);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 20px 40px -16px rgba(0,0,0,.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; color: var(--ink); display: inline-flex; align-items: center; gap: 9px; }
.logo:hover { text-decoration: none; }
.logo .mark {
  width: 26px; height: 26px; border-radius: 7px; display: block;
  image-rendering: -webkit-optimize-contrast;
  box-shadow: 0 2px 8px rgba(11,18,32,.35);
}
.logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.main { margin-left: auto; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
nav.main a {
  color: var(--ink-2); font-weight: 550; font-size: .95rem;
  padding: 7px 12px; border-radius: 10px;
}
nav.main a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
nav.main a.active { color: var(--accent); background: var(--accent-soft); }
nav.main a.cta {
  background: var(--ink); color: var(--bg); font-weight: 650;
}
nav.main a.cta:hover { background: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) {
  nav.main a.cta { background: var(--accent); color: #fff; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero .glow {
  position: absolute; inset: -40% -20% auto; height: 130%; pointer-events: none;
  background:
    radial-gradient(600px 300px at 20% 20%, color-mix(in srgb, #6366f1 22%, transparent), transparent 70%),
    radial-gradient(500px 280px at 80% 10%, color-mix(in srgb, #22d3ee 18%, transparent), transparent 70%);
}
.hero .wrap { position: relative; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.7rem); line-height: 1.06; letter-spacing: -0.035em;
  margin: 0 0 20px; font-weight: 800; max-width: 780px;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: 1.22rem; color: var(--ink-2); max-width: 620px; margin: 0 0 34px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; font-weight: 650; font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.btn.primary:hover { box-shadow: var(--shadow-lg); }
@media (prefers-color-scheme: dark) { .btn.primary { background: var(--accent); color: #fff; } }
.btn.ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- sections ---------- */
section.block { padding: 56px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: 1.65rem; letter-spacing: -0.025em; margin: 0; font-weight: 750; }
.section-head a.more { font-weight: 600; font-size: .95rem; white-space: nowrap; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
  box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--accent-soft); display: block; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .thumb.ph { display: grid; place-items: center; background: var(--grad); }
.card .thumb.ph span { font-size: 2.6rem; font-weight: 900; color: rgba(255,255,255,.92); }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.015em; font-weight: 700; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.card p.excerpt { margin: 0; color: var(--muted); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); }

.pill {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
}
.pill.podcasts { background: color-mix(in srgb, #06b6d4 14%, var(--surface)); color: #0891b2; }
.pill.entrepreneurship { background: color-mix(in srgb, #f59e0b 16%, var(--surface)); color: #b45309; }
.pill.startup { background: color-mix(in srgb, #f43f5e 14%, var(--surface)); color: #be185d; }
@media (prefers-color-scheme: dark) {
  .pill.podcasts { color: #67e8f9; }
  .pill.entrepreneurship { color: #fcd34d; }
  .pill.startup { color: #fda4af; }
}

/* product cards */
.products { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.product {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s; overflow: hidden;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.product h3 { margin: 0 0 8px; font-size: 1.35rem; letter-spacing: -0.02em; }
.product p { margin: 0 0 18px; color: var(--ink-2); }
.product a.link { font-weight: 650; }

/* ---------- article ---------- */
.article-head { padding: 64px 0 24px; }
.article-head .wrap, article.prose, .prose-page { max-width: var(--prose); margin: 0 auto; padding: 0 24px; }
.article-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.12; letter-spacing: -0.03em; margin: 16px 0 18px; font-weight: 800; }
.article-head .meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; flex-wrap: wrap; }
.article-head .meta .dot::before { content: "·"; }
article.prose { padding-bottom: 72px; font-size: 1.08rem; color: var(--ink-2); }
article.prose > *:first-child { margin-top: 0; }
article.prose h2, article.prose h3, article.prose h4 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.25; margin: 2.2em 0 .6em; }
article.prose h2 { font-size: 1.55rem; }
article.prose h3 { font-size: 1.25rem; }
article.prose p { margin: 1.1em 0; }
article.prose img {
  border-radius: 12px; box-shadow: var(--shadow); margin: 1.6em auto; display: block;
}
article.prose blockquote {
  margin: 1.6em 0; padding: 4px 24px; border-left: 4px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 12px 12px 0; color: var(--ink-2); font-style: italic;
}
article.prose ul, article.prose ol { padding-left: 1.4em; }
article.prose li { margin: .4em 0; }
article.prose hr { border: none; border-top: 1px solid var(--line); margin: 2.5em 0; }
article.prose iframe { max-width: 100%; border-radius: 12px; }
article.prose .video-embed { position: relative; padding-top: 56.25%; margin: 1.6em 0; }
article.prose .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
article.prose strong { color: var(--ink); }

.audio-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin: 0 0 28px; box-shadow: var(--shadow);
}
.audio-card .label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.audio-card audio { width: 100%; }

.featured-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); margin: 8px 0 36px; width: 100%; object-fit: cover; }

/* prev/next + back links */
.post-nav { display: flex; justify-content: space-between; gap: 16px; max-width: var(--prose); margin: 0 auto; padding: 0 24px 64px; }
.post-nav a { font-weight: 600; font-size: .95rem; max-width: 46%; }

/* ---------- page (non-post) ---------- */
.page-head { padding: 64px 0 8px; }
.page-head .wrap { max-width: var(--prose); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -0.03em; margin: 0 0 10px; font-weight: 800; }
.page-head p.sub { color: var(--muted); font-size: 1.1rem; margin: 0; }
.prose-page { padding-top: 24px; padding-bottom: 72px; font-size: 1.05rem; color: var(--ink-2); }
.prose-page h2, .prose-page h3 { color: var(--ink); letter-spacing: -0.02em; margin: 1.8em 0 .5em; }
.prose-page a { font-weight: 550; }

/* archive head */
.archive-head { padding: 64px 0 36px; }
.archive-head h1 { font-size: clamp(2rem, 4.5vw, 2.7rem); letter-spacing: -0.03em; margin: 0 0 10px; font-weight: 800; }
.archive-head p { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 0 24px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips a {
  font-size: .88rem; font-weight: 600; padding: 7px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--ink-2); background: var(--surface);
}
.chips a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.chips a.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (prefers-color-scheme: dark) { .chips a.active { background: var(--accent); border-color: var(--accent); color: #fff; } }

/* podcast banner */
.podcast-banner {
  border-radius: 20px; padding: 40px; margin: 8px 0;
  background: var(--grad); color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.podcast-banner h2 { margin: 0 0 6px; font-size: 1.6rem; letter-spacing: -0.02em; }
.podcast-banner p { margin: 0; opacity: .92; max-width: 520px; }
.podcast-banner .btn { background: #fff; color: #0b1220; }

/* ---------- footer ---------- */
footer.site-footer {
  margin-top: 40px; border-top: 1px solid var(--line);
  background: var(--surface); padding: 48px 0 36px; color: var(--muted); font-size: .92rem;
}
footer .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
footer .brand p { max-width: 320px; margin: 10px 0 0; }
footer h4 { margin: 0 0 12px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 6px 0; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
footer .legal { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero { padding: 56px 0 44px; }
  .site-header .bar { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 10px; }
  nav.main { margin-left: 0; width: 100%; }
}
