/* easySOFT - style wg Systemu Identyfikacji Wizualnej AgroOSA v1.0 (agroosa.pl/ci)
   Tokeny, typografia (Ubuntu + JetBrains Mono), przyciski, pigułki i nagłówki
   odwzorowane z serwisu agroosa.pl. Dwa motywy: dzień (papier) i noc (grafit). */
:root {
  /* barwy główne */
  --yellow: #fec710;
  --yellow-dim: #d9ac00;
  --graphite: #191e20;
  --paper: #f5f4ef;
  --white: #ffffff;
  /* paleta uzupełniająca (folder & UI) */
  --cream: #fff6df;
  --gray: #e5e5e5;
  --light-gray: #f0f0f2;
  --green: #263b2e;
  --sage: #e5ecd8;
  --font-sans: 'Ubuntu', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 4px;        /* przyciski, pola, kod */
  --radius-card: 6px;   /* karty, boksy */
  --radius-box: 10px;   /* duże sekcje (hero) */

  /* tokeny semantyczne - motyw dzienny */
  --bg: var(--paper);
  --surface: #fffefb;
  --surface-2: var(--light-gray);
  --surface-head: #fafafa;
  --surface-accent: var(--cream);
  --surface-accent-border: rgba(254,199,16,.4);
  --border: var(--gray);
  --border-soft: var(--light-gray);
  --heading: #17181a;
  --text: var(--graphite);
  --text-soft: #3d453f;
  --muted: #61705f;
  --muted-2: #556253;
  --input-bg: var(--white);
  --input-border: #bec9b5;
  --ring: rgba(113,128,92,.45);
  --hover-row: #fafaf7;
  --nav-bg: var(--white);
  --nav-shadow: 0 2px 14px rgba(25,30,32,.10);
  --nav-text: var(--graphite);
  --nav-dim: rgba(25,30,32,.68);
  --nav-line: rgba(25,30,32,.14);
  --nav-hover: #f0f0f0;
  --btn-dark-bg: var(--graphite);
  --btn-dark-text: var(--white);
  --btn-dark-hover: #35443a;
  --btn-outline-bg: var(--paper);
  --btn-outline-hover: var(--cream);
  --pill-ok-bg: var(--sage);     --pill-ok-text: var(--green);   --pill-ok-border: rgba(113,128,92,.33);
  --pill-warn-bg: var(--cream);  --pill-warn-text: var(--graphite); --pill-warn-border: rgba(254,199,16,.53);
  --pill-err-bg: #fee2e2;        --pill-err-text: #991b1b;       --pill-err-border: rgba(248,113,113,.27);
  --pill-neutral-bg: var(--graphite); --pill-neutral-text: var(--white);
  --pill-gray-bg: var(--light-gray); --pill-gray-text: var(--muted-2); --pill-gray-border: var(--gray);
  --danger: #991b1b; --danger-bg: #fee2e2; --danger-border: rgba(248,113,113,.5);
  --code-bg: var(--white);
  --menu-shadow: 0 12px 32px rgba(25,30,32,.14);
  color-scheme: light;
}

