/* GTM Club. Tokens lifted from the Claude Design artifact so the port matches 1:1. */

/* Subset to Latin + the punctuation the design actually uses. Regenerate with
   pyftsubset if you ever need more glyphs (see scripts/fonts.sh). */
@font-face {
  font-family: 'Druk Wide';
  src: url('/assets/fonts/druk-wide-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now Text';
  src: url('/assets/fonts/helvetica-now-text-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now Text';
  src: url('/assets/fonts/helvetica-now-text-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now Text';
  src: url('/assets/fonts/helvetica-now-text-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0A0909;
  --surface: #141313;
  --accent: #CB3D00;
  --ink: #fff;
  --dim: #A9A9A9;
  --dimmer: #848484;
  --dimmest: #5A5959;
  --line: rgba(255, 255, 255, .12);
  --line-hi: rgba(255, 255, 255, .28);
  --display: 'Druk Wide', 'Arial Black', sans-serif;
  --body: 'Helvetica Now Text', Helvetica, Arial, sans-serif;
  --nav-h: 64px;
}

/* Light theme. Opt-in via the nav toggle (data-theme="light" on <html>).
   Only the colour tokens flip; type, radii and layout are shared. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F3F0;
  --surface: #FFFFFF;
  --ink: #0A0909;
  --dim: #4B4A48;
  --dimmer: #6E6C69;
  --dimmest: #92908C;
  --line: rgba(10, 9, 9, .14);
  --line-hi: rgba(10, 9, 9, .30);
}
/* A few surfaces hardcode a dark tint; give them a light counterpart. */
:root[data-theme="light"] .nav,
:root[data-theme="light"] .filters { background: rgba(244, 243, 240, .86); }
:root[data-theme="light"] .pill { background: rgba(10, 9, 9, .04); }
:root[data-theme="light"] .avatar { background: #E7E5E1; }
:root[data-theme="light"] .slashes i:nth-child(4) { background: #D8D6D2; }

* { box-sizing: border-box; }
/* The [hidden] attribute must always win. Cards set display:flex, which would
   otherwise override the UA [hidden]{display:none} and leave filtered-out cards
   (and the empty-state message) visible. filter.js relies on this. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.narrow-form { max-width: 560px; }
.dim { color: var(--dimmest); font: 400 12px/1.4 var(--body); }

a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { left: 24px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 30; height: var(--nav-h);
  background: rgba(10, 9, 9, .86); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font: 700 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
}
.brand img { border-radius: 6px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.nav nav a {
  text-decoration: none; color: var(--dim);
  font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  transition: color 120ms ease;
}
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); }
.theme-toggle {
  margin-left: 24px; padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--dim); font: 500 12px/1 var(--body); letter-spacing: .18em;
  text-transform: uppercase; transition: color 120ms ease;
}
.theme-toggle:hover { color: var(--ink); }
/* mobile menu button, hidden on desktop */
.nav-toggle { display: none; width: 40px; height: 40px; margin-left: 4px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

@media (max-width: 760px) {
  .nav-in { gap: 14px; }
  .nav nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-wrap: nowrap;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 44px rgba(0, 0, 0, .38);
    padding: 6px 0 10px; display: none;
  }
  .nav[data-open] nav { display: flex; }
  .nav nav a { padding: 15px 24px; font-size: 13px; }
  .theme-toggle { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav[data-open] .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav[data-open] .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav[data-open] .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* hero */
.hero { padding: 120px 0 48px; }
.hero.short { padding: 96px 0 32px; }
.eyebrow {
  font: 700 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 32px;
}
h1 {
  font: 700 clamp(44px, 7vw, 112px)/0.9 var(--display);
  letter-spacing: -0.01em; text-transform: uppercase; margin: 0; max-width: 12ch;
}
.lede { font-size: 18px; color: var(--dim); max-width: 600px; margin: 32px 0 0; text-wrap: pretty; }

/* ---- cockpit hero (home). A glowing product mockup on near-black that
   dissolves into the dark, with the headline over the lower-left. Slash-style
   "gilded ledger line", rebuilt in brand orange. Tokens only, zero deps. */
.hero-cockpit {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  min-height: min(720px, 90vh); display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 220px) 0 64px;
}
/* warm light source behind the chart peak */
.hero-cockpit::before {
  content: ''; position: absolute; top: -8%; right: 4%; width: 640px; height: 520px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 62% 42%, rgba(203, 61, 0, .30), transparent 60%);
  opacity: 0; animation: vaultGlow 1.6s ease .2s forwards;
}
/* scrim: darken the left so the headline stays legible over the mockup */
.hero-cockpit::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(102deg, var(--bg) 20%, rgba(10, 9, 9, .55) 44%, transparent 68%);
}
:root[data-theme="light"] .hero-cockpit::after { background: linear-gradient(102deg, var(--bg) 22%, rgba(244, 243, 240, .6) 46%, transparent 70%); }

.cockpit-stage {
  position: absolute; top: calc(var(--nav-h) + 4px); right: 0; width: min(1120px, 74%); z-index: 1;
  display: flex; gap: 20px; align-items: flex-start; pointer-events: none; transform: translateX(5%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 54%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0, #000 54%, transparent 92%);
  opacity: 0; animation: fadeUp 1s ease .15s forwards;
}
.mock { background: linear-gradient(180deg, rgba(20, 19, 19, .92), rgba(20, 19, 19, .55)); border: 1px solid var(--line); border-radius: 16px; }
:root[data-theme="light"] .mock { background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .7)); box-shadow: 0 20px 60px rgba(10, 9, 9, .08); }
.mock-chart { flex: 1 1 62%; padding: 22px 24px 14px; }
.mock-list { flex: 0 0 288px; margin-top: 64px; padding: 18px 6px 10px; }
.mock-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 0 14px; }
.mock-list .mock-top { margin-bottom: 6px; }
.mock-k { display: block; font: 500 15px/1.2 var(--body); color: var(--ink); }
.mock-sub { display: block; margin-top: 4px; font: 700 10px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--dimmer); }
.mock-tag { font: 700 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.mock-tag.ghost { color: var(--dimmer); }

.spark-wrap { margin: 16px 0 8px; }
.spark { width: 100%; height: 200px; display: block; overflow: visible; }
.spark-grid line { stroke: var(--line); stroke-width: 1; }
.spark-area { opacity: 0; animation: fadeUp 1.2s ease 1.1s forwards; }
.spark-glow, .spark-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.9s cubic-bezier(.5, 0, .2, 1) .35s forwards; }
.spark-tip { opacity: 0; animation: tip 1.4s ease 2.05s forwards; transform-origin: center; }
.mock-axis { display: flex; justify-content: space-between; padding: 0 14px; font: 700 9.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--dimmest); }

.mock-list ul { list-style: none; margin: 0; padding: 0; }
.mock-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.mock-list li b { display: block; font: 500 13.5px/1.3 var(--body); color: var(--ink); }
.mock-list li i { display: block; margin-top: 2px; font: 400 11.5px/1.2 var(--body); font-style: normal; color: var(--dimmer); }
.mock-list li span { flex: 1; min-width: 0; }
.mock-list li em { font: 700 9.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--dimmer); border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; }

.cockpit-content { position: relative; z-index: 3; }
.cockpit-content .eyebrow { animation: fadeUp .8s ease .1s both; }
.cockpit-content h1 { max-width: 14ch; }
.cockpit-content h1 .line { display: block; overflow: hidden; }
.cockpit-content h1 .line > span { display: block; transform: translateY(110%); animation: lineUp .95s cubic-bezier(.16, 1, .3, 1) both; }
.cockpit-content h1 .line:nth-child(1) > span { animation-delay: .2s; }
.cockpit-content h1 .line:nth-child(2) > span { animation-delay: .3s; }
.cockpit-content .lede { opacity: 0; animation: fadeUp .8s ease .5s forwards; }
.cockpit-cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fadeUp .8s ease .62s forwards; }
.cockpit-stats { margin: 28px 0 0; font: 700 10.5px/1.4 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--dimmer); opacity: 0; animation: fadeUp .8s ease .74s forwards; }

