/* Generated by flipova-assets build from design/themes.xml. The colors are the roles of the Flipova themes (light, dark). */
:root {
  --background: #FAFAFA;
  --foreground: #18181B;
  --card: #FFFFFF;
  --card-foreground: #18181B;
  --popover: #FFFFFF;
  --popover-foreground: #18181B;
  --primary: #000091;
  --primary-foreground: #FFFFFF;
  --secondary: #475569;
  --secondary-foreground: #FFFFFF;
  --muted: #F4F4F5;
  --muted-foreground: #52525B;
  --accent: #F2F2FA;
  --accent-foreground: #000055;
  --destructive: #DC2626;
  --destructive-foreground: #FFFFFF;
  --border: #E4E4E7;
  --input: #E4E4E7;
  --ring: #3333A7;
  --success: #16A34A;
  --success-foreground: #FFFFFF;
  --warning: #D97706;
  --warning-foreground: #FFFFFF;
  --error: #DC2626;
  --error-foreground: #FFFFFF;
  --info: #0284C7;
  --info-foreground: #FFFFFF;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #18181B;
    --foreground: #F4F4F5;
    --card: #27272A;
    --card-foreground: #F4F4F5;
    --popover: #27272A;
    --popover-foreground: #F4F4F5;
    --primary: #3333A7;
    --primary-foreground: #FFFFFF;
    --secondary: #64748B;
    --secondary-foreground: #FFFFFF;
    --muted: #27272A;
    --muted-foreground: #A1A1AA;
    --accent: #000055;
    --accent-foreground: #E5E5F4;
    --destructive: #EF4444;
    --destructive-foreground: #FFFFFF;
    --border: #3F3F46;
    --input: #3F3F46;
    --ring: #6666BD;
    --success: #22C55E;
    --success-foreground: #18181B;
    --warning: #F59E0B;
    --warning-foreground: #18181B;
    --error: #EF4444;
    --error-foreground: #FFFFFF;
    --info: #0EA5E9;
    --info-foreground: #FFFFFF;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--foreground); font: 400 1rem/1.65 var(--font-sans, 'Lexend', system-ui, sans-serif); display: grid; grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr); min-height: 100vh; }
a { color: var(--primary); text-underline-offset: 0.2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ring, var(--primary)); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-heading, 'Bricolage Grotesque', var(--font-sans)); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); margin-bottom: 0.4em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 0.35rem; }
p { margin: 0 0 1rem; max-width: 62ch; }
code, .mono { font-family: var(--font-mono, 'Space Mono', ui-monospace, monospace); font-size: 0.85em; }
.spine { position: sticky; top: 0; align-self: start; height: 100vh; padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 2rem; border-right: 1px solid var(--border); }
.spine img { width: 3.25rem; height: 3.25rem; border-radius: 0.75rem; display: block; }
.spine nav { display: flex; flex-direction: column; gap: 0.15rem; }
.spine nav a { text-decoration: none; color: var(--muted-foreground); padding: 0.4rem 0.6rem; margin-left: -0.6rem; border-radius: 0.375rem; font-size: 0.95rem; }
.spine nav a:hover { color: var(--foreground); background: var(--muted); }
.spine nav a[aria-current="page"] { color: var(--accent-foreground, var(--foreground)); font-weight: 600; background: var(--accent); }
.spine small { margin-top: auto; color: var(--muted-foreground); font-size: 0.78rem; line-height: 1.5; }
main { padding: clamp(1.5rem, 5vw, 4.5rem); max-width: 78rem; }
section { padding: 3.25rem 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; padding-top: 0; }
.lead { font-size: 1.2rem; color: var(--muted-foreground); max-width: 48ch; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, 20rem); gap: clamp(1.5rem, 5vw, 4rem); align-items: end; padding-bottom: 3rem; }
.hero img { width: 100%; height: auto; border-radius: 1.25rem; display: block; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.5rem 1.25rem; }
figure { margin: 0; }
figure .frame { border: 1px solid var(--border); border-radius: 0.75rem; overflow: hidden; background: var(--muted); display: flex; justify-content: center; }
figure img { width: 100%; height: auto; display: block; }
figcaption { padding-top: 0.6rem; font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.45; }
figcaption strong { color: var(--foreground); display: block; font-weight: 600; }
.ribbon { display: flex; border-radius: 0.75rem; overflow: hidden; border: 1px solid var(--border); margin: 0 0 0.6rem; }
.ribbon div { flex: 1 1 0; min-height: 6.5rem; padding: 0.6rem 0.4rem; display: flex; align-items: flex-end; font-size: 0.72rem; line-height: 1.2; }
.ribbon div.key { flex: 2.4 1 0; font-weight: 700; }
.ramp-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.5rem; text-transform: capitalize; }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 0.5rem; }
.role { border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.5rem 0.6rem; display: flex; gap: 0.6rem; align-items: center; font-size: 0.8rem; line-height: 1.3; }
.role i { width: 1.6rem; height: 1.6rem; border-radius: 0.35rem; border: 1px solid var(--border); flex: none; }
.role span { overflow-wrap: anywhere; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted-foreground); font-weight: 600; font-size: 0.8rem; }
.pair { display: inline-flex; align-items: center; justify-content: center; min-width: 3.2rem; padding: 0.2rem 0.5rem; border-radius: 0.35rem; font-weight: 700; border: 1px solid var(--border); }
.specimen { margin: 0 0 2rem; }
.specimen .big { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; margin: 0.25rem 0 0.5rem; overflow-wrap: anywhere; }
.specimen .alphabet { font-size: 1.15rem; color: var(--muted-foreground); max-width: 40ch; }
.scale div { display: flex; align-items: baseline; gap: 1.25rem; border-bottom: 1px solid var(--border); padding: 0.35rem 0; }
.scale span.k { width: 7rem; flex: none; color: var(--muted-foreground); }
.scale span.s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.weights { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 1.5rem; }
.note { border-left: 4px solid var(--primary); padding: 0.25rem 0 0.25rem 1rem; max-width: 62ch; }
.dl a { margin-right: 1rem; }
footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 0.85rem; }
@media (max-width: 52rem) {
  body { grid-template-columns: 1fr; }
  .spine { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; border-right: 0; border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.75rem 1.5rem; }
  .spine nav { flex-direction: row; flex-wrap: wrap; }
  .spine small { display: none; }
  .hero { grid-template-columns: 1fr; }
  .ribbon { flex-wrap: wrap; }
  .ribbon div, .ribbon div.key { flex: 1 1 4.5rem; min-height: 4.5rem; }
}
