:root {
  --bg: #0c0b0a;
  --bg-2: #141311;
  --bg-3: #1c1a17;
  --ink: #f3efe8;
  --muted: #a39b90;
  --faint: #6e675e;
  --line: #2a2723;
  --accent: #e8a87c;
  --accent-2: #c9a227;
  --ok: #8fbf7a;
  --danger: #d4726a;
  --radius: 18px;
  --font: 'Outfit', system-ui, sans-serif;
  --display: 'Fraunces', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body, #root {
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 11, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
}

nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 8px 10px;
  border-radius: 999px;
}

nav a:hover,
nav a.active {
  color: var(--ink);
  background: var(--bg-3);
}

.hero {
  padding: 72px 0 36px;
}

.kicker {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

h1, h2, .display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  max-width: 16ch;
  margin-bottom: 18px;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 52ch;
  margin-bottom: 28px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--accent);
  color: #1a120c;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--bg-3);
}

.btn-ok {
  background: var(--ok);
  color: #10150e;
}

.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.today-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  overflow: hidden;
  margin: 28px 0 56px;
}

.today-main {
  padding: 28px;
}

.today-aside {
  background:
    radial-gradient(800px 280px at 80% 0%, rgba(232, 168, 124, 0.18), transparent 50%),
    var(--bg-3);
  border-left: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.meta {
  color: var(--faint);
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.prompt-title {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.prompt-blurb {
  color: var(--muted);
  margin-bottom: 18px;
}

.prompt-box {
  background: #0a0908;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  color: #ddd6cc;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-wrap;
  max-height: 240px;
  overflow: auto;
}

.steps {
  list-style: none;
  display: grid;
  gap: 12px;
}

.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.section {
  padding: 20px 0 64px;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 60ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cat-card, .prompt-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.cat-card:hover, .prompt-card:hover {
  transform: translateY(-2px);
  border-color: #3d3933;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cat-card h3, .prompt-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
}

.prompt-card p, .cat-card p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.72rem;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
}

.page-head {
  padding: 48px 0 20px;
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.prose {
  max-width: 68ch;
  color: var(--muted);
}

.prose h2 {
  color: var(--ink);
  font-size: 1.45rem;
  margin: 28px 0 10px;
}

.prose p, .prose li {
  margin-bottom: 12px;
}

.prose ul {
  padding-left: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--faint);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 0.9fr;
  gap: 24px;
}

.footer-grid a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--ink);
}

.disclaimer-strip {
  margin-top: 22px;
  color: var(--faint);
  font-size: 0.8rem;
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  z-index: 50;
}

.search {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0 22px;
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 0.85rem;
}

.chip.on, .chip:hover {
  color: var(--ink);
  border-color: #4a453e;
  background: var(--bg-3);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--muted);
  margin-top: 8px;
}

@media (max-width: 860px) {
  .today-card,
  .grid,
  .how-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .today-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }
}

.mobile-nav {
  display: none;
}

@media (max-width: 860px) {
  .mobile-nav {
    display: flex;
    gap: 6px;
    overflow: auto;
    padding: 0 0 10px;
  }
  .mobile-nav a {
    white-space: nowrap;
    color: var(--muted);
    font-size: 0.82rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
  }
}