@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vaultGlow { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tip { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
  .hero-cockpit { display: block; min-height: 0; padding: calc(var(--nav-h) + 40px) 0 8px; }
  .hero-cockpit::after { display: none; }
  .hero-cockpit::before { right: -10%; top: 30%; }
  .cockpit-stage { position: static; width: auto; transform: none; margin: 36px 0 0; flex-direction: column;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0, #000 82%, transparent 100%); }
  .mock-list { display: none; }
  .cockpit-content h1 { max-width: none; font-size: clamp(30px, 9.4vw, 58px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cockpit::before, .cockpit-stage, .spark-area, .spark-tip,
  .cockpit-content .eyebrow, .cockpit-content h1 .line > span, .cockpit-content .lede,
  .cockpit-cta, .cockpit-stats { animation: none !important; transform: none !important; opacity: 1 !important; }
  .spark-glow, .spark-line { animation: none !important; stroke-dashoffset: 0 !important; }
}

/* filter bar */
.filters {
  position: sticky; top: var(--nav-h); z-index: 20; padding: 20px 0;
  background: rgba(10, 9, 9, .86); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.searchrow { margin-bottom: 16px; }
.search-input {
  width: 100%; max-width: 540px; display: block;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 20px; font: 400 15px/1.2 var(--body);
  transition: border-color 120ms ease;
}
.search-input::placeholder { color: var(--dimmer); }
.search-input:focus { outline: none; border-color: var(--line-hi); }
.searchhint { margin: 9px 4px 0; font-size: 12.5px; line-height: 1.4; color: var(--dimmest); max-width: 540px; }
.filter-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label {
  font: 500 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--dimmest);
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-in > .dim { margin-left: auto; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--dim); cursor: pointer;
  font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  transition: border-color 120ms ease, color 120ms ease;
}
.chip:hover { border-color: var(--line-hi); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* grid */
.grid-wrap { padding: 48px 0 96px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 24px; min-height: 220px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; transition: border-color 120ms ease, transform 120ms ease;
}
.card:hover { border-color: var(--line-hi); }

/* Electric border. An animated turbulence-displaced colour edge (SMIL, no JS).
   The filter only engages on hover, so one card animates at a time (43 live
   displacement filters tanks scroll and battery). At rest, a subtle static edge.
   Credit: effect inspired by @BalintFerenczy (codepen.io/BalintFerenczy/pen/KwdoyEN). */
.eb { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.eb i { position: absolute; inset: 0; display: block; border-radius: inherit; border: 2px solid var(--eb-color, var(--accent)); }
.eb-stroke { opacity: .4; transition: opacity .18s ease; }
.eb-glow { opacity: 0; transition: opacity .18s ease; }
.eb-bg { border: 0; opacity: 0; transition: opacity .2s ease;
  background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--eb-color, var(--accent)) 20%, transparent), transparent 68%); }
.card:hover .eb-stroke { opacity: 1; filter: url(#eb); }
.card:hover .eb-g1 { opacity: .7; filter: url(#eb) blur(3px); }
.card:hover .eb-g2 { opacity: .45; filter: url(#eb) blur(9px); }
.card:hover .eb-bg { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .card:hover .eb-stroke, .card:hover .eb-glow { filter: none; }
  .card:hover .eb-g1 { opacity: .5; } .card:hover .eb-g2 { opacity: .3; }
}
.card:hover h3 { color: var(--eb-color, var(--accent)); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { font: 500 18px/1.3 var(--body); margin: 24px 0 0; transition: color 120ms ease; }
.card .desc { font-size: 14px; line-height: 1.5; color: var(--dimmer); margin: 10px 0 0; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 24px;
}
.open { font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.pill {
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line); color: var(--dim);
  font: 700 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase;
}
.empty { color: var(--dim); padding: 48px 24px; }

/* cta */
.cta { padding: 96px 0; border-top: 1px solid var(--line); text-align: center; }
.cta h2 {
  font: 700 clamp(28px, 2.6vw, 40px)/0.96 var(--display);
  text-transform: uppercase; margin: 0;
}
.cta p { color: var(--dim); margin: 20px auto 32px; max-width: 48ch; }
.btn {
  display: inline-flex; align-items: center; height: 48px; padding: 0 28px;
  border-radius: 999px; border: 1px solid var(--line-hi); background: transparent;
  color: var(--ink); text-decoration: none; cursor: pointer;
  font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  transition: background 120ms ease, border-color 120ms ease;
}
.btn:hover { background: rgba(255, 255, 255, .06); border-color: var(--ink); }
.btn-solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* detail */
.detail { padding: 96px 24px; max-width: 760px; }
.crumb { font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--dimmest); }
.crumb a { color: var(--dim); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.detail h1 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; margin-top: 24px; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 56px; }
.prose { color: var(--dim); border-top: 1px solid var(--line); padding-top: 40px; }
.prose h2 {
  font: 700 20px/1.3 var(--body); letter-spacing: .02em; color: var(--ink);
  margin: 40px 0 12px; text-transform: none;
}
.prose h3 { font: 500 16px/1.4 var(--body); color: var(--ink); margin: 28px 0 8px; }
.prose li { margin: 6px 0; }
.prose code {
  background: var(--surface); border: 1px solid var(--line);
  padding: 2px 6px; border-radius: 6px; font-size: 13px; color: var(--ink);
}
.prose .code {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px; overflow-x: auto; font-size: 13px; line-height: 1.6;
}
.prose .code code { background: none; border: 0; padding: 0; }
.prose a { color: var(--accent); }
.back { margin-top: 64px; }
.back a { color: var(--dim); }

/* form */
.form-wrap { padding: 32px 0 120px; }
form label { display: block; margin: 28px 0 8px; font: 500 13px/1.4 var(--body); }
form input, form select, form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  font: 400 15px/1.4 var(--body);
}
form input::placeholder, form textarea::placeholder { color: var(--dimmest); }
form input:focus, form select:focus, form textarea:focus { border-color: var(--line-hi); }
form textarea { resize: vertical; }
form .btn { margin-top: 32px; }
/* ...but that spacing is for the stacked forms (submit page), where the button
   sits under the last field. These forms are a single row with the button beside
   the input, so the margin just knocks it out of vertical alignment. */
.waitlist .btn, .course-notify .btn, .event-rsvp .btn { margin-top: 0; }
.hp { position: absolute; left: -9999px; }
.waitlist { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 520px; margin: 8px 0 0; }
.waitlist input[type="email"] {
  flex: 1; min-width: 240px; height: 48px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 0 20px;
  font: 400 15px/1.2 var(--body);
}
.waitlist .btn { margin: 0; }
.waitlist input[type="email"]:focus { outline: none; border-color: var(--line-hi); }
.waitlist input[type="email"]::placeholder { color: var(--dimmer); }
.waitlist-done { color: var(--ink); font-size: 18px; margin: 8px 0 0; max-width: 520px; }
.waitlist-note { color: var(--dimmest); font-size: 13px; margin: 14px 0 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 24px; text-align: center; }
.foot p { color: var(--dimmest); font-size: 13px; margin: 0; }
.foot-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin: 0 0 24px; }
.foot-social a {
  color: var(--dim); text-decoration: none;
  font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  transition: color 120ms ease;
}
.foot-social a:hover { color: var(--ink); }

@media (max-width: 700px) {
  .hero { padding: 72px 0 32px; }
  .filter-in .dim { width: 100%; margin: 4px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------- shared page pieces */

.hero-cta { margin: 40px 0 0; }
.lede.center { margin-left: auto; margin-right: auto; text-align: center; max-width: 48ch; }
.band { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-label {
  font: 700 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase;
  color: var(--dimmer); margin: 0 0 40px;
}
.display-lg { font: 700 clamp(36px, 4.6vw, 72px)/0.92 var(--display); text-transform: uppercase; margin: 0; }
.display-md { font: 700 clamp(26px, 2.6vw, 40px)/0.96 var(--display); text-transform: uppercase; margin: 0; }
.display-sm { font: 700 20px/1.05 var(--display); text-transform: uppercase; margin: 0; }
.prose-wide { max-width: 720px; }
.prose-wide p { font-size: 18px; color: var(--dim); margin: 0 0 24px; }
.prose-wide p:last-child { margin-bottom: 0; }

.cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cards-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.card-static {
  padding: 32px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); transition: border-color 120ms ease;
}
.card-static.hoverable { text-decoration: none; color: inherit; }
.card-static.hoverable:hover { border-color: var(--line-hi); }
.card-static > *:first-child { margin-top: 0; }
.card-name { font: 500 16px/1.4 var(--body); margin: 16px 0 0; }
.card-name.lg { font-size: 18px; margin: 0; }
.card-sub { font-size: 14px; line-height: 1.5; color: var(--dimmer); margin: 12px 0 0; }
.card-static .dim { display: block; margin-top: 24px; }
.avatar {
  display: block; width: 56px; height: 56px; border-radius: 999px;
  background: #2B2A2A; border: 1px solid var(--line);
}
img.avatar { object-fit: cover; }
.avatar-mono {
  display: flex; align-items: center; justify-content: center;
  color: var(--dim); font: 700 18px/1 var(--body); letter-spacing: .02em;
}
.team-card { display: block; text-decoration: none; color: inherit; }
.team-card:hover .avatar { border-color: var(--line-hi); }
.card-note { font-size: 13px; line-height: 1.5; color: var(--dimmest); margin: 6px 0 0; }
.art {
  display: flex; align-items: center; justify-content: center; height: 120px;
  border-radius: 10px; background: var(--bg); border: 1px dashed rgba(255, 255, 255, .18);
  color: var(--dimmest); font: 700 11px/1 var(--body); letter-spacing: .24em;
  text-transform: uppercase; margin-bottom: 24px;
}
.art.wide { height: auto; aspect-ratio: 16/9; background: var(--surface); margin-bottom: 16px; }

/* numbered belief rows */
.belief {
  display: grid; grid-template-columns: 120px 1fr; gap: 32px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.belief-n { font: 700 20px/1 var(--display); color: #2B2A2A; }
.belief p { font-size: 16px; color: var(--dimmer); margin: 16px 0 0; max-width: 60ch; }

/* generic list rows (modules, events) */
.row-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; margin-bottom: 40px;
}
.row-head .section-label { margin: 0; }
.row-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: center;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.row-item.event { grid-template-columns: 100px 1fr auto; gap: 32px; padding: 28px 0; }
.row-n { font: 700 20px/1 var(--display); color: #2B2A2A; }
.row-title { font: 500 16px/1.4 var(--body); margin: 0; }
.row-item.event .row-title { font-size: 18px; line-height: 1.3; }
.row-item .card-sub { margin-top: 4px; }
.date-d { display: block; font: 700 28px/0.96 var(--display); }
.date-m {
  display: block; margin-top: 8px; color: var(--dimmer);
  font: 700 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase;
}
/* An event whose date is not confirmed yet: no invented day/month. */
.date-tbc { display: block; font: 700 15px/1 var(--display); letter-spacing: .06em; color: var(--dimmer); }
.event-loc {
  display: flex; align-items: center; gap: 7px; margin: 10px 0 0;
  font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.event-loc .ic { width: 11px; height: 11px; flex: 0 0 auto; }

/* Inline "keep me posted" on an event row. Wider than the plain button it
   replaces, so the row gets a roomier third column. */
.row-item.event.has-rsvp { grid-template-columns: 100px 1fr minmax(280px, auto); }
.event-rsvp { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; margin: 0; }
.event-rsvp input[type="email"] {
  flex: 1 1 170px; min-width: 150px; max-width: 240px; height: 40px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); padding: 0 16px; font: 400 14px/1 var(--body);
}
.event-rsvp input[type="email"]:focus { outline: none; border-color: var(--line-hi); }
.event-rsvp input[type="email"]::placeholder { color: var(--dimmer); }
.event-rsvp .btn.sm { flex: none; }
.event-rsvp-done { flex-basis: 100%; margin: 0; text-align: right; color: var(--accent);
  font: 700 12px/1.4 var(--body); letter-spacing: .04em; }

.pill.sm { padding: 4px 10px; margin-left: 8px; white-space: nowrap; }
.btn.sm { height: 40px; padding: 0 20px; white-space: nowrap; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #9E2F00; border-color: #9E2F00; }

.replay { display: block; text-decoration: none; }
.replay:hover .art { border-color: var(--line-hi); }

.chip.static { cursor: default; padding: 8px 16px; }
.step { border-top: 2px solid var(--line); padding-top: 24px; }
.step.first { border-top-color: var(--accent); }

.rules { list-style: none; counter-reset: r; padding: 0; margin: 32px 0 0; }
.rules li {
  counter-increment: r; display: flex; gap: 16px; color: var(--dim); margin: 0 0 16px;
}
.rules li::before { content: "0" counter(r); color: var(--accent); }

.slashes { display: flex; justify-content: center; gap: 6px; margin-bottom: 48px; }
.slashes i { width: 44px; height: 12px; transform: skewX(-18deg); background: var(--ink); }
.slashes i:nth-child(3) { background: var(--dimmer); }
.slashes i:nth-child(4) { background: #2B2A2A; }

@media (max-width: 700px) {
  .band { padding: 64px 0; }
  .belief { grid-template-columns: 1fr; gap: 8px; }
  .row-item, .row-item.event, .row-item.event.has-rsvp { grid-template-columns: 1fr; gap: 12px; }
  .row-item .btn { justify-self: start; }
  .event-rsvp { justify-content: flex-start; }
  .event-rsvp input[type="email"] { max-width: none; }
  .event-rsvp-done { text-align: left; }
  .row-head { flex-direction: column; gap: 8px; }
}

/* ============================================================ lemlist page */
/* inline FontAwesome icons */
.ic { display: inline-block; height: 1em; width: auto; fill: currentColor; vertical-align: -0.125em; }

/* labelled media/animation placeholders */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px dashed var(--line-hi); border-radius: 14px; background: var(--surface);
  color: var(--dimmer); text-align: center; padding: 24px; min-height: 160px; }
.ph-ic { font-size: 26px; opacity: .6; }
.ph-label { font: 700 10.5px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.ph-hero { min-height: 320px; aspect-ratio: 4 / 3; }
.ph-tall { min-height: 220px; margin-top: 28px; }
.ph-avatar { min-height: 0; width: 56px; height: 56px; padding: 0; border-radius: 50%; flex: none; }
.ph-avatar .ph-label { display: none; }
.ph-avatar .ph-ic { font-size: 20px; }

/* hero: muted module reel as a full-bleed background */
.lem-hero { position: relative; overflow: hidden; padding: 120px 0 48px; }
.lem-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: .5; }
.lem-hero-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(96deg, var(--bg) 6%, rgba(10, 9, 9, .66) 42%, rgba(10, 9, 9, .34) 100%),
    linear-gradient(to top, var(--bg) 1%, transparent 46%); }
:root[data-theme="light"] .lem-hero-scrim { background: linear-gradient(96deg, var(--bg) 6%, rgba(244, 243, 240, .72) 44%, rgba(244, 243, 240, .4) 100%), linear-gradient(to top, var(--bg) 1%, transparent 46%); }
.lem-hero-in { position: relative; z-index: 3; }
.lem-hero-in h1 { max-width: 14ch; }
.lem-hero-in .lede { max-width: 560px; }
.lem-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.lem-cta .btn .ic { margin-right: 8px; }
@media (prefers-reduced-motion: reduce) { .lem-hero-video { display: none; } }

/* animated aurora background */
.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; width: 44vw; height: 44vw; min-width: 360px; min-height: 360px;
  border-radius: 50%; filter: blur(90px); opacity: .42; mix-blend-mode: screen; will-change: transform; }
.aurora span:nth-child(1) { background: #CB3D00; top: -18%; left: -6%; animation: drift1 19s ease-in-out infinite; }
.aurora span:nth-child(2) { background: #6F7BB0; top: -22%; right: -8%; animation: drift2 23s ease-in-out infinite; }
.aurora span:nth-child(3) { background: #1E6E7A; bottom: -30%; left: 18%; animation: drift3 21s ease-in-out infinite; }
.aurora span:nth-child(4) { background: #FF7A5A; bottom: -26%; right: 8%; animation: drift4 27s ease-in-out infinite; }
:root[data-theme="light"] .aurora span { mix-blend-mode: multiply; opacity: .22; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8%,10%) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-9%,7%) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(7%,-8%) scale(1.15); } }
@keyframes drift4 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6%,-6%) scale(1.1); } }

/* client logo bar (its own band under the hero) */
.lem-logo-band { padding: 28px 0 10px; border-bottom: 1px solid var(--line); }
/* .lem-logobar keeps .wrap's own margin:0 auto so the band stays centred. */
.lem-logolabel { text-align: center; font: 700 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--dimmer); margin: 0 0 26px; }
.lem-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
/* Two equal groups; translateX(-50%) advances by exactly one group, so the loop is seamless. */
.lem-track { display: flex; align-items: center; width: max-content; animation: marquee 42s linear infinite; }
.lem-group { display: flex; align-items: center; gap: 52px; padding-right: 52px; }
.lem-marquee:hover .lem-track { animation-play-state: paused; }
.lem-logo { font: 600 18px/1 var(--body); letter-spacing: .01em; color: var(--dim); white-space: nowrap; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* section heads */
.lem-head { max-width: 720px; margin: 0 0 44px; }
.lem-head.center { margin: 0 auto 52px; text-align: center; }
.lem-head .lede { margin-top: 18px; }
.lem-head.center .lede { margin-left: auto; margin-right: auto; }

/* what's the club: icon feature columns */
.lem-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lem-feature { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.lem-feat-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 12px; background: var(--accent); color: var(--accent-ink, #fff); font-size: 22px; margin-bottom: 22px; }
.lem-feature h3 { margin: 0 0 10px; }
@media (max-width: 780px) { .lem-features { grid-template-columns: 1fr; } }

/* join: split (media/heading) + vertical door list */
.lem-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.lem-split-a h2 { margin-top: 16px; }
.lem-doorlist { display: flex; flex-direction: column; gap: 12px; }
.lem-door { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--surface); text-decoration: none; color: inherit; transition: border-color 120ms ease, transform 120ms ease; }
.lem-door:hover { border-color: var(--line-hi); transform: translateX(4px); }
.lem-door-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
  border-radius: 10px; background: rgba(203,61,0,.12); color: var(--accent); font-size: 18px; }
.lem-door-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.lem-door-txt b { font: 500 16px/1.3 var(--body); }
.lem-door-txt span { font-size: 13.5px; line-height: 1.45; color: var(--dimmer); }
.lem-door-txt em { font: 700 10.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-style: normal; margin-top: 4px; }
.lem-door-go { color: var(--dimmer); font-size: 15px; transition: color 120ms ease, transform 120ms ease; }
.lem-door:hover .lem-door-go { color: var(--accent); transform: translateX(3px); }
/* the real Slack, in place of the old placeholder box */
.lem-community { display: block; width: 100%; height: auto; margin: 28px 0 0;
  border: 1px solid var(--line); border-radius: 14px; }
@media (max-width: 860px) { .lem-split { grid-template-columns: 1fr; gap: 28px; }
  /* the UI is unreadable at this width, and the doors are the point here */
  .lem-split-a .ph-tall, .lem-split-a .lem-community { display: none; } }

/* testimonial */
.lem-quote-band { text-align: center; }
.lem-qmark { display: inline-block; color: var(--accent); font-size: 34px; margin-bottom: 20px; }
.lem-quote { margin: 0 auto; max-width: 860px; }
.lem-quote p { font: 500 clamp(22px, 3.2vw, 34px)/1.34 var(--body); letter-spacing: -.01em; color: var(--ink); margin: 0; text-wrap: balance; }
.lem-quote-foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.lem-quote-foot cite { font: 700 12px/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); font-style: normal; text-align: left; }
.lem-quote-foot cite span { color: var(--dimmer); letter-spacing: .06em; }

/* tools: media cards with preview placeholders */
.lem-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lem-tool { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--surface); text-decoration: none; color: inherit; transition: border-color 120ms ease, transform 120ms ease; }
.lem-tool:hover { border-color: var(--line-hi); transform: translateY(-3px); }
.lem-tool-preview .ph { border: 0; border-bottom: 1px dashed var(--line); border-radius: 0; min-height: 132px; background: var(--surface-2, rgba(255,255,255,.03)); }
.lem-tool-body { padding: 20px 22px 22px; display: flex; flex-direction: column; }
.lem-tool-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(203,61,0,.12); color: var(--accent); font-size: 16px; margin-bottom: 16px; }
.lem-tool-body b { font: 500 17px/1.3 var(--body); }
.lem-tool-body p { font-size: 13.5px; line-height: 1.5; color: var(--dimmer); margin: 8px 0 16px; }
.lem-tool-go { margin-top: auto; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lem-tool-go .ic { margin-left: 6px; }
@media (max-width: 860px) { .lem-tool-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .aurora span { animation: none !important; } .lem-track { animation: none !important; } }

/* testimonial avatar (photo with initials fallback) */
.lem-avatar { width: 56px; height: 56px; flex: none; border-radius: 50%;
  background: #2A2928 center / cover no-repeat; background-image: url(/assets/team/hugo-t.jpg);
  display: flex; align-items: center; justify-content: center;
  font: 700 15px/1 var(--body); letter-spacing: .04em; color: var(--dim); }
:root[data-theme="light"] .lem-avatar { background-color: #E7E5E1; }

/* "built for your stack" cards */
.lem-stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lem-stack { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line);
  border-radius: 16px; background: var(--surface); text-decoration: none; color: inherit;
  transition: border-color 120ms ease, transform 120ms ease; }
.lem-stack:hover { border-color: var(--line-hi); transform: translateY(-3px); }
.lem-stack-logo { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 13px; margin-bottom: 18px; background: #fff; border: 1px solid rgba(10, 9, 9, .06); }
.lem-stack-logo img { width: 30px; height: 30px; object-fit: contain; display: block; }
.lem-stack-name { font: 500 16px/1.3 var(--body); }
.lem-stack p { font-size: 14px; line-height: 1.5; color: var(--dimmer); margin: 8px 0 18px; }
.lem-stack .lem-tool-go { margin-top: auto; }
@media (max-width: 860px) { .lem-stack-grid { grid-template-columns: 1fr; } }

/* tool-card preview screenshots */
.lem-tool-preview img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); }

/* courses page: Circle course catalogue */
.course-card { display: flex; flex-direction: column; }
.course-emoji { font-size: 26px; line-height: 1; margin-bottom: 16px; }
.course-card .display-sm { margin-bottom: 10px; }
.course-card .dim { margin-top: 14px; }
.course-stat { margin: 10px 0 0; font: 700 10.5px/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.course-card.is-soon .display-sm { color: var(--dim); }
.course-card.is-soon .course-emoji { color: var(--dimmer); }
.course-soon-label { margin-top: 14px; }
/* notify-me form on upcoming-course cards */
.course-notify { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; padding-top: 16px; }
.course-notify input[type="email"] { flex: 1; min-width: 150px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); border-radius: 999px; padding: 9px 14px; font: 400 13.5px/1.2 var(--body); }
.course-notify input[type="email"]:focus { outline: none; border-color: var(--line-hi); }
.course-notify input[type="email"]::placeholder { color: var(--dimmer); }
.course-notify .btn.sm { flex: none; }
.course-notify-done { flex-basis: 100%; margin: 2px 0 0; color: var(--accent); font: 700 12px/1.4 var(--body); letter-spacing: .04em; }
.row-link { text-decoration: none; color: inherit; }
.row-link:hover .row-title { color: var(--accent); }

/* ---- generic hero backgrounds (aurora / video), reused across page heroes */
.hero-bg { position: relative; overflow: hidden; }
.hero-bg > .wrap { position: relative; z-index: 3; }
.hero-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-aurora span { position: absolute; width: 42vw; height: 42vw; min-width: 320px; min-height: 320px;
  border-radius: 50%; filter: blur(90px); opacity: .38; mix-blend-mode: screen; will-change: transform; }
.hero-aurora span:nth-child(1) { background: #CB3D00; top: -26%; left: -8%; animation: drift1 19s ease-in-out infinite; }
.hero-aurora span:nth-child(2) { background: #6F7BB0; top: -30%; right: -10%; animation: drift2 23s ease-in-out infinite; }
.hero-aurora span:nth-child(3) { background: #1E6E7A; bottom: -34%; left: 16%; animation: drift3 21s ease-in-out infinite; }
.hero-aurora span:nth-child(4) { background: #FF7A5A; bottom: -30%; right: 6%; animation: drift4 27s ease-in-out infinite; }
:root[data-theme="light"] .hero-aurora span { mix-blend-mode: multiply; opacity: .2; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: .5; }
.hero-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, var(--bg) 4%, rgba(10, 9, 9, .52) 40%, rgba(10, 9, 9, .2) 100%),
    linear-gradient(to top, var(--bg) 1%, transparent 52%); }
:root[data-theme="light"] .hero-scrim {
  background: linear-gradient(100deg, var(--bg) 4%, rgba(244, 243, 240, .62) 42%, rgba(244, 243, 240, .28) 100%),
    linear-gradient(to top, var(--bg) 1%, transparent 52%); }
@media (prefers-reduced-motion: reduce) { .hero-aurora span { animation: none !important; } .hero-video { display: none; } }

/* ---- "time spent not shipping" nudge: a bar that fills the longer you linger */
.shipbar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40;
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px);
  background: rgba(20, 19, 19, .82); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px 8px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35); animation: shipIn .4s ease both;
}
:root[data-theme="light"] .shipbar { background: rgba(255, 255, 255, .86); box-shadow: 0 12px 30px rgba(10, 9, 9, .1); }
.shipbar-label { font: 700 10.5px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dimmer); white-space: nowrap; }
.shipbar-track { width: 116px; height: 5px; background: rgba(128, 128, 128, .22); border-radius: 999px; overflow: hidden; flex: none; }
.shipbar-fill { display: block; height: 100%; width: 0; background: var(--accent); transition: width .6s linear; }
.shipbar-cta { font: 700 11px/1 var(--body); letter-spacing: .03em; text-decoration: none; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink, #fff); border-radius: 999px; padding: 9px 15px; }
.shipbar-cta:hover { filter: brightness(1.08); }
.shipbar-x { background: none; border: 0; color: var(--dimmer); font: 400 18px/1 var(--body); cursor: pointer; padding: 0 4px; }
.shipbar-x:hover { color: var(--ink); }
.shipbar.is-full { border-color: var(--accent); }
.shipbar.is-full .shipbar-label, .shipbar.is-full .shipbar-track { display: none; }
@keyframes shipIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 520px) { .shipbar-label { display: none; } .shipbar { gap: 10px; padding: 7px 8px 7px 12px; } }
@media (prefers-reduced-motion: reduce) { .shipbar { animation: none; } .shipbar-fill { transition: none; } }

/* ==================================== manifesto: build the motion (scrolly) */
/* shared type */
.mf-fork { font: 700 clamp(40px, 9vw, 108px)/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
.mf-market { display: block; color: var(--ink); }
.mf-home { display: block; color: var(--dimmest); }
.mf-fork-sm { font-size: clamp(32px, 6vw, 60px); }
.mf-sub { font-size: 20px; color: var(--dim); margin: 28px 0 0; }
.mf-scroll { display: inline-block; margin-top: 44px; font: 700 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--dimmer); }
.mf-h { font: 700 clamp(26px, 3.4vw, 42px)/1.02 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 14px 0 20px; }
.mf-h em { color: var(--ink); font-style: normal; }
.mf-not { color: var(--dimmest); }
.mf-lede { font-size: 18px; line-height: 1.55; color: var(--dim); max-width: 44ch; margin: 0; text-wrap: pretty; }
.mf-punch { font: 500 clamp(22px, 3vw, 32px)/1.35 var(--body); color: var(--dim); margin: 0 0 32px; text-wrap: balance; }
.mf-punch em { color: var(--ink); font-style: normal; }

.mf2-hero { padding: calc(var(--nav-h) + 14vh) 0 12vh; border-bottom: 1px solid var(--line); }
.mf2-hero .mf-fork { max-width: 12ch; }
.mf2-close { padding: 16vh 0; text-align: center; }
.mf2-close .mf-fork { display: inline-block; }
.mf2-close .hero-cta { margin-top: 34px; }

/* scrollytelling: sticky rig on the right, steps scroll on the left */
.build { display: grid; grid-template-columns: 42% 58%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.build-steps { grid-column: 1; grid-row: 1; }
.build-viz { grid-column: 2; grid-row: 1; position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center; }
/* Scoped to .build-steps: a bare .step is the community page's bordered step card. */
.build-steps .step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  padding: 6vh 44px 6vh 0; border-top: 0; }
.build-steps .step .section-label { color: var(--accent); margin: 0; }

/* the rig: your product, with the machine building around it */
.rig { position: relative; width: min(460px, 42vw); aspect-ratio: 1; }
.rig-glow { position: absolute; inset: -6%; border-radius: 50%; opacity: 0; transition: opacity .8s ease;
  background: radial-gradient(circle, rgba(203, 61, 0, .16), transparent 62%); }
.rig:not([data-stage="0"]) .rig-glow { opacity: 1; }
.rig-frame { position: absolute; inset: -7%; border: 1.5px dashed var(--accent); border-radius: 22px; opacity: 0; transform: scale(.92);
  transition: opacity .6s ease, transform .6s ease; }
.rig[data-stage="4"] .rig-frame { opacity: .65; transform: scale(1); }

.rig-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.wire, .loop { fill: none; stroke: var(--line-hi); stroke-width: 1.5; stroke-dashoffset: 1; transition: stroke-dashoffset .7s ease; }
.loop { stroke: var(--accent); opacity: .45; transition: stroke-dashoffset .8s ease, opacity .5s ease; }
.rig:not([data-stage="0"]) .wire, .rig:not([data-stage="0"]) .loop { stroke-dashoffset: 0; }
.rig[data-stage="3"] .loop, .rig[data-stage="4"] .loop { opacity: .9; }
.flow { opacity: 0; transition: opacity .5s ease; filter: drop-shadow(0 0 6px var(--accent)); }
.rig[data-stage="2"] .flow, .rig[data-stage="3"] .flow, .rig[data-stage="4"] .flow { opacity: 1; }

.node { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px;
  background: var(--surface); border: 1px solid var(--line-hi); border-radius: 999px;
  font: 600 12.5px/1 var(--body); color: var(--ink); white-space: nowrap;
  opacity: 0; transition: opacity .5s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
.node .node-ic { display: inline-flex; color: var(--accent); font-size: 12px; }
.n1 { left: 50%; top: 15.5%; transform: translate(-50%, -50%) scale(.7); }
.n2 { left: 84.5%; top: 50%; transform: translate(-50%, -50%) scale(.7); }
.n3 { left: 50%; top: 84.5%; transform: translate(-50%, -50%) scale(.7); }
.n4 { left: 15.5%; top: 50%; transform: translate(-50%, -50%) scale(.7); }
.rig:not([data-stage="0"]) .node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rig:not([data-stage="0"]) .n1 { transition-delay: .05s; }
.rig:not([data-stage="0"]) .n2 { transition-delay: .18s; }
.rig:not([data-stage="0"]) .n3 { transition-delay: .31s; }
.rig:not([data-stage="0"]) .n4 { transition-delay: .44s; }

/* the product mock at the centre */
.product { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 138px;
  background: var(--surface); border: 1px solid var(--line-hi); border-radius: 13px; overflow: hidden; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.product-bar { display: flex; gap: 5px; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.product-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--dimmest); }
.product-ui { padding: 13px 13px 15px; display: flex; flex-direction: column; gap: 9px; }
.pu-spark { height: 30px; border-radius: 5px; background: linear-gradient(120deg, rgba(203, 61, 0, .08), rgba(203, 61, 0, .4)); }
.pu-row { height: 7px; border-radius: 3px; background: var(--line-hi); }
.pu-row.s { width: 58%; }

@media (max-width: 860px) {
  .build { grid-template-columns: 1fr; }
  .build-viz { grid-column: 1; grid-row: 1; height: auto; padding: 18px 0 8px; }
  .build-steps { grid-column: 1; grid-row: 2; }
  .rig { width: min(280px, 66vw); }
  .build-steps .step { min-height: 66vh; padding: 5vh 0; }
  .build-steps .step .mf-lede { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wire, .loop, .node, .rig-frame, .rig-glow { transition: none !important; }
  .node { opacity: 1 !important; }
}

/* ==================================== /vic/ : Instagram link-in-bio landing
   Cold traffic from one post. The hero stays short on purpose so the curated
   assets are on screen without scrolling, and the community CTA sits directly
   under them. */
.vic-hero { padding: 104px 0 44px; }
.vic-hero-in { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.vic-face {
  flex: 0 0 auto; width: 72px; height: 72px; border-radius: 999px;
  background: #2B2A2A; border: 1px solid var(--line); object-fit: cover;
}
.vic-face.avatar-mono { display: flex; align-items: center; justify-content: center;
  color: var(--dim); font: 700 22px/1 var(--body); }
:root[data-theme="light"] .vic-face { background: #E7E5E1; }
.vic-id { min-width: 0; }
.vic-id .eyebrow { margin: 0 0 12px; }
.vic-h1 { font: 700 clamp(34px, 4.4vw, 60px)/0.94 var(--display); letter-spacing: -0.01em;
  text-transform: uppercase; margin: 0; }
.vic-tagline { font-size: 17px; line-height: 1.5; color: var(--dim); margin: 14px 0 0; max-width: 46ch; }
.vic-meta { font: 700 11px/1.4 var(--body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--dimmer); margin: 16px 0 0; }
.vic-meta a { color: var(--accent); }

.vic-picks { padding: 8px 0 88px; }
.vic-picks .section-label { margin: 0 0 14px; }
.vic-picks-h { margin: 0 0 14px; }
.vic-picks .lede { margin: 0 0 36px; }
.vic-grid { margin: 0; }
.vic-grid-rest { margin: 16px 0 0; }

/* "See N more": a <details> so the collapsed picks still exist with JS off */
.vic-more { margin: 20px 0 0; }
.vic-more-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px;
  font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--dim); transition: color 120ms ease, border-color 120ms ease;
}
.vic-more-btn::-webkit-details-marker { display: none; }
.vic-more-btn::after { content: '\2193'; font-size: 13px; letter-spacing: 0; }
.vic-more-btn:hover { color: var(--ink); border-color: var(--line-hi); }
.vic-more[open] .vic-more-btn::after { content: '\2191'; }
.vic-more-off { display: none; }
.vic-more[open] .vic-more-on { display: none; }
.vic-more[open] .vic-more-off { display: inline; }
/* the line that ties the asset back to the reel it came from */
.vic-hook { font-size: 14.5px; line-height: 1.5; color: var(--ink); margin: 12px 0 0;
  padding-left: 12px; border-left: 2px solid var(--accent); }
.card .vic-hook + .desc { margin-top: 12px; }
/* /vic/#slug lands here: a brief pulse so the right card is unmistakable.
   scroll-margin keeps the browser's own hash jump clear of the sticky nav. */
.vic-card { scroll-margin-top: calc(var(--nav-h) + 24px); }
.vic-card.is-hit { animation: vicHit 1.5s ease; }
@keyframes vicHit {
  0%, 100% { border-color: var(--line); }
  12%, 62% { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
}

.vic-join { padding: 88px 0; text-align: center; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 130% at 50% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 62%); }
.vic-join .section-label { color: var(--accent); margin: 0 0 18px; }
.vic-join .lede { margin: 22px auto 0; }
.vic-join-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 32px 0 0; }
.vic-join-cta .ic { width: 1em; height: 1em; margin-right: 8px; vertical-align: -.08em; }
.vic-perks { list-style: none; padding: 0; margin: 44px 0 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 28px; text-align: left; }
.vic-perks li { display: flex; gap: 11px; align-items: flex-start;
  font-size: 14px; line-height: 1.5; color: var(--dimmer); }
.vic-perks li strong { color: var(--ink); font-weight: 500; }
.vic-perks .ic { flex: 0 0 auto; width: 13px; height: 13px; margin-top: 3px; color: var(--accent); }

.vic-eco-card { display: flex; flex-direction: column; }
.vic-eco-ic { display: block; color: var(--accent); margin: 0 0 20px; }
.vic-eco-ic .ic { width: 20px; height: 20px; }
.vic-eco-label { font: 700 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase;
  color: var(--dimmer); margin: 0 0 12px; }
.vic-eco-card .card-sub { margin: 12px 0 0; }
.vic-eco-cta { margin-top: auto; padding-top: 24px; color: var(--accent); }

/* Mobile is where Instagram traffic actually lands, so the preamble is trimmed
   hard to get the first asset card as close to the fold as possible. */
@media (max-width: 700px) {
  .vic-hero { padding: 40px 0 16px; }
  .vic-hero-in { gap: 14px; }
  .vic-face { width: 52px; height: 52px; }
  .vic-id .eyebrow { margin: 0 0 8px; }
  .vic-tagline { font-size: 15px; line-height: 1.42; margin: 9px 0 0; }
  .vic-meta { margin: 10px 0 0; }
  .vic-picks { padding: 0 0 56px; }
  .vic-picks .section-label { margin: 0 0 8px; }
  .vic-picks-h { margin: 0 0 8px; }
  /* The hero tagline already promises "free, ready to run", and each card's
     hook explains the asset, so this line is redundant on a phone. */
  .vic-picks .lede { display: none; }
  /* The featured three side-scroll on phones: one card's height instead of
     three, which is what keeps the community CTA near the fold. */
  .vic-grid-top {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -24px; padding: 2px 24px 4px;
  }
  .vic-grid-top::-webkit-scrollbar { display: none; }
  .vic-grid-top .vic-card { flex: 0 0 80%; scroll-snap-align: start; padding: 20px; min-height: 0; }
  .vic-grid-top .vic-card h3 { margin-top: 18px; }
  .vic-grid-top .card-foot { padding-top: 18px; }
  /* Someone arriving from a reel wants the line about that reel, so the hook
     replaces the generic description here. Cards without a hook keep theirs. */
  .vic-grid-top .vic-card:has(.vic-hook) .desc { display: none; }
  .vic-grid-top .desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .vic-grid-top .vic-hook { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .vic-more { margin: 12px 0 0; }
  .vic-join { padding: 30px 0 56px; }
  .vic-join .section-label { margin: 0 0 12px; }
  .vic-join .lede { margin: 16px auto 0; }
  .vic-perks { margin: 32px 0 0; }
}

/* ================================================================== /apply/
   Seven screens, one question each. Everything here stays quiet so the Slack
   thread on screen 2 can carry the page. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ap { max-width: 660px; margin: 0 auto; padding: 72px 24px 120px; }
.ap-screen { animation: apIn .32s ease both; }
@media (prefers-reduced-motion: reduce) { .ap-screen { animation: none; } }
@keyframes apIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* position, not percentage */
.ap-prog { display: flex; gap: 6px; margin: 0 0 40px; }
.ap-prog i { width: 26px; height: 2px; border-radius: 2px; background: var(--line); }
.ap-prog i.on { background: var(--accent); }

.ap-h1 { font: 700 clamp(30px, 4.6vw, 46px)/1.02 var(--display); text-transform: uppercase;
  letter-spacing: -0.01em; margin: 0 0 22px; }
.ap-h1:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.ap-lede { font-size: 19px; line-height: 1.5; color: var(--ink); margin: 0 0 20px; text-wrap: pretty; }
.ap-p { font-size: 16px; line-height: 1.6; color: var(--dim); margin: 0 0 18px; text-wrap: pretty; }
.ap-q { font: 500 22px/1.3 var(--body); margin: 34px 0 8px; }
.ap-q label { cursor: default; }
.ap-sub { font-size: 15px; line-height: 1.5; color: var(--dimmer); margin: 0 0 20px; }
.ap-help { display: block; font-size: 13.5px; color: var(--dimmer); margin: 10px 0 0; }
.ap-pair .ap-help { font-size: 12.5px; margin: 8px 0 0; }
.ap-prefill { color: var(--dimmest); }

/* the one number allowed to be loud on this page */
.ap-seats { margin: 34px 0 0; min-height: 26px; opacity: 0; transition: opacity .3s ease; }
.ap-seats.is-ready { opacity: 1; }
.ap-seats-in { display: inline-block; font: 700 12.5px/1.5 var(--body); letter-spacing: .14em;
  text-transform: uppercase; color: var(--dimmer); }
.ap-seats b { color: var(--ink); }
.ap-seats.is-low b { color: var(--accent); }

.ap textarea, .ap input[type="text"], .ap input[type="email"], .ap input[type="url"], .ap select {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); padding: 15px 16px; font: 400 16px/1.5 var(--body); resize: vertical;
}
/* native select, restyled: own arrow, and a dimmed look until something is picked */
.ap select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--dimmer) 50%),
                    linear-gradient(135deg, var(--dimmer) 50%, transparent 50%);
  background-position: calc(100% - 21px) calc(50% + 1px), calc(100% - 15px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.ap select:invalid { color: var(--dimmer); }
.ap select option { background: var(--surface); color: var(--ink); }
.ap textarea:focus, .ap input:focus, .ap select:focus { outline: none; border-color: var(--line-hi); }
.ap textarea[aria-invalid], .ap input[aria-invalid], .ap select[aria-invalid] { border-color: var(--accent); }
.ap label { display: block; font-size: 13px; color: var(--dimmer); margin: 0 0 8px; }
.ap-stack { margin: 20px 0 0; }
.ap-pair { display: grid; gap: 18px; margin: 20px 0 0; }
.ap-pair p { margin: 0; }
@media (min-width: 560px) { .ap-pair { grid-template-columns: 1fr 1fr; } }

.ap-eg { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; }
.ap-eg li { font-size: 14px; line-height: 1.45; color: var(--dimmest); padding-left: 14px; position: relative; }
.ap-eg li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 1px; background: var(--dimmest); }

/* multi-select, as chips rather than checkboxes */
.ap-opts { display: grid; gap: 9px; margin: 4px 0 0; }
.ap-opt { display: block; margin: 0; cursor: pointer; }
.ap-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.ap-opt span {
  display: block; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--dim); font-size: 15.5px; line-height: 1.4;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}
.ap-opt:hover span { border-color: var(--line-hi); color: var(--ink); }
.ap-opt input:checked + span { border-color: var(--accent); color: var(--ink);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.ap-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.ap-nav { display: flex; align-items: center; gap: 16px; margin: 34px 0 0; }
.ap-nav .btn { margin-top: 0; }
.ap-back { order: -1; background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--dimmer); font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.ap-back:hover { color: var(--ink); }
.ap-fine { font-size: 13px; color: var(--dimmer); margin: 14px 0 0; }
.ap-field-error, .ap-error { color: var(--accent); font-size: 14px; margin: 14px 0 0; }
.ap-nojs { color: var(--dim); font-size: 15px; margin: 0 0 24px; }

/* confirmation */
.ap-done .ap-h1 { margin-bottom: 18px; }
.ap-tool { display: block; text-decoration: none; color: inherit; margin: 26px 0 34px;
  padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  transition: border-color 120ms ease; }
.ap-tool:hover { border-color: var(--accent); }
.ap-tool-h { font: 500 20px/1.3 var(--body); margin: 16px 0 0; }
.ap-tool .ap-p { margin: 10px 0 18px; }
.ap-tool .open { color: var(--accent); }
.ap-share { display: flex; gap: 8px; align-items: center; margin: 0 0 26px; }
.ap-share input { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink); padding: 0 18px; height: 40px; font: 400 14px/1 var(--body); }
.ap-share .btn { margin-top: 0; }

/* ---- the Slack thread. Deliberately not styled like the rest of the site:
   it should read as an artifact lifted out of Slack, light panel and all, in
   both themes. */
.slack {
  --sl-ink: #1D1C1D; --sl-dim: #616061; --sl-line: #E8E8E8; --sl-blue: #1264A3;
  background: #FFF; border: 1px solid var(--sl-line); border-radius: 10px;
  padding: 18px 18px 20px; margin: 0 0 8px; color: var(--sl-ink);
  font: 400 15px/1.46 Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .34);
}
.sl-head { font: 700 13px/1 Lato, sans-serif; color: var(--sl-dim); margin: 0 0 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--sl-line); }
.sl-msg { display: grid; grid-template-columns: 36px 1fr; gap: 10px; margin: 0 0 14px; }
.sl-msg.is-reply { padding-left: 14px; }
.sl-av { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.sl-av-e { display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; }
.sl-body { min-width: 0; }
.sl-meta { margin: 0 0 2px; }
.sl-name { font: 900 15px/1.3 Lato, sans-serif; color: var(--sl-ink); }
.sl-time { font-size: 12px; color: var(--sl-dim); margin-left: 8px; }
.sl-text { margin: 0; white-space: pre-wrap; }
/* the pasted email: its own rail, and merge tags must never hyphenate or split */
.sl-quote {
  margin: 10px 0 0; padding: 2px 0 2px 12px; border-left: 4px solid #DDD;
  font-size: 14.2px; line-height: 1.5; color: var(--sl-ink);
  overflow-x: auto; hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; word-break: normal;
}
.sl-quote span { display: block; }
.sl-rx { margin: 8px 0 0; }
.sl-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px;
  background: #E8F5FA; border: 1px solid #78B8D9; border-radius: 999px; padding: 2px 9px; color: var(--sl-blue); }
.sl-pill b { font-weight: 700; }
.sl-divider { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px;
  font: 700 13px/1 Lato, sans-serif; color: var(--sl-blue); }
.sl-dav { width: 20px; height: 20px; border-radius: 5px; background: #8FC7E8;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.sl-divider::after { content: ''; flex: 1; height: 1px; background: var(--sl-line); }

@media (max-width: 560px) {
  .ap { padding: 52px 20px 96px; }
  .ap-q { font-size: 19px; }
  .ap-lede { font-size: 17px; }
  .slack { padding: 14px 14px 16px; border-radius: 8px; font-size: 14.5px; }
  .sl-msg { grid-template-columns: 30px 1fr; gap: 8px; }
  .sl-av { width: 30px; height: 30px; border-radius: 7px; }
  .sl-msg.is-reply { padding-left: 6px; }
  .sl-quote { font-size: 13.2px; padding-left: 10px; }
  .ap-nav { gap: 12px; }
  .ap-nav .btn { flex: 1; justify-content: center; }
}

/* ================================================================== /join/
   Four fields and the proof around them. Form and social proof both sit above
   the fold on desktop: pitch on the left, card on the right. */
.jn-top { padding: 72px 0 64px; }
.jn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
/* the left column stretches to the form's height and spreads its three blocks
   down it, so the logos land in what used to be dead space */
.jn-left { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.jn-card { align-self: start; }
.jn-pitch .ap-h1 { margin: 0 0 20px; }
.jn-pitch .ap-lede { margin: 0 0 32px; }

.jn-stats { display: flex; flex-wrap: wrap; gap: 36px; margin: 0 0 30px;
  padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jn-stat b { display: block; font: 700 30px/1 var(--display); color: var(--ink); }
.jn-stat span { display: block; margin-top: 8px; font: 700 10.5px/1.3 var(--body);
  letter-spacing: .16em; text-transform: uppercase; color: var(--dimmer); }
.jn-small { font-size: 14.5px; line-height: 1.55; color: var(--dimmer); margin: 0; max-width: 46ch; }

/* the form card */
.jn-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.jn-card-h { font: 700 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 24px; }
.jn-form { margin: 0; }
.jn-block { margin: 0 0 20px; }
.jn-block:last-of-type { margin-bottom: 0; }
.jn-card input[type="text"], .jn-card input[type="email"], .jn-card input[type="url"], .jn-card select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); padding: 14px 16px; font: 400 16px/1.5 var(--body); }
.jn-card select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--dimmer) 50%),
                    linear-gradient(135deg, var(--dimmer) 50%, transparent 50%);
  background-position: calc(100% - 21px) calc(50% + 1px), calc(100% - 15px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.jn-card input:focus, .jn-card select:focus { outline: none; border-color: var(--line-hi); }
.jn-card input[aria-invalid] { border-color: var(--accent); }
.jn-card label { display: block; font-size: 13px; color: var(--dimmer); margin: 0 0 8px; }
.jn-card .ap-help { margin: 8px 0 0; font-size: 12.5px; }

.jn-fs { border: 0; padding: 22px 0 0; margin: 22px 0 20px; border-top: 1px solid var(--line); }
.jn-fs legend { padding: 0; font: 500 16px/1.4 var(--body); color: var(--ink); }
.jn-fs-sub { margin: 8px 0 16px; }
.jn-radio { margin: 0 0 8px; }
.jn-radio span { padding: 13px 16px; font-size: 14.5px; }

/* member company logos, in the left column beside the form. Sources vary in
   colour, so they are flattened to one tone here and the theme picks which:
   white on dark, black on light. */
.jn-logolabel { font: 700 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--dimmer); margin: 0 0 22px; }
.jn-logorow { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; align-items: center;
  justify-items: center; max-width: 400px; }
