@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap");

:root {
  --ink: #14130f; --ink-2: #3b3a34; --muted: #6f6d64; --line: #e6e3d9; --bg: #faf8f3; --panel: #ffffff;
  --brand: #0f5c4a; --brand-2: #138a6c; --brand-soft: #e2f1ec; --gold: #c8962e; --gold-soft: #faf0dc;
  --warn: #9a5a06; --warn-soft: #fbefdc; --bad: #b3261e; --bad-soft: #fbe7e5;
  --radius: 14px; --shadow: 0 1px 2px rgba(20,19,15,.04), 0 8px 28px rgba(20,19,15,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: Fraunces, serif; font-size: 18px; }
.logo small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .02em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 600; text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.brand { background: var(--brand); border-color: var(--brand); }
.btn.small { padding: 7px 14px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn.danger { background: transparent; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, var(--line)); }

/* Landing */
.hero { padding: 64px 0 40px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 24px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(40px, 6vw, 66px); line-height: 1.02; letter-spacing: -.025em; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 560px; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

.panel-demo { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; position: relative; }
.panel-demo .row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.panel-demo .row:last-child { border-bottom: none; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.pill.wait { background: var(--warn-soft); color: var(--warn); }
.pill.gold { background: var(--gold-soft); color: var(--gold); }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.demo-head b { font-size: 15px; }
.demo-head span { color: var(--muted); font-size: 12px; }

.section { padding: 56px 0; }
.section h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.02em; margin: 0 0 12px; }
.section .sub { color: var(--muted); max-width: 640px; margin: 0 0 32px; font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: Fraunces, serif; font-size: 15px; color: var(--gold); font-weight: 600; }
.step h3 { margin: 10px 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .brands { grid-template-columns: 1fr 1fr; } }
.brand-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--panel); }
.brand-card b { display: block; font-size: 16px; }
.brand-card span { color: var(--muted); font-size: 14px; }

.promise { background: var(--ink); color: #f4f2ea; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr; padding: 32px; } }
.promise h3 { font-family: Fraunces, serif; font-weight: 600; font-size: 22px; margin: 0 0 8px; color: #fff; }
.promise p { margin: 0; color: #c9c6ba; font-size: 15px; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Auth */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }
.auth-side { background: var(--ink); color: #f4f2ea; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { font-family: Fraunces, serif; font-weight: 600; font-size: 40px; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
.auth-side p { color: #c9c6ba; max-width: 420px; }
.auth-main { display: grid; place-items: center; padding: 32px 24px; }
.auth-card { width: min(420px, 100%); }
.auth-card h1 { font-family: Fraunces, serif; font-weight: 600; font-size: 32px; letter-spacing: -.02em; margin: 24px 0 8px; }
.field { display: block; margin: 20px 0 14px; }
.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 16px; }
.field input:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.msg { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 12px 0; }
.msg.ok { background: var(--brand-soft); color: var(--brand); }
.msg.err { background: var(--bad-soft); color: var(--bad); }
.hint { color: var(--muted); font-size: 14px; }

/* Desk */
.desk-top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.desk-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; max-width: none; }
.who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 16px 24px 0; }
.tab { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 14px; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab .n { opacity: .7; margin-left: 4px; }
.tools { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.tools select { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--panel); font-size: 14px; }
.desk { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 0; min-height: calc(100vh - 120px); }
@media (max-width: 900px) { .desk { grid-template-columns: 1fr; } .detail { border-left: none !important; border-top: 1px solid var(--line); } }
.list { padding: 16px 16px 40px 24px; display: flex; flex-direction: column; gap: 8px; }
.card { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; cursor: pointer; }
.card:hover { border-color: #cfccc0; }
.card.sel { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.card .t { font-weight: 600; font-size: 14px; line-height: 1.35; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-size: 12px; color: var(--muted); }
.chip { background: #f0eee6; color: var(--ink-2); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.st-in_review { background: var(--warn-soft); color: var(--warn); }
.st-approved, .st-published { background: var(--brand-soft); color: var(--brand); }
.st-rejected, .st-failed { background: var(--bad-soft); color: var(--bad); }
.detail { border-left: 1px solid var(--line); padding: 26px 36px 80px; }
.empty { color: var(--muted); padding: 40px 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 6px; }
.hold { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 12px 0; }
.banner { margin: 12px 24px 0; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.banner.ok { background: var(--brand-soft); color: var(--brand); }
.banner.err { background: var(--bad-soft); color: var(--bad); }
.sec { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 28px 0 10px; font-weight: 600; }
.serp { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; max-width: 640px; }
.serp .u { color: #1e6b4f; font-size: 12px; }
.serp .ti { color: #1a0dab; font-size: 18px; line-height: 1.3; margin: 2px 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; }
.chk { font-size: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; background: var(--panel); }
.chk.fail { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.chk .note { color: var(--muted); }
article { font-family: "Source Serif 4", Georgia, serif; font-size: 18px; line-height: 1.7; max-width: 720px; }
article h2 { font-family: Inter, sans-serif; font-size: 22px; margin: 1.6em 0 .4em; letter-spacing: -.01em; }
article h3 { font-family: Inter, sans-serif; font-size: 18px; margin: 1.3em 0 .3em; }
article table { border-collapse: collapse; font-family: Inter, sans-serif; font-size: 14px; }
article td, article th { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.social { white-space: pre-wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 14px; margin-bottom: 12px; max-width: 640px; }
dialog { border: 1px solid var(--line); border-radius: 16px; padding: 22px; width: min(460px, 92vw); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(20,19,15,.35); }
textarea { width: 100%; min-height: 96px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: r .7s linear infinite; display: inline-block; }
@keyframes r { to { transform: rotate(360deg); } }
