/* darkshift.io: one stylesheet for every page, in the brand colours only (CI_SOURCE/Colors).
   darkshift's pages: Dark #011C26, Dark Teal #1B5258, Light #D9F5F3, Green #3DA992, Red #FF4549.
   Infrared's pages (<body class="ir">): Dark #2B061B, Light #E6D3D2, Red #FF4549, Green #3DA992.
   Colour is a light touch: a highlighted word, a label, a bullet, a glow. Muted text and rules are the
   brand's Light at lower opacity, not new colours. tests/site.test.mjs checks every colour is a brand colour. */
/* The brand's type, from the brand kit and self-hosted (OFL and Apache 2.0, licences beside the files): Syncopate for
   headlines, set in capitals as the brand samples do, and Google Sans Flex for everything else. JetBrains Mono is kept
   for terminals and code only. */
@font-face{font-family:"Syncopate";src:url(/assets/fonts/syncopate-bold.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Syncopate";src:url(/assets/fonts/syncopate-regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Google Sans Flex";src:url(/assets/fonts/google-sans-flex.woff2) format("woff2");font-weight:400 700;font-display:swap}
:root{
  --display:"Syncopate","Google Sans Flex",system-ui,sans-serif;--sans:"Google Sans Flex",system-ui,-apple-system,"Segoe UI",sans-serif;--mono:"JetBrains Mono",ui-monospace,monospace;
  --radius:0px;--radius-btn:0px;
  --red:#FF4549;--on-red:#011C26;--green:#3DA992;
  --bg:#011C26;--text:#D9F5F3;--muted:rgba(217,245,243,.72);--dim:rgba(217,245,243,.5);
  --line:rgba(217,245,243,.12);--line-strong:rgba(217,245,243,.24);--surface:#1B5258;--band:#1B5258;
  --accent:#3DA992;--cta:#3DA992;--on-cta:#011C26;--spark:#FF4549;
  --header-bg:rgba(1,28,38,.92);--glow:rgba(255,69,73,.22);
}
body.ir{
  --radius:16px;--radius-btn:999px;
  --on-red:#2B061B;
  --bg:#2B061B;--text:#E6D3D2;--muted:rgba(230,211,210,.72);--dim:rgba(230,211,210,.5);
  --line:rgba(230,211,210,.12);--line-strong:rgba(230,211,210,.24);--surface:rgba(255,69,73,.08);--band:rgba(255,69,73,.1);
  --accent:#FF4549;--cta:#FF4549;--on-cta:#2B061B;--spark:#3DA992;
  --header-bg:rgba(43,6,27,.92);--glow:rgba(255,69,73,.28);
}
/* A light infrared streak behind each page's opening, as in the brand sample. */
.hero{position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;left:-20%;right:-20%;top:-40%;height:70%;background:radial-gradient(60% 40% at 70% 60%,var(--glow),transparent 70%);transform:rotate(-8deg);pointer-events:none}
.hero .wrap{position:relative}
.hero h1 img{display:block;height:clamp(56px,10vw,140px);width:auto;max-width:100%}
.label .sign{display:inline-block;height:12px;width:auto;vertical-align:-1px;margin-right:8px}
footer .brands{display:flex;gap:28px;align-items:center;flex-wrap:wrap;padding-top:48px}
footer .brands img{height:28px;width:auto}
footer .brands img.ds{height:34px}
footer .brands span{font-size:12px;color:var(--dim)}
html,body{margin:0;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
body{font-family:var(--sans);font-size:17px;line-height:1.55}
code,.term{font-family:var(--mono)}
/* Headlines: Syncopate in capitals, wide, so set smaller and looser than a narrow face. */
.hero h1,h2.title,.feature h3,.icp h3,.accent h2,.people h3,.prose h3,.story h3{font-family:var(--display);text-transform:uppercase;font-weight:700;letter-spacing:-0.01em}
.label{font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:12px}
a{color:var(--text);text-decoration:none}
a:hover{color:var(--accent)}
::selection{background:var(--cta);color:var(--on-cta)}
img,video,iframe{display:block;max-width:100%}
img,video{height:auto}
@keyframes dsBlink{0%,49%{opacity:1}50%,100%{opacity:0}}
@keyframes dsPulse{0%{box-shadow:0 0 0 0 rgba(255,69,73,.7)}70%{box-shadow:0 0 0 10px rgba(255,69,73,0)}100%{box-shadow:0 0 0 0 rgba(255,69,73,0)}}
.wrap{max-width:1280px;margin:0 auto;padding-left:clamp(20px,4vw,48px);padding-right:clamp(20px,4vw,48px)}
.label{font-size:13px;color:var(--accent)}
.muted{color:var(--muted)}
.dim{color:var(--dim)}
.cursor{animation:dsBlink 1s steps(1) infinite}
.pulse{display:inline-block;width:8px;height:8px;background:var(--red);animation:dsPulse 2s infinite;margin-right:10px;vertical-align:middle}
.skip{position:absolute;left:-999px;top:0}
.skip:focus{left:12px;top:12px;z-index:20;background:var(--cta);color:var(--on-cta);padding:8px 12px}

/* The announcement bar and the header */
.announce{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 20px;background:var(--band);color:var(--text);font-size:13px;font-weight:700;text-align:center;border-bottom:1px solid var(--line)}
.announce:hover{color:var(--accent)}
.announce img{height:16px;width:auto}
.announce b{background:var(--red);color:var(--on-red);padding:2px 6px;font-size:11px}
header.top{position:sticky;top:0;z-index:10;background:var(--header-bg);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
header.top .wrap{padding-top:14px;padding-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:12px;font-family:var(--display);text-transform:uppercase;font-weight:700;font-size:16px;letter-spacing:.02em;color:var(--text)}
.brand img{height:34px;width:auto}
nav.main{display:flex;align-items:center;gap:clamp(12px,2vw,24px);font-size:14px;flex-wrap:wrap}
nav.main a{color:var(--muted)}
nav.main a:hover,nav.main a[aria-current="page"]{color:var(--accent)}
nav.main .btn{padding:10px 14px;font-size:14px}
nav.main .btn-accent,nav.main .btn-accent:hover{color:var(--on-cta)}

/* Buttons */
.btn{display:inline-block;padding:15px 24px;font-weight:700;font-size:15px;border-radius:var(--radius-btn)}
.btn-light{background:var(--text);color:var(--bg)}
.btn-light:hover{background:var(--cta);color:var(--on-cta)}
.btn-accent{background:var(--cta);color:var(--on-cta)}
.btn-accent:hover{background:var(--text);color:var(--bg)}
.btn-line{border:2px solid var(--text);padding:14px 20px}
.btn-line:hover{background:var(--text);color:var(--bg)}
.btn-dark{background:var(--bg);color:var(--text)}
.btn-dark:hover{background:var(--text);color:var(--bg)}
.btn-dark-line{border:2px solid var(--bg);color:var(--bg);padding:14px 20px}
.btn-dark-line:hover{background:var(--bg);color:var(--text)}
.ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:36px}

/* Heroes */
.hero{padding-top:clamp(64px,9vw,120px);padding-bottom:clamp(40px,6vw,72px)}
.hero h1{margin:22px 0 0;font-size:clamp(32px,6vw,84px);line-height:1.05;max-width:18ch}
.hero h1 span{color:var(--accent)}
.hero.small h1{font-size:clamp(28px,4.6vw,64px);max-width:20ch}
.hero .lead{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:clamp(28px,5vw,64px);margin-top:44px;align-items:end}
.hero p.big{margin:0;font-size:clamp(20px,2vw,27px);line-height:1.38;letter-spacing:-0.01em;font-weight:500;text-wrap:pretty}
.hero .lead.mission-lead{align-items:center;margin-top:24px}
.hero-art img{display:block;width:100%;max-width:440px;height:auto;margin:0 auto 4px}
.hero-art.wide img{max-width:600px;margin-bottom:12px}
.hero p.small{margin:0;font-size:15px;line-height:1.7;color:var(--muted)}

/* Windows: screenshots, videos and terminals */
.window{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.window .bar{display:flex;gap:8px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line);font-size:12px;color:var(--dim)}
.window .bar i{width:10px;height:10px;background:var(--line-strong);display:block}
.window .bar span{margin-left:8px}
.window .bar .fs{margin-left:auto;color:var(--muted)}
.window .bar .fs:hover{color:var(--text)}
.window img,.window video{width:100%}
.window.tall img{max-height:min(640px,80vh);object-fit:cover;object-position:top}
.term{font-size:13px;line-height:1.85}
.term .body{padding:20px;overflow-x:auto;white-space:nowrap;display:grid}
.term .c{color:var(--dim)}
.term .p{color:var(--accent)}
figure{margin:0}
.poster{display:block;margin-top:clamp(40px,5vw,64px)}
.poster img{width:100%;height:auto;border:1px solid var(--line)}
a.poster:hover img{border-color:var(--accent)}
figure figcaption{margin-top:12px;font-size:13px;line-height:1.6;color:var(--dim)}

/* Bands */
section.band{border-top:1px solid var(--line)}
section.band>.wrap{padding-top:clamp(72px,9vw,120px);padding-bottom:clamp(72px,9vw,120px)}
h2.title{margin:16px 0 0;font-size:clamp(24px,3.4vw,44px);line-height:1.12;max-width:24ch}
h3{letter-spacing:-0.03em}
p.intro{margin:22px 0 0;max-width:66ch;font-size:16px;line-height:1.7;color:var(--muted)}
.prose{max-width:70ch}
.prose p,.prose li{font-size:16px;line-height:1.75;color:var(--muted)}
.prose p strong,.prose li strong{color:var(--text)}
.prose h3{margin:44px 0 0;font-size:18px;color:var(--text)}

/* Grids of cells */
/* Cells draw their own right and bottom rules, so a short last row leaves blank space, not a grey block. */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));margin-top:48px;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.grid>div,.grid>a{background:var(--bg);padding:24px 22px;display:block;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.grid b{display:block;font-size:16px;letter-spacing:-0.02em;color:var(--text)}
.grid span{display:block;margin-top:10px;font-size:13px;line-height:1.65;color:var(--muted)}
.grid a:hover b{color:var(--accent)}
.grid span a{color:var(--accent)}
.grid span a:hover{text-decoration:underline}
.grid .k{display:block;font-size:12px;color:var(--accent);margin-bottom:12px}

/* The four stories */
.icps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:2px;margin-top:48px;background:var(--line);border:1px solid var(--line)}
.icp{background:var(--bg);padding:28px 24px 26px;display:flex;flex-direction:column;gap:14px;min-height:340px}
.icp .k{font-size:12px;color:var(--accent)}
.icp h3{margin:0;font-size:18px;line-height:1.25}
.icp p{margin:0;font-size:14px;line-height:1.65;color:var(--muted)}
.icp .runs{margin-top:auto;font-size:12px;color:var(--dim);border-top:1px solid var(--line);padding-top:14px}
.icp .go{font-size:14px;font-weight:700;color:var(--accent)}
.icp:hover .go{color:var(--text)}
.icp svg.mark{width:32px;height:32px;fill:var(--accent)}
.icps.channels{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.channels .icp{min-height:300px}
.channels .icp h3{font-family:var(--sans);text-transform:none;font-size:17px;letter-spacing:-0.01em;overflow-wrap:anywhere}
.channels.big .icp{min-height:300px;gap:16px}
.channels.big .icp svg.mark{width:88px;height:88px;fill:var(--text)}
.channels.big .icp:hover svg.mark{fill:var(--accent)}
.spectrum{display:flex;justify-content:space-between;gap:12px;margin-top:28px;font-size:12px;color:var(--dim);border-top:1px dashed var(--line-strong);padding-top:12px}

/* Steps of the change flow */
.steps{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:2px;background:var(--line);border:1px solid var(--line)}
.steps li{background:var(--bg);padding:20px 18px}
.steps + .prose{margin-top:clamp(32px,4vw,48px)}
.steps b{display:block;font-size:13px;color:var(--accent);font-weight:700}
.steps strong{display:block;margin-top:10px;font-size:17px;letter-spacing:-0.02em}
.steps span{display:block;margin-top:8px;font-size:13px;line-height:1.6;color:var(--muted)}
/* Who does a step: a person, or agents. Agent work is always green, as in the app, whichever brand the page wears. */
.steps .who,.who{display:inline-block;width:auto;margin-top:12px;font-size:11px;font-weight:700;padding:2px 10px;border:1px solid var(--line-strong);color:var(--muted)}
.steps .who.agent,.who.agent{border-color:var(--green);color:var(--green)}

/* Features: text beside a picture */
.feature{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:clamp(28px,5vw,64px);align-items:center;padding:clamp(48px,6vw,80px) 0;border-top:1px solid var(--line)}
.feature:first-of-type{border-top:0;padding-top:24px}
.feature.flip .text{order:2}
.feature h3{margin:14px 0 0;font-size:clamp(19px,2vw,26px);line-height:1.2}
.feature p{margin:18px 0 0;font-size:15px;line-height:1.7;color:var(--muted)}
.feature ul,.ticks{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:10px;font-size:14px;line-height:1.55}
.feature li,.ticks li{padding-left:22px;position:relative}
.feature li::before,.ticks li::before{content:"◆";position:absolute;left:0;top:1px;font-size:10px;color:var(--spark)}
.more{display:inline-block;margin-top:22px;font-size:14px;font-weight:700;color:var(--accent)}
.more:hover{color:var(--text)}
@media (max-width:900px){.feature.flip .text{order:0}}

/* A story told as a timeline */
.story{list-style:none;margin:48px 0 0;padding:0;border-left:2px solid var(--line)}
.story li{position:relative;padding:0 0 36px 32px}
.story li::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;background:var(--bg);border:2px solid var(--accent)}
.story .when{font-size:12px;color:var(--accent)}
.story h3{margin:6px 0 0;font-size:16px;line-height:1.35}
.story p{margin:8px 0 0;max-width:64ch;font-size:15px;line-height:1.7;color:var(--muted)}