.jn-logo { height: 34px; width: auto; max-width: 100%; filter: brightness(0) invert(1);
  opacity: .55; transition: opacity 120ms ease; }
.jn-logo:hover { opacity: .85; }
:root[data-theme="light"] .jn-logo { filter: brightness(0); opacity: .5; }

.jn-inside { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.jn-shot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; }
.jn-roles { margin-top: 24px; }

/* confirmation */
.jn-next .ap-h1 { margin-bottom: 16px; }
.jn-ask { margin: 30px 0 34px; }
.jn-ask .btn { margin-top: 0; }
.jn-skip { margin-bottom: 12px; color: var(--dimmer); }
.jn-skip-links { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.jn-skip-links .btn { margin-top: 0; }

@media (max-width: 900px) {
  /* the form is the job here, so it comes before the supporting blocks.
     display:contents lets the left column's children reorder around the card. */
  .jn-grid { display: flex; flex-direction: column; gap: 28px; }
  .jn-left { display: contents; }
  .jn-pitch { order: 1; } .jn-card { order: 2; } .jn-logos { order: 3; } .jn-small { order: 4; }
  .jn-logorow { grid-template-columns: repeat(4, auto); gap: 24px; justify-content: start;
    justify-items: start; max-width: none; }
  .jn-logo { height: 26px; }
  .jn-inside { grid-template-columns: 1fr; gap: 28px; }
  /* the Slack UI is unreadable at this width */
  .jn-shot { display: none; }
}
@media (max-width: 560px) {
  .jn-top { padding: 48px 0 48px; }
  .jn-card { padding: 22px; border-radius: 14px; }
    /* keep the three proof numbers on one row rather than wrapping to two */
  .jn-stats { gap: 18px; justify-content: space-between; }
  .jn-stat b { font-size: 22px; }
  .jn-stat span { font-size: 9px; letter-spacing: .1em; }
  .jn-logorow { grid-template-columns: repeat(2, auto); justify-content: start; gap: 20px 28px; }
  .jn-logo { height: 24px; }
}

/* ================================================================== home
   Courses, community and library are the three things; events and the
   manifesto are banners at the bottom, matching their place in the footer. */
.nav-join { height: 36px; padding: 0 18px; margin-left: 16px; font-size: 11px; letter-spacing: .16em; }
.nav-join:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.foot-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin: 0 0 18px; }
.foot-nav a { text-decoration: none; color: var(--dim); font: 500 12px/1 var(--body);
  letter-spacing: .18em; text-transform: uppercase; transition: color 120ms ease; }
