/* Static pages outside the app (press kit, guides): plain HTML, fast, readable by search engines.
   Same colours and type as the app (apps/web/src/styles.css). */
@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
}
:root {
  --paper: #0e0f14;
  --surface: #17181f;
  --ink: #f1ede4;
  --muted: #a8a29a;
  --line: #2a2b34;
  --accent: #c41e3a;
  --accent-text: #ff5a6e;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --paper: #f4f5f9;
    --surface: #ffffff;
    --ink: #17181f;
    --muted: #5d5a66;
    --line: #dcdde5;
    --accent-text: #b0182f;
    color-scheme: light;
  }
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-text-size-adjust: 100%;
}
a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
}
.wordmark {
  color: var(--ink);
  font: 700 1.35rem var(--display);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.btn.quiet {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h1 {
  margin: 28px 0 12px;
  font-size: clamp(2rem, 7vw, 3rem);
}
h2 {
  margin: 40px 0 8px;
  font-size: 1.5rem;
}
h3 {
  margin: 24px 0 4px;
  font-size: 1.15rem;
}
.lead {
  color: var(--muted);
  font-size: 1.2rem;
}
.muted {
  color: var(--muted);
}
.card {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.card p:first-child {
  margin-top: 0;
}
.card p:last-child {
  margin-bottom: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.grid figure {
  margin: 0;
}
.grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}
dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
}
ul.list {
  padding-left: 1.2em;
}
ul.list li {
  margin: 6px 0;
}
.guides {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.guides a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.guides a strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
}
.guides a span {
  color: var(--muted);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}
.foot {
  margin: 56px 0 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.foot a {
  color: inherit;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
}
