/* openrig.eu: the OpenRig palette (amber on near black) and the app's
   rack block families. No external resources. */
@font-face {
	font-family: 'Inter Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url('/static/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url('/static/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-display: swap;
	font-weight: 600;
	src: url('/static/fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');
}

:root {
	--bg: #050506;
	--bg-1: #0b0b0d;
	--bg-2: #111114;
	--bg-3: #17171b;
	--line: #1f1f24;
	--line-2: #2a2a30;
	--text: #ececef;
	--muted: #9a9aa3;
	--dim: #6b6b74;
	--amber: #f0a43c;
	--amber-soft: rgb(240 164 60 / 0.12);
	--red: #e5645a;
	--green: #6fbf73;
	--t3k: #4fb6c8;
	--radius: 14px;
	--font: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
	/* rack families, same as the app */
	--c-red: #9a3a33;
	--c-orange: #a35a2c;
	--c-yellow: #9a8136;
	--c-green: #4e7c4a;
	--c-teal: #30706e;
	--c-blue: #3e5a87;
	--c-purple: #644f86;
	--c-pink: #8c4a64;
	--c-silver: #696c72;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; }
h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
p { margin: 0; }
code, .mono { font-family: var(--mono); }
code { font-size: 0.86em; padding: 0.1em 0.35em; border-radius: 5px; background: var(--bg-2); border: 1px solid var(--line); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 13.5px; }
.right { text-align: right; }
.center { justify-content: center; }
.row { display: flex; align-items: center; flex-wrap: wrap; }
.gap { gap: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--amber); color: #1a1006; padding: 8px 12px; border-radius: 8px; }
.link { color: var(--amber); }
.link:hover { text-decoration: underline; }
.kicker { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }

/* Logo */
.brand { display: inline-flex; align-items: baseline; gap: 8px; flex-shrink: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); align-self: center; }
.wordmark { font-size: 20px; letter-spacing: -0.01em; color: var(--text); }
.wordmark .light { font-weight: 400; }
.wordmark b { font-weight: 700; color: var(--amber); }
.brand .sub { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding: 1px 7px; border: 1px solid var(--line-2); border-radius: 6px; align-self: center; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: rgb(5 5 6 / 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.search { flex: 1; max-width: 460px; position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 12px; color: var(--dim); pointer-events: none; }
.search input { width: 100%; height: 38px; padding: 0 12px 0 36px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-1); font-size: 14px; }
.search input:focus { border-color: #4a4a52; outline: none; background: var(--bg-2); }
.links { display: flex; align-items: center; gap: 16px; margin-left: auto; font-size: 15px; color: var(--muted); }
.links > a:not(.btn):hover, .links > a[aria-current] { color: var(--text); }
.bell { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); }
.bell:hover { background: var(--bg-2); color: var(--text); }
.bell .dot { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--amber); color: #1a1006; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }
.av { border-radius: 50%; background: var(--bg-3); object-fit: cover; flex-shrink: 0; }
.av.big { border: 1px solid var(--line-2); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; border-radius: 50%; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .av { border: 1px solid var(--line-2); }
.menu[open] summary .av { border-color: var(--amber); }
.menu-pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: 6px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px #000; display: flex; flex-direction: column; }
.menu-pop a, .menu-pop button { padding: 8px 10px; border-radius: 8px; color: var(--text); font-size: 14px; text-align: left; background: none; border: 0; cursor: pointer; width: 100%; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--bg-3); }
.menu-head { padding: 8px 10px 10px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-pop form { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 600; border: 1px solid transparent; background: none; cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-wide { width: 100%; height: 48px; }
.btn-primary { background: var(--amber); color: #1a1006; }
.btn-primary:hover { background: #ffb551; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: #44444c; background: var(--bg-2); }
.btn-danger { background: #3a1513; border-color: #6b2a25; color: #ffb4ad; }
.btn-danger:hover { background: #4a1a17; }
.danger-text { color: #ff9a91; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-size: 13px; }
.linkish:hover { color: var(--text); }

/* Notices */
.notice { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-1); font-size: 14.5px; margin-bottom: 18px; }
.notice.bad { border-color: #6b2a25; background: #1d0b0a; color: #ffc4be; }
.notice.warn { border-color: #6b5225; background: #1d1508; color: #ffd9a1; }
.notice.ok { border-color: #2f5a32; background: #0b170c; color: #c3ecc5; }
.flash { margin-top: 18px; margin-bottom: 0; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -60% -10% auto; height: 900px; background: radial-gradient(ellipse at 50% 30%, rgb(240 164 60 / 0.13), transparent 60%); pointer-events: none; }
.hero-row { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero-text { max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); background: rgb(17 17 20 / 0.6); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.hero h1 { margin-top: 20px; font-size: clamp(38px, 5.4vw, 62px); letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lede { margin-top: 18px; max-width: 600px; font-size: 18px; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(11 11 13 / 0.7); }
.hero-stats div { padding: 16px 24px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { border-left: 0; }
.hero-stats dt { font-size: 12px; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-stats dd { margin: 2px 0 0; font-size: 26px; font-weight: 650; letter-spacing: -0.02em; }

/* Browse */
.browse { padding: 24px 0 64px; }
.sorts { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.sort { padding: 10px 14px; font-size: 14.5px; font-weight: 550; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.sort:hover { color: var(--text); }
.sort.active { color: var(--text); border-bottom-color: var(--amber); }
.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-1); color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: #44444c; }
.chip.active { background: var(--amber-soft); border-color: rgb(240 164 60 / 0.55); color: var(--amber); }
.chips.secondary .chip { height: 28px; font-size: 13px; padding: 0 11px; }
.chip.tagchip { font-family: var(--mono); font-size: 12px; }
.chips .sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 4px; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.list-head h2 { font-size: 20px; }
.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pager a { min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line-2); color: var(--muted); font-size: 14px; }
.pager a:hover { color: var(--text); }
.pager a.current { background: var(--amber); border-color: var(--amber); color: #1a1006; font-weight: 650; }

/* Cards */
.grid-rigs { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 18px; }
.card-rig { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-1); overflow: hidden; transition: border-color 0.15s, transform 0.15s; }
.card-rig:hover { border-color: #34343b; transform: translateY(-2px); }
.card-rig.is-hidden { opacity: 0.6; }
.cover { position: relative; display: flex; align-items: center; justify-content: center; height: 118px; padding: 12px 10px 8px; background: #050506; border-bottom: 1px solid var(--line); }
.style-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; background: rgb(255 255 255 / 0.06); color: var(--muted); border: 1px solid var(--line-2); }
.cover .style-pill { position: absolute; top: 10px; left: 10px; background: rgb(5 5 6 / 0.7); }
.st-metal { color: #ff8a80; } .st-rock { color: #ffb36b; } .st-crunch { color: #f0c46a; } .st-blues { color: #7fb0ff; }
.st-jazz { color: #c6a4ff; } .st-clean { color: #9ee6c8; } .st-funk { color: #ff9ad0; } .st-country { color: #e6cf8a; }
.st-ambient { color: #8fe0e0; } .st-acoustic { color: #d9c29a; } .st-bass { color: #a9b4ff; } .st-other { color: var(--muted); }
.card-body { padding: 14px 16px 10px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-body h3 { font-size: 16.5px; line-height: 1.3; }
.card-body h3 a::after { content: ''; position: absolute; inset: 0; }
.by { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); width: fit-content; }
.by:hover { color: var(--text); }
.excerpt { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; align-items: center; }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 650; letter-spacing: 0.02em; border: 1px solid; white-space: nowrap; }
.b-t3k { color: var(--t3k); border-color: rgb(79 182 200 / 0.35); background: rgb(79 182 200 / 0.08); }
.b-store { color: var(--amber); border-color: rgb(240 164 60 / 0.35); background: var(--amber-soft); }
.b-builtin { color: var(--muted); border-color: var(--line-2); background: var(--bg-2); }
.b-hidden { color: #ff9a91; border-color: #6b2a25; background: #1d0b0a; }
.b-author { color: var(--amber); border-color: rgb(240 164 60 / 0.35); background: var(--amber-soft); text-transform: uppercase; font-size: 10px; }
.b-new { color: #c6a4ff; border-color: #4b3a6b; background: #150f20; }
.b-kind { color: var(--muted); border-color: var(--line-2); text-transform: uppercase; font-size: 10px; margin-right: 6px; }
.tag { font-family: var(--mono); font-size: 12px; color: var(--dim); }
a.tag:hover { color: var(--text); }
.card-stats { display: flex; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-stats span { display: inline-flex; align-items: center; gap: 5px; }
.card-stats .when { margin-left: auto; color: var(--dim); }
.grid-rigs.small { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Mini rack on cards: the same drawing, without the names */
.cover .mini { display: block; width: 100%; height: 100%; }

/* Families */
.c-red { --c: var(--c-red); } .c-orange { --c: var(--c-orange); } .c-yellow { --c: var(--c-yellow); }
.c-green { --c: var(--c-green); } .c-teal { --c: var(--c-teal); } .c-blue { --c: var(--c-blue); }
.c-purple { --c: var(--c-purple); } .c-pink { --c: var(--c-pink); } .c-silver { --c: var(--c-silver); }

/* Rig page */
.rig-page { padding: 32px 0 64px; }
.rig-head { margin-bottom: 22px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.rig-head h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.035em; }
.rig-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: 14.5px; }
.rig-meta .by { font-size: 14.5px; color: var(--text); }
.rig-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.rig-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.rig-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 84px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); padding: 20px; }
.panel + .panel { margin-top: 0; }
.form-page .panel, .narrow > .panel { margin-bottom: 20px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { font-size: 17px; }

/* The rack: inline SVG drawn by src/rack.rs like the app's rack (black
   stage, grey cables), at the app's size. On a wide screen it is shrunk to
   the panel down to 80 % (the mw* class is that width), then it scrolls; on
   a phone it keeps the app's size and scrolls. */
.rack-panel { padding-bottom: 16px; }
.rack-scroll { overflow-x: auto; margin: 0 -20px; padding: 14px 20px; background: #050506; border-block: 1px solid var(--line); scrollbar-color: var(--line-2) transparent; }
.rack { display: block; max-width: 100%; height: auto; margin: 0 auto; }
/* Inter would draw 2x12 as 2×12: the app writes names as they are */
.rack text { font-feature-settings: 'calt' 0; }
.rack .glow, .rack .halo, .rack .t3k { transition: opacity 0.2s; }
.rack .frame, .rack .ring { transition: stroke 0.2s; }
.rack .trimfill, .rack .led, .rack .dot, .rack text { transition: fill 0.2s; }
/* Scene preview: the blocks the scene switches off, drawn bypassed */
.rack .scene-off .glow, .rack .scene-off .halo { opacity: 0; }
.rack .scene-off .frame { stroke: #34363b; }
.rack .scene-off .trimfill { fill: #34363b; }
.rack .scene-off .led { fill: #2a2b2e; }
.rack .scene-off .dot { fill: #5a5f68; fill-opacity: 1; }
.rack .scene-off .ring { stroke: #5a5f68; }
.rack .scene-off text { fill: #5f6066; }
.rack .scene-off .t3k { opacity: 0.45; }
.mw300 { min-width: 300px; } .mw350 { min-width: 350px; } .mw400 { min-width: 400px; } .mw450 { min-width: 450px; } .mw500 { min-width: 500px; } .mw550 { min-width: 550px; } .mw600 { min-width: 600px; } .mw650 { min-width: 650px; } .mw700 { min-width: 700px; } .mw750 { min-width: 750px; } .mw800 { min-width: 800px; } .mw850 { min-width: 850px; } .mw900 { min-width: 900px; } .mw950 { min-width: 950px; } .mw1000 { min-width: 1000px; } .mw1050 { min-width: 1050px; } .mw1100 { min-width: 1100px; } .mw1150 { min-width: 1150px; } .mw1200 { min-width: 1200px; } .mw1250 { min-width: 1250px; } .mw1300 { min-width: 1300px; } .mw1350 { min-width: 1350px; } .mw1400 { min-width: 1400px; } .mw1450 { min-width: 1450px; } .mw1500 { min-width: 1500px; } .mw1550 { min-width: 1550px; } .mw1600 { min-width: 1600px; } .mw1650 { min-width: 1650px; } .mw1700 { min-width: 1700px; } .mw1750 { min-width: 1750px; } .mw1800 { min-width: 1800px; } .mw1850 { min-width: 1850px; } .mw1900 { min-width: 1900px; } .mw1950 { min-width: 1950px; } .mw2000 { min-width: 2000px; } .mw2050 { min-width: 2050px; } .mw2100 { min-width: 2100px; } .mw2150 { min-width: 2150px; } .mw2200 { min-width: 2200px; } .mw2250 { min-width: 2250px; } .mw2300 { min-width: 2300px; } .mw2350 { min-width: 2350px; } .mw2400 { min-width: 2400px; }
.scenes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.scenes .kicker { margin: 0 6px 0 0; }
.scene { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 6px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); font-size: 13.5px; cursor: pointer; }
.scene .n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--bg-3); font-family: var(--mono); font-size: 11px; color: var(--dim); }
.scene:hover { color: var(--text); }
a.scene { text-decoration: none; }
.scene.active { color: var(--amber); border-color: rgb(240 164 60 / 0.55); background: var(--amber-soft); }
.scene.active .n { background: var(--amber); color: #1a1006; }

/* Prose (descriptions, comments) */
.prose { font-size: 15px; color: #d6d6db; overflow-wrap: anywhere; }
.prose p + p, .prose ul, .prose ol, .prose pre, .prose blockquote { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 0; }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { margin-inline: 0; padding-left: 12px; border-left: 3px solid var(--line-2); color: var(--muted); }
.prose pre { padding: 10px 12px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); overflow-x: auto; }
.prose pre code { border: 0; padding: 0; background: none; }

/* Dependencies */
.deps { display: grid; gap: 16px; }
.dep-group h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 8px; color: var(--muted); font-weight: 550; }
.dep-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dep-group li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.dep-group li a { color: var(--text); }
.dep-group li a:hover { color: var(--t3k); }
.dep-group ul.inline { display: flex; flex-wrap: wrap; }
.dep-group ul.inline li { padding: 4px 10px; font-size: 13px; color: var(--muted); }

/* Comments */
.c-form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.c-form.new { margin: 0 0 18px; }
.c-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.signin-hint { padding: 14px; border-radius: 10px; background: var(--bg-2); border: 1px dashed var(--line-2); margin-bottom: 16px; font-size: 14.5px; color: var(--muted); }
.threads { display: flex; flex-direction: column; gap: 4px; }
.thread { padding: 14px 0; border-top: 1px solid var(--line); }
.thread:first-child { border-top: 0; padding-top: 4px; }
.replies { margin: 12px 0 0 44px; padding-left: 16px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.comment { display: flex; gap: 12px; }
.comment.is-hidden { opacity: 0.55; }
.c-main { flex: 1; min-width: 0; }
.c-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.c-author { font-weight: 600; font-size: 14.5px; }
.c-author:hover { color: var(--amber); }
.c-gone { font-size: 14px; color: var(--dim); font-style: italic; padding: 4px 0; }
.c-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-top: 6px; }
.pop summary { list-style: none; cursor: pointer; font-size: 13px; color: var(--muted); }
.pop summary::-webkit-details-marker { display: none; }
.pop summary:hover, .pop[open] summary { color: var(--text); }
.c-actions .pop[open] { flex-basis: 100%; order: 9; }
.report-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

/* Forms */
input:not([type=file]):not([type=hidden]), select, textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); font-size: 15px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgb(240 164 60 / 0.6); box-shadow: 0 0 0 3px var(--amber-soft); }
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field-row { display: flex; gap: 16px; }
.hint { font-size: 12.5px; color: var(--dim); }
.form-page { padding: 40px 0 64px; }
.section-head { margin-bottom: 26px; display: flex; flex-direction: column; gap: 10px; }
.section-head.row { flex-direction: row; justify-content: space-between; align-items: center; }
.section-head .kicker { margin: 0; }
.wrap > .section-head:first-child { padding-top: 40px; }
.form-page > .section-head:first-child { padding-top: 0; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 36px 20px; border-radius: var(--radius); border: 1.5px dashed #3a3a42; background: radial-gradient(ellipse at 50% 120%, rgb(240 164 60 / 0.07), transparent 70%), var(--bg-1); color: var(--muted); text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.drop.compact { padding: 22px 16px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--amber); color: var(--text); }
.drop.has-file { border-style: solid; border-color: rgb(240 164 60 / 0.6); color: var(--text); }
.drop.has-file .drop-name { color: var(--amber); font-family: var(--mono); }
.drop-title { font-weight: 600; color: var(--text); }
.preview { padding: 10px 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.preview.bad { border-color: #6b2a25; background: #1d0b0a; color: #ffc4be; }
.file-check { display: flex; flex-direction: column; gap: 10px; }
.file-check[hidden] { display: none; }
.file-check .rack-scroll { margin: 0; border: 1px solid var(--line); border-radius: 10px; }
.file-check .rack-scroll:empty { display: none; }
.c-error { margin: 0; font-size: 13.5px; color: #ffc4be; }
.danger-zone { border-color: #3a1a18; }
.inline-form { display: flex; gap: 10px; margin-top: 14px; }
.inline-form input { flex: 1; }
.center-page { padding: 64px 0; }

/* Sidebar */
.actions { display: flex; flex-direction: column; gap: 14px; }
.actions .btn-primary { height: 50px; font-size: 16px; }
.toggles { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.toggle { display: contents; }
.toggle-btn { height: 42px; padding: 0 14px; gap: 7px; font-variant-numeric: tabular-nums; }
.toggle-btn.static { cursor: default; color: var(--muted); }
.toggle-btn .count { color: var(--muted); font-weight: 500; }
.toggle-btn.fav .label { margin-right: auto; }
.toggle-btn.on { border-color: rgb(240 164 60 / 0.6); color: var(--amber); background: var(--amber-soft); }
.toggle-btn.on .count { color: var(--amber); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border: 1px solid var(--line); border-radius: 10px; }
.stats div { padding: 8px 10px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats dt { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--mono); }
.stats dd { margin: 0; font-weight: 600; font-size: 14.5px; }
.on-device { padding: 12px 14px; border-radius: 10px; background: var(--amber-soft); border: 1px solid rgb(240 164 60 / 0.2); font-size: 13.5px; color: #e9d7bd; }
.on-device .kicker { margin-bottom: 4px; font-size: 11px; }
.report summary { font-size: 13px; color: var(--dim); }
.versions ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.versions li { padding: 10px 0; border-top: 1px solid var(--line); }
.versions li:first-child { border-top: 0; padding-top: 0; }
.versions .v-head { display: flex; align-items: baseline; gap: 10px; }
.versions .v-head .link { margin-left: auto; }
.versions li.current b { color: var(--amber); }
.versions p { margin-top: 4px; color: var(--muted); }
.more-from { margin-top: 48px; }
.more-from h2 { margin-bottom: 16px; }

/* Profile */
.profile { display: flex; align-items: center; gap: 22px; padding: 40px 0 28px; flex-wrap: wrap; }
.profile h1 { font-size: 32px; }
.bio { margin-top: 6px; max-width: 560px; color: #d6d6db; }
.profile-stats { display: flex; margin: 0 0 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }
.profile-stats div { padding: 12px 20px; border-left: 1px solid var(--line); }
.profile-stats div:first-child { border-left: 0; }
.profile-stats dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mono); }
.profile-stats dd { margin: 0; font-size: 22px; font-weight: 650; }
.profile-report { margin: 32px 0 48px; max-width: 420px; }
.wrap > .grid-rigs:last-child, .wrap > .empty:last-child { margin-bottom: 64px; }

/* Notifications */
.notifs { list-style: none; margin: 0 0 64px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-1); }
.notifs li { display: flex; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.notifs li:first-child { border-top: 0; }
.notifs li.unread { background: linear-gradient(90deg, var(--amber-soft), transparent 60%); box-shadow: inset 3px 0 0 var(--amber); }
.notifs a { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14.5px; }
.notifs .excerpt { -webkit-line-clamp: 1; line-clamp: 1; }

/* Settings */
.account-row { display: flex; gap: 16px; align-items: center; }
.devices { list-style: none; margin: 0; padding: 0; }
.devices li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.devices li:first-child { border-top: 0; }
.devices li > div { display: flex; flex-direction: column; }

/* Link a pedalboard */
.code-form { display: flex; gap: 12px; }
.code-input { font-family: var(--mono); font-size: 26px !important; letter-spacing: 0.18em; text-align: center; text-transform: uppercase; height: 60px; }
.code-form .btn { height: 60px; }
.kv { display: grid; gap: 8px; margin: 16px 0; }
.kv div { display: flex; gap: 12px; }
.kv dt { width: 90px; color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.link-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.big-check { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--amber-soft); color: var(--amber); font-size: 28px; border: 1px solid rgb(240 164 60 / 0.4); }

/* Login */
.login-panel { max-width: 440px; margin-inline: auto; padding: 32px; display: flex; flex-direction: column; gap: 16px; text-align: center; align-items: center; }
.login-logo { color: var(--amber); }
.login-panel h1 { font-size: 26px; }
.dev-login { display: flex; gap: 8px; width: 100%; }
.login-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.login-form input { text-align: center; }
.login-panel .notice { margin: 0; width: 100%; }

/* Text pages */
.prose-page { padding: 48px 0 72px; }
.prose-page h1 { margin-bottom: 10px; }
.prose-page h2 { font-size: 20px; margin: 32px 0 10px; }
.prose-page p, .prose-page li { color: #d0d0d6; }
.prose-page ul { padding-left: 22px; display: grid; gap: 6px; }

/* Errors */
.error-page { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.err-code { font-size: 72px; font-weight: 600; color: var(--amber); line-height: 1; text-shadow: 0 0 40px rgb(240 164 60 / 0.35); }

/* Admin */
.admin { padding-bottom: 64px; }
.admin .panel { margin-bottom: 20px; }
.stat-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }
.stat-strip div { padding: 14px 18px; border-left: 1px solid var(--line); }
.stat-strip div:first-child { border-left: 0; }
.stat-strip dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mono); }
.stat-strip dd { margin: 0; font-size: 24px; font-weight: 650; }
.stat-strip div:first-child dd { color: var(--amber); }
.report-item { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 8px 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.report-item:first-of-type { border-top: 0; }
.report-title { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.report-main { display: flex; flex-direction: column; gap: 6px; }
.report-main .detail { font-size: 13.5px; color: #d6d6db; font-style: italic; }
.report-actions { display: flex; flex-direction: column; gap: 8px; }
.report-actions input { padding: 7px 10px; font-size: 13.5px; }
.ban-form { grid-column: 2; }
.admin-cols { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 550; color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.hidden-list { list-style: none; margin: 0; padding: 0; }
.hidden-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hidden-list li:first-child { border-top: 0; }

/* Footer */
.footer { margin-top: 32px; border-top: 1px solid var(--line); background: var(--bg-1); padding: 40px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid p { margin-top: 6px; max-width: 320px; }
.footer h4 { font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); font-weight: 600; margin-bottom: 4px; }
.footer-grid a:not(.brand) { color: var(--muted); }
.footer-grid a:not(.brand):hover { color: var(--text); }
.legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* Responsive */
@media (max-width: 1000px) {
	.rig-grid { grid-template-columns: 1fr; }
	.rig-side { position: static; }
	.hero-row { flex-direction: column; align-items: flex-start; }
	.admin-cols { grid-template-columns: 1fr; }
	.report-item { grid-template-columns: 1fr; }
	.ban-form { grid-column: 1; }
}
@media (max-width: 720px) {
	body { font-size: 15.5px; }
	.wrap, .wrap.narrow { width: calc(100% - 28px); }
	.nav-row { gap: 12px; height: auto; min-height: 58px; flex-wrap: wrap; padding: 8px 0; }
	.links { gap: 10px; }
	.brand .sub { display: none; }
	.hero { padding: 40px 0 24px; }
	.hero-stats { width: 100%; }
	.hero-stats div { flex: 1; padding: 12px 14px; }
	.hero-stats dd { font-size: 20px; }
	.filters .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; }
	.grid-rigs { grid-template-columns: 1fr; gap: 14px; }
	.field-row { flex-direction: column; }
	.profile-stats { margin-left: 0; width: 100%; }
	.profile-stats div { flex: 1; }
	.stat-strip { grid-template-columns: repeat(2, 1fr); }
	.stat-strip div:nth-child(odd) { border-left: 0; }
	.stat-strip div { border-top: 1px solid var(--line); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > div:first-child { grid-column: 1 / -1; }
	.code-form, .inline-form { flex-direction: column; }
	.replies { margin-left: 12px; }
	.table th:nth-child(3), .table td:nth-child(3), .table th:nth-child(4), .table td:nth-child(4) { display: none; }
}

/* Fixes after the first screenshots */
.search input[type=search] { padding: 0 12px 0 36px; height: 38px; border-radius: 10px; font-size: 14px; background: var(--bg-1); }
.comment > .av { width: 32px; height: 32px; align-self: flex-start; }
.prose > * + * { margin-top: 10px; }
@media (max-width: 640px) {
	.rack { max-width: none; min-width: 0; }
}
@media (max-width: 1000px) {
	.rig-grid { display: flex; flex-direction: column; align-items: stretch; }
	.rig-grid > *, .rig-side > * { min-width: 0; max-width: 100%; }
	.rig-side { display: contents; }
	.rig-side .actions { order: -1; }
	.rig-side .versions { order: 2; }
}

/* Main navigation */
.main-nav { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.main-nav a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 11px; border-radius: 9px; color: var(--muted); }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--text); background: var(--bg-2); }
.main-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--amber); border-radius: 9px 9px 2px 2px; }

/* Browse header and search */
.browse-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 16px 0 22px; }
.browse-head p { margin-top: 8px; max-width: 620px; }
.browse-head .search { gap: 8px; }
.browse-head .search input { padding-left: 12px; }

/* Home */
.home-hero { padding: 88px 0 72px; }
.home-hero .hero-text { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.home-hero h1 { margin-top: 22px; font-size: clamp(38px, 6vw, 66px); }
.home-hero .lede { margin: 22px auto 0; max-width: 660px; font-size: 19px; }
.home-hero .ctas { justify-content: center; margin-top: 32px; }
.ctas.left { justify-content: flex-start; }
.hero-meta { margin-top: 16px; font-size: 13px; color: var(--dim); }
.screen { position: relative; margin: 56px auto 0; max-width: 1080px; padding: 10px; border-radius: 22px; background: linear-gradient(#1a1a1e, #0e0e11); border: 1px solid #26262c; box-shadow: 0 0 0 1px #000, 0 50px 120px -40px rgb(240 164 60 / 0.25), 0 40px 80px -30px rgb(0 0 0 / 0.9); }
.screen video, .screen img { display: block; width: 100%; height: auto; border-radius: 13px; background: #000; }
.screen.small { margin: 0; padding: 7px; border-radius: 16px; box-shadow: 0 30px 70px -35px rgb(0 0 0 / 0.9); }
.screen.small img { border-radius: 10px; }
.caption { margin-top: 12px; font-size: 12.5px; color: var(--dim); text-align: center; }

.rig-rows { padding: 72px 0; border-top: 1px solid var(--line); }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.row-head h2, .first-rig h2 { font-size: clamp(24px, 3vw, 32px); }
.row-head.second { margin-top: 48px; }
.row-head .kicker { margin-bottom: 8px; }
.more { display: inline-block; font-size: 15px; font-weight: 600; color: var(--amber); white-space: nowrap; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.row-head .more { margin: 0; }
.rig-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.share-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 36px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }

.first-rig { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; padding: 40px; border: 1px dashed var(--line-2); border-radius: 20px; background: radial-gradient(ellipse at 100% 0, rgb(240 164 60 / 0.08), transparent 60%), var(--bg-1); }
.first-rig-text > p { margin-top: 14px; max-width: 560px; }
.steps { counter-reset: step; list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; color: var(--muted); font-size: 15px; }
.steps li b { color: var(--text); font-weight: 600; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--amber-soft); color: var(--amber); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.first-rig .ctas { margin-top: 28px; }
.first-rig-art { position: relative; height: 260px; }
.ghost-card { position: absolute; left: 4%; top: 6%; width: 78%; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; transform: rotate(-4deg); box-shadow: 0 30px 60px -30px #000; }
.ghost-card.two { left: 22%; top: 30%; transform: rotate(3deg); background: var(--bg-3); }
.ghost-cover { display: flex; gap: 8px; align-items: center; padding: 22px 18px; background: #08080a; border-bottom: 1px solid var(--line); }
.ghost-cover span { flex: 1; height: 34px; border-radius: 6px; background: var(--c-blue); opacity: 0.75; }
.ghost-cover span:nth-child(2) { background: var(--c-green); }
.ghost-cover span.amp { flex: 1.6; height: 46px; background: var(--c-orange); }
.ghost-card.two .ghost-cover span { background: var(--c-purple); }
.ghost-card.two .ghost-cover span.amp { background: var(--c-red); }
.ghost-lines { padding: 14px 18px 18px; display: grid; gap: 8px; }
.ghost-lines i { display: block; height: 10px; border-radius: 5px; background: var(--line-2); }
.ghost-lines i.short { width: 55%; background: var(--line); }

.facts { border-block: 1px solid var(--line); background: var(--bg-1); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.facts li { padding: 28px 24px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts b { display: block; font-size: 26px; font-weight: 650; letter-spacing: -0.02em; }
.facts span { font-size: 14px; color: var(--muted); }

.home-features { padding: 96px 0; }
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feature-text h3 { font-size: clamp(24px, 3vw, 30px); }
.feature-text > p { margin-top: 16px; color: var(--muted); }
.feature-text .more { margin-top: 24px; }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; margin-top: 10px; font-size: 15.5px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 6px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: translateY(-50%) rotate(-45deg); }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-cards { margin-top: 96px; }
.mini-cards { margin-top: 18px; }
.card { display: block; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-1), var(--bg)); }
.card h3 { font-size: 18px; }
.card p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.card .icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 10px; background: var(--amber-soft); color: var(--amber); }
.card.shot { padding: 0; overflow: hidden; transition: border-color 0.15s; }
.card.shot:hover { border-color: #34343b; }
.card.shot img { border-bottom: 1px solid var(--line); }
.card.shot .body { padding: 20px 22px 24px; }
.band { padding: 88px 0; background: var(--bg-1); border-block: 1px solid var(--line); }
.bom { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.bom h2 { font-size: clamp(26px, 3.4vw, 38px); }
.bom > div > .muted { margin-top: 14px; font-size: 17px; }
.bom .more { margin-top: 22px; }
.spec { width: 100%; margin-top: 26px; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 32%; font-weight: 500; color: var(--muted); }
.closing-box { padding: 30px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); }
.closing-box h3 { font-size: 22px; }
.closing-box > .muted { margin-top: 8px; }
.closing-box .small { margin-top: 18px; }
.terminal { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: #08080a; font-family: var(--mono); font-size: 13px; color: var(--muted); overflow-x: auto; white-space: pre; }
.terminal .p { color: var(--amber); user-select: none; }
.home-build + .footer { margin-top: 0; }

@media (max-width: 1100px) {
	.rig-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.main-nav .opt { display: none; }
	.facts ul { grid-template-columns: repeat(2, 1fr); }
	.facts li:nth-child(3) { border-left: 0; }
	.facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
	.feature, .bom, .grid.three, .first-rig { grid-template-columns: 1fr; gap: 32px; }
	.first-rig-art { display: none; }
	.feature-cards { margin-top: 56px; }
}
@media (max-width: 720px) {
	.nav-row { flex-wrap: nowrap; gap: 6px; }
	.main-nav { gap: 0; font-size: 14.5px; }
	.main-nav a { padding: 0 8px; }
	.links { gap: 8px; }
	.links .btn-sm { padding: 0 10px; }
	.links .lbl { display: none; }
	.wordmark { font-size: 18px; }
	.home-hero { padding: 48px 0 40px; }
	.home-hero .lede { font-size: 17px; }
	.screen { margin-top: 36px; padding: 6px; border-radius: 14px; }
	.screen video, .screen img { border-radius: 9px; }
	.rig-rows, .home-features, .band { padding: 56px 0; }
	.rig-row { grid-template-columns: 1fr; gap: 14px; }
	.row-head { align-items: center; }
	.first-rig { padding: 24px 20px; }
	.facts li { padding: 20px 16px; }
	.facts b { font-size: 21px; }
	.browse-head { flex-direction: column; align-items: stretch; }
	.browse-head .search { max-width: none; }
	.share-strip { padding: 16px; }
}
@media (max-width: 359px) {
	.wordmark { display: none; }
}
.bom > *, .feature > *, .first-rig > * { min-width: 0; }
.home-hero h1 { max-width: 900px; margin-inline: auto; }
@media (max-width: 720px) {
	.rig-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -14px; padding: 2px 14px 6px; scroll-padding-inline: 14px; }
	.rig-row > * { scroll-snap-align: start; }
	.rig-row .card-rig:hover { transform: none; }
}