.foot-nav a:hover { color: var(--ink); }

/* the h1 is a full sentence, so it gets more room than the display-word heroes */
.home-hero h1 { max-width: 16ch; font-size: clamp(38px, 5.6vw, 88px); }
.home-lede { max-width: 620px !important; font-size: 19px; }
.home-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.home-logos { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-logos .lem-logolabel { margin-bottom: 22px; }
.home-logos .lem-group { gap: 64px; padding-right: 64px; }
.home-logo { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .62; }
:root[data-theme="light"] .home-logo { filter: brightness(0); opacity: .55; }

.home-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.home-split-rev .home-split-a { order: 2; }
.home-split .lede { margin-top: 20px; }
.home-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 30px 0 0; }
.home-cta .btn { margin-top: 0; }
.home-count { font-size: 13px; }
.home-course { display: flex; flex-direction: column; text-decoration: none; }
.home-course .display-sm { margin: 0 0 10px; }
.home-soon { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.home-soon li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.home-soon li b { font-weight: 500; }
.home-soon li span { color: var(--dimmest); font: 700 10px/1.5 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.home-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home-benefit { padding: 22px; }
.home-benefit .card-name { font-size: 16px; }
.home-benefit .card-sub { margin-top: 8px; font-size: 13.5px; }
.home-grid { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }

.home-banners { padding: 16px 0 96px; }
.home-banners .wrap { display: grid; gap: 12px; }
.home-banner { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center;
  padding: 22px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  text-decoration: none; color: inherit; transition: border-color 120ms ease; }
.home-banner:hover { border-color: var(--line-hi); }
.home-banner-label { font: 700 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.home-banner-text { color: var(--dim); font-size: 15px; }
.home-banner .open { color: var(--ink); white-space: nowrap; }

@media (max-width: 860px) {
  .home-split { grid-template-columns: 1fr; gap: 28px; }
  .home-split-rev .home-split-a { order: 0; }
  .home-grid { grid-template-columns: 1fr; }
  .home-benefits { grid-template-columns: 1fr; }
  .home-banner { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 760px) {
  /* the JOIN stays visible next to the hamburger; the theme toggle folds into the menu */
  .nav-join { margin-left: auto; height: 34px; padding: 0 14px; }
  .theme-toggle { margin-left: 0; }
}

/* ------------------------------------------------------------- GTMap */
.map-head { padding: 56px 0 18px; }
.map-head h1 { max-width: 22ch; font-size: clamp(34px, 4.4vw, 64px); }
.map-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.map-search { position: relative; flex: 1 1 260px; max-width: 420px; }
.map-search input { width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 11px 44px 11px 16px; font: 400 15px var(--body); }
.map-search input:focus { outline: none; border-color: var(--line-hi); }
.map-search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 500 10.5px var(--mono); letter-spacing: .08em; color: var(--dimmest); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.map-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.map-chip { display: inline-flex; align-items: center; gap: 7px; background: none; border: 1px solid var(--line); color: var(--dim); border-radius: 999px; padding: 7px 12px; font: 500 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: .12s; }
.map-chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.map-chip[aria-pressed="true"] { color: var(--ink); border-color: var(--line-hi); }
.map-chip[aria-pressed="false"] { opacity: .45; }
.map-stage { position: relative; height: min(78vh, 820px); min-height: 520px; margin: 18px 0 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.035), transparent 60%), var(--bg); }
.map-stage canvas { display: block; touch-action: none; cursor: grab; }
.map-hint { position: absolute; left: 14px; bottom: 12px; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dimmest); pointer-events: none; }
.map-fit { position: absolute; right: 14px; bottom: 12px; }
.map-tip { position: absolute; left: 0; top: 0; max-width: 280px; background: var(--surface); border: 1px solid var(--line-hi); border-radius: 12px; padding: 12px 14px; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); z-index: 3; }
.map-tip b { display: block; font-size: 15px; margin: 2px 0 4px; }
.map-tip span { display: block; font-size: 13px; color: var(--dim); line-height: 1.45; }
.map-tip-cat { font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.map-panel { position: absolute; right: 14px; top: 14px; bottom: 14px; width: min(360px, calc(100% - 28px)); overflow: auto; background: var(--surface); border: 1px solid var(--line-hi); border-radius: 16px; padding: 22px 22px 26px; z-index: 4; box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.map-panel-x { position: absolute; right: 12px; top: 10px; background: none; border: 0; color: var(--dim); font-size: 24px; line-height: 1; cursor: pointer; }
.map-panel-cat { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.map-panel h2 { margin: 0 0 10px; }
.map-panel-one { color: var(--dim); font-size: 15px; line-height: 1.5; margin: 0 0 16px; }
.map-panel-cta { margin: 0 0 22px; }
.map-panel-list { list-style: none; margin: 10px 0 0; padding: 0; }
.map-panel-list li + li { margin-top: 4px; }
.map-panel-list button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; color: var(--ink); font: 500 14px var(--body); cursor: pointer; }
.map-panel-list button:hover { background: var(--surface-2); border-color: var(--line); }
.map-panel-list i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.map-index { padding: 48px 0 80px; }
.map-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 32px; margin-top: 22px; }
.map-index h3 { display: flex; align-items: center; gap: 9px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 0 0 10px; }
.map-index h3 i { width: 9px; height: 9px; border-radius: 50%; }
.map-index ul { list-style: none; margin: 0; padding: 0; }
.map-index li { margin: 0; }
.map-index a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.map-index a:hover { color: var(--accent); }
.map-index a small { display: block; color: var(--dimmest); font-size: 12.5px; line-height: 1.4; margin-top: 1px; }
.term-hero { padding: 56px 0 26px; border-bottom: 1px solid var(--line); }
.term-hero .eyebrow a { color: inherit; text-decoration: none; }
.term-hero .eyebrow a:hover { color: var(--ink); }
.term-hero h1 { max-width: 16ch; font-size: clamp(26px, 7vw, 72px); overflow-wrap: anywhere; }
.term-hero .lede { max-width: 62ch; }
.term-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.term-body { max-width: 68ch; }
.term-body h3 { font-family: var(--display); text-transform: uppercase; font-size: 21px; letter-spacing: .01em; margin: 44px 0 12px; }
.term-body h4 { font-size: 17px; margin: 28px 0 8px; }
.term-body a.tl { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); }
.term-body a.tl:hover { color: var(--accent); }
.term-side { position: sticky; top: 84px; display: grid; gap: 22px; }
.term-side .section-label { margin-bottom: 8px; }
.term-links { list-style: none; margin: 0; padding: 0; }
.term-links li + li { margin-top: 2px; }
.term-links a { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.term-links a i { width: 8px; height: 8px; border-radius: 50%; flex: none; position: relative; top: -1px; }
.term-links a small { color: var(--dimmest); font-size: 12.5px; }
.term-links a:hover { color: var(--accent); }
.term-mini { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--dim); text-decoration: none; font-size: 13.5px; }
.term-mini:hover { border-color: var(--line-hi); color: var(--ink); }
.term-mini b { display: block; color: var(--ink); margin-bottom: 2px; }
@media (max-width: 860px) {
  .term-grid { grid-template-columns: 1fr; gap: 36px; }
  .term-side { position: static; }
}
@media (max-width: 760px) {
  .map-stage, .map-chips, .map-hint { display: none; }
  .map-index { padding-top: 28px; }
}