/* motyw nocny: jawnie wybrany (data-theme="dark") albo systemowy, gdy nic nie
   wybrano. Grafity i linie jak w sekcjach nocnych agroosa.pl. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0d0e; --surface: #16181a; --surface-2: #1e2022; --surface-head: #1a1c1e;
  --surface-accent: #221f12; --surface-accent-border: rgba(254,199,16,.35);
  --border: rgba(255,255,255,.09); --border-soft: rgba(255,255,255,.06);
  --heading: #f4f4f2; --text: #f4f4f2; --text-soft: rgba(244,244,242,.8); --muted: rgba(244,244,242,.6); --muted-2: rgba(244,244,242,.68);
  --input-bg: #0c0d0e; --input-border: rgba(255,255,255,.18); --ring: rgba(254,199,16,.35); --hover-row: #1a1d1f;
  --nav-bg: #191e20; --nav-shadow: 0 2px 14px rgba(17,25,29,.4); --nav-text: #ffffff; --nav-dim: #e0e4dd; --nav-line: rgba(255,255,255,.14); --nav-hover: #1e2022;
  --btn-dark-bg: #f4f4f2; --btn-dark-text: #191e20; --btn-dark-hover: #d9dcd5;
  --btn-outline-bg: transparent; --btn-outline-hover: rgba(255,255,255,.06);
  --pill-ok-bg: #263b2e; --pill-ok-text: #e5ecd8; --pill-ok-border: rgba(229,236,216,.25);
  --pill-warn-bg: #2e2810; --pill-warn-text: #fec710; --pill-warn-border: rgba(254,199,16,.4);
  --pill-err-bg: #3a1414; --pill-err-text: #fca5a5; --pill-err-border: rgba(248,113,113,.35);
  --pill-neutral-bg: #f4f4f2; --pill-neutral-text: #191e20;
  --pill-gray-bg: #1e2022; --pill-gray-text: rgba(244,244,242,.7); --pill-gray-border: rgba(255,255,255,.12);
  --danger: #fca5a5; --danger-bg: #3a1414; --danger-border: rgba(248,113,113,.5);
  --code-bg: #0c0d0e; --menu-shadow: 0 12px 32px rgba(0,0,0,.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0c0d0e; --surface: #16181a; --surface-2: #1e2022; --surface-head: #1a1c1e;
    --surface-accent: #221f12; --surface-accent-border: rgba(254,199,16,.35);
    --border: rgba(255,255,255,.09); --border-soft: rgba(255,255,255,.06);
    --heading: #f4f4f2; --text: #f4f4f2; --text-soft: rgba(244,244,242,.8); --muted: rgba(244,244,242,.6); --muted-2: rgba(244,244,242,.68);
    --input-bg: #0c0d0e; --input-border: rgba(255,255,255,.18); --ring: rgba(254,199,16,.35); --hover-row: #1a1d1f;
    --nav-bg: #191e20; --nav-shadow: 0 2px 14px rgba(17,25,29,.4); --nav-text: #ffffff; --nav-dim: #e0e4dd; --nav-line: rgba(255,255,255,.14); --nav-hover: #1e2022;
    --btn-dark-bg: #f4f4f2; --btn-dark-text: #191e20; --btn-dark-hover: #d9dcd5;
    --btn-outline-bg: transparent; --btn-outline-hover: rgba(255,255,255,.06);
    --pill-ok-bg: #263b2e; --pill-ok-text: #e5ecd8; --pill-ok-border: rgba(229,236,216,.25);
    --pill-warn-bg: #2e2810; --pill-warn-text: #fec710; --pill-warn-border: rgba(254,199,16,.4);
    --pill-err-bg: #3a1414; --pill-err-text: #fca5a5; --pill-err-border: rgba(248,113,113,.35);
    --pill-neutral-bg: #f4f4f2; --pill-neutral-text: #191e20;
    --pill-gray-bg: #1e2022; --pill-gray-text: rgba(244,244,242,.7); --pill-gray-border: rgba(255,255,255,.12);
    --danger: #fca5a5; --danger-bg: #3a1414; --danger-border: rgba(248,113,113,.5);
    --code-bg: #0c0d0e; --menu-shadow: 0 12px 32px rgba(0,0,0,.5);
  }
}

/* ---------- podstawy i typografia (wzornik H1-H6, lead, body, small) ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.65;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; color: var(--heading); }
h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: 28px; font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 16px; font-weight: 700; line-height: 1.4; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 500; text-transform: uppercase; }
p { margin: 0 0 1rem; }
.lead { font-size: 19px; line-height: 1.75; color: var(--text-soft); max-width: 720px; }
small, .small { font-size: 13px; color: var(--muted-2); }
.muted { color: var(--muted-2); }
code, .mono { font-family: var(--font-mono); }
code {
  font-size: 12px; background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2px 8px; color: var(--text); white-space: nowrap;
}
.mono { font-size: .9em; }

/* kicker: drobny nagłówek / etykieta techniczna (monospace, uppercase) */
.kicker {
  font-family: var(--font-mono); font-size: 12px; font-weight: 400; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); margin: 0 0 .5rem;
}
/* kicker w formie plakietki (jak "System Identyfikacji Wizualnej • Wersja 1.0") */
.kicker.chip {
  display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0;
  background: var(--surface-accent); border: 1px solid var(--surface-accent-border); border-radius: var(--radius);
  padding: 4px 12px; color: var(--text);
}

