/* Barset Systems — v1 styles */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/space-grotesk-latin.woff2") format("woff2"); }
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #121212;
  --muted: #5b5b57;
  --line: #e3e1da;
  --accent: #e8551f;
  --accent-ink: #ffffff;
  --accent-soft: #fbe5da;
  --radius: 14px;
  --max: 1120px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0e0d;
    --surface: #171715;
    --ink: #f2f1ec;
    --muted: #a5a39b;
    --line: #2a2926;
    --accent: #ff6a33;
    --accent-ink: #0e0e0d;
    --accent-soft: #2b1a12;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; text-decoration: none; font-size: 18px; display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 14px; letter-spacing: 0; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 15px; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}

/* Type */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.muted { color: var(--muted); }

/* Sections */
section { padding: 80px 0; }
.hero { padding: 96px 0 72px; }
.hero h1 span { color: var(--accent); }
.page-head { padding-top: 72px; padding-bottom: 32px; }
.page-head h1 { font-size: clamp(36px, 6vw, 56px); }
.divider { border-top: 1px solid var(--line); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--ink); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; border-color: var(--line); }

/* Grid & cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; margin-bottom: 18px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.badge.soon { background: var(--line); color: var(--muted); }

.feature { display: grid; gap: 32px; grid-template-columns: 1.1fr 1fr; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; padding: 26px; } }
.board { aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid var(--line); }
.board i { background: var(--surface); }
.board i.d { background: var(--ink); opacity: 0.88; }
.board i.a { background: var(--accent); }
.shot { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: #0d0b16; }
.shots { display: grid; gap: 24px; grid-template-columns: minmax(0, 280px) 1fr; align-items: center; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } .shots .shot { max-width: 320px; } }
.founder { display: flex; gap: 20px; align-items: center; }
.founder img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.founder-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 15px; }
@media (max-width: 420px) { .founder { gap: 16px; align-items: flex-start; } .founder img { width: 64px; height: 64px; } }
.card-link { text-decoration: none; display: block; transition: transform .15s ease, border-color .15s ease; }
.card-link:hover { transform: translateY(-2px); border-color: var(--ink); }

/* Long-form (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose h3 { font-size: 18px; margin-top: 24px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.note { font-size: 15px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }

/* CTA band */
.cta { background: var(--ink); color: var(--bg); border-radius: 20px; padding: 48px 40px; }
.cta .lead { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.cta a.btn-ghost { color: var(--bg); border-color: var(--bg); }
@media (max-width: 760px) { .cta { padding: 32px 22px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 40px; font-size: 14px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.legal { margin-top: 18px; }

/* Reveal (subtle) */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
