@font-face {
  font-family: 'Unbounded';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/unbounded-800.ttf') format('truetype');
}

@font-face {
  font-family: 'Work Sans';
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/work-sans-100.ttf') format('truetype');
}

@font-face {
  font-family: 'Work Sans';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/work-sans-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Work Sans';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/work-sans-600.ttf') format('truetype');
}

:root {
    --bg: #0A0A0A;
    --panel: #1A1A1A;
    --line: #2A2A2A;
    --acid: #D4FF3F;
    --acid-text: #0A0A0A;
    --text: #FFFFFF;
    --text-secondary: #B5B5B5;
    --text-muted: #8A8A8A;
  }
  :root[data-theme="light"] {
    --bg: #FFFFFF;
    --panel: #F2F2F2;
    --line: #E2E2E2;
    --acid: #8FBF00;
    --acid-text: #FFFFFF;
    --text: #0A0A0A;
    --text-secondary: #45463F;
    --text-muted: #6B6B6B;
  }
  @media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
      --bg: #FFFFFF;
      --panel: #F2F2F2;
      --line: #E2E2E2;
      --acid: #8FBF00;
      --acid-text: #FFFFFF;
      --text: #0A0A0A;
      --text-secondary: #45463F;
      --text-muted: #6B6B6B;
    }
  }

  * { box-sizing: border-box; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
  }
  ::selection { background: var(--acid); color: var(--acid-text); }

  a { color: var(--acid); text-decoration: none; }
  a:hover { text-decoration: underline; }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }

  .wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

  header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand img { width: 22px; height: 22px; }
  .brand span {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
  }
  nav { display: flex; gap: 20px; }
  nav a {
    color: var(--text-secondary);
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 13px;
  }
  nav a:hover { color: var(--acid); text-decoration: none; }

  .hero { padding: 64px 0 48px; }
  .eyebrow {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--acid);
    margin: 0 0 14px;
  }
  h1 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
    text-wrap: balance;
    color: var(--text);
  }
  .hero p { font-size: 16px; color: var(--text-secondary); max-width: 52ch; margin: 0; }

  section { padding: 40px 0; border-top: 1px solid var(--line); }
  section:first-of-type { border-top: none; }
  h2 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.3px;
    margin: 0 0 6px;
    scroll-margin-top: 84px;
    text-wrap: balance;
  }
  .section-meta {
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 28px;
  }
  h3 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    margin: 28px 0 8px;
  }
  p { color: var(--text-secondary); margin: 0 0 14px; max-width: 62ch; }
  ul { color: var(--text-secondary); margin: 0 0 14px; padding-left: 20px; max-width: 62ch; }
  li { margin-bottom: 6px; }
  strong { color: var(--text); font-weight: 600; }

  .loop {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 8px;
  }
  .loop-step {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 14px;
  }
  .loop-step .n {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: var(--acid);
    margin-bottom: 6px;
  }
  .loop-step .t {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 4px;
  }
  .loop-step .d { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

  .callout {
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 2px solid var(--acid);
    border-radius: 0 12px 12px 0;
    padding: 14px 18px;
    margin: 20px 0;
    font-size: 13px;
    color: var(--text-secondary);
  }
  .callout strong { display: block; color: var(--text); margin-bottom: 4px; font-size: 13px; }

  .contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 16px;
  }
  .contact-row .label { font-size: 12px; color: var(--text-muted); min-width: 70px; }
  .contact-row a { font-family: 'Work Sans', sans-serif; font-weight: 500; font-size: 14px; }

  footer {
    border-top: 1px solid var(--line);
    padding: 32px 0 48px;
  }
  footer p { font-size: 12px; color: var(--text-muted); margin: 0; }

  @media (max-width: 520px) {
    h1 { font-size: 27px; }
    .loop { grid-template-columns: 1fr; }
    nav { gap: 14px; }
    nav a { font-size: 12px; }
  }