/* aolid.org marketing site. Colour and type tokens mirror @softwareseva/ui kashi.css; only this block holds raw colours. */
:root {
  --surface: #fbf7f0; --surface-raised: #ffffff; --ink: #2a2119; --ink-muted: #6b5d4f;
  --border: #e6dccd; --border-strong: #8c7c6a; --saffron: #e8891c; --saffron-soft: #fbe6c8;
  --saffron-strong: #b9640c; --on-saffron: #2a2119; --terracotta: #a8481f; --sage: #4f6b40;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px; --max: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #1c1814; --surface-raised: #26211c; --ink: #f4ede3; --ink-muted: #b5a795;
    --border: #3a332b; --border-strong: #85776a; --saffron: #f0a040; --saffron-soft: #4a3520;
    --saffron-strong: #f0a040; --on-saffron: #1c1814; --terracotta: #e8845c; --sage: #9bb584;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 var(--font-sans); }
a { color: var(--terracotta); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink-muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.button.primary { background: var(--saffron); color: var(--on-saffron); }
.button.primary:hover { background: var(--saffron-strong); color: var(--surface); }
.button.secondary { border-color: var(--border-strong); color: var(--ink); }
.button.secondary:hover { background: var(--surface-raised); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 72px; }
.eyebrow { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--saffron-soft); color: var(--ink); font-size: 14px; font-weight: 600; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 20px 0 18px; max-width: 14ch; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-muted); max-width: 40rem; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--border); }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
.section-lede { color: var(--ink-muted); max-width: 40rem; margin: 0 0 36px; }
h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--ink-muted); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card .muted { font-size: 16px; }
.step-no { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--saffron-soft); font-weight: 700; margin-bottom: 14px; }

.split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.list svg { width: 22px; height: 22px; color: var(--sage); margin-top: 3px; }

.code { font: 14px/1.6 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; overflow-x: auto; white-space: pre; color: var(--ink); }

.cta { text-align: center; }
.cta .actions { justify-content: center; }
.cta .section-lede { margin-left: auto; margin-right: auto; }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--ink-muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--ink-muted); }
