@font-face { font-family: "Doto"; src: url("assets/doto.ttf"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("assets/space_grotesk.ttf"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #0a0a0a; --surface: #151515; --surface-2: #1f1f1f; --line: #2a2a2a;
  --text: #f2f2f2; --muted: #9a9a9a; --accent: #e8232b; --on-accent: #fff;
  --radius: 24px; --max: 1080px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f3f3f3; --surface: #fff; --surface-2: #e8e8e8; --line: #d8d8d8; --text: #0a0a0a; --muted: #5f5f5f; }
}
* { box-sizing: border-box; }
html { 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(--text); font: 17px/1.6 "Space Grotesk", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 99px; z-index: 9; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
header.site nav a { text-decoration: none; color: var(--muted); margin-left: 20px; font-size: 15px; }
nav a:hover { color: var(--text); }

.dots { font-family: "Doto", monospace; font-weight: 500; letter-spacing: 0.02em; line-height: 1.05; }
.hero { padding: 56px 0 72px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); margin: 0 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 20px; color: var(--muted); max-width: 34ch; margin: 0 0 32px; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--text); color: var(--bg); padding: 14px 26px; border-radius: 99px; font-weight: 700; text-decoration: none; transition: transform .2s; }
.cta:hover { transform: translateY(-2px); }
.cta.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); margin-left: 10px; }
.bars { display: flex; gap: 14px; align-items: flex-end; height: 280px; justify-content: center; }
.bars i { display: block; width: 44px; border-radius: 99px; background: var(--text); animation: rise 1.2s cubic-bezier(.2,.8,.2,1) both; }
.bars i:nth-child(1) { height: 52%; } .bars i:nth-child(2) { height: 85%; background: var(--accent); animation-delay: .12s; } .bars i:nth-child(3) { height: 34%; background: var(--muted); animation-delay: .24s; }
@keyframes rise { from { transform: scaleY(.15); transform-origin: bottom; opacity: 0; } }

section { padding: 64px 0; }
h2 { font-size: clamp(30px, 4.5vw, 48px); margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 40px; max-width: 52ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 20px; } .card p { margin: 0; color: var(--muted); }
.shots { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: 0 0 240px; scroll-snap-align: start; }
.shots img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line); display: block; }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }
.pro { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pro ul { margin: 0; padding-left: 20px; color: var(--muted); } .pro li { margin: 6px 0; } .pro li::marker { color: var(--accent); }
.tag { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 99px; letter-spacing: .06em; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.facts li { border-top: 2px solid var(--accent); padding-top: 12px; }
.facts b { display: block; }
.facts span { color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { margin-right: 18px; }

/* Legal pages */
.doc { padding: 24px 0 72px; max-width: 760px; }
.doc h1 { font-size: clamp(40px, 7vw, 72px); margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-size: 24px; margin: 44px 0 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.doc p, .doc li { color: var(--text); opacity: .92; }
.doc ul { padding-left: 22px; } .doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.doc th { color: var(--muted); font-weight: 500; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin: 20px 0; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 24px; margin-bottom: 32px; } .toc ol { margin: 6px 0 0; padding-left: 20px; } .toc a { color: var(--muted); }

@media (max-width: 760px) {
  .hero, .pro { grid-template-columns: 1fr; }
  .bars { height: 160px; order: -1; } .bars i { width: 30px; }
  header.site nav a:not(.keep) { display: none; }
  .cta.ghost { margin: 12px 0 0; }
}