.jn-fallback { margin-top: -6px; font-size: 14.5px; color: var(--dimmer); }
.jn-fallback a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); white-space: nowrap; }
.jn-fallback a:hover { color: var(--accent); }

/* /vic/ feature card (the report, or whatever the reels point at this month) */
.vic-feature { padding: 0 0 28px; position: relative; z-index: 2; }
.vic-feat { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; text-decoration: none; color: inherit; border: 1px solid var(--accent); border-radius: 18px; padding: 30px 32px; background: linear-gradient(135deg, rgba(203,61,0,.18), transparent 55%), var(--surface); transition: transform .15s, box-shadow .15s; }
.vic-feat:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.vic-feat .eyebrow { margin-bottom: 10px; }
.vic-feat h2 { margin: 0 0 12px; max-width: 18ch; }
.vic-feat .lede { margin: 0 0 22px; max-width: 58ch; }
.vic-feat-side { display: grid; gap: 14px; text-align: right; }
.vic-feat-side b { display: block; font-family: var(--display); font-size: clamp(26px, 3vw, 36px); line-height: 1; letter-spacing: -.01em; }
.vic-feat-side span { display: block; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dimmest); margin-top: 4px; }
@media (max-width: 760px) {
  .vic-feat { grid-template-columns: 1fr; padding: 24px 22px; }
  .vic-feat-side { display: flex; gap: 22px; text-align: left; }
}