/* Facts and figures */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:2px;margin-top:48px;background:var(--line);border:1px solid var(--line)}
.facts div{background:var(--bg);padding:24px 22px}
.facts b{display:block;font-family:var(--display);font-size:clamp(22px,2.6vw,34px);font-weight:700}
.facts b::before{content:"◆";color:var(--spark);font-size:.45em;vertical-align:middle;margin-right:10px}
.facts span{display:block;margin-top:6px;font-size:13px;color:var(--muted)}

.stack{display:flex;flex-wrap:wrap;gap:10px;margin-top:36px}
.stack span{border:1px solid var(--line-strong);padding:8px 14px;font-size:13px;color:var(--text)}

/* Tables */
.table{width:100%;border-collapse:collapse;margin-top:40px;font-size:14px}
.table th,.table td{text-align:left;vertical-align:top;padding:14px 16px;border-bottom:1px solid var(--line);line-height:1.6}
.table th{font-size:12px;color:var(--dim);font-weight:500}
.table td{color:var(--muted)}
.table td:first-child{color:var(--text);font-weight:700}
.scroll{overflow-x:auto}

/* People */
.people{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:2px;margin-top:48px;background:var(--line);border:1px solid var(--line)}
.people>div{background:var(--bg);padding:28px 24px}
.people .k{font-size:12px;color:var(--accent)}
.people h3{margin:8px 0 0;font-size:20px}
.people p{margin:12px 0 0;font-size:14px;line-height:1.7;color:var(--muted)}
.people .links{display:flex;gap:16px;margin-top:16px;font-size:13px}
.people .links a{color:var(--accent)}

