/* Mnora's light visual system, adapted from the landing page. System fonts only. */
:root {
  color-scheme: light;
  --bg: #fcfcfc; --surface: #fff; --band: #f3f4f6; --ink: #111; --muted: #555;
  --accent: #0a66f0; --accent-hover: #0b63d6; --accent-active: #0956bd;
  --accent-soft: #eef3fe; --accent-ink: #0a55c8; --border: #e6e8ec; --input-border: #d9dce1;
  font-family: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.65; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.15; margin-top: 20px; }
h2 { font-size: 23px; line-height: 1.3; }
h3 { font-size: 17px; }
p { overflow-wrap: anywhere; }
.container { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 20px; z-index: 20; padding: 10px 18px; border: 1px solid var(--accent); border-radius: 999px; background: var(--surface); transform: translateY(-160%); }
.skip-link:not(:focus-visible) { clip-path: inset(50%); }
.skip-link:focus-visible { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; text-decoration: none; }
.monogram { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 600; line-height: 1; }
nav { display: flex; align-items: center; gap: 26px; }
nav a, .nav-button { padding-block: 12px; font-size: 13px; color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current], .nav-button:hover { color: var(--accent-ink); }
nav a[aria-current] { text-decoration: underline; text-underline-offset: 8px; }
.nav-button { border: 0; background: transparent; cursor: pointer; padding-inline: 0; }
.page { flex: 1; padding-block: 64px 80px; }
.page-heading { margin-bottom: 24px; }
.eyebrow { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 500; }
.muted, .intro { color: var(--muted); }
.intro { margin-bottom: 32px; font-size: 16px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; cursor: pointer; transition: background .15s ease; flex-shrink: 0; }
.button:hover { background: var(--accent-hover); }
.button:active { background: var(--accent-active); }
button:disabled { cursor: wait; background: #e6e8ec; color: #555; }
.nav-button:disabled { background: transparent; color: #555; }
.full { width: 100%; }
.text-link { display: inline-block; color: var(--accent-ink); font-size: 14px; font-weight: 500; }
.grid { display: grid; gap: 20px; }
.projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.card p + p { margin-top: 12px; }
.card h2 + p, .card h3 + p { margin-top: 12px; }
.card .button { margin-top: 24px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.project-symbol, .empty-mark, .success-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--band); color: var(--accent-ink); font-size: 25px; }
.project-card h2 { font-size: 20px; overflow-wrap: anywhere; }
.project-card h2 a { text-decoration: none; }
.project-card h2 a:hover { text-decoration: underline; }
.project-card .text-link { margin-top: 36px; }
.project-card .muted { font-size: 13px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--band); color: var(--muted); font-size: 12px; white-space: nowrap; }
.succeeded { background: #eaf6ee; color: #25633c; }
.running, .queued { background: var(--accent-soft); color: var(--accent-ink); }
.failed { background: #fff0ef; color: #a12222; }
.summary { background: var(--band); border-radius: 12px; padding: 14px 20px; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.summary:empty { display: none; }
.empty-state { grid-column: 1 / -1; text-align: center; padding-block: 60px; }
.empty-state h2 { margin-top: 20px; }
.empty-state p { max-width: 440px; margin-inline: auto; color: var(--muted); }
.empty-mark { width: 56px; height: 56px; }
.narrow { max-width: 680px; }
.auth-card { margin-top: 36px; padding: 36px; }
.auth-card h2 { margin-top: 20px; }
form { margin-top: 28px; }
.field { margin-bottom: 24px; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
input, textarea { display: block; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--input-border); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #666; opacity: 1; }
textarea { min-height: 190px; resize: vertical; }
input:hover, textarea:hover { border-color: #9ca3af; }
input:focus, textarea:focus { border-color: var(--accent); }
[aria-invalid="true"] { border-color: #a12222; }
.field-hint { color: var(--muted); font-size: 12px; margin-top: 10px; }
.error { color: #a12222; font-size: 14px; }
.error:not(:empty) { margin-top: 8px; }
.form-layout { display: grid; grid-template-columns: 1.65fr 1fr; align-items: start; gap: 24px; }
.form-layout form { margin-top: 0; }
.guide { background: var(--band); padding: 32px; }
.guide h2 { margin-top: 24px; font-size: 26px; }
.upgrade { margin-bottom: 24px; border-color: var(--accent); }
.page-status:empty { display: none; }
.page-status:not(:empty) { margin-bottom: 24px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.is-hidden { display: none !important; }
.stack { display: grid; gap: 24px; }
.idea-copy { white-space: pre-wrap; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 28px 0; }
.timeline li { border-top: 3px solid var(--border); padding-top: 12px; }
.timeline li.complete { border-color: var(--accent); }
.timeline strong { display: block; font-size: 14px; font-weight: 500; }
.timeline span { display: block; font-size: 12px; }
.notice { margin-top: 16px; background: var(--band); padding: 12px 16px; border-radius: 10px; color: var(--muted); }
.action { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 24px; }
.draft h2 { margin-top: 16px; }
pre { padding: 20px; border-radius: 12px; background: var(--band); overflow: auto; font-size: 13px; line-height: 1.7; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.plan-summary { margin-block: 28px; background: var(--band); }
.plan-summary h2 { margin-top: 12px; }
progress { display: block; width: min(100%, 420px); height: 12px; accent-color: var(--accent); margin-top: 16px; }
.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-card h2 { margin-top: 24px; font-size: 28px; }
.price { font-size: 44px; letter-spacing: -.04em; line-height: 1.4; }
.price span { font-size: 16px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.current-plan { border: 2px solid var(--accent); }
.response-card { padding: 36px; }
.response-card .success-mark { margin-bottom: 24px; background: #eaf6ee; color: #25633c; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.actions .button { margin-top: 0; }
.site-footer { border-top: 1px solid var(--border); background: var(--band); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.site-footer p { color: var(--muted); text-align: right; font-size: 12px; }
@media (max-width: 719px) {
  .header-inner { flex-wrap: wrap; padding-block: 16px 8px; gap: 8px; }
  nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
  nav a, .nav-button { min-height: 44px; }
  .page { padding-block: 36px 48px; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .projects, .plans, .form-layout { grid-template-columns: 1fr; }
  .card, .auth-card, .response-card { padding: 24px; }
  .timeline { grid-template-columns: 1fr; }
  .guide { padding: 24px; }
  .card-top { flex-wrap: wrap; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .site-footer p { text-align: left; }
  .actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
