/* Sim2Bot landing page.
   Deliberately plain CSS with no build step: this is a static site served from
   its own Cloudflare Pages project, and a toolchain would be more to maintain
   than the page is worth. Tokens mirror src/styles/global.css so the marketing
   page and the app look like the same product. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/plexsans-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/plexsans-latin-ext.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f1f2f6;
  --surface: #ffffff;
  --border: #dfe3ea;
  --text: #202733;
  --text-muted: #687283;
  --brand: #5b8aea;
  --brand-strong: #3f6fd4;
  --brand-soft: #e9f0ff;
  --radius: 12px;
  --maxw: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08090b;
    --surface: #121416;
    --border: #23262b;
    --text: #edf0f4;
    --text-muted: #9aa3b0;
    --brand-soft: #16203a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}
.logo { height: 22px; width: auto; }
.logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo--light { display: none; }
  .logo--dark { display: block; }
}
nav { display: flex; gap: 22px; align-items: center; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }

.hero { padding: 64px 0 56px; }
.badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
@media (prefers-color-scheme: dark) { .badge { color: var(--brand); } }

h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 20px;
  max-width: 17ch;
}
.lede {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 32px;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); }
.btn--ghost { border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  padding: 8px 0 72px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h2 { font-size: 17px; margin: 0 0 8px; font-weight: 600; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 56px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}
footer a { color: var(--text-muted); }