/* The green closing band */
.accent{background:var(--band);color:var(--text);border-top:1px solid var(--line);position:relative;overflow:hidden}
.accent::before{content:"";position:absolute;inset:auto -10% -60% 30%;height:120%;background:radial-gradient(closest-side,var(--glow),transparent);pointer-events:none}
.accent .wrap{position:relative}
.accent .wrap{padding-top:clamp(72px,9vw,120px);padding-bottom:clamp(72px,9vw,120px)}
.accent h2{margin:0;font-size:clamp(28px,4.6vw,60px);line-height:1.08;max-width:20ch}
.accent p{margin:24px 0 0;max-width:58ch;font-size:17px;line-height:1.6;font-weight:500}
.accent .ctas .btn-dark{background:var(--cta);color:var(--on-cta)}
.accent .ctas .btn-dark:hover{background:var(--text);color:var(--bg)}
.accent .ctas .btn-dark-line{border-color:var(--text);color:var(--text)}
.accent .ctas .btn-dark-line:hover{background:var(--text);color:var(--bg)}

/* The booking page */
.booking{margin-top:40px;border:1px solid var(--line);background:var(--surface)}
.booking iframe{width:100%;height:min(820px,90vh);border:0;background:var(--text)}
.booking .bar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--line);font-size:12px;color:var(--dim)}

