/*
Theme Name: Job Board
Description: Remote job board. Landing page, email-only access, members job list, sticky newsletter / coffee / sponsor sidebar.
Version: 2.0.0
Text Domain: remotejobclub
*/

/* ============================================================ Tokens */
:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --ink: #0b0b0f;
  --text: #3d3d45;
  --muted: #74747e;
  --line: #e9e9e4;
  --line-2: #dcdcd5;
  --soft: #f3f3ef;
  --brand: #5b45e0;
  --brand-2: #8b5cf6;
  --brand-soft: #efecfd;
  --money: #0d7a46;
  --money-soft: #e7f6ee;
  --coffee: #ffdd00;
  --err: #d33a2c;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 11, 15, .04);
  --shadow: 0 1px 2px rgba(11, 11, 15, .04), 0 8px 24px -12px rgba(11, 11, 15, .12);
  --shadow-lg: 0 30px 80px -30px color-mix(in srgb, var(--brand) 35%, #000);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ============================================================ Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.05rem; letter-spacing: -.015em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { margin-top: 120px; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.kicker-light { color: color-mix(in srgb, var(--brand-2) 45%, #fff); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ============================================================ Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font: 500 .94rem/1 inherit; letter-spacing: -.005em; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #26262e; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--brand) 90%, transparent); }
.btn-brand:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: #bdbdb4; background: var(--soft); }
.btn-coffee { background: var(--coffee); color: #1c1a10; }
.btn-coffee:hover { background: #f4d400; }
.btn-coffee-soft { background: #fff7c7; color: #5b4a00; border-color: #f3e48a; }
.btn-coffee-soft:hover { background: #ffef94; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; pointer-events: none; }

/* ============================================================ Top bar + nav */
.topbar { background: var(--ink); color: #c9c9d1; font-size: .84rem; }
.topbar-in { display: flex; align-items: center; justify-content: center; gap: 10px; height: 38px; }
.topbar b { color: #fff; font-weight: 600; }
.topbar a { color: #fff; font-weight: 500; margin-left: 6px; opacity: .9; }
.topbar a:hover { opacity: 1; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.nav { position: sticky; top: 0; z-index: 60; background: rgba(251, 251, 249, .82); backdrop-filter: saturate(1.8) blur(14px); -webkit-backdrop-filter: saturate(1.8) blur(14px); border-bottom: 1px solid rgba(233, 233, 228, .8); }
.nav-in { display: flex; align-items: center; height: 68px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo-mark svg { display: block; border-radius: 9px; }
.logo-word { font-weight: 600; font-size: 1.06rem; letter-spacing: -.03em; }
.logo-word b { font-weight: 600; color: var(--brand); }
.nav-links { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-center { display: flex; gap: 4px; margin: 0 auto; }
.nav-center a { padding: 8px 14px; border-radius: 999px; color: var(--text); font-size: .94rem; font-weight: 500; transition: background .2s, color .2s; }
.nav-center a:hover { background: var(--soft); color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right .btn { height: 38px; padding: 0 16px; font-size: .9rem; }
.nav-t, .nav-burger { display: none; }

/* ============================================================ Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 0; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 42% at 50% 8%, color-mix(in srgb, var(--brand-2) 20%, transparent), transparent 70%),
    radial-gradient(30% 30% at 82% 30%, rgba(255, 179, 71, .14), transparent 70%),
    linear-gradient(var(--bg), var(--bg)); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11, 11, 15, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 11, 15, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 55% at 50% 30%, #000 30%, transparent 75%); }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: .84rem; font-weight: 500; color: var(--text); box-shadow: var(--shadow-sm); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hero h1 { margin-top: 26px; max-width: 900px; font-size: clamp(2.5rem, 6.6vw, 4.9rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.02; }
.hero h1 .grad { display: block; }
.hero h1 { text-wrap: balance; }
.grad { background: linear-gradient(92deg, var(--brand) 10%, var(--brand-2) 55%, var(--brand-3, #d946ef) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; max-width: 620px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); line-height: 1.6; }
.hero .access, .hero > .wrap > .btn { margin-top: 34px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin-top: 26px; font-size: .9rem; color: var(--text); }
.avatars { display: inline-flex; }
.avatars i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; display: grid; place-items: center; font: 600 .7rem/1 inherit; font-style: normal; color: #fff; }
.avatars i:first-child { margin-left: 0; background: #5b45e0; }
.avatars i:nth-child(2) { background: #0ea5e9; }
.avatars i:nth-child(3) { background: #f59e0b; }
.avatars i:nth-child(4) { background: #10b981; }
.stars { color: #f5a400; letter-spacing: 1px; }

/* Live board preview */
.board { position: relative; margin: 64px auto 0; max-width: 940px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px 22px 0 0; border-bottom: 0; box-shadow: var(--shadow-lg); overflow: hidden; }
.board::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.board-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e4e4de; }
.board-url { font-size: .8rem; color: var(--muted); background: var(--soft); padding: 4px 12px; border-radius: 999px; }
.board-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; color: #0d7a46; }
.board-body { display: grid; grid-template-columns: minmax(0, 1fr); }
.board-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.board-title { flex: 1; min-width: 0; display: grid; }
.board-title b, .board-title small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-title b { color: var(--ink); font-weight: 600; font-size: .96rem; }
.board-title small { color: var(--muted); font-size: .8rem; }
.board-apply { flex: none; font-size: .82rem; font-weight: 600; color: #fff; background: var(--ink); border-radius: 999px; padding: 7px 14px; }

/* Marquee of live roles */
.marquee { margin-top: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 44px; padding: 16px 0; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { font-size: .92rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.mq em { font-style: normal; color: var(--money); margin-left: 6px; font-weight: 500; }
.mq::before { content: "✦"; color: var(--brand); margin-right: 44px; font-size: .7rem; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================ Section headings + steps */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center h2 { max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 34px 32px 6px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step-n { display: block; font-size: .85rem; font-weight: 600; color: var(--brand); margin-bottom: 18px; letter-spacing: .02em; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ============================================================ Job rows */
.rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.row-job { display: flex; align-items: flex-start; gap: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.row-job:hover { border-color: color-mix(in srgb, var(--brand) 25%, #fff); box-shadow: var(--shadow); transform: translateY(-1px); }
.badge-letter { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 600; color: var(--brand); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 18%, #fff); }
.row-main { flex: 1; min-width: 0; }
.row-top { display: flex; align-items: center; gap: 10px; font-size: .78rem; }
.row-cat { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.row-ago { color: var(--muted); }
.row-ago::before { content: "·"; margin-right: 10px; color: var(--line-2); }
.row-cat:empty + .row-ago::before { content: none; }
.row-title { margin-top: 4px; font-size: 1.12rem; overflow-wrap: anywhere; }
.row-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .86rem; color: var(--text); }
.row-meta span { display: inline-flex; align-items: center; gap: 6px; }
.row-meta svg { width: 14px; height: 14px; color: var(--muted); }
.row-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.row-skills span { font-size: .78rem; color: var(--text); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.row-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 170px; }
.row-side .btn { height: 40px; }
.row-deadline { font-size: .78rem; color: #a35a00; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.pill-money { background: var(--money-soft); color: var(--money); }
.is-locked .row-title { color: var(--ink); }

/* ============================================================ Coffee + newsletter */
.coffee { display: flex; align-items: center; gap: 28px; padding: 36px 40px; background: linear-gradient(120deg, #fffbe3, #fff 70%); border: 1px solid #f3e7a6; border-radius: 24px; }
.coffee-icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--coffee); color: #1c1a10; transform: rotate(-6deg); box-shadow: 0 10px 24px -12px rgba(160, 130, 0, .8); }
.coffee-icon svg { width: 30px; height: 30px; }
.coffee-text { flex: 1; min-width: 0; }
.coffee-text h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.coffee-text p { color: #5f5636; }

.news { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 56px; border-radius: 28px; background: var(--ink); color: #a9a9b6; }
.news-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 100% 0%, color-mix(in srgb, var(--brand-2) 45%, transparent), transparent 70%), radial-gradient(40% 60% at 0% 100%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%); }
.news > *:not(.news-glow) { position: relative; }
.news h2 { color: #fff; margin-bottom: 12px; }
.news .nl-form { flex-direction: row; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 6px; }
.news .nl-form input[type=email] { background: transparent; border: 0; color: #fff; padding: 0 16px; }
.news .nl-form input::placeholder { color: #8d8d9b; }
.news .nl-msg.ok { color: #6ee7b7; }

/* Newsletter form (shared) */
.nl-form { display: flex; flex-direction: column; gap: 8px; }
.nl-form input[type=email] { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; color: var(--ink); background: var(--surface); outline: none; }
.nl-form input[type=email]:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.nl-msg { font-size: .9rem; margin-top: 8px; }
.nl-msg.ok { color: var(--money); font-weight: 500; }
.nl-msg.err { color: var(--err); }

/* ============================================================ Email-only access form */
.access { width: 100%; max-width: 560px; text-align: left; }
.access-row { display: flex; align-items: center; gap: 8px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.access-row:focus-within { border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft), var(--shadow); }
.access-email { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 14px; color: var(--muted); }
.access-email svg { flex: none; }
.access-email input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); }
.access-email input::placeholder { color: #9b9ba5; }
.access-state { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.access-email.is-ok .access-state { background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat; }
.access-row:has(.is-bad) { border-color: var(--err); box-shadow: 0 0 0 5px #fdebe9; }
.access-row .btn { height: 46px; flex: none; }
.access-msg { min-height: 1.3em; margin: 8px 18px 2px; font-size: .86rem; }
.access-msg.is-err { color: var(--err); }
.access-msg.is-hint { color: #8a5a00; }
.access-msg a { color: var(--brand); text-decoration: underline; }
.access-opts { margin: 2px 18px 0; }
.access .check { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.access .check input { flex: none; width: 16px; height: 16px; margin-top: 3px; accent-color: var(--brand); }
.access-note { margin: 12px 18px 0; font-size: .8rem; color: var(--muted); letter-spacing: .01em; }
.hero .access-note, .hero .access-msg:empty { text-align: center; }
/* Card variant (access page) */
.access-card .access-row { flex-direction: column; align-items: stretch; border-radius: 16px; padding: 8px; }
.access-card .access-email { padding: 0 6px; }
.access-card .access-row .btn { border-radius: 12px; }
.access-card .access-msg, .access-card .access-opts, .access-card .access-note { margin-left: 4px; margin-right: 4px; }

/* ============================================================ Jobs page */
.jobs-hero { padding: 56px 0 30px; background: radial-gradient(60% 120% at 50% -20%, color-mix(in srgb, var(--brand-2) 12%, transparent), transparent 70%); border-bottom: 1px solid var(--line); }
.jobs-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.045em; }
.welcome { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 12px 16px; border-radius: 14px; background: var(--money-soft); color: #0b5e37; font-weight: 500; font-size: .94rem; }
.search { display: flex; align-items: center; gap: 10px; margin-top: 24px; max-width: 640px; padding: 6px 6px 6px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow); color: var(--muted); }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft), var(--shadow); }
.search input { flex: 1; min-width: 0; height: 42px; border: 0; outline: 0; font: inherit; color: var(--ink); background: transparent; }
.search-clear { color: var(--muted); padding: 4px 8px; font-size: .9rem; }
.search .btn { height: 42px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .86rem; font-weight: 500; color: var(--text); transition: all .2s; }
.chip em { font-style: normal; font-size: .76rem; color: var(--muted); }
.chip:hover { border-color: #bdbdb4; color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on em { color: #b5b5c0; }
.jobs-body { padding-top: 28px; }
.results { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.empty { display: grid; gap: 6px; text-align: center; padding: 56px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty b { color: var(--ink); }
.empty a { color: var(--brand); text-decoration: underline; }

/* Sidebar */
.side { align-self: stretch; }
.side-sticky { position: sticky; top: 88px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-bottom: 6px; }
.box { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.box h3 { margin: 14px 0 6px; }
.box p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.box-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.box-icon.coffee { background: #fff3b0; color: #6b5800; }
.box-coffee { background: linear-gradient(170deg, #fffbe3, #fff 60%); border-color: #f3e7a6; }
.box .nl-form .btn, .box .btn { height: 42px; }
.ad { position: relative; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, transform .2s; }
.ad:hover { box-shadow: var(--shadow); }
.ad-label { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ad-link { display: block; color: var(--ink); }
.ad-img { display: block; width: 100%; height: auto; aspect-ratio: 6/5; object-fit: cover; }
.ad-title { display: block; padding: 12px 16px; font-weight: 600; font-size: .92rem; }
.ad-html { padding: 34px 14px 14px; }
.ad-card { display: grid; gap: 6px; padding: 20px; border-top: 3px solid var(--ad); background: linear-gradient(180deg, color-mix(in srgb, var(--ad) 7%, #fff), #fff 65%); }
.ad-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); padding-right: 70px; }
.ad-brand b { font-weight: 600; }
.ad-logo { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ad); color: #fff; font-weight: 600; font-size: .9rem; flex: none; }
.ad-head { margin-top: 6px; font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; }
.ad-desc { font-size: .84rem; color: var(--muted); line-height: 1.5; }
.ad-cta { justify-self: start; margin-top: 8px; font-size: .84rem; font-weight: 600; color: var(--ad); }
.ad-empty { display: grid; gap: 4px; place-items: center; text-align: center; padding: 36px 16px; color: var(--muted); font-size: .85rem; background: repeating-linear-gradient(135deg, #fbfbf9, #fbfbf9 10px, #f5f5f1 10px, #f5f5f1 20px); }
.ad-empty b { color: var(--ink); font-weight: 600; }

/* ============================================================ Access page */
.access-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: center; padding-top: 72px; }
.access-copy h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.05em; line-height: 1.04; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.ticks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--money-soft); color: var(--money); }
.ticks b { color: var(--ink); font-weight: 600; }
.access-card { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); }
.access-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.access-card > .muted { margin-bottom: 20px; }

/* ============================================================ Footer */
.foot { margin-top: 140px; padding-top: 64px; border-top: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand p { margin: 16px 0 20px; max-width: 320px; color: var(--muted); font-size: .92rem; }
.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-col h4 { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.foot-col a { color: var(--text); font-size: .94rem; }
.foot-col a:hover { color: var(--brand); }
.foot-word { margin-top: 56px; font-size: clamp(3.2rem, 14.5vw, 11rem); font-weight: 600; letter-spacing: -.07em; line-height: .8; text-align: center; color: transparent; background: linear-gradient(180deg, #ecebe6, rgba(236, 235, 230, 0)); -webkit-background-clip: text; background-clip: text; user-select: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* ============================================================ Responsive */
@media (max-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
  .row-side { min-width: 150px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-in { gap: 12px; }
  .nav-burger { display: grid; place-items: center; width: 42px; height: 42px; margin-left: auto; border-radius: 12px; cursor: pointer; }
  .nav-burger:hover { background: var(--soft); }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s, opacity .2s; }
  .nav-burger span::before { position: absolute; top: -6px; }
  .nav-burger span::after { position: absolute; top: 6px; }
  .nav-t:checked + .nav-burger span { background: transparent; }
  .nav-t:checked + .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
  .nav-t:checked + .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 24px 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11, 11, 15, .25); }
  .nav-t:checked ~ .nav-links { display: flex; }
  .nav-center { flex-direction: column; margin: 0; }
  .nav-center a { padding: 12px 10px; border-radius: 10px; font-size: 1rem; }
  .nav-right { flex-direction: column; align-items: stretch; }
  .nav-right .btn { height: 46px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side-sticky { position: static !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .news { grid-template-columns: minmax(0, 1fr); padding: 40px; }
  .access-page { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 48px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .section { margin-top: 84px; }
  .topbar-in { font-size: .78rem; gap: 8px; }
  .topbar-in > span:not(.pulse) b { display: none; }
  .nav-in { height: 60px; }
  .nav-links { top: 60px; padding: 12px 18px 20px; }
  .hero { padding-top: 52px; }
  .hero h1 { margin-top: 20px; font-size: clamp(2.2rem, 10.5vw, 3rem); letter-spacing: -.045em; }
  .lead { margin-top: 16px; }
  .access-row { flex-direction: column; align-items: stretch; border-radius: 18px; padding: 8px; }
  .access-email { padding: 0 6px; }
  .access-row .btn { border-radius: 12px; }
  .access-msg, .access-opts, .access-note { margin-left: 6px; margin-right: 6px; }
  .board { margin-top: 44px; border-radius: 18px 18px 0 0; }
  .board-row { padding: 14px 16px; gap: 12px; }
  .board-row .pill { display: none; }
  .board-url { display: none; }
  .row-job { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .row-main { flex-basis: calc(100% - 58px); }
  .row-side { flex-basis: 100%; min-width: 0; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
  .row-side .btn { flex: 1 1 100%; }
  .coffee { flex-direction: column; align-items: flex-start; padding: 28px 22px; gap: 18px; }
  .coffee .btn { width: 100%; }
  .news { padding: 30px 22px; border-radius: 22px; }
  .news .nl-form { flex-direction: column; border-radius: 16px; padding: 8px; }
  .news .nl-form input[type=email] { height: 44px; }
  .news .nl-form .btn { border-radius: 12px; }
  .jobs-hero { padding: 36px 0 24px; }
  .search { padding-left: 14px; }
  .search .btn { padding: 0 14px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -18px; padding-right: 18px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .side-sticky { grid-template-columns: minmax(0, 1fr); }
  .access-card { padding: 22px 18px; border-radius: 20px; }
  .foot { margin-top: 100px; padding-top: 48px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .foot-bottom { flex-direction: column; }
  .btn { white-space: normal; }
}
/* fixes */
.box-icon-coffee { background: #fff3b0; color: #6b5800; }
.box .nl-form input[type=email] { flex: none; height: 44px; }
@media (max-width: 680px) { .row-skills span:nth-child(n+3) { display: none; } }

/* ---- Access card v2: one card, stacked fields, no nested box ---- */
.access-card { padding: 34px; border-radius: 24px; }
.ac-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.ac-icon { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.ac-icon svg { width: 20px; height: 20px; }
.ac-head h2 { font-size: 1.45rem; margin-bottom: 4px; }
.ac-head p { color: var(--muted); font-size: .95rem; }
.access-stack { max-width: none; }
.access-stack .access-row { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.access-stack .access-row:focus-within, .access-stack .access-row:has(.is-bad) { border: 0; box-shadow: none; }
.access-stack .access-email { height: 54px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.access-stack .access-email:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.access-stack .access-email.is-bad { border-color: var(--err); box-shadow: 0 0 0 4px #fdebe9; }
.access-stack .access-email.is-ok { border-color: #16a34a; }
.access-stack .access-row .btn { height: 52px; border-radius: 14px; font-size: 1rem; }
.access-stack .access-msg { margin: 8px 2px 0; }
.access-stack .access-msg:empty { margin: 0; min-height: 0; }
.access-stack .access-opts { margin: 14px 0 0; padding: 14px; background: var(--soft); border-radius: 12px; }
.ac-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.ac-foot span { display: inline-flex; align-items: center; gap: 6px; }
.ac-foot svg { width: 14px; height: 14px; color: var(--money); }
@media (max-width: 680px) { .access-card { padding: 24px 18px; } .ac-head h2 { font-size: 1.3rem; } }

/* ---- Newsletter landing page (linked from DMs) ---- */
.nl-page { position: relative; overflow: hidden; min-height: calc(100vh - 106px); display: grid; align-items: center; padding: 72px 0 40px; }
.nl-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 45% at 50% 20%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%), radial-gradient(30% 30% at 80% 70%, rgba(255, 179, 71, .14), transparent 70%); }
.nl-page-in { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 760px; }
.nl-page h1 { margin-top: 22px; font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -.05em; line-height: 1.04; }
.nl-big { display: flex; gap: 8px; width: 100%; max-width: 520px; margin-top: 34px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow); }
.nl-big:focus-within { border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft), var(--shadow); }
.nl-big input[type=email] { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--ink); }
.nl-big .btn { height: 50px; }
.nl-fine { margin-top: 16px; font-size: .86rem; color: var(--muted); }
.nl-done { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nl-done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--money-soft); color: var(--money); }
.nl-done-icon svg { width: 30px; height: 30px; }
.nl-done h1 { margin-top: 4px; }
.nl-done p { color: var(--muted); font-size: 1.08rem; margin-bottom: 10px; }
@media (max-width: 680px) {
  .nl-page { padding-top: 48px; min-height: auto; }
  .nl-big { flex-direction: column; border-radius: 18px; padding: 8px; }
  .nl-big .btn { border-radius: 12px; }
}

/* ---- Public job page ---- */
.row-title a:hover { color: var(--brand); }
.jd-hero { padding: 40px 0 36px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 140% at 30% -30%, color-mix(in srgb, var(--brand-2) 12%, transparent), transparent 70%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--line-2); }
.crumbs span:last-child { color: var(--muted); }
.jd-head { display: flex; gap: 20px; align-items: flex-start; }
.jd-badge { width: 60px; height: 60px; border-radius: 16px; font-size: 1.3rem; }
.jd-head h1 { margin-top: 6px; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.045em; overflow-wrap: anywhere; }
.jd-co { margin-top: 8px; color: var(--muted); }
.jd-co b { color: var(--ink); font-weight: 600; }
.jd-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill-soft { background: var(--soft); border: 1px solid var(--line); color: var(--text); font-weight: 500; }
.jd-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding-top: 36px; }
.jd-sec { margin-bottom: 36px; }
.jd-sec h2 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 14px; }
.jd-sec > p { color: var(--text); line-height: 1.75; }
.jd-skills span { font-size: .86rem; padding: 6px 12px; }
.jd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.jd-facts div { background: var(--surface); padding: 16px 18px; }
.jd-facts dt { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 500; color: var(--muted); }
.jd-facts dt svg { width: 14px; height: 14px; }
.jd-facts dd { margin: 6px 0 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.jd-note { font-size: .86rem; color: var(--muted); padding: 14px 16px; background: var(--soft); border-radius: 12px; margin-bottom: 40px; }
.jd-side { position: sticky; top: 88px; display: grid; gap: 12px; }
.jd-apply { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); }
.jd-apply h3 { font-size: 1.2rem; margin-bottom: 6px; }
.jd-apply > p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.jd-share { text-align: center; font-size: .86rem; color: var(--muted); padding: 8px; }
.jd-share:hover { color: var(--brand); }
@media (max-width: 900px) {
  .jd-body { grid-template-columns: minmax(0, 1fr); }
  .jd-side { position: static; order: -1; }
}
@media (max-width: 680px) {
  .jd-hero { padding: 28px 0; }
  .jd-head { gap: 14px; }
  .jd-badge { width: 48px; height: 48px; }
  .jd-facts { grid-template-columns: minmax(0, 1fr); }
  .jd-apply { padding: 20px 18px; }
}