/* nagłówek sekcji z pasem folderu (.brochure-heading) */
.brochure { display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); }
.brochure > span { min-width: 0; text-wrap: balance; }
.brochure::after { content: ''; display: block; flex: 1 0 48px; max-width: 220px; height: 10px; background: var(--yellow); }
h2.brochure::after { height: 8px; max-width: 160px; }

/* wordmark produktu: easySOFT / easyUPDATER - zawsze razem, "easy" zwykłe, reszta bold */
.wm { font-weight: 400; white-space: nowrap; }
.wm b { font-weight: 700; }

/* ---------- nagłówek strony: biały (dzień) / grafitowy (noc), logo z żółtą belką ---------- */
.top { background: var(--nav-bg); color: var(--nav-text); box-shadow: var(--nav-shadow); position: sticky; top: 0; z-index: 40; }
.top .in { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--nav-text); flex: 0 0 auto; }
.brand .logo { --logo-width: 176px; position: relative; isolation: isolate; width: var(--logo-width); display: flex; align-items: center; height: 72px; }
.brand .logo::before {
  content: ''; position: absolute; right: 100%; width: 100vw; pointer-events: none; background: var(--yellow);
  height: calc(var(--logo-width) * .074049); top: calc(50% - var(--logo-width) * .040889);
}
.brand .logo img { width: 100%; height: auto; display: block; }
.brand .logo .inverse { display: none; }
.brand .app { display: flex; align-items: center; gap: 16px; font-size: 20px; line-height: 1; }
.brand .app::before { content: ''; width: 1px; height: 28px; background: var(--nav-line); }
.top nav { display: flex; gap: 4px; flex: 1; align-items: center; }
.top nav a {
  color: var(--nav-dim); text-decoration: none; padding: 8px 12px; border-radius: 2px; font-weight: 600; font-size: 14px;
  position: relative; transition: background .15s, color .15s;
}
.top nav a:hover { color: var(--nav-text); background: var(--nav-hover); }
.top nav a.active { color: var(--nav-text); font-weight: 700; }
.top nav a.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--yellow); }
.top .me { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--nav-dim); margin-left: auto; }
.top .me form { margin: 0; }

/* logo inwers w nocy */
:root[data-theme="dark"] .brand .logo .primary { display: none; }
:root[data-theme="dark"] .brand .logo .inverse { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo .primary { display: none; }
  :root:not([data-theme="light"]) .brand .logo .inverse { display: block; }
}

/* menu konta (klik w nazwę użytkownika) */
.acct { position: relative; }
.acct summary {
  list-style: none; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent; color: var(--nav-dim);
}
.acct summary::-webkit-details-marker { display: none; }
.acct summary:hover, .acct[open] summary, .acct.active summary { background: var(--nav-hover); border-color: var(--nav-line); color: var(--nav-text); }
.acct summary img, .acct .avatar-fallback {
  width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--graphite); font-weight: 700; font-size: 13px;
}
.acct .caret { font-size: 11px; opacity: .7; }
.acct .menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--menu-shadow); padding: 6px; z-index: 50;
}
.acct .menu-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; display: flex; flex-direction: column; }
.acct .menu-head .small { font-family: var(--font-mono); font-size: 12px; }
.acct .menu a, .acct .menu button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: var(--radius); text-decoration: none;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: none; border: 0; cursor: pointer;
}
.acct .menu a:hover, .acct .menu button:hover { background: var(--surface-2); }
.acct .menu a.active { background: var(--yellow); color: var(--graphite); }
.acct .menu form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--border); }
.acct .menu form button { color: var(--danger); }

