/* getcoban.com — the same visual language as the app (UI v2): a dark
   workbench, one orange for what needs you, blue for work in progress. */
:root {
  --bg-0: #0c0d11; --bg-1: #111318; --bg-2: #171a20; --bg-3: #1f232b; --bg-4: #2a2f39;
  --line: #262a33; --line-soft: #1d2027; --line-strong: #353b46;
  --ink: #eceef2; --ink-2: #c1c4cd; --ink-3: #9398a6; --ink-4: #646a78;
  --accent: #ff9d50; --accent-hi: #ffb57a; --accent-ink: #14151a; --accent-tint: rgba(255, 157, 80, 0.12);
  --info: #4fb6dc; --ok: #4fd1a5; --danger: #ff6b6b; --warn: #f4c26b;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px;
  --font: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-0); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--accent-hi); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--bg-2); padding: 8px 12px; border-radius: var(--r-sm); }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(12, 13, 17, 0.78); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-soft); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 17px; letter-spacing: 0.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav { display: flex; gap: 22px; font-size: 14.5px; }
.nav a { color: var(--ink-3); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--r-md); border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 120ms, border-color 120ms, transform 80ms; white-space: nowrap; }
.btn:active { transform: translateY(0.5px); }
.btn-primary { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.3); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--ink); background: var(--bg-3); }
.btn-quiet { background: transparent; color: var(--ink-2); height: 36px; padding: 0 12px; }
.btn-quiet:hover { color: var(--ink); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13.5px; border-radius: var(--r-sm); }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(255, 107, 107, 0.35); }
.btn[disabled] { opacity: 0.55; cursor: default; }

/* hero */
.hero { padding: 88px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 640px; background: radial-gradient(closest-side, rgba(255, 157, 80, 0.16), transparent 70%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); font-size: 13px; background: rgba(23, 26, 32, 0.6); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 22px auto 18px; max-width: 900px; font-weight: 650; }
h1 .soft { color: var(--ink-3); }
.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-2); max-width: 720px; margin: 0 auto; }
.cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.cta-note { margin-top: 14px; color: var(--ink-3); font-size: 13.5px; }
.shot { margin: 56px auto 0; border-radius: var(--r-xl); border: 1px solid var(--line-strong); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-1); position: relative; }
.shot img { width: 100%; height: auto; }
.shot figcaption, .caption { color: var(--ink-3); font-size: 13px; text-align: center; padding: 10px; }
.providers { display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; margin: 34px 0 0; color: var(--ink-3); font-size: 14px; }
.providers b { color: var(--ink-2); font-weight: 600; }

/* sections */
section { padding: 84px 0; }
.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 10px 0 14px; font-weight: 650; }
h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-head p, .muted { color: var(--ink-2); }
.divider { border-top: 1px solid var(--line-soft); }

.feature { padding: 8px 0; }
.feature-copy { display: grid; grid-template-columns: 5fr 6fr; gap: 16px 56px; align-items: start; margin-bottom: 36px; }
.feature-copy .kicker, .feature-copy h2 { grid-column: 1; }
.feature-copy h2 { margin-top: 0; }
.feature-copy .feature-text { grid-column: 2; grid-row: 1 / span 2; padding-top: 26px; }
.feature-copy p { color: var(--ink-2); margin: 0 0 14px; font-size: 17px; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9d50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.feature-shot { border-radius: var(--r-lg); border: 1px solid var(--line-strong); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-1); }
.feature-shot + .feature-shot { margin-top: 24px; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.card .icon svg { width: 18px; height: 18px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 22px 22px 20px; }
.card p { color: var(--ink-2); margin: 0; font-size: 15px; }
.card .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-3); color: var(--accent-hi); margin-bottom: 14px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-hi); font-weight: 700; font-size: 14px; margin-bottom: 12px; }

.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.honest ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.honest li { margin: 6px 0; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 18px; justify-content: center; }
.plan { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.plan.featured { border-color: rgba(255, 157, 80, 0.5); box-shadow: 0 0 0 1px rgba(255, 157, 80, 0.15), 0 20px 60px rgba(255, 157, 80, 0.08); }
.plan .price { font-size: 38px; font-weight: 650; letter-spacing: -0.02em; }
.plan .price small { font-size: 15px; color: var(--ink-3); font-weight: 500; }
.plan ul { margin: 4px 0 8px; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.badge { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-hi); background: var(--accent-tint); border-radius: 999px; padding: 3px 10px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }

/* final cta */
.closing { text-align: center; background: radial-gradient(closest-side, rgba(255, 157, 80, 0.12), transparent 75%); }

/* footer */
footer { border-top: 1px solid var(--line-soft); padding: 40px 0 56px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; margin-left: auto; }
footer a { color: var(--ink-3); }
footer a:hover { color: var(--ink); }

/* forms and app pages */
.page { padding: 64px 0 96px; }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; }
.auth { width: min(440px, 100%); margin: 0 auto; }
.auth h1 { font-size: 30px; margin: 0 0 6px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.input, textarea.input, select.input { width: 100%; height: 44px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--bg-1); color: var(--ink); font: inherit; font-size: 15px; }
textarea.input { height: auto; padding: 12px 14px; font-family: var(--mono); font-size: 13px; resize: vertical; }
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-tint); }
.form-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.form-actions .btn { width: 100%; height: 46px; }
.msg { min-height: 1.4em; font-size: 14px; margin: 12px 0 0; color: var(--ink-3); }
.msg.err { color: var(--danger); }
.msg.ok { color: var(--ok); }
.alt { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 18px; }
.hp { position: absolute; left: -9999px; }

.dash { display: grid; gap: 18px; }
.dash-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.dash-head h1 { font-size: 34px; margin: 0; text-align: left; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line-strong); color: var(--ink-2); }
.pill.ok { color: var(--ok); border-color: rgba(79, 209, 165, 0.35); background: rgba(79, 209, 165, 0.08); }
.pill.wait { color: var(--warn); border-color: rgba(244, 194, 107, 0.35); background: rgba(244, 194, 107, 0.08); }
.pill.bad { color: var(--danger); border-color: rgba(255, 107, 107, 0.35); background: rgba(255, 107, 107, 0.08); }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spacer { flex: 1; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: 15px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }
.list { display: flex; flex-direction: column; }
.list > div { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.list > div:first-child { border-top: 0; }
.meta { color: var(--ink-3); font-size: 13.5px; }
.token { margin-top: 12px; }
.token textarea { min-height: 120px; word-break: break-all; }
.empty { color: var(--ink-3); font-size: 15px; }
table.admin { width: 100%; border-collapse: collapse; font-size: 14px; }
table.admin th { text-align: left; color: var(--ink-3); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.admin td { padding: 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.scroll-x { overflow-x: auto; }
.prose { max-width: 760px; }
.prose h1 { text-align: left; font-size: 38px; }
.prose h2 { font-size: 24px; margin-top: 36px; }
.prose p, .prose li { color: var(--ink-2); }

@media (max-width: 900px) {
  .nav { display: none; }
  .feature-copy { grid-template-columns: 1fr; }
  .feature-copy .feature-text { grid-column: 1; grid-row: auto; padding-top: 0; }
  .shot-pair { grid-template-columns: 1fr; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .honest, .grid2 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .grid3, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .top-actions .btn-quiet { display: none; }
  .kv { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Error pages (404, 403, 500). */
.errpage { max-width: 620px; margin: 24px auto 0; text-align: center; }
.errpage-code { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: clamp(88px, 18vw, 160px); font-weight: 500; line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.errpage h1 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 12px; }
.errpage .muted { font-size: 17px; line-height: 1.6; }
.errpage-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
