/* FlawRook landing: shared styles. Self-hosted fonts, no third-party requests. */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/bricolage-grotesque-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2'); }

html { background: #0D0D11; color-scheme: dark; }
body { margin: 0; background: #0D0D11; }

/* ---- landing (.fr) ---- */
.fr { font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; color: #F4F1EA; -webkit-font-smoothing: antialiased; }
.fr *, .lg * { box-sizing: border-box; }
.fr .disp, .lg .disp { font-family: 'Bricolage Grotesque', 'IBM Plex Sans', Helvetica, Arial, sans-serif; letter-spacing: -0.02em; }
.fr .mono, .lg .mono { font-family: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.fr a { color: #F4F1EA; }
.fr a:hover { color: #FF490D; }
.fr .on-paper a { color: #0D0D11; }
.fr .on-paper a:hover { color: #C2360A; }
.fr input, .fr select, .fr textarea, .fr button { font: inherit; }
.fr :focus-visible, .lg :focus-visible { outline: 2px solid #FF490D; outline-offset: 3px; }
.fr .btn-signal { transition: transform .15s ease, background .15s ease; }
.fr .btn-signal:hover { background: #FF6A3A !important; color: #0D0D11 !important; transform: translateY(-1px); }
.fr .btn-signal:disabled { opacity: .7; cursor: progress; transform: none; }
.fr .btn-ghost:hover { border-color: #FF490D !important; color: #F4F1EA !important; }
.fr .field:focus { border-color: #FF490D !important; outline: none; box-shadow: 0 0 0 3px rgba(255,73,13,.18); }
.fr .tab { transition: background .2s ease, color .2s ease; background: transparent; color: #8C8896; }
.fr .tab[aria-selected="true"] { background: #1C1C24; color: #F4F1EA; }
.fr .tab:hover { color: #F4F1EA; }
.fr details summary { list-style: none; cursor: pointer; }
.fr details summary::-webkit-details-marker { display: none; }
.fr details[open] .chev { transform: rotate(45deg); }
.fr .chev { transition: transform .2s ease; }
.fr .form-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@keyframes fr-scan { 0% { top: 96px; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: calc(100% - 52px); opacity: 0; } }
@keyframes fr-rowin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fr-flag { 0%, 55% { opacity: 0; transform: scale(.9); } 100% { opacity: 1; transform: none; } }
@keyframes fr-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,73,13,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,73,13,0); } 100% { box-shadow: 0 0 0 0 rgba(255,73,13,0); } }
@keyframes fr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fr-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fr-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes fr-fade { from { opacity: 0; } to { opacity: 1; } }
.fr .row-in { animation: fr-rowin .55s cubic-bezier(.2,.7,.2,1) both; }
.fr .flag-in { animation: fr-flag 1.4s ease-out both; }
.fr .live { animation: fr-pulse 2.2s ease-out infinite; }
.fr .scanline { animation: fr-scan 5.5s linear infinite; }
.fr .track { animation: fr-marquee 40s linear infinite; }
.fr .hero-in { animation: fr-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.fr .panel-in { animation: fr-fade .35s ease-out both; }
.fr .caret { animation: fr-blink 1.1s step-end infinite; }
@supports (animation-timeline: view()) {
  .fr .reveal { animation: fr-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}
@media (prefers-reduced-motion: reduce) {
  .fr *, .fr *::before, .fr *::after { animation: none !important; transition: none !important; }
}
@container fr (max-width: 820px) {
  .fr .nav-links { display: none !important; }
  .fr .hide-narrow { display: none !important; }
}
@container fr (max-width: 520px) {
  .fr .stack-narrow { flex-direction: column !important; align-items: stretch !important; }
  .fr .pad { padding-left: 20px !important; padding-right: 20px !important; }
}

/* ---- legal pages (.lg) ---- */
.lg { font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; color: #F4F1EA; -webkit-font-smoothing: antialiased; }
.lg a { color: #F4F1EA; text-underline-offset: 3px; }
.lg a:hover { color: #FF490D; }
.lg .doc h2 { font-family: 'Bricolage Grotesque', 'IBM Plex Sans', Helvetica, Arial, sans-serif; letter-spacing: -0.01em; font-size: 28px; line-height: 1.2; font-weight: 700; margin: 0; padding-top: 16px; scroll-margin-top: 24px; }
.lg .doc h3 { font-size: 17px; font-weight: 600; margin: 6px 0 0; color: #F4F1EA; }
.lg .doc p { margin: 0; font-size: 16.5px; line-height: 1.7; color: #C9C5CF; }
.lg .doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.lg .doc li { font-size: 16.5px; line-height: 1.65; color: #C9C5CF; }
.lg .doc b { color: #F4F1EA; font-weight: 600; }
.lg .doc section { display: flex; flex-direction: column; gap: 14px; }
@container lg (max-width: 520px) {
  .lg .pad { padding-left: 20px !important; padding-right: 20px !important; }
  .lg .doc h2 { font-size: 24px; }
}