/* /join/ : the wait and the result inside the card */
.jn-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.jn-steps li { display: flex; align-items: center; gap: 12px; color: var(--dimmest); font-size: 15px; transition: color .2s; }
.jn-steps li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-hi); flex: none; position: relative; transition: .2s; }
.jn-steps li.on { color: var(--ink); }
.jn-steps li.on i { border-color: var(--accent); animation: jn-pulse 1s ease-in-out infinite; }
.jn-steps li.done { color: var(--dim); }
.jn-steps li.done i { background: var(--accent); border-color: var(--accent); animation: none; }
.jn-steps li.done i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes jn-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(203,61,0,.45); } 50% { box-shadow: 0 0 0 7px rgba(203,61,0,0); } }
.jn-check { min-height: 220px; }
.jn-result .eyebrow { margin-bottom: 10px; }
.jn-result-h { font: 700 clamp(26px, 3.2vw, 34px)/1.04 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 14px; }
.jn-slack { margin: 0 0 8px; display: grid; gap: 10px; }
.jn-slack .btn { justify-self: start; }
.jn-slack-btn { font-size: 13px; padding: 14px 22px; }
.jn-opt { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.jn-opt-h { font: 700 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin: 0 0 6px; }
.jn-opt .ap-sub { margin: 0 0 18px; }
.jn-opt-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.jn-opt-done { color: var(--ink); margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .jn-steps li.on i { animation: none; } }

/* /join/ : field-first layout */
.jn-hero { padding: 72px 0 26px; }
.jn-hero-in { max-width: 620px; margin: 0 auto; text-align: center; }
.jn-hero-in .eyebrow { margin-bottom: 14px; }
.jn-h1 { margin: 0 0 16px; }
.jn-lede { margin: 0 auto 28px; max-width: 52ch; }
.jn-hero-in .jn-card { text-align: left; }
.jn-hero-in .jn-card-h { text-align: left; }
.jn-trust { font-size: 13.5px; color: var(--dimmest); margin: 16px auto 0; max-width: 46ch; }
.jn-alt { display: block; background: none; border: 0; padding: 0; margin: 10px 0 0; color: var(--dim); font: 500 13px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.jn-alt:hover { color: var(--ink); }
.jn-proof { padding: 30px 0 56px; }
.jn-proof .jn-stats { justify-content: center; margin-bottom: 26px; }
.jn-stat-live b { color: var(--accent); }
.jn-proof .jn-logos { text-align: center; }
.jn-proof .jn-logorow { justify-content: center; }
.jn-proof .jn-small { text-align: center; max-width: 60ch; margin: 22px auto 0; }
.jn-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0 auto 30px; max-width: 900px; }
.jn-quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-align: left; }
.jn-quote p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.jn-quote footer { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dimmest); }
.jn-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, transparent); display: none; }
.jn-bar .btn { width: 100%; justify-content: center; font-size: 13px; padding: 15px 22px; }
@media (max-width: 760px) {
  .jn-hero { padding: 40px 0 18px; }
  .jn-hero-in { text-align: left; }
  .jn-lede { margin-left: 0; }
  .jn-trust { margin-left: 0; }
  .jn-bar:not([hidden]) { display: block; }
  .jn-proof .jn-stats { justify-content: flex-start; }
  .jn-proof .jn-logos, .jn-proof .jn-small { text-align: left; }
  .jn-proof .jn-logorow { justify-content: flex-start; }
  .jn-proof .jn-small { margin-left: 0; }
}
.jn-proof .jn-logorow { display: flex; flex-wrap: wrap; gap: 18px 48px; justify-content: center; align-items: center; }
@media (max-width: 760px) { .jn-proof .jn-logorow { gap: 14px 28px; } }

