/* everyscreen.ai — one stylesheet, no framework. Light + dark via tokens. */
:root {
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #4b5563;
  --line: #dde3ea;
  --brand-a: #1a6ec0;      /* EVERY  — the app's accent blue, darkened for contrast on white */
  --brand-b: #a87400;      /* SCREEN — the app's gold, darkened for contrast on white */
  --accent: #1a6ec0;
  --accent-ink: #ffffff;
  --link: #1557a0;
  --alert: #b3261e;
  --todo-bg: #fff3c4;
  --todo-ink: #6b4a00;
  --radius: 12px;
  --maxw: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --bg-alt: #111a2c;
    --surface: #131d31;
    --ink: #e8edf5;
    --muted: #a7b2c4;
    --line: #26324a;
    --brand-a: #4ea3ff;
    --brand-b: #f5b700;
    --accent: #4ea3ff;
    --accent-ink: #06101f;
    --link: #7dbbff;
    --alert: #ff8a80;
    --todo-bg: #4a3800;
    --todo-ink: #ffe08a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220; --bg-alt: #111a2c; --surface: #131d31; --ink: #e8edf5; --muted: #a7b2c4;
  --line: #26324a; --brand-a: #4ea3ff; --brand-b: #f5b700; --accent: #4ea3ff; --accent-ink: #06101f;
  --link: #7dbbff; --alert: #ff8a80; --todo-bg: #4a3800; --todo-ink: #ffe08a; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 1.6em; }
h3 { font-size: 19px; margin-top: 1.2em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin: .25em 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink);
        padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
       flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.wordmark { font-weight: 800; letter-spacing: .14em; font-size: 19px; text-decoration: none; white-space: nowrap; }
.wordmark.small { font-size: 15px; }
.wm-a { color: var(--brand-a); }
.wm-b { color: var(--brand-b); }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0;
         border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* sections */
.hero { padding: 56px 0 40px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 46em; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: .6em; }
section.block { padding: 40px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.prose { max-width: 46em; }
.wrap.prose { max-width: var(--maxw); }          /* keep the left edge aligned with the header */
.wrap.prose > * { max-width: 46em; }
.muted { color: var(--muted); }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none;
       border: 2px solid var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { color: var(--ink); background: transparent; }
.btn:hover { filter: brightness(1.06); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px 22px;
            list-style: none; padding: 0; margin: 18px 0 0; }
.features li { margin: 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--bg-alt); border-radius: 0 8px 8px 0; }
.features b { display: block; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
                    background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.note { border: 1px solid var(--line); border-left: 4px solid var(--alert); border-radius: 8px; padding: 14px 16px; background: var(--surface); }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em;
              background: var(--bg-alt); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; overflow-wrap: anywhere; }
dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; }
dl.contact dt { font-weight: 700; }
dl.contact dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { dl.contact { grid-template-columns: 1fr; gap: 2px; } dl.contact dd { margin-bottom: 10px; } }
.todo { background: var(--todo-bg); color: var(--todo-ink); border-radius: 4px; padding: 0 4px; font-weight: 600; }
.legal h2 { font-size: 21px; }
.legal .updated { color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); margin-top: 24px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; padding-top: 28px; padding-bottom: 28px; font-size: 15px; }
.foot p { margin: .4em 0 0; color: var(--muted); }
.foot .entity { color: var(--ink); }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 28px; }
@media (max-width: 420px) { .foot-links { grid-template-columns: 1fr; } }

/* SignAIge name ({{SIGNAIGE}} in site.config.json): blue "Sign" + red "ai" (#e53935, as in the CMS header) + "ge"; bold for contrast */
.brand { color: var(--brand-a); font-weight: 700; white-space: nowrap; }
.brand .ai { color: #e53935; }
h1 .brand, h2 .brand, h3 .brand { font-weight: inherit; }
