/* Kelus website. Warm dark base from the app's "Kelus Warm" theme, with a gold → coral → violet accent. */
:root {
  --bg: #0f0c09;
  --bg-panel: #16120d;
  --bg-card: #1b1611;
  --bg-elevated: #251e16;
  --border: #2d251b;
  --border-strong: #4a3c2b;
  --text: #e3d6c3;
  --text-heading: #fbf1e1;
  --text-muted: #ab9d88;
  --text-faint: #7d705e;
  --gold: #f5c77e;
  --coral: #ff7a59;
  --violet: #9d8cff;
  --accent: #f0b86e;
  --accent-contrast: #1b1208;
  --gradient: linear-gradient(100deg, var(--gold) 0%, var(--coral) 48%, var(--violet) 100%);
  --status-good: #a9d18e;
  --status-bad: #f0a095;
  --kind-claim: #8fb7d8;
  --kind-evidence: #a3c98a;
  --kind-counter: #d99a6c;
  --kind-decision: #c79fe0;
  --display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: SFMono-Regular, ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
kbd { font-family: var(--mono); font-size: .9em; padding: 1px 6px; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 5px; color: var(--text-heading); }

/* ---------- Buttons ---------- */
.button, button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border-strong);
  font-size: 13px; font-weight: 600; color: var(--text-heading); text-decoration: none; background: transparent;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .2s ease;
}
.button:hover { border-color: var(--accent); }
.button.primary { border: 0; background: var(--gradient); color: var(--accent-contrast); box-shadow: 0 8px 30px -10px #ff7a5999; }
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -10px #ff7a59cc; }
.button.big { padding: 13px 24px; font-size: 15px; }
.button.ghost { background: #ffffff08; }
.download-icon { font-size: 17px; line-height: 1; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 22px;
  padding: 12px clamp(16px, 4vw, 40px); background: #0f0c09cc; backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid #ffffff0d;
}
.nav-brand { display: flex; align-items: center; gap: 9px; color: var(--text-heading); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 18px; }
.nav-brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; }
.nav-links a:hover { color: var(--text-heading); }
.nav .spacer { flex: 1; }
.nav-actions { display: flex; gap: 8px; }
@media (max-width: 720px) { .nav-links { display: none; } .nav { gap: 10px; } .nav-actions .button { padding: 7px 11px; font-size: 12px; } }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: 1180px; margin: 0 auto; padding: 72px 20px 40px; text-align: center; }
.hero-glow {
  position: absolute; inset: -80px 0 auto; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 30%, #f5c77e33, transparent 70%),
    radial-gradient(35% 45% at 70% 25%, #9d8cff30, transparent 70%),
    radial-gradient(30% 40% at 50% 55%, #ff7a5926, transparent 70%);
  filter: blur(20px);
}
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 640px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(60% 70% at 50% 20%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 20%, #000, transparent);
}
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: #ffffff06; color: var(--text-muted); font-size: 13px; text-decoration: none;
}
.badge:hover { color: var(--text-heading); border-color: var(--accent); }
.badge-new { padding: 2px 9px; border-radius: 999px; background: var(--gradient); color: var(--accent-contrast); font-weight: 700; font-size: 11px; }
.hero h1 {
  margin: 26px auto 18px; max-width: 900px; font-family: var(--display); font-weight: 800;
  font-size: clamp(42px, 7.4vw, 86px); line-height: .98; letter-spacing: -0.035em; color: var(--text-heading);
}
@media (max-width: 640px) { .hero h1 br, .section h2 br { display: none; } .hero { padding-top: 48px; } }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 640px; margin: 0 auto; font-size: clamp(16px, 2vw, 19px); line-height: 1.55; color: var(--text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-meta { margin: 16px 0 0; font-size: 13px; color: var(--text-faint); }
.member-count { min-height: 26px; margin-top: 8px; color: var(--text-muted); font-size: 13px; }
.member-count .count-number { color: var(--gold); font-weight: 700; font-size: 16px; margin-right: 6px; }
.shot {
  position: relative; margin: 44px auto 0; border-radius: 14px; overflow: hidden; background: var(--bg-panel);
  border: 1px solid #ffffff14; box-shadow: 0 40px 120px -30px #000, 0 0 0 1px #00000080, 0 30px 90px -40px #ff7a5955;
}
.shot-bar { display: flex; gap: 7px; padding: 11px 14px; background: #1d1711; border-bottom: 1px solid #ffffff0d; }
.shot-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a2f23; }
.shot-bar span:nth-child(1) { background: #ff5f57; } .shot-bar span:nth-child(2) { background: #febc2e; } .shot-bar span:nth-child(3) { background: #28c840; }
.hero-shot { max-width: 1120px; transform: perspective(1600px) rotateX(10deg) scale(.96); transform-origin: 50% 0; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.hero-shot.flat { transform: none; }

/* ---------- Works-with strip ---------- */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: 1000px; margin: 34px auto 0; padding: 0 20px; color: var(--text-faint); font-size: 13px; }
.strip > span:first-child { margin-right: 6px; }
.pill { border: 1px solid var(--border-strong); border-radius: 999px; padding: 4px 12px; font-size: 12px; color: var(--text-muted); background: #ffffff05; }

/* ---------- Sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 100px 20px 20px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head p { margin: 12px auto 0; max-width: 560px; color: var(--text-muted); font-size: 16px; line-height: 1.55; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section h2, .cta h2 { margin: 12px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -0.03em; color: var(--text-heading); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 250px; padding: 26px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #1f1913, #16120d); border: 1px solid var(--border);
  transition: border-color .25s ease, transform .25s ease;
}
.tile:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at 0% 0%, #f5c77e10, transparent 70%); }
.tile-wide { grid-column: span 2; }
.tile-tall { grid-row: span 2; }
.tile-kicker { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.tile h3 { margin: 6px 0 8px; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; color: var(--text-heading); }
.tile p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.tile-shot { margin-top: auto; border-radius: 12px; border: 1px solid #ffffff12; box-shadow: 0 18px 40px -18px #000; }
.tile-tall .tile-shot { max-height: 520px; width: 100%; object-fit: cover; object-position: top; }
.tile-shot-crop { width: 100%; max-height: 230px; object-fit: cover; object-position: top; }
.palette-mock { margin-top: auto; padding: 8px; border-radius: 12px; background: #0c0906; border: 1px solid #ffffff12; font-size: 13px; }
.pm-input { display: flex; align-items: center; height: 32px; padding: 0 10px; margin-bottom: 6px; border-radius: 7px; border: 1px solid var(--accent); color: var(--text-heading); }
.pm-caret { width: 1.5px; height: 15px; margin-left: 1px; background: var(--text-heading); animation: t-blink 1s step-end infinite; }
.pm-row { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 6px; color: var(--text); }
.pm-row.on { background: #3a2c1c; }
.pm-row b { color: var(--gold); }
.pm-row em { font-style: normal; font-size: 11px; color: var(--text-faint); }
.pm-icon { flex: 0 0 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; font-size: 8px; font-weight: 800; color: #fff; background: var(--c); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; font-size: 13px; }
.flow span { padding: 7px 12px; border-radius: 10px; background: #0c0906; border: 1px solid var(--border-strong); color: var(--text-heading); font-weight: 600; }
.flow i { font-style: normal; color: var(--gold); }
.tile-wide:first-child { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 26px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-tall { grid-row: auto; }
  .tile-wide:first-child { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile-wide { grid-column: auto; } }

/* Agent demo (typed by app.js) */
.terminal-panel { background: #0c0906; border: 1px solid #ffffff12; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px -24px #000; }
.terminal-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #17120d; border-bottom: 1px solid #ffffff0d; }
.terminal-head .dot { width: 9px; height: 9px; border-radius: 50%; }
.terminal-head .dot.red { background: #ff5f57; } .terminal-head .dot.yellow { background: #febc2e; } .terminal-head .dot.green { background: #28c840; }
.terminal-head .terminal-title { margin-left: 6px; font-size: 11px; color: var(--text-faint); }
.terminal-body { margin: 0; padding: 16px 14px; min-height: 196px; font-family: var(--mono); font-size: 12px; line-height: 1.9; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.terminal-body .t-task { color: var(--text-faint); }
.terminal-body .t-agent { color: var(--text-heading); font-weight: 600; }
.terminal-body .t-claim { color: var(--kind-claim); }
.terminal-body .t-evidence { color: var(--kind-evidence); }
.terminal-body .t-counter { color: var(--kind-counter); }
.terminal-body .t-decision { color: var(--kind-decision); }
.terminal-body .t-cursor { display: inline-block; width: 6px; height: 13px; background: var(--gold); margin-left: 2px; vertical-align: -2px; animation: t-blink 1s step-end infinite; }
@keyframes t-blink { 50% { opacity: 0; } }

/* Coach lesson mock */
.lesson { margin-top: auto; padding: 14px; border-radius: 12px; background: #0c0906; border: 1px solid #ffffff12; font-family: var(--mono); font-size: 12.5px; }
.lesson-head { margin-bottom: 10px; color: var(--text-faint); font-size: 11px; }
.lesson-line { color: var(--text); line-height: 1.8; }
.lesson-line b { color: #c586c0; font-weight: 400; }
.lesson-line i { color: #ce9178; font-style: normal; }
.lesson-line.indent { padding-left: 28px; }
.lesson-run { margin-top: 10px; padding-top: 10px; border-top: 1px solid #ffffff10; color: var(--text-muted); }
.lesson-run span { color: var(--text); }
.lesson-run em { color: var(--status-good); font-style: normal; margin-left: 6px; }

/* Live Share avatars */
.avatars { display: flex; align-items: center; margin-top: auto; }
.avatars span { width: 44px; height: 44px; margin-right: -10px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #1b1208; background: var(--c); border: 3px solid #1b1611; }
.avatars .join { width: auto; margin-left: 22px; padding: 0 14px; height: 34px; border-radius: 999px; background: #ffffff0a; color: var(--text-heading); border: 1px dashed var(--border-strong); font-size: 12px; font-weight: 600; }

.langs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.langs span { padding: 5px 11px; border-radius: 999px; background: #ffffff08; border: 1px solid var(--border); font-size: 13px; color: var(--text); }

/* Kel teaser */
.tile-kel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 26px; background: radial-gradient(70% 90% at 100% 0%, #ff7a5922, transparent 60%), linear-gradient(180deg, #1f1913, #16120d); }
.tile-kel code { font-family: var(--mono); color: var(--text-heading); }
.kel-code { margin: 0; padding: 18px; border-radius: 12px; background: #0c0906; border: 1px solid #ffffff12; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: var(--text); overflow-x: auto; }
.kel-code .k { color: #569cd6; } .kel-code .f { color: #dcdcaa; } .kel-code .s { color: #ce9178; } .kel-code .n { color: #b5cea8; }
@media (max-width: 960px) { .tile-kel { grid-template-columns: 1fr; } }

/* ---------- Download ---------- */
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.download-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px; border-radius: 18px; text-decoration: none;
  background: linear-gradient(180deg, #1f1913, #16120d); border: 1px solid var(--border); color: var(--text-muted); font-size: 13px;
  transition: border-color .2s ease, transform .2s ease;
}
.download-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.download-card.suggested { border-color: #f0b86e88; box-shadow: 0 0 0 1px #f0b86e44, 0 20px 50px -30px #ff7a59; }
.download-card strong { font-family: var(--display); font-size: 22px; color: var(--text-heading); }
.download-card .os-icon { width: 28px; height: 28px; color: var(--text-heading); margin-bottom: 10px; }
.download-card em { margin-top: 12px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--gold); }
.download-card.suggested em::after { content: ' · Recommended for you'; color: var(--text-muted); font-weight: 400; }
@media (max-width: 760px) { .download-grid { grid-template-columns: 1fr; } }
.install { max-width: 720px; margin: 26px auto 0; }
.install-box { display: flex; align-items: center; gap: 12px; background: #0c0906; border: 1px solid var(--border); border-radius: 12px; padding: 10px 8px 10px 14px; }
.install-box + .install-box { margin-top: 8px; }
.install-os { flex: 0 0 64px; font-size: 11px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; }
.install-box code { flex: 1; overflow-x: auto; white-space: nowrap; font-family: var(--mono); font-size: 13px; color: var(--text); }
.install-box button { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg-elevated); color: var(--text-muted); font-size: 11px; }
.install-box button:hover { color: var(--text-heading); border-color: var(--accent); }
.install-note { font-size: 12px; color: var(--text-faint); margin: 12px 0 0; text-align: center; }

.kani-section { scroll-margin-top: 90px; }
.kani-intro { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 64px; padding: 40px; background: radial-gradient(ellipse at top right, #73c4aa18, transparent 65%), var(--bg-card); border: 1px solid var(--border); border-radius: 28px; }
.kani-intro h2 { margin: 16px 0; }
.kani-intro p { max-width: 590px; color: var(--text-muted); font-size: 16px; line-height: 1.75; }
.kani-intro .hero-actions { justify-content: flex-start; }
.kani-portrait { display: grid; justify-items: center; gap: 18px; }
.kani-portrait img { width: 240px; border-radius: 24%; box-shadow: 0 20px 60px #0004; transition: transform .3s ease; }
.kani-portrait:hover img { transform: translateY(-6px) rotate(-3deg); }
.kani-portrait span { font: 12px var(--mono); color: #a8d8c7; }
.kani-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.kani-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-panel); }
.kani-card h3 { font: 600 24px/1.15 var(--display); color: var(--text-heading); letter-spacing: -.025em; margin: 14px 0 0; }
.kani-card p { font-size: 14px; line-height: 1.75; color: var(--text-muted); flex: 1; }
.kani-card a { font-size: 13px; line-height: 1.6; text-underline-offset: 4px; }
.kani-section .kani-note { color: var(--text-faint); font-size: 12px; line-height: 1.7; margin-bottom: 0; }
.kani-grid + .kani-note { margin-top: 20px; }
@media (max-width: 960px) { .kani-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kani-intro { gap: 28px; grid-template-columns: minmax(0, 1fr) 200px; padding: 30px; } }
@media (max-width: 640px) { .kani-intro { grid-template-columns: 1fr; padding: 25px; } .kani-portrait { grid-row: 1; justify-self: start; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; } .kani-portrait img { width: 80px; } .kani-grid { grid-template-columns: 1fr; } .footer nav { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .kani-portrait img, .kani-portrait:hover img { transform: none; transition: none; } }

/* ---------- Closing CTA + footer ---------- */
.cta { position: relative; max-width: 1180px; margin: 110px auto 0; padding: 70px 20px; text-align: center; border-radius: 28px; overflow: hidden; background: radial-gradient(50% 80% at 50% 0%, #ff7a5930, transparent 70%), radial-gradient(40% 70% at 20% 100%, #9d8cff22, transparent 70%), var(--bg-card); border: 1px solid var(--border); }
.cta p { margin: 12px 0 0; color: var(--text-muted); font-size: 16px; }
@media (max-width: 1220px) { .cta { margin-left: 20px; margin-right: 20px; } }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; max-width: 1180px; margin: 60px auto 0; padding: 26px 20px 40px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; color: var(--text-heading); }
.footer-brand img { width: 22px; height: 22px; }
.footer nav { display: flex; gap: 18px; }
.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--text-heading); }

/* ---------- Scroll reveal (app.js adds .in) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-shot { opacity: 1; transform: none; transition: none; }
  .tile:hover, .download-card:hover, .button.primary:hover { transform: none; }
}

/* ---------- Account pages (sign in, sign up, desktop sign-in, dashboard) ---------- */
.page { max-width: 460px; margin: 64px auto; padding: 0 20px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: 0 30px 80px -40px #000; }
.card h1 { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; color: var(--text-heading); }
.card .subtitle { font-size: 13px; color: var(--text-muted); margin: 0 0 20px; line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12px; color: var(--text-muted); }
.field input { height: 40px; padding: 0 12px; background: #0c0906; border: 1px solid var(--border-strong); border-radius: 10px; color: var(--text); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #f0b86e22; }
.form-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.form-actions button { height: 42px; border-radius: 999px; border: 0; background: var(--gradient); color: var(--accent-contrast); font-size: 14px; font-weight: 700; }
.form-actions button:disabled { opacity: .6; cursor: default; }
.form-actions .link-button { background: transparent; border: 1px solid var(--border); color: var(--text-muted); font-weight: 500; }
.switch-line { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.switch-line button { background: none; border: 0; color: var(--accent); padding: 0; }
.error-text { color: var(--status-bad); font-size: 12px; margin-top: 8px; }
.notice-text { color: var(--status-good); font-size: 12px; margin-top: 8px; }
.provider-buttons { display: flex; flex-direction: column; gap: 8px; }
.provider { height: 42px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: #ffffff06; color: var(--text-heading); font-size: 14px; font-weight: 600; }
.provider:hover:not(:disabled) { border-color: var(--accent); }
.provider:disabled { opacity: .6; cursor: default; }
.provider svg { width: 18px; height: 18px; }
.divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; color: var(--text-faint); font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.dashboard { max-width: 900px; margin: 48px auto; padding: 0 20px 60px; }
.dash-header { margin-bottom: 24px; }
.dash-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dash-header > div { flex: 1; min-width: min(100%, 280px); }
.new-project-card { padding: 26px; margin-top: 24px; border: 1px solid var(--border-strong); border-radius: 18px; background: var(--bg-card); }
.new-project-card h2 { font: 700 24px var(--display); color: var(--text-heading); margin: 0 0 10px; }
.new-project-card > p { color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.project-connect { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 0 20px; color: var(--text-muted); font-size: 12px; }
.project-create-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.project-create-actions p { flex: 1; min-width: min(100%, 220px); color: var(--text-faint); font-size: 12px; line-height: 1.7; }
.project-create-actions button:disabled { opacity: .5; cursor: default; }
.new-project-card input:read-only { opacity: .65; }
.dash-header h1 { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin: 0; color: var(--text-heading); }
.dash-header p { margin: 6px 0 0; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.section-title { font-size: 12px; font-weight: 700; color: var(--text-faint); margin: 30px 0 10px; letter-spacing: .1em; text-transform: uppercase; }
.project-list { display: flex; flex-direction: column; gap: 10px; }
.project-row, .profile-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.project-row .name { font-size: 15px; color: var(--text-heading); font-weight: 600; }
.project-row .meta { font-size: 12px; color: var(--text-faint); margin-top: 3px; }
.project-row .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.project-row .actions button, .project-row .actions a.button, .profile-card button { text-decoration: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 12px; font-weight: 600; background: transparent; color: var(--text); }
.project-row .actions a.button[data-action="ide"] { border: 0; background: var(--gradient); color: var(--accent-contrast); }
.project-row .actions button.danger:hover { border-color: var(--status-bad); color: var(--status-bad); }
.profile-card .name { font-size: 16px; color: var(--text-heading); font-weight: 600; }
.profile-card .email { font-size: 13px; color: var(--text-muted); }
.empty-note { font-size: 13px; color: var(--text-faint); padding: 22px 0; text-align: center; line-height: 1.5; }
.hint { font-size: 11px; color: var(--text-faint); margin-top: 4px; }