/* /join/ below the form, rebuilt */
.jn-proof { padding: 34px 0 54px; border-top: 1px solid var(--line); }
.jn-proof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; text-align: center; }
.jn-pstat b { display: block; font: 700 clamp(28px, 3.2vw, 38px)/1 var(--display); color: var(--ink); letter-spacing: -.01em; }
.jn-pstat span { display: block; margin: 10px auto 0; font: 700 10.5px/1.35 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--dimmer); max-width: 14ch; }
.jn-pstat-live b { color: var(--accent); }
.jn-proof-logos { margin: 40px auto 0; text-align: center; }
.jn-proof-label { font: 700 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--dimmest); margin: 0 0 22px; }
.jn-proof-logorow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 56px; }
.jn-proof-logorow .jn-logo { height: 30px; }
.jn-quotes { margin: 36px auto 0; }
.jn-band .jn-sec-head { text-align: center; margin: 0 0 28px; }
.jn-band .jn-sec-head h2 { margin: 0; }
.jn-faq { max-width: 760px; }
.jn-faq-list { display: grid; gap: 8px; margin-top: 18px; }
.jn-faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.jn-faq-item summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.jn-faq-item summary::-webkit-details-marker { display: none; }
.jn-faq-item summary::after { content: "+"; color: var(--dimmest); font-size: 20px; line-height: 1; flex: none; }
.jn-faq-item[open] summary::after { content: "\2013"; }
.jn-faq-item p { margin: 0; padding: 0 0 18px; color: var(--dim); line-height: 1.55; max-width: 62ch; }
.jn-bottom { padding: 80px 0 96px; border-top: 1px solid var(--line); }
.jn-bottom-in { text-align: center; max-width: 640px; margin: 0 auto; }
.jn-bottom-in h2 { margin: 0 0 24px; }
.jn-bottom-cta { margin: 0; }
.jn-session-skip { display: block; align-self: center; }
.jn-opt-nav { align-items: center; }
#jnLuma.is-off { opacity: .45; pointer-events: none; }
.jn-session-nolink { margin-top: 10px; }
@media (max-width: 760px) {
  .jn-proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; text-align: left; }
  .jn-pstat span { margin-left: 0; }
  .jn-proof-logos { text-align: left; }
  .jn-proof-logorow { justify-content: flex-start; gap: 16px 28px; }
  .jn-proof-logorow .jn-logo { height: 24px; }
  .jn-band .jn-sec-head { text-align: left; }
  .jn-bottom { padding: 56px 0 120px; }
  .jn-bottom-in { text-align: left; }
}

/* the brand row that stands in for the nav on /join/ */
.jn-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 12px var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); text-decoration: none; margin-bottom: 34px; }
.jn-brand img { width: 26px; height: 26px; border-radius: 7px; }

/* ------------------------------------------------------------------- /join
   Mobile-first on purpose: the base rules ARE the phone layout (people land
   here from a reel, a video or a LinkedIn message), and the min-width blocks
   only widen it. The fallback is a tab above the field, not a small link. */
