/* ORBNET — homepage (works in both themes; the split-flap board stays dark in both) */

/* ── Hero ──────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 56px; }
.hero > .container, .hero-stage > .container { position: relative; z-index: 1; }
/* The planet (hero-space.js). It stays below the header, so the header's glass blur never has to
   redraw over moving pixels; .hero-top leaves room for the planet to rise */
.hero-stage { position: relative; }
.hero > .space { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.space canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.space-planet { will-change: transform; }
.hero-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; margin-bottom: clamp(200px, 19vw, 290px); }
.hero-top > * { min-width: 0; } /* let the search box shrink on narrow phones */
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; max-width: 15ch; }
.hero-lead { color: var(--text-2); font-size: 1.06rem; max-width: 580px; }
.hero-lead b { color: var(--text); font-weight: 600; }

.searchbox { margin-top: 22px; display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; padding: 6px 6px 6px 16px; }
.searchbox:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.searchbox i { color: var(--dim); }
.searchbox input { flex: 1; min-width: 0; background: none; border: 0; outline: none; height: 42px; font-size: 1rem; }
.searchbox input::placeholder { color: var(--dim); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.quick a { font-size: 0.85rem; color: var(--text-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); transition: all 0.2s; }
.quick a:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface); }

/* "Refreshed every 6 hours · last check …" — the ring fills over the 6-hour cycle (site.js sets --p) */
.refresh { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 7px 14px 7px 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--muted); font-size: 0.84rem; line-height: 1.4; }
.refresh b { color: var(--text-2); font-weight: 600; }
.refresh-ring { --p: 0; position: relative; flex: none; width: 18px; height: 18px; }
.refresh-ring::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--p) * 360deg), var(--line-strong) 0);
  -webkit-mask: radial-gradient(circle, transparent 5.5px, #000 6px); mask: radial-gradient(circle, transparent 5.5px, #000 6px);
  transition: background 0.6s;
}
.refresh-ring::after { content: ''; position: absolute; inset: 6.5px; border-radius: 50%; background: var(--ok); animation: refresh-pulse 2.4s ease-out infinite; }
@keyframes refresh-pulse { 50% { opacity: 0.35; } } /* opacity only: cheap to animate */
.board-head .live { white-space: nowrap; }
/* Bigger tap areas for the standalone links */
.board-foot a, .programs .more { display: inline-block; padding: 6px 0; }