/* przełącznik dzień/noc */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius);
  border: 1px solid var(--nav-line); background: transparent; color: var(--nav-dim); cursor: pointer; padding: 0;
}
.theme-toggle:hover { background: var(--nav-hover); color: var(--nav-text); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}

/* ---------- układ ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 40px 20px 64px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.head .muted { max-width: 720px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 20px; }
.card.cream { background: var(--surface-accent); border-color: var(--surface-accent-border); }
a.card.tile { display: block; text-decoration: none; color: inherit; transition: border-color .12s, box-shadow .12s; }
a.card.tile:hover { border-color: var(--yellow); box-shadow: 0 6px 20px rgba(25,30,32,.08); }
a.card.tile:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.card h3 { margin-bottom: 4px; }
.family + .family { margin-top: 36px; }
.family-title { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.family-title .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); display: inline-block; }
.family-title .dot.green { background: var(--green); }
.family-title .dot.graphite { background: var(--heading); }
.family-title .dot.gray { background: var(--muted); }
.family-title .count { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--muted-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 1px 10px; }
.stack > * + * { margin-top: 20px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.stripe { border-left: 6px solid var(--yellow); padding-left: 16px; }
.stripe.green { border-left-color: var(--green); }
.stripe.graphite { border-left-color: var(--heading); }
.stripe.gray { border-left-color: var(--border); }
.back { font-family: var(--font-mono); font-size: 12px; margin-bottom: 14px; }
.back a { color: var(--muted); text-decoration: none; }
.back a:hover { color: var(--text); text-decoration: underline; }

/* ---------- przyciski: Primary (CTA) / Dark / Outline / nieaktywny ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 20px;
  border-radius: var(--radius); font: inherit; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
  cursor: pointer; text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }
.btn.primary { background: var(--yellow); color: var(--graphite); border-color: var(--yellow); font-weight: 600; }
.btn.primary:hover { background: #edba0f; border-color: #edba0f; }
.btn.dark { background: var(--btn-dark-bg); color: var(--btn-dark-text); border-color: var(--btn-dark-bg); }
.btn.dark:hover { background: var(--btn-dark-hover); border-color: var(--btn-dark-hover); }
.btn.outline { background: var(--btn-outline-bg); color: var(--text); border-color: var(--input-border); }
.btn.outline:hover { background: var(--btn-outline-hover); }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger-border); }
.btn.danger:hover { background: var(--danger-bg); }
.btn.sm { height: 30px; padding: 0 12px; font-size: 13px; }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ---------- formularze ---------- */
label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; color: var(--heading); }
input[type=text], input[type=file], select, textarea {
  width: 100%; font: inherit; font-size: 14px; padding: 8px 12px; border: 1px solid var(--input-border); border-radius: var(--radius);
  background: var(--input-bg); color: var(--text);
}
input[type=text], select { height: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px var(--ring); }
select.inline { width: auto; height: 30px; padding: 4px 8px; font-size: 13px; }
.field { margin-bottom: 16px; }
.field .hint { font-size: 13px; color: var(--muted-2); margin-top: 6px; line-height: 1.5; }
.form-grid { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.inline-form { display: inline; }

/* ---------- tabele ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; font-size: 14px; }
th { background: var(--surface-head); font-family: var(--font-mono); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom-color: var(--border); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--hover-row); }
td .small { display: block; }
td .btn + form, td .btn + .btn { margin-left: 4px; }

/* ---------- pigułki statusów (jak wskaźniki telemetrii w CI) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 16px; white-space: nowrap; vertical-align: middle;
}
.pill.stable, .pill.ok { background: var(--pill-ok-bg); color: var(--pill-ok-text); border-color: var(--pill-ok-border); }
.pill.test, .pill.warn, .pill.yellow { background: var(--pill-warn-bg); color: var(--pill-warn-text); border-color: var(--pill-warn-border); }
.pill.err { background: var(--pill-err-bg); color: var(--pill-err-text); border-color: var(--pill-err-border); }
.pill.archived, .pill.gray, .pill.eota, .pill.bin, .pill.exe, .pill.msi, .pill.zip, .pill.user { background: var(--pill-gray-bg); color: var(--pill-gray-text); border-color: var(--pill-gray-border); }
.pill.neutral { background: var(--pill-neutral-bg); color: var(--pill-neutral-text); }
.pill.admin { background: var(--yellow); color: var(--graphite); border-color: var(--yellow); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); display: inline-block; }
.pill .dot.pulse { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- komunikaty ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; border: 1px solid; border-left-width: 4px; font-size: 14px; }
.alert.error { background: var(--pill-err-bg); border-color: var(--pill-err-border); border-left-color: var(--danger); color: var(--pill-err-text); }
.alert.ok { background: var(--pill-ok-bg); border-color: var(--pill-ok-border); border-left-color: var(--green); color: var(--pill-ok-text); }
.alert.info { background: var(--surface-accent); border-color: var(--surface-accent-border); border-left-color: var(--yellow); color: var(--text); }

/* ---------- hero (logowanie): żółty akcent na graficie ---------- */
.hero {
  background: var(--graphite); color: #ffffff; border-radius: var(--radius-box); padding: 56px 40px; position: relative; overflow: hidden;
  border-top: 10px solid var(--yellow);
}
.hero .kicker { color: var(--yellow); }
.hero h1 { color: #ffffff; font-size: clamp(40px, 6vw, 60px); }
.hero h1 b { color: var(--yellow); }
.hero .lead { color: #cbd6dc; font-size: 17px; line-height: 1.6; max-width: 560px; }
.hero .small { color: #9aa7ad; }
.hero .alert { position: relative; z-index: 1; }
.hero .btn.primary:hover { background: #ffd23a; border-color: #ffd23a; }

/* lista numerowana z plakietkami (01, 02...) i lista z żółtymi kropkami */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: 14px; color: var(--text-soft); }
.steps li::before {
  content: counter(s, decimal-leading-zero); flex: 0 0 auto; font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  color: var(--yellow); background: var(--graphite); padding: 2px 8px; border-radius: var(--radius); line-height: 16px; margin-top: 1px;
}
.dots { list-style: none; padding: 0; margin: 0; }
.dots li { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; font-size: 14px; color: var(--text-soft); }
.dots li::before { content: ''; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-top: 7px; }

.token { font-family: var(--font-mono); background: var(--code-bg); border: 1px solid var(--border); padding: 8px 12px; border-radius: var(--radius); word-break: break-all; font-size: 12px; line-height: 1.6; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
footer { text-align: center; color: var(--muted); font-family: var(--font-mono); font-size: 12px; padding: 24px 20px 32px; border-top: 1px solid var(--border); margin-top: 24px; }

@media (max-width: 900px) {
  .brand .logo { --logo-width: 150px; }
  .brand .app { font-size: 18px; }
}
@media (max-width: 720px) {
  .top .in { flex-wrap: wrap; padding: 0 16px; gap: 0 8px; min-height: 0; }
  .top nav { order: 3; flex: 0 0 100%; width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px 0 0; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { padding: 10px 10px 12px; }
  .top .me .name, .top .me .pill { display: none; }
  .brand .logo { --logo-width: 112px; height: 56px; }
  .brand .app { font-size: 17px; gap: 8px; }
  .brand .app::before { height: 22px; }
  .brand { gap: 8px; }
  .hero { padding: 36px 20px; }
  .wrap { padding: 24px 16px 48px; }
  .brochure { display: block; }
  .brochure::after, h2.brochure::after { width: 72px; height: 6px; margin-top: 12px; }
}
