@font-face {
  font-family: Archivo;
  src: url("assets/fonts/archivo/latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter/latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrainsmono/latin-variable.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --surface: #fff;
  --sunken: #f5f6f9;
  --border: #dee2ea;
  --ink: #121722;
  --muted: #525b6b;
  --brand: #3d63f0;
  --brand-hover: #2f52d6;
  --brand-text: #2546c4;
  --brand-subtle: #e8edfe;
  --rail: #0f131b;
  --radius-md: 8px;
  --radius-card: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 1rem/1.65 Inter, system-ui, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Archivo, Inter, sans-serif; font-stretch: 112%; line-height: 1.12; }
h1, h2 { font-weight: 750; letter-spacing: -.045em; }
h1 { max-width: 12em; font-size: clamp(2.25rem, 4.2vw, 3.625rem); font-stretch: 118%; }
h1 em { color: var(--brand-text); font-style: normal; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; }
p { color: var(--muted); }
a { color: var(--brand-text); text-underline-offset: .2em; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wrap { width: min(calc(100% - 48px), 76rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 8px 16px; background: var(--surface); }
.skip-link:not(:focus) { clip-path: inset(50%); }

.site-header { border-bottom: 1px solid var(--border); }
.header-inner, .site-nav, .wordmark { display: flex; align-items: center; }
.header-inner { min-height: 76px; justify-content: space-between; gap: 12px; }
.site-nav { gap: 28px; font-size: .875rem; font-weight: 600; }
.site-nav .section-link { color: var(--muted); text-decoration: none; }
.site-nav .section-link:hover { text-decoration: underline; }
.wordmark { gap: 8px; color: var(--ink); text-decoration: none; font: 600 1.375rem/1 Archivo, sans-serif; font-stretch: 125%; letter-spacing: -.05em; }
.wordmark:hover { color: var(--ink); }
.wordmark strong { color: var(--brand); font-weight: 850; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid transparent; border-radius: var(--radius-md); font-weight: 600; text-decoration: none; }
.button-outline { border-color: #868d9b; color: var(--ink); }
.button-outline:hover { border-color: var(--brand); background: var(--brand-subtle); color: var(--brand-text); }
.button-primary { min-height: 52px; padding-inline: 24px; background: var(--brand); color: var(--surface); }
.button-primary:hover { background: var(--brand-hover); color: var(--surface); }

.hero { background: linear-gradient(155deg, var(--surface) 25%, var(--sunken)); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding-block: clamp(56px, 7vw, 104px); }
.hero-copy p { max-width: 36rem; margin-block: 24px 28px; font-size: 1.0625rem; }
.board { padding: clamp(8px, 1.7vw, 24px); border: 1px solid #ccd6fb; border-radius: var(--radius-card); background: radial-gradient(ellipse at top left, #e2e9ff, #f2f5fe 75%); }
.board-chrome { overflow: hidden; border: 1px solid #cbd3e2; border-radius: 12px; background: var(--surface); box-shadow: 0 16px 36px -28px #294b9a; }
.board-header { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--rail); color: #fff; line-height: 1.3; }
.board-header strong { display: block; font-size: .9375rem; }
.board-context { display: block; color: #b8c3d7; font-size: .75rem; }
.board-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: #26365d; }
.board-icon span { width: 3px; height: 14px; border-radius: 2px; background: #a8baff; box-shadow: -5px 0 #a8baff, 5px 0 #a8baff; }
.board-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; }
.stage { min-height: 232px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--sunken); }
.stage-active { background: #edf1ff; border-color: #cbd6fd; }
.stage-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px; margin-bottom: 12px; font-size: .8125rem; font-weight: 600; line-height: 1.25; }
.count, .year { font-family: "JetBrains Mono", monospace; font-variant-numeric: tabular-nums; }
.count { color: var(--muted); font-size: .75rem; }
.lead { padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); font-size: .8125rem; line-height: 1.35; overflow-wrap: anywhere; }
.lead + .lead { margin-top: 8px; }
.lead strong { display: block; font-weight: 600; }
.lead-active { border-color: #a9bafa; }
.tag { display: inline-block; margin-top: 8px; padding: 2px 4px; border-radius: 4px; background: var(--sunken); color: var(--muted); font-size: .75rem; }
.tag-brand { background: var(--brand-subtle); color: var(--brand-text); }
figcaption { margin-top: 8px; color: var(--muted); font-size: .8125rem; text-align: center; }

.features { padding-block: clamp(56px, 6vw, 88px); }
.section-intro { max-width: 48rem; }
.section-intro p, .privacy p { margin-top: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.feature { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-card); }
.feature p { margin-top: 8px; }
.feature-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: var(--radius-md); background: var(--brand-subtle); color: var(--brand-text); }
.feature-icon::before, .feature-icon::after { position: absolute; content: ""; }
.icon-funnel::before { width: 4px; height: 16px; border: 1.5px solid; border-radius: 1px; box-shadow: -6px 0, 6px 0; }
.icon-chat::before { width: 18px; height: 13px; border: 2px solid; border-radius: 4px 4px 4px 0; }
.icon-chat::after { width: 8px; border-top: 2px solid; }
.icon-form::before { width: 15px; height: 18px; border: 2px solid; border-radius: 2px; }
.icon-form::after { width: 6px; height: 6px; border-block: 2px solid; }
.icon-chart::before { width: 18px; height: 17px; border: solid; border-width: 0 0 2px 2px; }
.icon-chart::after { width: 2px; height: 7px; background: currentColor; transform: translate(-3px, 2px); box-shadow: 4px -2px, 8px -5px; }
.icon-roles::before { width: 8px; height: 8px; border: 2px solid; border-radius: 50%; transform: translate(-2px, -5px); }
.icon-roles::after { width: 16px; height: 7px; border: solid; border-width: 2px 2px 0; border-radius: 6px 6px 0 0; transform: translateY(5px); }
.icon-tasks::before { width: 18px; height: 18px; border: 2px solid; border-radius: 4px; }
.icon-tasks::after { width: 8px; height: 5px; border: solid; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }

.privacy { padding-block: clamp(48px, 5vw, 72px); background: var(--sunken); border-block: 1px solid var(--border); }
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.privacy p { max-width: 32rem; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.legal-grid a { display: flex; align-items: center; min-height: 44px; font-weight: 600; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 24px; color: var(--muted); font-size: .875rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 28px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .preview { width: min(100%, 40rem); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; }
  .site-nav .section-link { display: none; }
  .wordmark { font-size: 1.25rem; }
  .hero-inner { padding-block: 44px; }
  .hero-copy p { margin-block: 16px 24px; }
  .board-columns { gap: 4px; padding: 6px; }
  .stage { min-height: 208px; padding: 4px; }
  .stage-title { margin-bottom: 8px; }
  .lead { padding: 5px; }
  .feature-grid, .privacy-inner { grid-template-columns: 1fr; }
  .privacy-inner { gap: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
