/* -------------------------------------------------------------------------
   Placeholder site styles — no external fonts, no CDN, no imports.
   ------------------------------------------------------------------------- */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #14181f;
  --muted: #5b6573;
  --line: #dce1e8;
  --accent: #2f6df6;
  --accent-ink: #ffffff;
  --danger: #b42318;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --surface: #151b23;
    --surface-2: #1b2430;
    --text: #e8edf4;
    --muted: #9aa6b5;
    --line: #27303c;
    --accent: #6ea0ff;
    --accent-ink: #0b1220;
    --danger: #ff8a80;
    --shadow: 0 12px 36px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .1em .35em;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .6rem 1rem;
  border-radius: 8px;
  transition: top .15s ease;
}
.skip-link:focus { top: 1rem; }

/* ------------------------------- Header -------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; color: var(--accent); }

.nav {
  display: flex;
  gap: .35rem;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  padding: .45rem .7rem;
  border-radius: 8px;
  font-size: .95rem;
}
.nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .18s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: .15rem;
    padding: .75rem 1.25rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: .7rem .6rem; }
}

/* -------------------------------- Hero --------------------------------- */

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  margin: 0 0 .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}

h2 { letter-spacing: -.02em; line-height: 1.2; }

.lede {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
}

.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .72rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.button:active { transform: translateY(1px); }
.button:hover { text-decoration: none; }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.primary:hover { filter: brightness(1.06); }
.button.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.button.ghost:hover { background: var(--surface-2); }
.button.full { width: 100%; }

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .8rem;
}
.facts li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: .75rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .94rem;
}
.facts strong { color: var(--text); }

/* ------------------------------- Card ---------------------------------- */

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  scroll-margin-top: 90px;
}
.hero-card h2 { margin: 0 0 .25rem; font-size: 1.35rem; }
.hero-card .muted { margin: 0 0 1.1rem; color: var(--muted); font-size: .92rem; }

label {
  display: block;
  font-size: .85rem;
  font-weight: 650;
  margin: .8rem 0 .35rem;
}

input {
  width: 100%;
  padding: .7rem .8rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

#demo-login .button { margin-top: 1rem; }

.form-note {
  min-height: 1.4em;
  margin: .7rem 0 0;
  font-size: .88rem;
  color: var(--danger);
}
.form-note.ok { color: var(--muted); }

.fine-print {
  margin: 1rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

/* ------------------------------ Sections -------------------------------- */

.section { padding: clamp(2rem, 5vw, 4rem) 0; }
.section-title { margin: 0 0 1.5rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.card h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ------------------------------- Prose --------------------------------- */

.prose { padding: clamp(2rem, 5vw, 4rem) 0; max-width: 780px; }
.prose.center { text-align: center; }
.prose h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.prose h2 { margin: 2rem 0 .6rem; font-size: 1.3rem; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin: .35rem 0; }
.prose .button { margin-top: 1.2rem; }

/* ------------------------------- Footer -------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1.4rem 0;
  font-size: .9rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 1rem; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