/* The footer */
footer{border-top:1px solid var(--line)}
footer .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:32px;padding-top:56px;padding-bottom:40px;font-size:13px}
footer .cols b{display:block;color:var(--text);margin-bottom:12px}
footer .cols a{display:block;color:var(--dim);padding:4px 0}
footer .cols a:hover{color:var(--accent)}
footer .legal{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:20px;padding-bottom:28px;border-top:1px solid var(--line);font-size:12px;color:var(--dim)}
footer .legal a{color:var(--dim)}
footer .social{display:flex;gap:16px;align-items:center}
footer .social a{display:inline-flex;padding:4px;margin:-4px}
footer .social svg{width:18px;height:18px;fill:currentColor}
footer .social a:hover{color:var(--accent)}

@media (max-width:720px){
  nav.main{gap:10px 16px;font-size:13px}
  /* Syncopate is wide: on a phone, headlines scale with the screen so the longest word (INFRASTRUCTURE) fits. */
  .hero h1{max-width:none;font-size:6.4vw}
  .hero.small h1{font-size:6vw}
  h2.title,.accent h2{font-size:6.2vw}
  .icp h3,.feature h3{font-size:5vw}
}

/* Infrared's pages round their cards and buttons, as Infrared's brand sheet does; darkshift's stay square. */
body.ir .grid,body.ir .icps,body.ir .steps,body.ir .facts,body.ir .people,body.ir .booking{border-radius:var(--radius);overflow:hidden}
body.ir .announce b,body.ir .who{border-radius:999px}
/* The company page's brand section: the stacked goat and the files to download. */
.logo-hero{margin:48px 0 32px}
.logo-hero img{width:min(100%,440px);height:auto}
.grid.logos span a{color:var(--accent)}
.grid.logos span a:hover{text-decoration:underline}
/* The Save the World leaderboard (/save-the-world/leaderboard/): the apps, the ideas ranked by votes, and the idea form. */
.label a:hover{color:var(--text)}
.lb-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:2px;margin-top:clamp(40px,5vw,64px);background:var(--line);border:1px solid var(--line)}
.lb-stats div{background:var(--bg);padding:22px 22px 20px}
.lb-stats b{display:block;font-family:var(--display);font-size:clamp(28px,3.4vw,44px);font-weight:700;line-height:1;color:var(--text)}
.lb-stats div:first-child b{color:var(--accent)}
.lb-stats span{display:block;margin-top:10px;font-size:13px;color:var(--muted)}
.lb-apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:2px;margin-top:48px;background:var(--line);border:1px solid var(--line)}
.lb-app{background:var(--bg);display:flex;flex-direction:column}
.lb-art{border-bottom:1px solid var(--line);background:radial-gradient(80% 90% at 50% 100%,rgba(61,169,146,.16),transparent 70%)}
.lb-art svg{display:block;width:100%;height:auto;aspect-ratio:2/1;fill:none;stroke:var(--text);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lb-art .dim{stroke:var(--line-strong)}
.lb-art .ball,.lb-art .truck,.lb-art .cup,.lb-art .fish{fill:var(--surface);stroke:var(--text)}
.lb-art .seam,.lb-art .awn,.lb-art .sp{stroke:var(--accent)}
.lb-art .wheel{fill:var(--bg)}
.lb-art .win,.lb-art .hatch{fill:var(--bg);stroke:var(--accent)}
.lb-art .heart,.lb-art .star,.lb-art .eye{fill:var(--red);stroke:none}
.lb-art .fish.small{fill:var(--bg);stroke:var(--accent)}
.lb-body{padding:22px 22px 0}
.lb-tags{display:flex;gap:6px;flex-wrap:wrap}
.lb-tag{font-size:11px;font-weight:700;padding:2px 10px;border:1px solid var(--line-strong);color:var(--muted)}
.lb-tag.works{border-color:var(--green);color:var(--green)}
.lb-tag.live{border-color:var(--red);color:var(--red)}
.lb-app h3{margin:14px 0 0;font-size:18px;line-height:1.25;letter-spacing:-0.02em}
.lb-app .lb-body p{margin:10px 0 0;font-size:13px;line-height:1.65;color:var(--muted)}
.lb-meters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:auto 0 0;padding:20px 22px 0}
.lb-meters div{border-top:1px solid var(--line);padding-top:12px}
.lb-meters dt{font-size:11px;color:var(--dim)}
.lb-meters dd{margin:4px 0 0;font-family:var(--display);font-size:20px;font-weight:700}
.lb-meters small{display:block;margin-top:4px;font-family:var(--sans);font-size:11px;font-weight:400;color:var(--muted)}
.lb-pulse{display:flex;align-items:center;gap:10px;padding:16px 22px 0;font-size:12px;color:var(--muted)}
.lb-bars{display:inline-flex;align-items:flex-end;gap:3px;height:16px;flex:none}
.lb-bars i{display:block;width:4px;background:var(--line-strong)}
.lb-bars i:nth-child(1){height:5px}.lb-bars i:nth-child(2){height:8px}.lb-bars i:nth-child(3){height:11px}.lb-bars i:nth-child(4){height:14px}.lb-bars i:nth-child(5){height:16px}
.lb-bars i.on{background:var(--accent)}
.lb-app .lb-vote{margin:18px 22px 22px}
.lb-vote{display:flex;align-items:center;justify-content:space-between;gap:16px;border:2px solid var(--text);padding:10px 14px;font-size:14px;font-weight:700;flex:none}
.lb-vote b{font-family:var(--display);font-size:18px}
.lb-vote:hover{background:var(--text);color:var(--bg)}
.lb-sort{display:flex;gap:2px;flex-wrap:wrap;margin-top:40px}
.lb-sort button{font:inherit;font-size:13px;font-weight:700;padding:8px 14px;background:transparent;color:var(--muted);border:1px solid var(--line-strong);cursor:pointer}
.lb-sort button[aria-pressed="true"]{background:var(--text);color:var(--bg);border-color:var(--text)}
.lb-ideas{list-style:none;margin:16px 0 0;padding:0;border-top:1px solid var(--line)}
.lb-ideas>li{border-bottom:1px solid var(--line)}
.lb-idea{display:grid;grid-template-columns:56px 1fr auto;gap:20px;align-items:center;padding:22px 0}
.lb-rank{font-family:var(--display);font-size:22px;color:var(--dim)}
.lb-ideas>li:nth-child(-n+3) .lb-rank{color:var(--accent)}
.lb-idea-title{font-size:17px;font-weight:700;letter-spacing:-0.02em}
.lb-idea-title:hover{color:var(--accent)}
.lb-idea-body p{margin:6px 0 0;font-size:14px;line-height:1.6;color:var(--muted);max-width:72ch}
.lb-idea-meta{display:flex;flex-wrap:wrap;gap:4px 16px}
.lb-idea-body .lb-idea-meta span{font-size:12px;color:var(--dim)}
.lb-empty{padding:28px 0;color:var(--muted)}
.lb-empty a,.lb-aside a{color:var(--accent)}
.lb-note{margin-top:14px;font-size:12px;color:var(--dim)}
.lb-add{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:clamp(32px,5vw,72px);margin-top:48px;align-items:start}
.lb-form{display:flex;flex-direction:column;gap:10px}
.lb-form label,.lb-form legend{font-size:13px;font-weight:700;color:var(--text)}
.lb-form>label:not(:first-child),.lb-form fieldset{margin-top:12px}
.lb-form input:not([type="radio"]),.lb-form textarea{font:inherit;font-size:15px;color:var(--text);background:var(--bg);border:1px solid var(--line-strong);padding:12px 14px;width:100%;border-radius:0}
.lb-form textarea{resize:vertical;min-height:110px}
.lb-form input::placeholder,.lb-form textarea::placeholder{color:var(--dim)}
.lb-form input:focus,.lb-form textarea:focus{outline:2px solid var(--accent);outline-offset:0;border-color:var(--accent)}
.lb-form fieldset{border:0;padding:0;margin-left:0;margin-right:0}
.lb-form legend{padding:0;margin-bottom:10px}
.lb-choice{display:flex;flex-wrap:wrap;gap:8px}
.lb-choice label{font-weight:400;font-size:14px;color:var(--muted);border:1px solid var(--line-strong);padding:8px 12px;cursor:pointer;display:flex;align-items:center;gap:8px}
.lb-choice label:has(input:checked){border-color:var(--accent);color:var(--text)}
.lb-choice input{accent-color:var(--accent);margin:0}
.lb-form button{margin-top:18px;align-self:flex-start;border:0;cursor:pointer;font-family:inherit}
.lb-err{margin:6px 0 0;font-size:14px;color:var(--red)}
.lb-aside h3{margin:0;font-size:18px}
.lb-next{list-style:none;margin:16px 0 24px;padding:0}
.lb-next li{display:grid;grid-template-columns:36px 1fr;gap:8px;padding:12px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.6;color:var(--muted)}
.lb-next b{color:var(--accent);font-size:13px}
.lb-next strong{color:var(--text)}
.lb-aside .small{margin:12px 0 0;font-size:13px;line-height:1.65;color:var(--muted)}
@media (max-width:560px){.lb-idea{grid-template-columns:36px 1fr;gap:12px}.lb-idea .lb-vote{grid-column:2;justify-self:start}}
.ctas + p.small{margin-top:16px}
.grid + .prose{margin-top:clamp(32px,4vw,48px)}
.intro a{color:var(--accent)}.intro a:hover{text-decoration:underline}
/* /hackathon/ */
.hero p.big a{color:var(--accent)}.hero p.big a:hover{text-decoration:underline}
.hk-day{grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr))}
.hk-share{margin-top:40px}.hk-share img{display:block;width:100%;max-width:960px;height:auto;border:1px solid var(--line)}
.hk-share + .ctas{margin-top:28px}
.grid + .ctas{margin-top:32px}
.steps span a{color:var(--accent)}.steps span a:hover{text-decoration:underline}
.accent p a{color:inherit;text-decoration:underline;text-underline-offset:3px}
