/* Sequex website: one small stylesheet, no frameworks, light and dark. */
:root {
  --bg: #f4f7ff;
  --surface: #ffffff;
  --ink: #12193a;
  --muted: #4d5674;
  --brand: #0a53d6;
  --brand-deep: #022c96;
  --edge: #dde4f5;
  --accent: #ffb703;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(10, 40, 120, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1230;
    --surface: #131c42;
    --ink: #eef2ff;
    --muted: #b3bbd9;
    --brand: #6ea2ff;
    --brand-deep: #9cc0ff;
    --edge: #26315f;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }

header.site {
  background: linear-gradient(135deg, #0a6fea, #022c96);
  color: #fff;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: 0.06em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.site { display: flex; gap: 18px; flex-wrap: wrap; }
nav.site a { color: #fff; text-decoration: none; font-weight: 600; opacity: 0.9; }
nav.site a:hover, nav.site a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.hero {
  background: linear-gradient(180deg, #022c96 0%, #0a53d6 60%, var(--bg) 100%);
  color: #fff;
  text-align: center;
  padding: 40px 0 56px;
}
.hero img.logo { width: min(240px, 60vw); height: auto; border-radius: 22%; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); }
.hero h1 { margin: 22px 0 6px; font-size: clamp(30px, 6vw, 44px); line-height: 1.15; }
.hero p.lead { margin: 0 auto 26px; max-width: 34em; font-size: 19px; opacity: 0.95; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; background: var(--accent); color: #1a1300;
  font-weight: 800; text-decoration: none;
}
.button.secondary { background: rgba(255, 255, 255, 0.16); color: #fff; }
.note { font-size: 14px; opacity: 0.85; margin-top: 10px; }

main { padding: 32px 0 48px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
h2 { font-size: 26px; margin: 36px 0 14px; }

.doc { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: 8px 24px 24px; box-shadow: var(--shadow); }
.doc h1 { font-size: clamp(26px, 5vw, 34px); margin: 18px 0 4px; }
.doc h2 { font-size: 21px; margin: 30px 0 8px; }
.doc h3 { font-size: 18px; margin: 20px 0 6px; }
.doc .meta { color: var(--muted); margin-top: 0; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 4px 0; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--edge); }
th { color: var(--muted); font-weight: 700; }

footer.site { border-top: 1px solid var(--edge); color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-top: 20px; padding-bottom: 28px; }
footer.site a { color: var(--muted); }
