/* Xentory placeholder site. Tokens mirror the ERP theme (apps/web/src/styles.css). */
:root {
  --bg: #0b0e13; --bg-elev: #131822; --border: #232b3a;
  --text: #e6eaf2; --text-dim: #98a2b3; --accent: #4f9cff; --warn: #f5a623; --warn-soft: rgba(245,166,35,.12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8fb; --bg-elev: #ffffff; --border: #d9dfe9;
    --text: #131822; --text-dim: #4b5568; --accent: #1f6fe0; --warn: #8a5a00; --warn-soft: rgba(245,166,35,.18);
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.top, main, footer { max-width: 960px; margin: 0 auto; padding-inline: 20px; }
.top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
nav { display: flex; gap: 18px; font-size: 14.5px; }
nav a { color: var(--text-dim); text-decoration: none; }
nav a:hover { color: var(--text); }
main { display: flex; flex-direction: column; gap: 44px; padding-block: 28px 56px; }
.hero { display: flex; flex-direction: column; gap: 16px; }
.tag { align-self: flex-start; margin: 0; font-size: 13px; font-weight: 600; color: var(--warn); background: var(--warn-soft); border-radius: 999px; padding: 3px 12px; }
h1 { margin: 0; font-size: clamp(28px, 5vw, 42px); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; max-width: 20ch; }
h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
p { margin: 0; }
.lead { color: var(--text-dim); font-size: 17.5px; max-width: 64ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.grid article { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.grid p { color: var(--text-dim); font-size: 15px; }
.plain { display: flex; flex-direction: column; gap: 8px; max-width: 68ch; }
.plain p { color: var(--text-dim); }
.doc { display: flex; flex-direction: column; gap: 22px; max-width: 70ch; }
.doc h1 { font-size: clamp(26px, 4.4vw, 34px); max-width: none; }
.doc section { display: flex; flex-direction: column; gap: 8px; }
.doc p, .doc li { color: var(--text-dim); }
.doc ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.doc .date { font-size: 14px; }
footer { border-top: 1px solid var(--border); padding-block: 24px 40px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--text-dim); }
footer strong { color: var(--text); font-weight: 600; }
