/* Instint website: no JavaScript, no external fonts, no trackers. */
:root {
  --bg: #fbfaff;
  --surface: #ffffff;
  --text: #1c1b29;
  --muted: #5f5d73;
  --accent: #5b57d6;
  --accent-contrast: #ffffff;
  --border: #e4e2f2;
  --soft: #efeefc;
  --radius: 14px;
  --max: 46rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14131f;
    --surface: #1d1c2c;
    --text: #efeefb;
    --muted: #a9a7c2;
    --accent: #8f8cff;
    --accent-contrast: #14131f;
    --border: #2d2c42;
    --soft: #232238;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

header.site {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 650; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 1.1rem; font-size: 0.97rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

main { padding: 2.5rem 0 3.5rem; }

h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2.4rem 0 0.6rem; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; margin: 1.6rem 0 0.4rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.hero { padding: 1rem 0 0.5rem; }
.hero .icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 24px rgba(60, 50, 160, 0.25); margin-bottom: 1.25rem; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
}
.button:hover { filter: brightness(1.06); }
.cta { margin: 1.5rem 0 0.6rem; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 1.5rem 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--muted); }

.note { background: var(--soft); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.note p:last-child { margin-bottom: 0; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; font-size: 0.97rem; }
th, td { text-align: left; vertical-align: top; padding: 0.65rem 0.7rem; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.table-scroll { overflow-x: auto; }

footer.site { border-top: 1px solid var(--border); padding: 1.6rem 0 2.4rem; color: var(--muted); font-size: 0.93rem; }
footer.site a { color: var(--muted); margin-right: 1.1rem; }
footer.site a:hover { color: var(--text); }
footer.site .legal { margin-top: 0.8rem; }

@media (max-width: 30rem) {
  nav a { margin-left: 0.8rem; }
  th, td { padding: 0.55rem 0.4rem; }
}
