/* Moe — moebot.app. Palette from the app icon: slate ground, white type, one muted accent. */
:root{
  color-scheme:dark light;
  --bg:#1b1e25;
  --bg-2:#22262f;
  --surface:#272b35;
  --line:#353a46;
  --text:#f4f5f7;
  --muted:#aab0bc;
  --faint:#969dad;
  --accent:#b7c7ff;
  --btn-bg:#ffffff;
  --btn-fg:#151820;
  --radius:18px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
@media (prefers-color-scheme:light){
  :root{
    --bg:#f6f6f8;
    --bg-2:#ffffff;
    --surface:#ffffff;
    --line:#e2e4ea;
    --text:#1b1e25;
    --muted:#565c6a;
    --faint:#5c6272;
    --accent:#2f4fb3;
    --btn-bg:#1f232c;
    --btn-fg:#ffffff;
  }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  margin:0;background:var(--bg);color:var(--text);
  font:16px/1.6 var(--font);-webkit-font-smoothing:antialiased;
}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{line-height:1.15;letter-spacing:-.015em;margin:0 0 .5em;font-weight:600}
h1{font-size:clamp(2.1rem,5.5vw,3.4rem)}
h2{font-size:clamp(1.5rem,3.2vw,2.1rem)}
h3{font-size:1.15rem}
p{margin:0 0 1em}
.wrap{width:min(1040px,100% - 2.5rem);margin-inline:auto}
.muted{color:var(--muted)}
.small{font-size:.9rem}

/* header */
.top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 0}
.brand{display:flex;align-items:center;gap:.6rem;color:var(--text);font-weight:600;font-size:1.05rem}
.brand:hover{text-decoration:none}
.brand img{width:28px;height:28px;border-radius:7px}
.nav{display:flex;gap:1.4rem;font-size:.95rem}
.nav a{color:var(--muted)}
.nav a:hover,.nav a[aria-current]{color:var(--text)}

/* hero */
.hero{padding:4.5rem 0 4rem;text-align:center}
.hero img{width:112px;height:112px;margin:0 auto 1.6rem;border-radius:26px}
.hero h1{max-width:18ch;margin-inline:auto;text-wrap:balance}
.hero .lede{font-size:clamp(1.05rem,2vw,1.25rem);color:var(--muted);max-width:44ch;margin:.8rem auto 1.8rem;text-wrap:pretty}
.cta{display:inline-flex;align-items:center;gap:.55rem;background:var(--btn-bg);color:var(--btn-fg);
  padding:.85rem 1.4rem;border-radius:999px;font-weight:600;font-size:1.02rem;border:0;cursor:pointer;
  transition:transform .15s ease,opacity .15s ease}
.cta:hover{text-decoration:none;transform:translateY(-1px);opacity:.94}
.cta svg{width:18px;height:18px}
.req{margin:.9rem 0 0;color:var(--faint);font-size:.9rem}

/* sections */
section{padding:3.5rem 0}
.section-head{max-width:56ch;margin-bottom:2rem}
.section-head p{color:var(--muted)}
.grid{display:grid;gap:1rem}
@media (min-width:720px){.grid-3{grid-template-columns:repeat(3,1fr)}.grid-2{grid-template-columns:repeat(2,1fr)}}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem 1.4rem}
.card .tag{display:inline-block;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;color:var(--faint);margin-bottom:.9rem}
.card h3{margin-bottom:.4rem}
.card p{color:var(--muted);margin:0}
.card p+p{margin-top:.6em}
.card ul{margin:.6rem 0 0;padding-left:1.1rem;color:var(--muted)}
.card li+li{margin-top:.25rem}
.pill{display:inline-block;font-size:.78rem;padding:.15rem .6rem;border-radius:999px;border:1px solid var(--line);color:var(--muted);vertical-align:middle;margin-left:.5rem}

/* diff list */
.diff{display:grid;gap:1.6rem}
@media (min-width:720px){.diff{grid-template-columns:repeat(3,1fr)}}
.diff h3{font-size:1.05rem}
.diff p{color:var(--muted);margin:0}

/* pricing */
.price .card{display:flex;flex-direction:column}
.price .amount{font-size:1.9rem;font-weight:600;letter-spacing:-.02em;margin:.2rem 0 .1rem}
.price .note{color:var(--faint);font-size:.9rem;margin-bottom:1rem}
.price ul{margin:0 0 1.2rem;padding-left:1.1rem;color:var(--muted)}
.price li+li{margin-top:.3rem}
.price .cta{align-self:flex-start;margin-top:auto}

/* prose pages */
.prose{max-width:68ch;padding:2.5rem 0 4rem}
.prose h1{margin-bottom:.3em}
.prose .updated{color:var(--faint);font-size:.9rem;margin-bottom:2.2rem}
.prose h2{margin-top:2.2rem;font-size:1.35rem}
.prose h3{margin-top:1.6rem}
.prose p,.prose li{color:var(--muted)}
.prose strong{color:var(--text);font-weight:600}
.prose ul{padding-left:1.2rem}
.prose li+li{margin-top:.35rem}
.prose code{font:.9em var(--mono);background:var(--surface);border:1px solid var(--line);padding:.05em .4em;border-radius:6px;color:var(--text)}
.prose table{width:100%;border-collapse:collapse;font-size:.93rem;margin:1rem 0 1.5rem}
.prose th,.prose td{text-align:left;vertical-align:top;padding:.55rem .6rem;border-bottom:1px solid var(--line)}
.prose th{color:var(--text);font-weight:600}
.prose td{color:var(--muted)}
.table-wrap{overflow-x:auto}
.notice{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem 1.4rem;margin:1.2rem 0}
.notice p{margin:0}
.notice p+p{margin-top:.8em}
details{border:1px solid var(--line);border-radius:12px;margin:.6rem 0;background:var(--surface)}
summary{cursor:pointer;padding:.7rem 1rem;color:var(--text);font-weight:500}
details pre{margin:0;padding:0 1rem 1rem;white-space:pre-wrap;font:.82rem/1.5 var(--mono);color:var(--muted)}

/* footer */
footer{border-top:1px solid var(--line);padding:2rem 0 2.5rem;margin-top:2rem;color:var(--faint);font-size:.9rem}
footer .row{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;align-items:center;justify-content:space-between}
footer nav{display:flex;flex-wrap:wrap;gap:1.2rem}
footer a{color:var(--muted)}
