/* Shared design tokens for Instagram cards and the website. */
:root {
  --bg: #0f141c;
  --bg-elevated: #161d28;
  --fg: #e6eaf0;
  --fg-muted: #9aa5b5;
  --accent: #f0b35a;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 12px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wordmark {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}

/* ---- card (1080x1350) ---- */
.card {
  position: relative;
  width: 1080px;
  height: 1350px;
  box-sizing: border-box;
  padding: 72px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 40px;
}
.card .brand { display: flex; align-items: center; gap: 24px; }
.card .brand img { height: 96px; width: auto; display: block; }
.card .brand .wordmark { font-size: 64px; }
.card .date { color: var(--fg-muted); font-size: 36px; }
.card .body {
  flex: 1;
  display: flex;
  align-items: center;
}
.card .text {
  font-size: 56px;
  line-height: 1.3;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.card .text.long { font-size: 44px; line-height: 1.32; }
.card.cover .text { font-size: 84px; line-height: 1.15; font-weight: 700; }
.card.cover .kicker { color: var(--accent); font-size: 40px; margin-bottom: 32px; }
.card.closing .text { font-size: 48px; color: var(--fg); }
.card .foot {
  display: flex;
  justify-content: space-between;
  color: var(--fg-muted);
  font-size: 36px;
}
.card .foot .counter { color: var(--accent); font-weight: 700; }
.card .stripe {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 16px;
  background: var(--accent);
}

/* ---- website ---- */
.site {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  font-size: 18px;
  line-height: 1.55;
}
.site header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg-elevated);
  margin-bottom: 32px;
}
.site header.top .brand { display: flex; align-items: center; gap: 12px; }
.site header.top .brand img { height: 40px; width: auto; }
.site header.top .brand .wordmark { font-size: 28px; }
.site header.top nav a { margin-left: 16px; color: var(--fg-muted); }
.site h1 { font-size: 32px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
.site .meta { color: var(--fg-muted); margin-bottom: 32px; }
.site .meta .slot { color: var(--accent); }
.site article.post {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.site article.post .n { color: var(--fg-muted); font-size: 14px; display: block; margin-bottom: 6px; }
.site h2 { font-size: 20px; margin: 40px 0 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.site ul.episodes { list-style: none; padding: 0; margin: 0; }
.site ul.episodes li { padding: 16px 0; border-bottom: 1px solid var(--bg-elevated); }
.site ul.episodes li a { font-size: 22px; font-weight: 700; color: var(--fg); }
.site ul.episodes li .meta { margin: 4px 0 0; }
.site .empty { color: var(--fg-muted); font-size: 20px; padding: 48px 0; text-align: center; }
.site .empty.launch { color: var(--fg); font-size: 32px; font-weight: 700; padding: 64px 0 8px; }
.site .empty-sub { color: var(--fg-muted); font-size: 18px; text-align: center; margin: 0 0 48px; }
.site footer { margin-top: 64px; color: var(--fg-muted); font-size: 14px; }
