@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Noto+Sans+SC:wght@300;400;500&family=DM+Sans:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --cream: #faf6ee;
  --cream-deep: #f2ead8;
  --paper: #fffcf5;
  --warm: #ffb47a;
  --rose: #f4a09c;
  --lilac: #c8b8e8;
  --mint: #a8d4c0;
  --line: rgba(44, 42, 38, .08);
  --line-hi: rgba(44, 42, 38, .16);
  --ink: #2c2a26;
  --muted: #6b6660;
  --faint: #a8a39c;
  --sans: 'Noto Sans SC', 'DM Sans', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  --serif: 'Fraunces', Georgia, 'Songti SC', 'STSong', serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100%;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 700px 460px at 12% 18%, rgba(255, 180, 122, .16), transparent 60%),
    radial-gradient(ellipse 540px 540px at 88% 84%, rgba(200, 184, 232, .13), transparent 60%),
    radial-gradient(ellipse 420px 320px at 50% 50%, rgba(244, 160, 156, .06), transparent 70%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.16 0 0 0 0 0.15 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(44, 42, 38, .12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(44, 42, 38, .22); }

.site {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
main { flex: 1; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 238, .65);
  padding: 14px 40px;
  backdrop-filter: blur(18px);
}
.site-header-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
}
.brand-orb { width: 26px; height: 26px; }
.desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.desktop-nav a,
.mobile-nav a {
  border-radius: 10px;
  padding: 8px 14px;
  white-space: nowrap;
  transition: background .16s, color .16s;
}
.desktop-nav a:hover,
.mobile-nav a:hover { background: rgba(44, 42, 38, .05); color: var(--ink); }
.desktop-nav a.active,
.mobile-nav a.active { background: var(--cream-deep); color: var(--ink); }
.desktop-auth { flex: none; min-width: 42px; display: flex; justify-content: flex-end; }
.menu-button { display: none; }
.mobile-nav { display: none; }

.auth-login,
.mobile-auth-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 180, 122, .45);
  border-radius: 12px;
  background: rgba(255, 180, 122, .15);
  padding: 8px 16px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
}
.avatar-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}
.avatar-button {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  width: 36px;
  height: 36px;
  min-width: 36px;
  max-width: 36px;
  min-height: 36px;
  max-height: 36px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line-hi);
  border-radius: 999px;
  background: rgba(255, 252, 245, .6);
  padding: 0;
  color: var(--ink);
  line-height: 0;
  cursor: pointer;
}
.avatar-button img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  flex: 0 0 100%;
  object-fit: cover;
}
.user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 6px 0;
  box-shadow: 0 8px 24px rgba(44, 42, 38, .08);
}
.user-menu[hidden] { display: none; }
.user-menu .handle {
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.user-menu a,
.user-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 12px;
  text-align: left;
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
}
.user-menu a:hover,
.user-menu button:hover { background: rgba(44, 42, 38, .05); color: var(--ink); }

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: rgba(255, 252, 245, .4);
  padding: 56px 40px;
}
.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-mark {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  color: var(--faint);
  font-size: 12.5px;
}
.footer-links a { margin-left: 16px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.copyright {
  margin-top: 36px;
  text-align: center;
  color: var(--faint);
  font-size: 11.5px;
  letter-spacing: .04em;
}

.hero,
.manifesto,
.chapter,
.big-quote,
.final-cta,
.page {
  max-width: 1024px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.hero {
  padding-top: 96px;
  padding-bottom: 80px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--warm);
  box-shadow: 0 0 6px rgba(255, 180, 122, .6);
}
.hero h1 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.08;
}
.hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .16s, background .16s, border-color .16s;
}
.button:hover { transform: translateY(-2px); }
.button.warm {
  border: 1px solid rgba(255, 180, 122, .45);
  background: rgba(255, 180, 122, .2);
}
.button.warm:hover { background: rgba(255, 180, 122, .3); }
.button.plain {
  border: 1px solid var(--line-hi);
}
.button.plain:hover { border-color: var(--ink); background: rgba(44, 42, 38, .05); }
.button.full { width: 100%; }

.manifesto,
.chapter,
.big-quote,
.final-cta { border-top: 1px solid var(--line); }
.manifesto {
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
}
.manifesto h2 {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.45;
}
.manifesto p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.95;
}
.manifesto .quote-line {
  margin: 48px 0 0;
  color: var(--ink);
  font-size: 24px;
  font-style: italic;
  line-height: 1.4;
}