/* ── Split-flap board ──────────────────────────────────── */
.board {
  --cell: 14px;
  position: relative;
  background: #0f0e0c;
  color: #efe7da;
  border-radius: 18px;
  padding: 18px 20px 16px;
  border: 1px solid #000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -32px rgba(0, 0, 0, 0.7);
}
/* On the homepage the board sits on the planet's horizon, so its top edge catches the planet's light */
.hero .board {
  border-top-color: rgba(255, 196, 120, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 214, 160, 0.16), 0 30px 60px -32px rgba(0, 0, 0, 0.7); /* the glow above it is painted by hero-space.js */
}
.board::before, .board::after { content: ''; position: absolute; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: #2a2723; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.8); }
.board::before { left: 8px; }
.board::after { right: 8px; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 6px 14px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9b9387; }
.board-head .live { display: inline-flex; align-items: center; gap: 8px; color: #4cc38a; }
.board-head .live .dot { animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.sf-labels { display: flex; gap: 14px; margin: 0 6px 8px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: #6f685e; }
.sf-labels span { flex: none; width: calc(var(--n) * var(--cell) + (var(--n) - 1) * 2px); }
.sf-rows { display: grid; gap: 6px; }
.sf-link { display: flex; gap: 14px; padding: 4px 6px; border-radius: 8px; transition: background 0.2s; }
.sf-link:hover, .sf-link:focus-visible { background: rgba(247, 163, 52, 0.09); outline: none; }
.sf-col { display: flex; gap: 2px; perspective: 400px; flex: none; }
.sf {
  position: relative; display: grid; place-items: center;
  width: var(--cell); height: calc(var(--cell) * 1.5);
  background: linear-gradient(#22201c 0 50%, #1c1a17 50% 100%);
  border-radius: 2px;
  font-family: var(--font-mono); font-weight: 500; font-size: calc(var(--cell) * 0.98); line-height: 1;
  color: #efe7da; transform-origin: 50% 50%; backface-visibility: hidden;
}
.sf::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.7); }
.c-company .sf { color: #f7a334; }
.c-place .sf, .c-posted .sf { color: #b5ac9f; }
.c-level .sf { color: #4cc38a; }
.c-level.is-fresher .sf { color: #9cc2ff; }
.board-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 6px 0; font-size: 0.82rem; color: #9b9387; flex-wrap: wrap; }
.board-foot a { color: #f7a334; font-weight: 600; }
.board-foot a:hover { text-decoration: underline; }

/* ── Topic ticker: big words, every second one outlined, the ORBNET mark between them ── */
.topics { padding: 34px 0 8px; }
.topics-cap { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.topics-band { border-block: 1px solid var(--line); }
.marquee { overflow: hidden; padding-block: clamp(14px, 1.8vw, 24px); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee + .marquee { border-top: 1px solid var(--line); }
/* Every word carries the same trailing space and an even number of words sit in each row,
   so the two copies are exactly half the track and the loop never jumps */
.marquee-track { display: flex; width: max-content; }
.marquee.is-looping .marquee-track { animation: marquee var(--speed, 90s) linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.mq-item { display: flex; align-items: center; padding-right: 1.1em; font: 600 clamp(1.5rem, 3.4vw, 3rem)/1.08 var(--font-display); letter-spacing: -0.035em; white-space: nowrap; color: var(--text); transition: color 0.25s, -webkit-text-stroke-color 0.25s; }
.mq-item:hover, .mq-item:focus-visible { color: var(--brand-text); }
/* Outlined words: the stroke is drawn first and the background-coloured fill on top hides
   the seams where this font's letter shapes overlap, leaving a clean outline */
.mq-item:nth-child(even) { color: var(--bg); -webkit-text-stroke: 2px var(--text-2); paint-order: stroke fill; }
.mq-item:nth-child(even):hover, .mq-item:nth-child(even):focus-visible { color: var(--brand); -webkit-text-stroke-color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Categories ────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 44px 18px 18px;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease);
}
.cat::after {
  content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.8rem;
  position: absolute; right: 18px; top: 50%; color: var(--brand-text);
  opacity: 0; transform: translate(-6px, -50%); transition: opacity 0.2s, transform 0.25s var(--ease);
}
.cat:hover { border-color: var(--brand-line); background: var(--surface-hover); transform: translateY(-2px); }
.cat:hover::after { opacity: 1; transform: translate(0, -50%); }
.cat-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); transition: background 0.2s, color 0.2s; }
.cat:hover .cat-icon { background: var(--brand); color: var(--brand-ink); }
.cat h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; }
.cat p { color: var(--muted); font-size: 0.84rem; margin-top: 2px; }

/* ── Popular searches ──────────────────────────────────── */
.popular { display: grid; grid-template-columns: 0.8fr 2fr; gap: 40px; padding: 32px; border-radius: var(--r-xl); border: 1px solid var(--line); background: radial-gradient(600px 300px at 0% 0%, var(--brand-soft), transparent 70%), var(--surface); }
.popular-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.popular-head p { color: var(--muted); margin-top: 10px; font-size: 0.95rem; max-width: 300px; }
.popular-head kbd { margin: 0 2px; vertical-align: 1px; }
.popular-groups { display: grid; gap: 18px; }
.popular-group { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; }
.popular-label { display: inline-flex; align-items: center; gap: 8px; padding-top: 7px; font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.popular-label i { color: var(--brand-text); font-size: 0.8rem; width: 14px; text-align: center; }
.popular-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.popular-chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-raise); color: var(--text-2); font-size: 0.88rem; transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s var(--ease); }
.popular-chips a:hover { border-color: var(--brand-line); background: var(--brand-soft); color: var(--text); transform: translateY(-1px); }

/* ── Latest roles ──────────────────────────────────────── */
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 1400px) { .jobs-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Beyond jobs (programs from opportunities.json) ────── */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.programs > div { padding: 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.programs > div:last-child { border-right: 0; }
.programs h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.programs h3 i { color: var(--brand-text); font-size: 0.9rem; }
.programs ul { margin: 14px 0 16px; display: grid; gap: 10px; }
.programs li a { display: block; color: var(--text-2); font-size: 0.9rem; line-height: 1.4; }
.programs li a:hover { color: var(--text); }
.programs li small { display: block; color: var(--dim); font-size: 0.78rem; }
.programs .more { margin-top: auto; color: var(--brand-text); font-weight: 600; font-size: 0.88rem; }

/* ── How it works ──────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 24px 24px 0 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--brand-text); line-height: 1; }
.step h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; margin: 14px 0 6px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ── How ORBNET is different (comparison) ──────────────── */
.compare { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 0.9fr 1.3fr 1.3fr; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > span { display: flex; align-items: center; gap: 12px; padding: 18px 24px; font-size: 0.93rem; }
.cmp-row > span:first-child { font-weight: 600; color: var(--text); }
.cmp-row > span:nth-child(2) { color: var(--muted); }
.cmp-row > .us { background: var(--brand-soft); color: var(--text); border-left: 1px solid var(--brand-line); }
.cmp-row i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; }
.cmp-row > span:nth-child(2) i { background: var(--bad-soft); color: var(--bad); }
.cmp-row > .us i { background: var(--brand); color: var(--brand-ink); }
.cmp-head > span { padding-top: 16px; padding-bottom: 16px; font-size: 0.8rem; font-weight: 600; color: var(--dim); }
.cmp-head > span:nth-child(2) { color: var(--dim); }
.cmp-head .us img { height: 22px; width: auto; }

/* ── Paradise Hackathon ────────────────────────────────── */
.hack { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--brand-line); background: linear-gradient(180deg, var(--brand-soft), var(--surface) 55%); }
.hack-main { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 44px; align-items: center; }
.hack h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; }
.hack p.lead { color: var(--text-2); margin-top: 14px; max-width: 520px; }
.hack-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hack-stat { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.hack-stat b { font-family: var(--font-display); font-size: 1.8rem; display: block; line-height: 1; }
.hack-stat span { color: var(--muted); font-size: 0.82rem; }
.hack-details { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hack-details > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.hack-details > div:last-child { border-right: 0; }
.hack-details h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.hack-details p { color: var(--muted); font-size: 0.84rem; }
.timeline { padding: 24px 44px 36px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.tl-item { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.tl-item .when { font-size: 0.8rem; font-weight: 600; color: var(--brand-text); }
.tl-item h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 6px 0; letter-spacing: -0.01em; }
.tl-item p { color: var(--muted); font-size: 0.85rem; margin-bottom: 10px; }

/* ── Guides ────────────────────────────────────────────── */
.guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.guide { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; transition: border-color 0.2s; }
.guide:hover { border-color: var(--brand-line); }
.guide .k { font-size: 0.8rem; color: var(--dim); }
.guide h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; letter-spacing: -0.015em; }
.guide p { color: var(--muted); font-size: 0.9rem; }
.guide .go { margin-top: auto; padding-top: 6px; color: var(--brand-text); font-weight: 600; font-size: 0.88rem; }

/* ── Team (also used on About) ─────────────────────────── */
.team { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: stretch; }
.founder { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 30px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.founder img { width: 180px; height: 220px; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-lg); }
.founder h3 { font-size: 1.7rem; }
.role { color: var(--brand-text); font-size: 0.85rem; font-weight: 600; margin: 6px 0 14px; display: block; }
.founder p { color: var(--text-2); font-size: 0.95rem; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 18px; }
.supporters { display: grid; gap: 20px; }
.supporter { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.supporter img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--surface-3); }
.supporter h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; }
.supporter .role { margin: 2px 0 6px; }
.supporter p { color: var(--muted); font-size: 0.86rem; }

/* ── FAQ ───────────────────────────────────────────────── */
/* ── Common questions: side panel + numbered list ─────── */
.faq-wrap { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.5fr; gap: clamp(28px, 5vw, 88px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side > p { color: var(--muted); margin-top: 14px; max-width: 34ch; }
.faq-help { position: relative; display: grid; gap: 6px; margin-top: 28px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.faq-help::before { content: ''; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 163, 52, 0.16), transparent 70%); pointer-events: none; }
.faq-help b { font-size: 1.04rem; }
.faq-help > span { color: var(--muted); font-size: 0.92rem; }
.faq-help-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 46px 1fr 34px; align-items: center; gap: 12px; padding: 22px 4px; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.q-n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--dim); transition: color 0.25s; }
.q-t { transition: color 0.2s; }
.faq summary:hover .q-t { color: var(--brand-text); }
.faq details[open] .q-n { color: var(--brand-text); }
/* Hand-drawn plus that turns into a minus */
.q-x { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background 0.3s, border-color 0.3s, transform 0.45s var(--ease); }
.q-x::before, .q-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 2px; background: var(--text-2); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease), background 0.3s; }
.q-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq summary:hover .q-x { border-color: var(--brand-line); }
.faq details[open] .q-x { background: var(--brand); border-color: var(--brand); transform: rotate(180deg); }
.faq details[open] .q-x::before, .faq details[open] .q-x::after { background: var(--brand-ink); }
.faq details[open] .q-x::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { padding: 0 50px 24px 62px; color: var(--muted); font-size: 0.98rem; max-width: 70ch; }
.faq details[open] .ans { animation: ans-in 0.45s var(--ease) both; }
@keyframes ans-in { from { opacity: 0; transform: translateY(-6px); } }
.faq .ans a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }

/* ── CTA ───────────────────────────────────────────────── */
.cta { border-radius: var(--r-xl); padding: 44px; background: var(--brand); color: var(--brand-ink); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; max-width: 620px; }
.cta p { margin-top: 8px; opacity: 0.8; max-width: 520px; }
.cta .btn { background: var(--brand-ink); color: #f4efe7; }
.cta .btn:hover { background: #000; }

/* ── Particle wordmark (end of page) ───────────────────── */
.wordmark { position: relative; height: clamp(220px, 32vw, 400px); margin-top: 40px; border-top: 1px solid var(--line); overflow: hidden; touch-action: pan-y; cursor: crosshair; }
.wordmark canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .programs > div:nth-child(2) { border-right: 0; }
  .programs > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .hack-details { grid-template-columns: repeat(2, 1fr); }
  .hack-details > div:nth-child(2) { border-right: 0; }
  .hack-details > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .team { grid-template-columns: 1fr; }
  .popular { grid-template-columns: 1fr; gap: 24px; }
  .popular-head p { max-width: none; }
}
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-top { grid-template-columns: 1fr; gap: 20px; align-items: start; margin-bottom: 170px; }
  .jobs-grid { grid-template-columns: 1fr; }
  .hack-main { grid-template-columns: 1fr; padding: 28px 22px; }
  .timeline { grid-template-columns: 1fr; padding: 22px; }
  .guide-list { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-row > span:first-child { grid-column: 1 / -1; padding: 16px 18px 6px; }
  .cmp-row > span { padding: 10px 18px 16px; align-items: flex-start; }
  .cmp-row > .us { border-left: 0; border-radius: 10px; margin: 0 10px 10px 0; padding-top: 10px; }
  .cmp-head > span:first-child { display: none; }
  .cmp-head > span { padding: 14px 18px; }
  .cmp-head > .us { margin: 8px 10px 8px 0; }
}
@media (max-width: 640px) {
  .board { padding: 14px 10px 12px; border-radius: 14px; }
  .board::before, .board::after { display: none; }
  .board-head { margin: 0 4px 10px; font-size: 0.66rem; }
  .sf-labels { margin: 0 4px 6px; gap: 10px; }
  .sf-link { gap: 10px; padding: 3px 4px; }
  .cat-grid { grid-template-columns: 1fr; }
  .faq summary { grid-template-columns: 30px 1fr 32px; gap: 10px; font-size: 1rem; padding: 18px 2px; }
  .mq-item:nth-child(even) { -webkit-text-stroke-width: 1.5px; }
  .faq .ans { padding: 0 6px 20px 42px; }
  /* The refresh line above already says when we last checked */
  .board-head .live [data-checked-wrap] { display: none; }
  .cmp-row > span { padding-left: 12px; padding-right: 12px; }
  .cmp-row > span:first-child { padding-left: 16px; }
  .popular { padding: 22px; }
  .popular-group { grid-template-columns: 1fr; gap: 8px; }
  .popular-label { padding-top: 0; }
  .programs { grid-template-columns: 1fr; }
  .programs > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .programs > div:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 20px 0 0; border-left: 0; }
  .hack-details { grid-template-columns: 1fr; }
  .hack-details > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .founder { grid-template-columns: 1fr; padding: 22px; }
  .founder img { width: 100%; height: 280px; }
  .cta { padding: 30px 22px; }
}