.j4-hero { padding: 22px 0 36px; }
.j4-col { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 16px; }
.j4-col-wide { max-width: 560px; }
.j4-hero .jn-brand { margin-bottom: 22px; }
.j4-hero .eyebrow { margin: 0 0 10px; }
.j4-h1 { font: 900 clamp(30px, 9.4vw, 52px)/.98 var(--display); letter-spacing: -.01em; text-transform: uppercase; margin: 0 0 14px; overflow-wrap: anywhere; }
.j4-lede { color: var(--dim); font-size: 16px; line-height: 1.5; margin: 0 0 16px; }
.j4-live { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; font-size: 14px; line-height: 1.45; color: var(--dim); }
.j4-live b { color: var(--ink); font-weight: 700; }
.j4-live i { flex: none; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #35c46a; box-shadow: 0 0 0 0 rgba(53,196,106,.55); animation: j4pulse 2s ease-out infinite; }
@keyframes j4pulse { to { box-shadow: 0 0 0 10px rgba(53,196,106,0); } }
@media (prefers-reduced-motion: reduce) { .j4-live i { animation: none; } }

/* the two-way switch: thumb-sized targets, the chosen one reads as chosen */
.jn-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.jn-tab { min-height: 46px; padding: 8px 10px; border: 0; border-radius: 9px; background: none; color: var(--dim); font: 600 13px/1.25 var(--body); cursor: pointer; }
.jn-tab[aria-pressed="true"] { background: var(--accent); color: #fff; }
.jn-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.jn-nav-wide { margin-top: 22px; }
.jn-nav-wide .btn { flex: 1; justify-content: center; min-height: 54px; font-size: 16px; }
.j4-hero input[type="url"], .j4-hero input[type="text"] { font-size: 16px; min-height: 52px; } /* 16px stops iOS zooming on focus */

.j4-logos { padding: 8px 0 40px; }
.j4-logos-label { text-align: center; color: var(--dimmest); font: 700 11px var(--body); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 20px; padding: 0 16px; }
.j4-logos .lem-group { gap: 44px; padding-right: 44px; }
.j4-logo { height: 24px; }

.j4-sec { padding: 44px 0; border-top: 1px solid var(--line); }
.j4-sec-alt { background: var(--surface); }
.j4-h2 { margin: 10px 0 22px; font-size: clamp(22px, 6.4vw, 36px); line-height: 1.04; overflow-wrap: anywhere; }
.j4-sub { color: var(--dim); margin: -10px 0 22px; line-height: 1.5; }
.j4-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(203,61,0,.14); color: var(--accent); }
.j4-ic svg { width: 19px; height: 19px; fill: currentColor; }
.j4-rows { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.j4-rows li { display: flex; gap: 14px; align-items: flex-start; }
.j4-rows b { display: block; font-size: 17px; margin: 1px 0 4px; }
.j4-rows div span { color: var(--dim); line-height: 1.5; font-size: 15px; }
.j4-shot { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); margin: 0 0 20px; }
.j4-quote { margin: 0; padding: 22px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 14px; }
.j4-quote blockquote { margin: 0 0 18px; font-size: 17px; line-height: 1.5; }
.j4-quote figcaption { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; }
.j4-quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.j4-quote figcaption b { display: block; color: var(--ink); font-size: 15px; }
.j4-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.j4-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.j4-card .j4-ic { width: 38px; height: 38px; border-radius: 10px; }
.j4-card b { font-size: 15px; }
.j4-card > span:last-child { color: var(--dim); font-size: 13px; line-height: 1.45; }

.j4-close { padding: 52px 0 96px; background: var(--accent); color: #fff; text-align: center; }
.j4-close h2 { margin: 0 0 10px; color: #fff; }
.j4-close p { margin: 0 0 24px; opacity: .92; line-height: 1.5; }
.j4-close-btn { display: flex; justify-content: center; min-height: 54px; background: #fff; color: #0A0909; border-color: #fff; font-size: 16px; }
.j4-close-btn:hover { background: #0A0909; color: #fff; border-color: #0A0909; }

@media (min-width: 700px) {
  .j4-hero { padding: 40px 0 56px; }
  .j4-col { padding: 0 24px; }
  .j4-col-wide { max-width: 860px; }
  .j4-rows { grid-template-columns: 1fr 1fr; gap: 26px 32px; }
  .j4-cards { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .j4-card { padding: 20px 18px; }
  .j4-sec { padding: 72px 0; }
  .j4-logo { height: 30px; }
  .j4-close { padding: 80px 0; }
  .j4-close-btn { display: inline-flex; padding-left: 36px; padding-right: 36px; }
}
.j4-hero #jnEyebrow:empty { display: none; }
.jn-tabs { margin-bottom: 12px; }
/* The logo bar never stops: no pause on hover, and slow enough for a long track. */
.j4-logos .lem-track { animation-duration: 95s; }
.j4-logos .lem-marquee:hover .lem-track { animation-play-state: running; }

/* ---------------------------------------------------------- course player
   /courses/<slug>/. Mobile-first: one column, the video edge to edge on a
   phone; from 900px the lesson text and the module list sit side by side. */
.cp-top { padding: 22px 0 0; }
.cp-col { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.cp-top .eyebrow { margin: 0 0 10px; }
.cp-top .eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.cp-h1 { font: 900 clamp(24px, 6.6vw, 46px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 10px; overflow-wrap: anywhere; }
.cp-meta { color: var(--dim); font-size: 14px; line-height: 1.5; margin: 0 0 18px; }
.cp-meta span { color: var(--accent); font-weight: 600; }
.cp-video { position: relative; margin: 0 -16px; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.cp-el { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.cp-poster { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; border: 0; cursor: pointer; color: #fff; text-align: center;
  background: radial-gradient(120% 140% at 15% 0%, rgba(203,61,0,.55), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(203,61,0,.28), transparent 60%), #120d0a; }
.cp-poster[hidden] { display: none; }
.cp-poster-tag { font: 700 11px var(--body); letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.cp-play { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: #0A0909; transition: transform .18s ease; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.cp-play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.cp-poster:hover .cp-play, .cp-poster:focus-visible .cp-play { transform: scale(1.07); }
.cp-poster:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.cp-poster.is-loading .cp-play { animation: cpPulse 1s ease-in-out infinite; }
@keyframes cpPulse { 50% { transform: scale(.9); opacity: .6; } }
.cp-poster-sub { font-size: 14px; opacity: .85; }
.cp-end { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; background: rgba(10,9,9,.9); color: #fff; }
.cp-end[hidden] { display: none; }
.cp-end-k { margin: 0; font: 700 11px var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.cp-end-t { margin: 0 0 8px; font-size: 17px; font-weight: 600; max-width: 30ch; }
.cp-again { background: none; border: 0; color: #fff; opacity: .7; font: 500 13px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-top: 4px; }
.cp-error { margin: 12px 0 0; }
.cp-main { padding: 28px 0 72px; }
.cp-grid { display: grid; gap: 36px; }
.cp-kicker { margin: 0 0 8px; color: var(--accent); font: 700 11px var(--body); letter-spacing: .18em; text-transform: uppercase; }
.cp-h2 { font: 700 clamp(22px, 5.4vw, 30px)/1.15 var(--body); margin: 0 0 18px; letter-spacing: -.01em; }
.cp-body { color: var(--dim); font-size: 17px; line-height: 1.65; }
.cp-body h3 { color: var(--ink); font: 700 18px/1.35 var(--body); margin: 28px 0 8px; }
.cp-body h3:first-child { margin-top: 0; }
.cp-body p { margin: 0 0 16px; }
.cp-body strong { color: var(--ink); }
.cp-members { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 0; padding: 16px; border: 1px dashed var(--line-hi); border-radius: 12px; color: var(--dim); font-size: 15px; line-height: 1.5; }
.cp-members svg { flex: none; width: 18px; height: 18px; fill: var(--accent); margin-top: 2px; }
.cp-cta { padding: 22px 20px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 14px; margin: 0 0 18px; }
.cp-cta h2 { margin: 0 0 8px; }
.cp-cta p { color: var(--dim); margin: 0 0 16px; line-height: 1.5; font-size: 15px; }
.cp-cta-btn { display: flex; justify-content: center; min-height: 52px; }
.cp-cta .cp-cta-sub { margin: 14px 0 0; font-size: 13px; text-align: center; }
.cp-cta-sub a { color: var(--ink); }
.cp-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cp-item { border-top: 1px solid var(--line); }
.cp-item:first-child { border-top: 0; }
.cp-item > a, .cp-item.is-on { display: flex; gap: 12px; align-items: center; padding: 14px 16px; color: inherit; text-decoration: none; }
.cp-item > a:hover { background: var(--surface); }
.cp-item.is-on { background: rgba(203,61,0,.12); }
.cp-item-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--dimmer); }
.cp-item.is-on .cp-item-ic { background: var(--accent); border-color: var(--accent); color: #fff; }
.cp-item-ic svg { width: 14px; height: 14px; fill: currentColor; }
.cp-item b { display: block; font-size: 15px; line-height: 1.3; }
.cp-item div span { color: var(--dimmer); font-size: 13px; }
.row-free { color: var(--accent); font-weight: 600; }
@media (min-width: 700px) {
  .cp-col { padding: 0 24px; }
  .cp-top { padding-top: 40px; }
  .cp-video { margin: 0; border-radius: 16px; border: 1px solid var(--line); }
  .cp-main { padding-top: 40px; }
}
@media (min-width: 900px) {
  .cp-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
  .cp-side { position: sticky; top: calc(var(--nav-h) + 20px); }
}
.cp-top { padding-bottom: 0; }
.cp-main { padding-top: 0; }
.cp-lesson .cp-video { margin-bottom: 24px; }
.cp-lesson .cp-error { margin: -12px 0 20px; }
@media (min-width: 700px) { .cp-main { padding-top: 0; } .cp-lesson .cp-video { margin-bottom: 32px; } }
/* With a real frame behind it, the controls move to the bottom-left so the face and the number stay visible. */
.cp-poster.has-img { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto auto; column-gap: 14px; row-gap: 2px; align-items: center; justify-items: start; text-align: left; padding: 16px;
  background: linear-gradient(to top, rgba(10,9,9,.88), rgba(10,9,9,0) 58%), var(--cp-poster) center / cover no-repeat, #000; }
.cp-poster.has-img .cp-play { grid-column: 1; grid-row: 2 / span 2; width: 56px; height: 56px; }
.cp-poster.has-img .cp-play svg { width: 22px; height: 22px; margin-left: 3px; }
.cp-poster.has-img .cp-poster-tag { grid-column: 2; grid-row: 2; align-self: end; opacity: 1; }
.cp-poster.has-img .cp-poster-sub { grid-column: 2; grid-row: 3; align-self: start; }
@media (min-width: 700px) { .cp-poster.has-img { padding: 24px; } .cp-poster.has-img .cp-play { width: 68px; height: 68px; } }

/* course player, stage 2: sign-in in the page, every module, progress */
.cp-item-btn { display: flex; gap: 12px; align-items: center; width: 100%; padding: 14px 16px; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cp-item-btn:hover { background: var(--surface); }
.cp-item-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.cp-item.is-on { display: block; padding: 0; }
.cp-item.is-on .cp-item-btn:hover { background: none; }
.cp-item.is-done .cp-item-ic { background: rgba(53,196,106,.16); border-color: rgba(53,196,106,.4); color: #35c46a; }
.cp-item em { font-style: normal; }
.cp-form { display: grid; gap: 10px; margin: 0; }
.cp-form[hidden] { display: none; }
.cp-form input[type="email"], .cp-form input[type="text"] { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-hi); background: var(--bg); color: var(--ink); font: 400 16px var(--body); }
.cp-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.cp-form .cp-code { font: 700 26px/1 var(--body); letter-spacing: .4em; text-align: center; padding-left: .4em; }
.cp-form-note { margin: 0 !important; font-size: 14px !important; }
.cp-form-note b { color: var(--ink); overflow-wrap: anywhere; }
.cp-form-alt { margin: 2px 0 0 !important; font-size: 13px !important; text-align: center; }
.cp-link { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cp-cta.is-asking { animation: cpAsk 1.2s ease-out 1; }
@keyframes cpAsk { 0% { box-shadow: 0 0 0 0 rgba(203,61,0,.7); } 100% { box-shadow: 0 0 0 18px rgba(203,61,0,0); } }
.cp-cta .ap-error { margin: 10px 0 0; }
.cp-progress-t { margin: 0 0 10px !important; color: var(--ink) !important; font-size: 17px !important; }
.cp-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.cp-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .4s ease; }
.cp-done-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.cp-done-row[hidden] { display: none; }
.cp-done-btn { display: inline-flex; align-items: center; gap: 8px; }
.cp-done-btn svg { width: 16px; height: 16px; fill: currentColor; opacity: .5; }
.cp-done-btn[aria-pressed="true"] { border-color: rgba(53,196,106,.5); color: #35c46a; }
.cp-done-btn[aria-pressed="true"] svg { opacity: 1; }
.cp-video[hidden] { display: none; }
/* lesson text as it comes from Circle */
.cp-body h2 { color: var(--ink); font: 700 21px/1.3 var(--body); margin: 34px 0 10px; }
.cp-body h2:first-child { margin-top: 0; }
.cp-body h4 { color: var(--ink); font: 700 16px/1.35 var(--body); margin: 22px 0 6px; }
.cp-body a { color: var(--ink); text-underline-offset: 3px; }
.cp-body ul, .cp-body ol { margin: 0 0 16px; padding-left: 22px; }
.cp-body li { margin: 0 0 6px; }
.cp-body li p { margin: 0; }
.cp-body img { display: block; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); margin: 8px 0 18px; }
.cp-body blockquote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 3px solid var(--accent); color: var(--ink); }
.cp-body pre { margin: 0 0 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; white-space: pre-wrap; font: 400 14px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.cp-body code { font: 400 .92em ui-monospace, SFMono-Regular, Menlo, monospace; }
.cp-body hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.cp-body iframe { display: block; width: 100%; height: 420px; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0 18px; background: #fff; }
.cp-form .btn { margin-top: 0; }
.cp-gate-h { margin: 0 !important; color: var(--ink) !important; font: 700 17px/1.3 var(--body) !important; }
.cp-gate .btn { display: flex; justify-content: center; min-height: 52px; }