.chapter {
  padding-top: 96px;
  padding-bottom: 96px;
}
.chapter header { margin-bottom: 40px; text-align: center; }
.chapter header div {
  margin-bottom: 20px;
  color: var(--warm);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.chapter h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
}
.visual-card {
  max-width: 560px;
  margin: 0 auto 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  padding: 28px;
  box-shadow: 0 4px 18px rgba(44, 42, 38, .04);
}
.lines { display: grid; gap: 8px; margin-bottom: 20px; }
.lines i,
.context-box i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}
.visual-divider {
  padding: 8px 0 20px;
  text-align: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.visual-divider.dark {
  display: table;
  margin: 12px auto;
  border-radius: 4px;
  background: var(--ink);
  padding: 6px 16px;
  color: var(--paper);
}
.visual-divider.dark small { display: block; margin-top: 6px; color: var(--faint); }
.app-grid,
.desk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.app-grid div {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(250, 246, 238, .4);
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}
.app-grid span { font-size: 20px; }
.prompt-box,
.todo-box,
.context-box,
.package-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(250, 246, 238, .4);
  padding: 16px;
}
.prompt-box small {
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  margin-left: 2px;
  background: var(--warm);
  vertical-align: text-bottom;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.todo-box > div { display: flex; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.todo-box small { display: block; color: var(--muted); font-size: 11px; }
.todo-box ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.todo-box li::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  vertical-align: -2px;
}
.todo-box li.done { color: var(--faint); text-decoration: line-through; }
.todo-box li.done::before { border-color: var(--warm); background: var(--warm); }
.stream-head,
.memory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stream-head b { color: #10b981; font-size: 10px; }
.stream-head i,
.live i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 999px;
  background: #10b981;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 50% { opacity: .35; transform: scale(1.35); } }
.stream-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stream-list li { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.stream-list li.divider { display: block; text-align: center; color: var(--faint); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.stream-list b { border-radius: 4px; padding: 4px 8px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.tag-app { background: rgba(255,180,122,.15); color: var(--warm); }
.tag-tool { background: rgba(16,185,129,.1); color: #10b981; }
.tag-agent { background: var(--line); color: var(--ink); }
.tag-done { background: var(--ink); color: var(--paper); }
.context-box { display: grid; gap: 8px; }
.context-box b { color: var(--ink); font-size: 12px; }
.context-box i { width: 80%; }
.context-box i:nth-child(3) { width: 60%; }
.context-box .warm { background: rgba(255, 180, 122, .4); width: 50%; }
.context-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.context-line span { height: 1px; flex: 1; background: rgba(255, 180, 122, .3); }
.context-line b { border-radius: 4px; background: var(--warm); padding: 4px 12px; color: #fff; font-family: var(--mono); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.memory-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(250, 246, 238, .4);
  padding: 12px;
  margin-top: 8px;
}
.memory-row > b {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--paper);
}
.memory-row span { flex: 1; min-width: 0; }
.memory-row strong { display: block; font-size: 13px; }
.memory-row small { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.memory-row em { border-radius: 4px; background: rgba(255, 180, 122, .15); padding: 4px 8px; color: var(--warm); font-size: 9px; font-style: normal; font-weight: 700; }
.memory-head b { color: var(--warm); }
.package-box { display: grid; gap: 8px; }
.package-box strong { display: flex; justify-content: space-between; }
.package-box small { color: var(--faint); font-family: var(--mono); }
.package-box code { border-left: 1px solid var(--line); padding-left: 12px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.desk-grid span {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.desk-grid .new { border-color: rgba(255,180,122,.55); background: rgba(255,180,122,.1); box-shadow: 0 0 10px rgba(255,180,122,.18); }
.desk-grid .empty { color: var(--faint); }
.chapter-copy { max-width: 640px; margin: 0 auto; }
.chapter-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.95;
}
.chapter-copy blockquote {
  max-width: 480px;
  margin: 36px auto 0;
  border-left: 2px solid rgba(255,180,122,.45);
  padding-left: 20px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
}
.big-quote,
.final-cta {
  padding-top: 112px;
  padding-bottom: 112px;
  text-align: center;
}
.big-quote h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  line-height: 1.4;
}
.final-cta > div:first-child {
  margin-bottom: 28px;
  color: var(--warm);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.final-cta h2 { font-size: 42px; line-height: 1.18; }
.final-cta p {
  max-width: 520px;
  margin: 24px auto 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.75;
}

.page { padding-top: 80px; padding-bottom: 80px; }
.page.narrow { padding-top: 80px; }
.article-head { margin-bottom: 56px; }
.article-head h1,
.center-page h1,
.login-page h1 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.15;
}
.article-head p,
.center-page p,
.login-page p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
}
.article-head .meta,
.meta {
  margin-bottom: 20px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.back-link {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.back-link:hover { color: var(--ink); }
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 40px;
}

.product-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.product-card,
.info-card,
.post-card,
.base-card,
.panel,
.loading-card,
.empty-card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 4px 18px rgba(44, 42, 38, .04);
}
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 28px;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.product-card:hover,
.post-card:hover { transform: translateY(-4px); border-color: var(--line-hi); box-shadow: 0 12px 28px rgba(44,42,38,.07); }
.product-card .icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--cream-deep);
  margin-bottom: 20px;
}
.product-card small {
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-card h1,
.info-card h2 {
  margin: 4px 0 12px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}
.product-card p,
.info-card p {
  flex: 1;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.chips span {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
  padding: 2px 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}
.info-card { border-radius: 20px; padding: 28px; }
.center-page,
.login-page {
  max-width: 1024px;
  min-height: 60vh;
  margin: 0 auto;
  padding: 96px 32px;
  text-align: center;
}
.login-page {
  max-width: 448px;
  text-align: left;
}
.mono-link {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 18px;
  text-underline-offset: 6px;
}
.alert {
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 13.5px;
}
.alert.error { border: 1px solid rgba(200,74,74,.3); background: rgba(200,74,74,.08); color: #c84a4a; }
.google-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: conic-gradient(#1976d2 0 25%, #4caf50 0 50%, #ffc107 0 75%, #ff3d00 0);
}

.search-row { margin-bottom: 32px; }
input[type="search"] {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-hi);
  border-radius: 14px;
  outline: none;
  background: var(--paper);
  padding: 0 20px;
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color .16s;
}
input[type="search"]::placeholder { color: var(--faint); }
input[type="search"]:focus { border-color: var(--ink); }
.post-list { display: grid; gap: 20px; }
.post-card {
  display: block;
  border-radius: 24px;
  padding: 28px;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.post-card h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
}
.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.post-card span {
  display: inline-flex;
  margin-top: 24px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
}
.empty-card,
.loading-card {
  border-radius: 24px;
  padding: 28px;
  color: var(--muted);
  font-size: 14px;
}
.empty-card { padding: 56px 28px; text-align: center; font-family: var(--serif); font-style: italic; color: var(--faint); }

.lumi-prose { color: var(--ink); font-size: 17px; line-height: 1.85; }
.lumi-prose p { margin: 0 0 1.4em; }
.lumi-prose p:first-of-type::first-letter {
  float: left;
  margin: .04em .12em 0 -.04em;
  color: var(--warm);
  font-family: var(--serif);
  font-size: 3.6em;
  font-weight: 400;
  line-height: .9;
}
.lumi-prose h2 {
  margin: 56px 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
}
.lumi-prose h3 { margin: 32px 0 12px; font-family: var(--serif); font-size: 19px; }
.lumi-prose em { color: var(--muted); font-family: var(--serif); font-style: italic; }
.lumi-prose a { border-bottom: 1px solid var(--warm); color: var(--ink); }
.lumi-prose a:hover { background: rgba(255,180,122,.12); }
.lumi-prose blockquote {
  margin: 32px 0;
  border-left: 3px solid var(--warm);
  background: rgba(255,180,122,.05);
  padding: 18px 26px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
}
.lumi-prose hr {
  border: 0;
  margin: 48px 0;
  text-align: center;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 18px;
}
.lumi-prose hr::before { content: "* * *"; letter-spacing: .4em; }
.lumi-prose ul,
.lumi-prose ol { margin: 0 0 1.4em; padding-left: 1.6em; }
.lumi-prose li { margin: .4em 0; }
.lumi-prose code {
  border-radius: 4px;
  background: var(--cream-deep);
  padding: 2px 6px;
  font-family: var(--mono);
  font-size: .9em;
}
.lumi-prose figure { margin: 36px 0; }
.lumi-prose figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(44,42,38,.08);
}
.lumi-prose figcaption { margin-top: 12px; text-align: center; color: var(--faint); font-size: 12.5px; line-height: 1.6; }

.activity-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.activity-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
}
.activity-head p { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; }
.live { display: flex; align-items: center; gap: 6px; color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.base-list { display: grid; gap: 12px; margin-top: 20px; }
.base-card {
  display: block;
  border-radius: 16px;
  padding: 20px;
}
.base-card:hover { border-color: var(--line-hi); }
.base-row { display: flex; align-items: flex-start; gap: 16px; }
.base-main { min-width: 0; flex: 1; }
.base-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.author { color: var(--muted); font-family: var(--serif); font-size: 14px; font-style: italic; }
.kind {
  border-radius: 6px;
  background: var(--cream-deep);
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kind.post { color: var(--warm); }
.kind.query { color: var(--mint); }
.kind.reply { color: var(--muted); }
.kind.memory { color: var(--faint); }
.time { margin-left: auto; color: var(--faint); font-family: var(--mono); font-size: 11px; }
.base-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}
.base-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.base-note { margin-top: 8px; color: var(--faint); font-family: var(--mono); font-size: 11.5px; }
.base-detail-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 28px;
}
.base-detail-card p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.8; }
.base-detail-card .base-note { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 12px; line-height: 1.7; }
.danger-row { display: flex; justify-content: flex-end; margin-top: 24px; }
.danger {
  border: 1px solid rgba(200,74,74,.4);
  border-radius: 8px;
  background: transparent;
  padding: 8px 16px;
  color: #c84a4a;
  font-size: 13px;
  cursor: pointer;
}
.danger:hover { background: rgba(200,74,74,.1); }
.panel {
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 48px;
}
.panel-flex { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.panel h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 300; }
.panel p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tools-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255,180,122,.45);
  border-radius: 18px;
  background: rgba(255,180,122,.15);
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  transition: transform .16s, background .16s, border-color .16s;
}
.tools-wrap { margin-bottom: 48px; }
.tools-toggle:hover { transform: translateY(-2px); border-color: var(--warm); background: rgba(255,180,122,.25); }
.tools-toggle small { display: block; color: var(--warm); font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.tools-toggle strong { display: block; margin-top: 6px; font-family: var(--serif); font-size: 18px; color: var(--ink); }
.tools-toggle span:last-child {
  display: flex;
  width: 40px;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,180,122,.55);
  border-radius: 999px;
  background: var(--paper);
  font-size: 18px;
  transition: transform .2s;
}
.tools-toggle[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.tools-panel { display: grid; gap: 16px; margin-top: 12px; }
.tools-panel[hidden] { display: none; }
.tool-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 24px;
}
.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tool-head div { color: var(--faint); font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.mini-actions { display: flex; gap: 8px; }
.mini-actions button {
  border: 1px solid var(--line-hi);
  border-radius: 8px;
  background: rgba(250,246,238,.4);
  padding: 6px 12px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.mini-actions button:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.token-code,
.prompt-pre {
  display: block;
  width: 100%;
  overflow: auto;
  border-radius: 8px;
  background: rgba(242,234,216,.7);
  padding: 12px 16px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13.5px;
}
.prompt-pre {
  max-height: 360px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12.5px;
  line-height: 1.75;
}

.lumi-orb {
  flex: none;
  border-radius: 9999px;
  background: conic-gradient(from 180deg, var(--warm), var(--rose), var(--lilac), var(--warm));
  filter: blur(.4px);
  animation: lumi-spin 12s linear infinite;
  box-shadow: 0 0 12px rgba(255,180,122,.3);
}
@keyframes lumi-spin { to { transform: rotate(360deg); } }
.lumi-accent {
  background: linear-gradient(135deg, var(--warm), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 400;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .site-header { padding: 14px 20px; }
  .desktop-nav,
  .desktop-auth { display: none; }
  .menu-button {
    margin-left: auto;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--line-hi);
    border-radius: 12px;
    background: rgba(255,252,245,.7);
    color: var(--ink);
  }
  .menu-button span:not(.sr-only) { width: 20px; height: 1px; background: currentColor; transition: transform .16s, opacity .16s; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav {
    margin-top: 12px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
  }
  .mobile-nav:not([hidden]) { display: grid; gap: 4px; }
  .mobile-auth-login { display: block; margin-top: 4px; padding: 10px 12px; }
  .mobile-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    border: 1px solid var(--line-hi);
    border-radius: 12px;
    background: rgba(255,252,245,.6);
    padding: 10px 12px;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 14px;
  }
  .status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--warm);
    box-shadow: 0 0 6px rgba(255, 180, 122, .55);
  }
  .mobile-logout {
    border: 0;
    background: transparent;
    padding: 10px 12px;
    text-align: left;
    color: var(--muted);
    font-size: 14px;
  }
  .hero,
  .manifesto,
  .chapter,
  .big-quote,
  .final-cta,
  .page {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero { padding-top: 64px; padding-bottom: 56px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .manifesto,
  .chapter { padding-top: 64px; padding-bottom: 64px; }
  .manifesto h2 { font-size: 24px; }
  .manifesto p { font-size: 15px; }
  .manifesto .quote-line { font-size: 20px; }
  .chapter h2 { font-size: 26px; }
  .visual-card { padding: 22px; border-radius: 20px; }
  .big-quote,
  .final-cta { padding-top: 80px; padding-bottom: 80px; }
  .big-quote h2 { font-size: 24px; }
  .final-cta h2 { font-size: 28px; }
  .page { padding-top: 56px; padding-bottom: 56px; }
  .article-head h1,
  .center-page h1,
  .login-page h1 { font-size: 32px; }
  .article-head p,
  .center-page p,
  .login-page p { font-size: 16px; }
  .product-grid,
  .card-grid { grid-template-columns: 1fr; }
  .post-card h2 { font-size: 24px; }
  .activity-head { flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 48px 24px; }
  .footer-links { text-align: left; }
  .footer-links a { margin-left: 0; margin-right: 16px; }
}
