/* that1website: dark ink, cool white, electric lime. Square corners, hard shadows, dot-matrix accents. */

:root {
  --bg: #0A0D14;
  --surface: #111726;
  --surface-2: #182033;
  --ink: #E6EBF5;
  --muted: #98A2B7;
  --faint: #626C83;
  --line: #E6EBF5;
  --line-soft: rgba(230, 235, 245, .12);
  --line-mid: rgba(230, 235, 245, .3);
  --accent: #B6FF3C;
  --accent-ink: var(--accent);
  --on-accent: #0A0D14;
  --shadow: rgba(230, 235, 245, .28);
  --stack-1: color-mix(in srgb, var(--accent) 45%, transparent);
  --stack-2: color-mix(in srgb, var(--accent) 20%, transparent);
  --glow-1: rgba(110, 92, 255, .30);
  --glow-2: rgba(26, 210, 255, .13);
  --dot: rgba(230, 235, 245, .2);
  --hex-alpha: .08;
  --wordmark-glow: 0 0 18px rgba(230, 235, 245, .42), 0 0 64px rgba(230, 235, 245, .16);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-dot: 'Geist Mono', ui-monospace, 'Cascadia Mono', monospace;
  --font-display: 'Unbounded', 'Geist', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #F3F5F9;
  --surface: #FFFFFF;
  --surface-2: #EEF1F6;
  --ink: #0A0D14;
  --muted: #4B5569;
  --faint: #868FA2;
  --line: #0A0D14;
  --line-soft: rgba(10, 13, 20, .1);
  --line-mid: rgba(10, 13, 20, .3);
  --accent-ink: #3B7500;
  --shadow: #0A0D14;
  --stack-1: rgba(10, 13, 20, .5);
  --stack-2: rgba(10, 13, 20, .2);
  --glow-1: rgba(110, 92, 255, .14);
  --glow-2: rgba(26, 210, 255, .12);
  --dot: rgba(10, 13, 20, .16);
  --hex-alpha: .1;
  --wordmark-glow: none;
  color-scheme: light;
}

[data-palette="cyan"] { --accent: #3DE3FF; }
[data-palette="violet"] { --accent: #A68CFF; }
[data-palette="pink"] { --accent: #FF5FCF; }
[data-theme="light"][data-palette="cyan"] { --accent-ink: #00728A; }
[data-theme="light"][data-palette="violet"] { --accent-ink: #5A3CD8; }
[data-theme="light"][data-palette="pink"] { --accent-ink: #B0107F; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* `hidden` always wins, even over a component's own display (the share menu was open on load). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

.wrap { max-width: 1140px; margin: 0 auto; }
.narrow { max-width: 760px; }

.dot {
  font-family: var(--font-dot);
  font-weight: 800;
  color: var(--accent-ink);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.h2 { font-size: clamp(32px, 5vw, 48px); }
.h3 { font-size: 22px; margin-bottom: 26px; }
.h3--icon { display: flex; align-items: center; gap: 12px; }
.h3 a { text-decoration: none; }
.h3 a:hover { color: var(--accent-ink); }
.lede { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --sh: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  padding: 14px 24px;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  box-shadow: var(--sh) var(--sh) 0 var(--shadow);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--sh) + 2px) calc(var(--sh) + 2px) 0 var(--shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow); }
[data-theme="light"] .btn { border-color: var(--ink); }
.btn--ghost { --sh: 3px; background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--sm { font-size: 15px; padding: 10px 16px; }
.btn--lg { font-size: 18px; padding: 17px 28px; }
.btn .px { color: currentColor; }
.link { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.link:hover { color: var(--ink); }

.save { min-width: 112px; }
.save .px-a { fill: var(--accent-ink); }
.save .save__on { display: none; }
.save[aria-pressed="true"] .save__on { display: block; }
.save[aria-pressed="true"] .save__off { display: none; }
.save[aria-pressed="true"] { border-color: var(--accent-ink); }

.vote { min-width: 92px; }
.vote .px { color: var(--faint); }
.vote[aria-pressed="true"] { border-color: var(--accent-ink); color: var(--accent-ink); }
.vote[aria-pressed="true"] .px { color: var(--accent-ink); }
.vote--sm { --sh: 2px; font-size: 14px; padding: 7px 12px; min-width: 0; }
.vote[disabled] { opacity: .6; cursor: default; }

.share { position: relative; }
.share__menu { position: absolute; z-index: 20; top: calc(100% + 10px); left: 0; min-width: 190px; display: grid; padding: 6px; }
.share__menu a, .share__menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; font: inherit; font-size: 15.5px; color: var(--ink); background: none; border: 0; text-decoration: none; cursor: pointer; }
.share__menu a:hover, .share__menu button:hover, .share__menu a:focus-visible, .share__menu button:focus-visible { background: var(--line-soft); color: var(--accent-ink); }
.share__menu [hidden] { display: none; }
@media (max-width: 560px) { .share__menu { left: auto; right: 0; } }

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
  color: inherit;
  text-decoration: none;
  box-shadow:
    6px 6px 0 -1px var(--bg), 6px 6px 0 0 var(--stack-1),
    12px 12px 0 -1px var(--bg), 12px 12px 0 0 var(--stack-2);
  transition: transform .18s ease, box-shadow .18s ease;
}
a.card:hover, .card--link:hover {
  transform: translate(-3px, -3px);
  box-shadow:
    9px 9px 0 -1px var(--bg), 9px 9px 0 0 var(--stack-1),
    18px 18px 0 -1px var(--bg), 18px 18px 0 0 var(--stack-2);
}
.panel { background: var(--surface); border: 1px solid var(--line); box-shadow: 6px 6px 0 var(--shadow); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 34px; padding: 0 12px 12px 0; }
.grid--tight { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 26px; }

.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--line-mid);
  color: var(--muted);
  white-space: nowrap;
}
.badge--good { border-color: color-mix(in srgb, var(--accent-ink) 55%, transparent); color: var(--accent-ink); }
.badge--sponsor { border-style: dashed; }
.checked { font-size: 12.5px; color: var(--faint); letter-spacing: .02em; }

.tcard { display: flex; flex-direction: column; gap: 4px; }
.tcard__pre { font-size: 13px; color: var(--faint); }
.tcard__title { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.tcard__pick { margin: 12px 0 14px; color: var(--muted); font-size: 15px; }
.tcard__pick b { color: var(--ink); font-weight: 600; }
.tcard__arrow { color: var(--accent-ink); }
.tcard__host { color: var(--faint); }
.tcard .badges { margin-top: auto; }

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr__in { max-width: 1240px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo .px-a, .hero__mark .px-a, .ftr__mascot .px-a, .phero__icon .px-a { fill: var(--accent-ink); }
.logo__word { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.logo__word .dot { font-size: 1.05em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 15px; color: var(--muted); text-decoration: none; padding: 8px 12px; }
.nav a:hover { color: var(--ink); }
.nav .nav__cta { color: var(--ink); border: 1px solid var(--line-mid); margin-left: 6px; }
.nav .nav__cta:hover { border-color: var(--accent-ink); }
.count { display: inline-block; min-width: 20px; padding: 0 5px; margin-left: 4px; font-size: 12px; line-height: 20px; text-align: center; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.count[hidden] { display: none; }
.sq {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 3px 3px 0 var(--shadow);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.sq:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow); }
.menu-btn { display: none; }

@media (max-width: 760px) {
  .menu-btn { display: inline-grid; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
  }
  .menu-open .nav { display: flex; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .nav .nav__cta { margin: 14px 0 0; text-align: center; border: 1px solid var(--line); }
}

/* ---------- Hex floor + hero backgrounds ---------- */
.hero, .phero { position: relative; isolation: isolate; overflow: clip; }
.hero__glow, .hero__hex, .hexfloor { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  background:
    radial-gradient(640px 460px at 6% 0%, var(--glow-1), transparent 70%),
    radial-gradient(560px 420px at 96% 30%, var(--glow-2), transparent 70%);
}
/* CSS hex grid: shown only when WebGL is unavailable. */
.hero__hex {
  background: var(--ink);
  opacity: var(--hex-alpha);
  -webkit-mask: url(/assets/hex.svg) center top / 140px 242px repeat;
  mask: url(/assets/hex.svg) center top / 140px 242px repeat;
}
.hf-on .hero__hex { display: none; }
.hexfloor { width: 100%; height: 100%; z-index: 2; }
/* Controls sit above the tiles so they always stay crisp. */
.finder, .hero__more, .phero__actions { position: relative; z-index: 3; }
.finder { z-index: 4; }

.skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  pointer-events: none;
  background: radial-gradient(circle, var(--dot) 1.3px, transparent 1.8px) left bottom / 10px 10px;
  -webkit-mask: url(/assets/skyline.svg) left bottom / 1600px 120px repeat-x;
  mask: url(/assets/skyline.svg) left bottom / 1600px 120px repeat-x;
}

/* ---------- Home hero ---------- */
.hero {
  padding: clamp(64px, 11vw, 124px) 16px clamp(130px, 15vw, 180px);
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.hero__in { position: relative; max-width: 900px; margin: 0 auto; }
.hero__mark { margin: 0 auto; width: 78px; height: 66px; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 45%, transparent)); }
[data-theme="light"] .hero__mark { filter: none; }
.wordmark {
  margin: 28px 0 20px;
  font-size: clamp(38px, 11.4vw, 132px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: var(--wordmark-glow);
}
.wordmark .dot { font-size: 1.06em; font-weight: 900; text-shadow: 0 0 26px color-mix(in srgb, var(--accent) 55%, transparent); }
[data-theme="light"] .wordmark .dot { text-shadow: none; }
.hero__sub { font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; }
.hero__lede { max-width: 620px; margin: 14px auto 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); }

.finder { max-width: 780px; margin: 40px auto 0; display: flex; gap: 14px; text-align: left; }
.finder__box {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  min-height: 62px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 5px 5px 0 var(--shadow);
  cursor: text;
}
.finder__box:focus-within { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.finder__pre { color: var(--muted); white-space: nowrap; font-size: 18px; }
.finder input {
  flex: 1;
  min-width: 0;
  padding: 18px 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  font-weight: 500;
}
.finder input::placeholder { color: var(--faint); opacity: 1; }
.finder input::-webkit-search-cancel-button { filter: grayscale(1); }
.finder .btn { flex: none; }
.finder--page { margin: 34px 0 0; }

.instant {
  position: absolute;
  top: calc(100% + 12px);
  left: 0; right: 0;
  z-index: 20;
  max-height: 380px;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 var(--shadow);
}
.instant[hidden] { display: none; }
.instant a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.instant a:last-child { border-bottom: 0; }
.instant a:hover, .instant a[aria-selected="true"] { background: var(--surface-2); }
.instant a[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--accent-ink); }
.instant small { color: var(--muted); font-size: 14px; white-space: nowrap; }
.instant__pre { color: var(--faint); }
.instant__empty { padding: 16px 18px; color: var(--muted); font-size: 15px; }

.hero__more { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.chips__label { color: var(--faint); font-size: 14px; margin-right: 4px; }
.chip {
  font-size: 14px;
  padding: 6px 12px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line-mid);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  transition: border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--accent-ink); color: var(--ink); }

@media (max-width: 640px) {
  .finder { flex-direction: column; }
  .finder__box { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 0; }
  .finder__pre { font-size: 14px; }
  .finder input { padding: 6px 0 14px; }
}

/* ---------- Inner page hero ---------- */
.phero { padding: clamp(56px, 8vw, 92px) 16px clamp(48px, 7vw, 76px); border-bottom: 1px solid var(--line-soft); }
.phero__in { position: relative; }
.phero__title { font-size: clamp(34px, 5.6vw, 60px); max-width: 920px; text-wrap: balance; }
.phero__pre { display: block; font-size: .5em; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-bottom: 10px; }
.phero__lede { max-width: 640px; margin-top: 18px; color: var(--muted); font-size: 19px; }
.phero__icon { margin-bottom: 26px; }
.phero__actions { margin-top: 30px; }
.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 120px) 16px; }
.section--line { border-top: 1px solid var(--line-soft); }
.section--tight { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(24px, 4vw, 40px); }
.section--tight:last-of-type { padding-bottom: clamp(72px, 10vw, 110px); }
.head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.head .eyebrow { margin-bottom: 16px; }
.head p { margin-top: 18px; color: var(--muted); }

/* Category grid: 4 across */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 28px; padding: 0 12px 12px 0; }
.cat { display: flex; flex-direction: column; gap: 10px; min-height: 216px; }
.cat__icon { height: 36px; display: flex; align-items: flex-end; margin-bottom: 14px; }
.cat h3 { font-size: 21px; }
.cat p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.cat__count { margin-top: auto; padding-top: 8px; font-family: var(--font-dot); font-weight: 800; font-size: 15px; text-transform: uppercase; color: var(--accent-ink); }
@media (max-width: 980px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cats { grid-template-columns: 1fr; }
  .cat { min-height: 0; }
}

/* Pick card */
.pick { padding: clamp(24px, 4vw, 40px); }
.pick__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 18px; }
.pick__label { font-family: var(--font-dot); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-ink); }
.pick__ctx { display: block; color: var(--muted); text-decoration: none; margin-bottom: 8px; font-size: 16px; }
.pick__ctx:hover { color: var(--ink); }
.pick__name { font-size: clamp(36px, 5.4vw, 58px); letter-spacing: -.03em; }
.pick__host { display: inline-block; margin-top: 6px; color: var(--muted); text-decoration: none; font-size: 16px; }
.pick__host:hover { color: var(--accent-ink); }
.pick__blurb { margin: 16px 0 18px; font-size: 19px; max-width: 640px; }
.pick__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.sotd { max-width: 900px; margin: 0 auto; padding: 0 12px 12px 0; }

.task { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 34px; align-items: start; padding-right: 12px; }
.why { padding: 28px; }
.why .eyebrow { margin-bottom: 14px; }
.why p { color: var(--ink); font-size: 17px; }
.why__link { display: inline-block; margin-top: 20px; font-size: 15px; color: var(--muted); text-decoration: none; }
.why__link:hover { color: var(--accent-ink); }
.disclose { margin: 16px 0 0; color: var(--faint); font-size: 13.5px; }
.disclose a { color: var(--muted); }
@media (max-width: 860px) { .task { grid-template-columns: 1fr; } }

.alt { display: flex; flex-direction: column; gap: 4px; }
.alt__name { font-size: 21px; font-weight: 600; }
.alt__host { color: var(--faint); font-size: 14px; }
.alt__blurb { margin: 10px 0 14px; color: var(--muted); font-size: 15.5px; }
.alt__link { color: inherit; text-decoration: none; }
.alt__link::after { content: ''; position: absolute; inset: 0; }
.alt__link:focus-visible { outline: none; }
.card--link:focus-within { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.alt__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; }
.alt__foot .vote { position: relative; z-index: 1; margin-left: auto; }
/* Not free but useful */
.nf .alt__blurb { margin-bottom: 8px; }
.nf__why { margin: 0 0 14px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.nf__price { align-self: center; color: var(--muted); font-size: 13.5px; }
.fav { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center; padding: 20px 22px; }
.fav__n { grid-row: span 2; display: grid; justify-items: center; font-family: var(--font-dot); font-weight: 800; font-size: 28px; line-height: 1; color: var(--accent-ink); min-width: 52px; }
.fav__n span { font-family: var(--font); font-weight: 500; font-size: 12px; color: var(--faint); margin-top: 4px; }
.fav__name { font-size: 18px; font-weight: 600; }
.fav__ctx { color: var(--muted); font-size: 14.5px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; max-width: 900px; margin: 0 auto; }
.stat { padding: 38px 16px 30px; text-align: center; }
.stat__n { font-family: var(--font-dot); font-weight: 900; font-size: clamp(64px, 9vw, 108px); line-height: 1; color: var(--accent-ink); }
.stat__l { margin-top: 14px; color: var(--muted); font-size: 16px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 840px; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 26px 28px; }
.step__n { grid-row: span 2; font-family: var(--font-dot); font-weight: 800; font-size: 26px; line-height: 1.1; color: var(--accent-ink); }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 520px) { .step { grid-template-columns: 1fr; } .step__n { grid-row: auto; } }

/* Split (forgot teaser) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split__text .eyebrow { margin-bottom: 16px; }
.split__text .lede { margin: 18px 0 30px; }
.demo { padding: 26px; display: grid; gap: 16px; margin-right: 6px; }
.demo__label { display: block; font-family: var(--font-dot); font-weight: 800; font-size: 13px; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.demo__q { color: var(--muted); font-size: 17px; padding-bottom: 16px; border-bottom: 1px dashed var(--line-mid); }
.demo__a { font-size: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.demo__a .demo__label { width: 100%; color: var(--accent-ink); }
.demo__host { color: var(--faint); font-size: 15px; }
.demo__check { color: var(--accent-ink); align-self: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Newsletter */
.news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: clamp(28px, 5vw, 52px); }
.news__text .eyebrow { margin-bottom: 14px; }
.news__text .lede { margin-top: 14px; }
.news__form { display: flex; gap: 12px; }
.news__form .input { flex: 1; min-width: 0; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .news__form { flex-direction: column; } }

/* Final CTA */
.cta { text-align: center; border-top: 1px solid var(--line-soft); overflow: hidden; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.cta > .wrap { position: relative; z-index: 1; }
.cta .head { margin-bottom: 36px; }
.cta__fine { margin-top: 22px; color: var(--faint); font-size: 15px; }

/* Forms */
.form { padding: clamp(22px, 4vw, 36px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { font-size: 15px; font-weight: 500; }
.field__opt { color: var(--faint); font-weight: 400; }
.field__note { color: var(--muted); font-size: 15px; }
.field__note b { color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.input {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-mid);
  padding: 13px 14px;
  border-radius: 0;
}
.input:focus { outline: 2px solid var(--accent-ink); outline-offset: 1px; border-color: var(--line); }
textarea.input { resize: vertical; min-height: 130px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.radio { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--muted); cursor: pointer; }
.radio input { accent-color: var(--accent-ink); width: 18px; height: 18px; }
.finder-matches { display: grid; gap: 14px; }
.finder-matches[hidden] { display: none; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding-right: 6px; }
.plan { padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.plan--hot { border-color: var(--accent-ink); box-shadow: 6px 6px 0 var(--stack-1); }
.plan__name { font-family: var(--font-dot); font-weight: 800; font-size: 16px; text-transform: uppercase; color: var(--accent-ink); }
.plan__price { font-size: 44px; font-weight: 600; letter-spacing: -.03em; }
.plan__price small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 6px 0 0; padding: 0 0 0 18px; color: var(--muted); font-size: 15.5px; display: grid; gap: 6px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.status { color: var(--muted); font-size: 15px; margin-bottom: 26px; min-height: 1.5em; }
.empty { padding: 32px; display: grid; gap: 14px; justify-items: start; max-width: 640px; }
.empty[hidden] { display: none; }
.empty p { color: var(--muted); }
.saved__clear { margin-top: 32px; }

/* "New" marker on cards */
.new {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  font-family: var(--font-dot);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  vertical-align: 1px;
}

/* Browse tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; position: relative; z-index: 3; }
.tabs a {
  font-size: 14.5px;
  padding: 7px 13px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line-mid);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
}
.tabs a:hover { color: var(--ink); border-color: var(--line); }
.tabs a[aria-current="page"] { color: var(--on-accent); background: var(--accent); border-color: var(--accent); font-weight: 600; }
[data-theme="light"] .tabs a[aria-current="page"] { border-color: var(--ink); }

.more { margin-top: 34px; text-align: center; }
.day { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.day__n { font-size: 14px; font-weight: 400; color: var(--faint); letter-spacing: 0; }

/* A–Z index */
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 34px; }
.letters a {
  min-width: 34px; text-align: center; padding: 5px 8px;
  font-family: var(--font-dot); font-weight: 800; font-size: 15px;
  color: var(--accent-ink); text-decoration: none; border: 1px solid var(--line-mid);
}
.letters a:hover { border-color: var(--line); }
.az { margin-bottom: 30px; scroll-margin-top: 80px; }
.az__letter { font-family: var(--font-dot); font-weight: 900; font-size: 34px; color: var(--accent-ink); margin-bottom: 8px; }
.az__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.az__row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(120px, .8fr) minmax(0, 2fr);
  gap: 4px 18px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px;
}
.az__name { font-weight: 600; text-decoration: none; }
.az__name:hover { color: var(--accent-ink); }
.az__host { color: var(--faint); font-size: 14px; overflow-wrap: anywhere; }
.az__jobs { color: var(--muted); min-width: 0; }
.az__jobs a { text-decoration: none; }
.az__jobs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .az__row { grid-template-columns: 1fr auto; }
  .az__jobs { grid-column: 1 / -1; font-size: 14.5px; }
}

/* ---------- Footer ---------- */
.ftr { position: relative; border-top: 1px solid var(--line); margin-top: 0; }
.skyline--top { top: -121px; bottom: auto; }
.ftr__in { max-width: 1140px; margin: 0 auto; padding: 56px 16px 48px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.ftr__tag { color: var(--muted); font-size: 16px; }
.ftr__tag .dot { font-size: 1.05em; }
.ftr__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.ftr__nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.ftr__nav a:hover { color: var(--ink); }
.prefs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px; margin-top: 4px; }
.palette { display: flex; align-items: center; gap: 10px; }
.palette__label { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.palette button { width: 22px; height: 22px; padding: 0; background: var(--sw); border: 1px solid var(--line-mid); cursor: pointer; }
.palette button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Motion: a compact segmented switch (Auto / On / Off) sized to match the swatches. */
.motion { display: flex; align-items: center; }
.motion .palette__label { margin-right: 14px; }
.motion button {
  height: 22px;
  padding: 0 8px 0 calc(8px + .12em);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line-mid);
  cursor: pointer;
}
.motion button + button { margin-left: -1px; }
.motion button:hover { color: var(--ink); }
.motion button:focus-visible { position: relative; z-index: 2; }
.motion button[aria-pressed="true"] { position: relative; z-index: 1; color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
[data-theme="light"] .motion button[aria-pressed="true"] { border-color: var(--ink); }
.ftr__fine { color: var(--faint); font-size: 13.5px; max-width: 560px; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: -8px; }
.ftr__legal a { color: inherit; text-decoration: none; }
.ftr__legal a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Help, legal and account pages ---------- */
.faq { display: grid; gap: 14px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-family: var(--font-dot); font-weight: 900; font-size: 24px; line-height: 1; color: var(--accent-ink); }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); font-size: 16.5px; }
.faq a, .prose a, .head p a { color: var(--ink); }
.prose { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.prose .prose__meta { color: var(--faint); font-size: 14px; margin-bottom: 26px; }
.prose h2 { color: var(--ink); font-size: 23px; margin: 44px 0 12px; scroll-margin-top: 90px; }
.prose h3 { color: var(--ink); font-size: 17px; margin: 22px 0 6px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-ink); }
.prose strong { color: var(--ink); font-weight: 600; }

/* Motion: Auto follows the system setting; the footer's On / Off sets <html data-motion>. */
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after { transition: none !important; animation: none !important; }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { transition: none !important; animation: none !important; }
[data-voted-section] .lede { margin: 10px 0 30px; }

/* ---------- Awards and badges ---------- */
.awards { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.award { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); border: 1px solid var(--accent-ink); padding: 4px 9px; }
.award .px { color: var(--ink); }
.award .px-a { fill: var(--accent-ink); }
.pick .awards { margin: 12px 0 4px; }
.why__link--badge { display: block; margin-top: 10px; }
.winner { display: grid; gap: 6px; align-content: start; }
.winner__badge { width: auto; max-width: 100%; height: 44px; margin-bottom: 10px; }
.winner__award { font-family: var(--font-dot); font-weight: 800; font-size: 15px; text-transform: uppercase; color: var(--accent-ink); }
.winner__name { font-size: 22px; font-weight: 600; }
.winner__ctx { color: var(--muted); font-size: 15px; }
.live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.live__h { font-size: 17px; margin-bottom: 12px; color: var(--muted); font-weight: 500; }
.live__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: live; }
.live__list li { counter-increment: live; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line-soft); }
.live__list li::before { content: counter(live); font-family: var(--font-dot); font-weight: 800; color: var(--accent-ink); }
.live__list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.live__list a:hover { color: var(--accent-ink); }
.live__list small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
.live__n { color: var(--faint); font-size: 14px; white-space: nowrap; }
@media (max-width: 760px) { .live { grid-template-columns: 1fr; } }
.badge-tool { padding: 24px; display: grid; gap: 14px; }
.badge-tool__results { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.badge-tool__results button { width: 100%; text-align: left; font: inherit; color: var(--ink); background: none; border: 1px solid var(--line-soft); padding: 10px 12px; cursor: pointer; }
.badge-tool__results button:hover, .badge-tool__results button:focus-visible { border-color: var(--accent-ink); }
.badge-tool__results small { color: var(--muted); display: block; font-size: 14px; }
.badge-out { display: grid; gap: 22px; padding-top: 6px; }
.badge-out h2 { font-size: 20px; }
.badge-embed { display: grid; gap: 10px; justify-items: start; }
.badge-embed textarea { width: 100%; min-height: 96px; font-family: ui-monospace, 'Cascadia Mono', monospace; font-size: 13px; }
.badge-list { display: grid; gap: 22px; }
.badge-fig { margin: 0; display: grid; gap: 8px; justify-items: start; }
.badge-fig figcaption { color: var(--muted); font-size: 15px; }
.live__empty { grid-template-columns: 1fr !important; color: var(--muted); } .live__empty::before { content: none !important; }
.also { color: var(--muted); font-size: 16px; max-width: 760px; }
.also a, .more-link a { color: var(--ink); }
.also a:hover, .more-link a:hover { color: var(--accent-ink); }
.more-link { margin-top: 26px; font-weight: 500; }


/* ================= Modern pass: smooth, gradient, glass ================= */
:root {
  --accent: #6F5CFF;
  --accent-ink: #A99BFF;
  --on-accent: #FFFFFF;
  --grad: linear-gradient(105deg, #8FA2FF 0%, #B596FF 48%, #6FDCFF 100%);
  --btn-grad: linear-gradient(135deg, #6F5CFF 0%, #8B5CF6 55%, #3B9BFF 100%);
  --glass: rgba(17, 23, 38, .55);
  --radius: 14px;
  --shadow: rgba(0, 0, 0, .35);
  --wordmark-glow: none;
  --glow-1: rgba(111, 92, 255, .32);
  --glow-2: rgba(59, 155, 255, .16);
}
[data-theme="light"] {
  --accent-ink: #5B3FD8;
  --glass: rgba(255, 255, 255, .7);
  --shadow: rgba(40, 40, 90, .18);
  --grad: linear-gradient(105deg, #4F5CF0 0%, #8B4FE8 50%, #0E9ADB 100%);
}
[data-palette="cyan"] { --accent: #1FA8D6; --btn-grad: linear-gradient(135deg, #1FA8D6, #3B7BFF); }
[data-palette="pink"] { --accent: #D646A8; --btn-grad: linear-gradient(135deg, #D646A8, #8B5CF6); }
[data-palette="lime"], [data-palette="violet"] { --accent: #6F5CFF; }
::selection { background: #6F5CFF; color: #fff; }

h1, h2, h3 { letter-spacing: -.03em; }
.dot { text-transform: none; font-weight: 700; letter-spacing: -.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { letter-spacing: .14em; font-size: 12px; font-weight: 600; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
  background: var(--btn-grad); color: #fff; border: 0; border-radius: 999px;
  box-shadow: 0 8px 28px -8px rgba(111, 92, 255, .7), inset 0 1px 0 rgba(255,255,255,.28);
  font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.1); box-shadow: 0 12px 34px -8px rgba(111, 92, 255, .85), inset 0 1px 0 rgba(255,255,255,.3); }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 14px -6px rgba(111, 92, 255, .7); }
.btn--ghost { background: var(--glass); color: var(--ink); border: 1px solid var(--line-mid); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--accent-ink); box-shadow: none; }

.card, .panel, .instant, .plan { border-radius: var(--radius); }
.chip { border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: var(--line-soft); }
.chip:hover { border-color: var(--accent-ink); }

/* Bloom layer sits under the tiles and is screened over the page. */
.hexfloor-bloom { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; filter: blur(16px) saturate(1.3); mix-blend-mode: screen; }
[data-theme="light"] .hexfloor-bloom { display: none !important; }

/* ---------- Hero ---------- */
.hero { padding: clamp(72px, 10vw, 132px) 16px clamp(72px, 9vw, 120px); border-bottom: 1px solid var(--line-soft); }
.hero__glow {
  background:
    radial-gradient(900px 520px at 50% -10%, var(--glow-1), transparent 70%),
    radial-gradient(560px 420px at 92% 40%, var(--glow-2), transparent 70%),
    radial-gradient(520px 380px at 4% 60%, rgba(181, 150, 255, .12), transparent 70%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero__in { max-width: 920px; z-index: 3; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px;
  font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none;
  background: var(--glass); border: 1px solid var(--line-soft); border-radius: 999px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 10px 40px -14px rgba(111, 92, 255, .6);
  transition: border-color .2s ease, color .2s ease;
}
.hero__badge:hover { color: var(--ink); border-color: var(--accent-ink); }
.hero__spark { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px 2px rgba(150, 140, 255, .8); animation: spark 2.6s ease-in-out infinite; }
.hero__badge-go { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--btn-grad); color: #fff; font-size: 14px; }
@keyframes spark { 50% { opacity: .45; transform: scale(.8); } }
.hero__title {
  margin: 26px 0 0; font-size: clamp(44px, 8.4vw, 98px); font-weight: 700; line-height: 1.02;
  letter-spacing: -.045em; text-wrap: balance;
}
.hero .grad { background-size: 200% 100%; animation: sheen 9s ease-in-out infinite alternate; padding-bottom: .08em; }
@keyframes sheen { to { background-position: 100% 0; } }
.hero__lede { max-width: 560px; margin: 22px auto 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; }

.finder { margin-top: 38px; max-width: 760px; padding: 8px; gap: 8px; align-items: stretch; background: var(--glass); border: 1px solid var(--line-mid); border-radius: 22px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 80px -30px rgba(111, 92, 255, .65), 0 0 0 1px rgba(255,255,255,.04) inset; }
.finder:focus-within { border-color: var(--accent-ink); box-shadow: 0 30px 90px -26px rgba(111, 92, 255, .9), 0 0 0 4px rgba(111, 92, 255, .22); }
.finder__box { background: transparent; border: 0; box-shadow: none; min-height: 56px; padding: 0 14px; }
.finder__box:focus-within { outline: 0; }
.finder__pre { color: var(--faint); font-size: 17px; }
.finder .btn { border-radius: 16px; }
.instant { border-radius: 18px; border-color: var(--line-mid); box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); background: var(--surface); }

.hero__more { margin-top: 24px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; align-items: center; gap: clamp(22px, 5vw, 64px); margin: clamp(40px, 6vw, 64px) 0 0; position: relative; z-index: 3; }
.hero__stats dt { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats dd { margin: 6px 0 0; font-size: 13px; color: var(--faint); letter-spacing: .02em; }
.hero__rand { font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: var(--glass); border: 1px solid var(--line-mid); border-radius: 999px; padding: 11px 20px; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .2s ease; }
.hero__rand:hover { border-color: var(--accent-ink); }
@media (max-width: 640px) {
  .finder { border-radius: 20px; }
  .finder__box { flex-direction: column; align-items: stretch; padding: 10px 14px 0; }
  .hero__stats { grid-template-columns: repeat(3, auto); gap: 22px; }
  .hero__stats > div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .hero .grad, .hero__spark { animation: none; } }

/* ---------- Wordmark, shimmer search text, livelier button ---------- */
.wordmark { margin: 26px 0 0; font-size: clamp(40px, 10.5vw, 120px); font-weight: 700; letter-spacing: -.045em; line-height: 1; white-space: nowrap; text-shadow: none; }
.wordmark .dot { font-size: 1em; font-weight: 800; letter-spacing: -.045em; padding: 0 .02em; }
.hero__title { margin: 14px 0 0; font-size: clamp(20px, 3.4vw, 32px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; color: var(--muted); }
.hero__title .grad { font-weight: 600; }
.hero__lede { margin-top: 16px; }

/* Text shimmer: a bright band sweeping across muted text. */
.shimmer {
  --base: #71717a; --hi: #ffffff; --spread: 44px;
  color: transparent;
  background-image: linear-gradient(90deg, #0000 calc(50% - var(--spread)), var(--hi), #0000 calc(50% + var(--spread))), linear-gradient(var(--base), var(--base));
  background-size: 250% 100%, auto; background-repeat: no-repeat, padding-box;
  -webkit-background-clip: text; background-clip: text;
  animation: shimmer 2.2s linear infinite;
}
[data-theme="light"] .shimmer { --base: #a1a1aa; --hi: #000000; }
@keyframes shimmer { from { background-position: 100% center, 0 0; } to { background-position: 0% center, 0 0; } }
html[data-motion="off"] .shimmer { animation: none; }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="on"]) .shimmer { animation: none; } }

.finder__field { position: relative; flex: 1; min-width: 0; display: block; }
.finder__field input { width: 100%; }
.finder__ghost { position: absolute; left: 0; top: 50%; transform: translateY(-50%); max-width: 100%; overflow: hidden; white-space: nowrap; pointer-events: none; font-size: 18px; font-weight: 500; line-height: 1.55; padding-bottom: .1em; }
.finder__field input::placeholder { color: transparent; }
.finder__field input:not(:placeholder-shown) ~ .finder__ghost, .finder__field input:focus:not(:placeholder-shown) ~ .finder__ghost { display: none; }
@media (max-width: 640px) { .finder__field input { padding: 6px 0 14px; } .finder__ghost { top: calc(50% - 4px); } }

.btn--find { position: relative; overflow: hidden; gap: .6em; padding-inline: 30px; background-size: 220% 100%; animation: btnflow 6s ease-in-out infinite alternate; }
@keyframes btnflow { to { background-position: 100% 0; } }
.btn--find::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); animation: btnshine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes btnshine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn--find .spark-ico { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.btn--find:hover .spark-ico { transform: rotate(72deg) scale(1.2); }
.btn--find:hover { box-shadow: 0 14px 40px -6px rgba(139, 92, 246, .95), inset 0 1px 0 rgba(255,255,255,.35); }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="on"]) .btn--find, html:not([data-motion="on"]) .btn--find::after { animation: none; } }
html[data-motion="off"] .btn--find, html[data-motion="off"] .btn--find::after { animation: none; }

/* ---------- Type: techy display (Unbounded) + Geist body + Geist Mono labels ---------- */
h1, h2, .wordmark, .hero__title, .phero__title { font-family: var(--font-display); }
h2, .h2 { font-weight: 600; letter-spacing: -.035em; font-size: clamp(28px, 4.4vw, 42px); line-height: 1.15; }
.phero__title { font-weight: 600; letter-spacing: -.035em; font-size: clamp(28px, 4.6vw, 50px); }
.wordmark { font-weight: 700; letter-spacing: -.06em; font-size: clamp(30px, 10.2vw, 108px); line-height: 1.05; }
.hero__title { font-weight: 400; letter-spacing: -.03em; font-size: clamp(16px, 2.4vw, 24px); }
.grad, .dot { font-family: inherit; font-style: normal; font-weight: inherit; text-transform: none; font-size: 1em; line-height: inherit; padding: 0; letter-spacing: inherit; }
.hero__title .grad { font-weight: 600; }
.wordmark .dot { font-size: 1em; font-weight: 800; padding: 0; }
.hero__stats dt, .stat__n, .fav__n, .step__n { font-family: var(--font-display); font-weight: 600; letter-spacing: -.04em; }
.eyebrow, .chips__label, .demo__label, .cat__count, .pick__label, .plan__name { font-family: var(--font-dot); font-weight: 500; letter-spacing: .08em; }
.eyebrow { font-size: 12px; }
.cat__count, .pick__label, .plan__name { font-size: 13px; }
.finder__pre, .finder__ghost, .finder input { font-family: var(--font); }

/* ---------- Motion: hero entrance, decoding wordmark, word-by-word headline reveals ---------- */
.fx .ch { display: inline-block; text-align: center; transform-origin: 50% 100%; opacity: 0; will-change: transform, filter, opacity; animation: chIn 1.1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 55ms + .15s); }
.fx .ch.scr { color: var(--accent-ink); }
.fx .ch:hover { color: var(--accent-ink); }
@keyframes chIn {
  0% { opacity: 0; transform: translateY(70%) rotateX(-80deg) scale(.9); filter: blur(14px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
.wordmark { perspective: 800px; }
.wordmark.fx { position: relative; display: inline-block; }
.wordmark.fx::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); mix-blend-mode: overlay; transform: translateX(-120%); animation: wmSweep 1.4s ease-out 1.5s forwards; pointer-events: none; }
@keyframes wmSweep { to { transform: translateX(120%); } }

.hero__in > :not(.wordmark) { animation: heroUp 1s cubic-bezier(.16, 1, .3, 1) both; }
.hero__in > .hero__badge { animation-delay: .05s; }
.hero__in > .hero__title { animation-delay: 1.0s; }
.hero__in > .hero__lede { animation-delay: 1.12s; }
.hero__in > .finder { animation-delay: 1.26s; }
.hero__in > .hero__more { animation-delay: 1.4s; }
.hero__in > .hero__stats { animation-delay: 1.52s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

.rv .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .02em .16em; margin: -.08em 0 -.16em; }
.rv .wi { display: inline-block; opacity: 0; transform: translateY(115%) rotate(5deg); filter: blur(8px); transform-origin: 0 100%; transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .6s ease, filter .7s ease; transition-delay: calc(var(--i) * 70ms); }
.rv.in .wi { opacity: 1; transform: none; filter: blur(0); }

html[data-motion="off"] .fx .ch, html[data-motion="off"] .hero__in > :not(.wordmark) { animation: none; opacity: 1; }
html[data-motion="off"] .wordmark.fx::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) .hero__in > :not(.wordmark) { animation: none; opacity: 1; }
  html:not([data-motion="on"]) .wordmark.fx::after { display: none; }
}

/* ================= Aurora, floating pick cards, giant type ================= */
.hero__glow { overflow: hidden; background: none; }
.hero__glow::before, .hero__glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; will-change: transform; }
.hero__glow::before { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; left: -10%; top: -38%; background: radial-gradient(circle at 40% 40%, rgba(111, 92, 255, .75), rgba(111, 92, 255, 0) 65%); animation: aurA 18s ease-in-out infinite alternate; }
.hero__glow::after { width: 55vw; height: 55vw; max-width: 800px; max-height: 800px; right: -8%; top: -20%; background: radial-gradient(circle at 60% 50%, rgba(59, 190, 255, .55), rgba(59, 190, 255, 0) 65%); animation: aurB 22s ease-in-out infinite alternate; }
@keyframes aurA { to { transform: translate3d(14vw, 10%, 0) scale(1.15); } }
@keyframes aurB { to { transform: translate3d(-12vw, 24%, 0) scale(.9); } }
[data-theme="light"] .hero__glow::before, [data-theme="light"] .hero__glow::after { opacity: .35; }
html[data-motion="off"] .hero__glow::before, html[data-motion="off"] .hero__glow::after { animation: none; }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="on"]) .hero__glow::before, html:not([data-motion="on"]) .hero__glow::after { animation: none; } }

.fcards { display: none; }
@media (min-width: 1360px) {
  .fcards { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
  .fcard {
    position: absolute; width: 220px; display: grid; gap: 8px; padding: 16px 18px; text-decoration: none; text-align: left;
    background: var(--glass); border: 1px solid var(--line-mid); border-radius: 18px; pointer-events: auto;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 0 40px -12px rgba(111, 92, 255, .5);
    transform: translate3d(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px), 0);
    transition: border-color .25s ease, box-shadow .25s ease;
    animation: fcIn 1.2s cubic-bezier(.16, 1, .3, 1) both;
  }
  .fcard:hover { border-color: var(--accent-ink); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .8), 0 0 50px -6px rgba(139, 92, 246, .8); }
  .fcard__cat { font-family: var(--font-dot); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
  .fcard__q { font-size: 15px; line-height: 1.3; color: var(--ink); font-weight: 500; }
  .fcard__a { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--line-soft); }
  .fcard__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(150, 140, 255, .9); }
  .fcard--1 { left: max(20px, calc(50% - 650px)); top: 42%; }
  .fcard--2 { left: max(40px, calc(50% - 610px)); top: 68%; }
  .fcard--3 { right: max(20px, calc(50% - 650px)); top: 46%; }
  .fcard--4 { right: max(40px, calc(50% - 610px)); top: 72%; }
  .fcard--1 { animation-delay: 1.5s; } .fcard--2 { animation-delay: 1.7s; } .fcard--3 { animation-delay: 1.6s; } .fcard--4 { animation-delay: 1.8s; }
}
@keyframes fcIn { from { opacity: 0; margin-top: 40px; filter: blur(10px); } to { opacity: 1; margin-top: 0; filter: blur(0); } }
html[data-motion="off"] .fcard { animation: none; }

.bigtype { overflow: hidden; padding: clamp(36px, 6vw, 80px) 0; display: grid; gap: clamp(4px, 1vw, 14px); border-bottom: 1px solid var(--line-soft); }
.bigtype__row { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); white-space: nowrap; width: max-content; font-family: var(--font-display); font-weight: 800; font-size: clamp(54px, 11vw, 168px); line-height: 1; letter-spacing: -.05em; text-transform: uppercase; transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
.bigtype__row span { color: var(--ink); }
.bigtype__row span.o { color: transparent; -webkit-text-stroke: 1.5px var(--line-mid); }
.bigtype__row i { width: .22em; height: .22em; border-radius: 50%; background: var(--grad); flex: none; }

.ftr { overflow: hidden; }
.ftr__mascot { display: none; }
.ftr__big {
  font-family: var(--font-display); font-weight: 800; text-align: center; white-space: nowrap; line-height: .78; letter-spacing: -.06em;
  font-size: 8.5vw; margin: 8px 0 -.1em; padding: 0 0 0; user-select: none;
  background: linear-gradient(180deg, rgba(181, 150, 255, .55) 0%, rgba(111, 92, 255, .16) 55%, rgba(111, 92, 255, 0) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ftr__big span { font-weight: 800; }

/* ================= Glass folders for the category blocks =================
   A solid, vivid back panel with a smooth curved tab, paper sheets tucked inside,
   and a frosted glass front that is wider at the top and blurs the color behind it. */
.cats { gap: 44px 26px; padding: 24px 0 12px; }
.cat {
  --h: 222; --s: 92%;
  --c1: hsl(var(--h) var(--s) 66%); --c2: hsl(var(--h) var(--s) 54%);
  position: relative; display: block; min-height: 0; margin-top: 18px; isolation: isolate;
  color: #fff; text-decoration: none; transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.cats > .cat:nth-child(4n+2) { --h: 252; }
.cats > .cat:nth-child(4n+3) { --h: 200; --s: 88%; }
.cats > .cat:nth-child(4n+4) { --h: 278; --s: 80%; }
.cat__back {
  position: absolute; inset: 0 0 6px 0; z-index: -3; border-radius: 4px 22px 22px 22px;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: 0 26px 50px -22px hsl(var(--h) var(--s) 55% / .85);
  transition: box-shadow .4s ease;
}
/* Tab, then a slanted, rounded ramp down to the body: the curved folder tab. */
.cat__back::before, .cat__back::after { content: ""; position: absolute; top: -20px; height: 22px; background: var(--c1); }
.cat__back::before { left: 0; width: 34%; border-radius: 18px 0 0 0; }
.cat__back::after { left: calc(34% - 14px); width: 44px; border-radius: 0 18px 0 0; transform: skewX(38deg); transform-origin: 0 100%; }
.cat__sheet {
  position: absolute; left: 16px; right: 16px; top: 10px; height: 46px; z-index: -2; border-radius: 10px 10px 4px 4px;
  background: rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  transform: rotate(-1.4deg); transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.cat__sheet--b { left: 26px; right: 26px; top: 4px; background: rgba(255, 255, 255, .7); transform: rotate(1.6deg); }
.cat__front {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 196px; margin-top: 38px;
  padding: 22px 24px 22px; background: none; border: 0; box-shadow: none;
}
.cat__front::before {
  content: ""; position: absolute; inset: 0 -6px; z-index: -1; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .08) 70%, rgba(255, 255, 255, .16));
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -24px 40px -20px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  transform: perspective(900px) rotateX(7deg); transform-origin: 50% 0;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), background .3s ease;
}
.cat .cat__icon .px, .cat .cat__icon svg { color: #fff; }
.cat h3 { font-family: var(--font); font-weight: 600; font-size: 21px; letter-spacing: -.02em; color: #fff; text-shadow: 0 1px 12px hsl(var(--h) 80% 30% / .45); }
.cat p { color: rgba(255, 255, 255, .86); text-shadow: 0 1px 10px hsl(var(--h) 80% 30% / .4); }
.cat .cat__count { color: #fff; opacity: .92; }
.cat:hover { transform: translateY(-4px); }
.cat:hover .cat__sheet { transform: translateY(-22px) rotate(-2.6deg); }
.cat:hover .cat__sheet--b { transform: translateY(-13px) rotate(2.8deg); }
.cat:hover .cat__front::before { transform: perspective(900px) rotateX(16deg); background: linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .12) 70%, rgba(255, 255, 255, .2)); }
.cat:hover .cat__back { box-shadow: 0 34px 64px -20px hsl(var(--h) var(--s) 58% / 1); }
.cat:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 8px; border-radius: 22px; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr; gap: 40px; } .cat__front { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="on"]) .cat, html:not([data-motion="on"]) .cat *, html:not([data-motion="on"]) .cat__front::before { transition: none; } }
html[data-motion="off"] .cat, html[data-motion="off"] .cat *, html[data-motion="off"] .cat__front::before { transition: none; }

@media (max-width: 640px) {
  .hero__badge { font-size: 13px; padding: 6px 6px 6px 12px; text-align: left; }
  .hero__title { font-size: 17px; }
}
[data-palette="cyan"] { --accent-ink: #5FD3F5; }
[data-palette="pink"] { --accent-ink: #F28BD2; }
[data-theme="light"][data-palette="cyan"] { --accent-ink: #00728A; }
[data-theme="light"][data-palette="pink"] { --accent-ink: #B0107F; }
/* Inner page heroes: a quick CSS fade-up (no JS), so titles never wait on a script. */
.phero__in > * { animation: heroUp .8s cubic-bezier(.16, 1, .3, 1) both; }
.phero__in > :nth-child(2) { animation-delay: .06s; }
.phero__in > :nth-child(3) { animation-delay: .12s; }
.phero__in > :nth-child(n+4) { animation-delay: .18s; }
html[data-motion="off"] .phero__in > * { animation: none; }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="on"]) .phero__in > * { animation: none; } }

/* ---------- Inner pages: soften the old hard-shadow cards, panels, tabs and square buttons ---------- */
.card, .panel, .plan {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)), var(--surface);
  border: 1px solid var(--line-soft); border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 48px -30px rgba(0, 0, 0, .8);
}
a.card:hover, .card--link:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent-ink) 60%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 28px 56px -28px rgba(111, 92, 255, .55); }
.plan--hot { border-color: var(--accent-ink); box-shadow: 0 30px 60px -30px rgba(111, 92, 255, .7); }
[data-theme="light"] .card, [data-theme="light"] .panel, [data-theme="light"] .plan { background: #fff; border-color: rgba(10, 13, 20, .1); box-shadow: 0 20px 44px -30px rgba(40, 40, 90, .35); }
.tabs a { border-radius: 999px; }
.tabs a[aria-current="page"] { background: var(--btn-grad); border-color: transparent; color: #fff; }
.sq { border-radius: 12px; box-shadow: none; }
.sq:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(111, 92, 255, .6); }
.badge { border-radius: 999px; }

/* ---------- Glass icons ---------- */
.gi { display: block; flex: none; overflow: visible; filter: drop-shadow(0 6px 12px hsl(var(--gh) 90% 55% / .35)); }
.logo__gi { width: 30px; height: 30px; }
.cat__icon { height: auto; margin-bottom: 8px; }
.cat__icon .gi { filter: drop-shadow(0 6px 14px rgba(10, 13, 40, .35)); }
.phero__icon { margin-bottom: 22px; }
.h3--icon .gi { width: 34px; height: 34px; }
.cat__icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 10px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(240, 243, 250, .78));
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -10px rgba(10, 13, 40, .45); }
.cat__icon .gi { width: 46px; height: 46px; filter: drop-shadow(0 4px 8px hsl(var(--gh) 90% 50% / .35)); }

/* ================= Line icons ================= */
.li { display: inline-block; flex: none; vertical-align: -3px; }
.save .save__on { display: none; }
.save[aria-pressed="true"] .save__on { display: inline-block; color: var(--accent-ink); }
.award .li { color: var(--accent-ink); }

/* ================= Home search: AI prompt box with a neon edge ================= */
@property --pa { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.finder--prompt { display: block; position: relative; max-width: 780px; margin: 40px auto 0; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; text-align: left; }
.finder--prompt:focus-within { box-shadow: none; border: 0; }
.finder__aura { position: absolute; inset: -70px -110px; z-index: 0; pointer-events: none; }
.finder--prompt::before, .finder--prompt::after { content: ""; position: absolute; top: -60px; bottom: -60px; width: 60%; z-index: 0; pointer-events: none; }
.finder--prompt::before { left: -18%; background: radial-gradient(closest-side, rgba(217, 70, 239, .42), rgba(217, 70, 239, 0)); }
.finder--prompt::after { right: -18%; background: radial-gradient(closest-side, rgba(59, 130, 246, .48), rgba(59, 130, 246, 0)); }
.finder__aura { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22168%22%20height%3D%2296%22%20font-family%3D%22ui-monospace%2Cmonospace%22%20font-size%3D%2211%22%20fill%3D%22%23fff%22%3E%3Ctext%20x%3D%224%22%20y%3D%2214%22%3E5%205%202%200%201%207%204%3C%2Ftext%3E%3Ctext%20x%3D%2218%22%20y%3D%2232%22%3E0%208%205%205%203%201%3C%2Ftext%3E%3Ctext%20x%3D%222%22%20y%3D%2250%22%3E4%201%209%205%202%200%206%3C%2Ftext%3E%3Ctext%20x%3D%2222%22%20y%3D%2268%22%3E7%205%205%204%208%202%3C%2Ftext%3E%3Ctext%20x%3D%226%22%20y%3D%2286%22%3E2%200%201%205%205%209%203%3C%2Ftext%3E%3C%2Fsvg%3E") 0 0 / 168px 96px; opacity: .55;
  -webkit-mask: radial-gradient(40% 70% at 18% 50%, rgba(0,0,0,.55), transparent), radial-gradient(40% 70% at 82% 50%, rgba(0,0,0,.55), transparent);
  mask: radial-gradient(40% 70% at 18% 50%, rgba(0,0,0,.55), transparent), radial-gradient(40% 70% at 82% 50%, rgba(0,0,0,.55), transparent); }
.finder__shell {
  --pa: 0deg; position: relative; z-index: 2; display: grid; gap: 6px; padding: 16px 14px 12px 20px; border-radius: 26px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #0D1020, #090B14) padding-box,
    conic-gradient(from var(--pa), #E879F9, #FFFFFF 10%, #C4B5FD 22%, #60A5FA 40%, #FFFFFF 52%, #93C5FD 62%, #A78BFA 80%, #E879F9) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .04),
    -26px 0 60px -18px rgba(217, 70, 239, .75), 26px 0 60px -18px rgba(59, 130, 246, .8),
    0 0 22px rgba(196, 181, 253, .35), inset 0 0 30px rgba(99, 102, 241, .12);
  animation: promptSpin 7s linear infinite;
  transition: box-shadow .3s ease;
}
@keyframes promptSpin { to { --pa: 360deg; } }
.finder--prompt:focus-within .finder__shell { box-shadow: 0 0 0 1px rgba(255,255,255,.08), -30px 0 80px -14px rgba(217, 70, 239, .95), 30px 0 80px -14px rgba(59, 130, 246, 1), 0 0 34px rgba(196, 181, 253, .55), inset 0 0 36px rgba(99, 102, 241, .18); }
.finder__stars { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .7;
  background:
    radial-gradient(1.2px 1.2px at 8% 30%, #fff, transparent), radial-gradient(1px 1px at 22% 72%, #C4B5FD, transparent),
    radial-gradient(1.4px 1.4px at 37% 18%, #fff, transparent), radial-gradient(1px 1px at 51% 64%, #93C5FD, transparent),
    radial-gradient(1.2px 1.2px at 63% 26%, #fff, transparent), radial-gradient(1px 1px at 74% 80%, #E9D5FF, transparent),
    radial-gradient(1.3px 1.3px at 86% 40%, #fff, transparent), radial-gradient(1px 1px at 94% 70%, #BFDBFE, transparent);
  animation: twinkle 3.2s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .25; } to { opacity: .8; } }
.finder--prompt .finder__box { position: relative; display: grid; gap: 2px; padding: 0; min-height: 0; background: none; border: 0; box-shadow: none; flex-direction: column; }
.finder--prompt .finder__pre { font-size: 13px; color: #8C93AD; letter-spacing: .01em; }
.finder--prompt .finder__field input { padding: 4px 0 8px; color: #EEF0FA; font-size: 20px; }
.finder--prompt .finder__ghost { font-size: 20px; top: calc(50% - 2px); --base: #6B7190; --hi: #FFFFFF; }
.finder__bar { position: relative; display: flex; align-items: center; gap: 8px; }
.finder__tool { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #C9CEE2; cursor: pointer; transition: border-color .2s ease, color .2s ease, transform .3s ease; }
.finder__tool:hover { border-color: rgba(196, 181, 253, .7); color: #fff; transform: rotate(20deg); }
.finder__chips { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
.finder__chips::-webkit-scrollbar { display: none; }
.finder__chip { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #C9CEE2; text-decoration: none; white-space: nowrap; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); transition: border-color .2s ease, color .2s ease, background .2s ease; }
.finder__chip:hover { color: #fff; border-color: rgba(196, 181, 253, .6); background: rgba(196, 181, 253, .08); }
.finder__send { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #E879F9, #8B5CF6 50%, #3B82F6); box-shadow: 0 6px 22px -4px rgba(168, 85, 247, .8), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s ease; }
.finder__send:hover { transform: scale(1.08) rotate(-8deg); box-shadow: 0 10px 30px -4px rgba(168, 85, 247, 1), inset 0 1px 0 rgba(255,255,255,.4); }
.finder__send:focus-visible, .finder__tool:focus-visible, .finder__chip:focus-visible { outline: 2px solid #C4B5FD; outline-offset: 3px; }
.finder--prompt .instant { top: calc(100% + 18px); z-index: 20; }
html[data-motion="off"] .finder__shell, html[data-motion="off"] .finder__stars { animation: none; }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="on"]) .finder__shell, html:not([data-motion="on"]) .finder__stars { animation: none; } }
@media (max-width: 640px) {
  .finder__aura { inset: -50px -30px; }
  .finder__shell { padding: 14px 10px 10px 14px; border-radius: 22px; }
  .finder--prompt .finder__box { flex-direction: column; padding: 0; }
  .finder--prompt .finder__field input, .finder--prompt .finder__ghost { font-size: 17px; }
}

/* ================= Category pages: split hero with a showcased pick ================= */
.phero--split .phero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero__in > .showcase { animation-delay: .22s; }
@media (max-width: 900px) { .phero--split .phero__in { grid-template-columns: 1fr; } }
.showcase { position: relative; z-index: 3; isolation: isolate; max-width: 520px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .showcase { justify-self: stretch; max-width: none; } }
.showcase__stack { position: relative; isolation: isolate; }
.showcase__stack::before {
  content: ""; position: absolute; inset: -16px -14px 34px 36px; z-index: -1; border-radius: 28px;
  background: linear-gradient(135deg, hsl(var(--gh) 95% 68%), hsl(calc(var(--gh) + 16) 88% 50%));
  box-shadow: 0 30px 80px -30px hsl(var(--gh) 90% 55% / .9);
  transform: rotate(3deg); animation: scFloat 8s ease-in-out infinite alternate;
}
@keyframes scFloat { to { transform: rotate(1.4deg) translateY(-8px); } }
.showcase__card {
  display: grid; gap: 14px; padding: 26px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(30, 36, 62, .55), rgba(14, 18, 32, .78));
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 30px 60px -30px rgba(0, 0, 0, .85);
}
[data-theme="light"] .showcase__card { background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .64)); border-color: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -30px rgba(40, 40, 90, .45); }
.showcase__label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-dot); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.showcase__label i { width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--gh) 95% 65%); box-shadow: 0 0 10px 2px hsl(var(--gh) 95% 65% / .8); }
.showcase__task { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -.03em; }
.showcase__task span { display: block; margin-bottom: 4px; font-family: var(--font); font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--muted); }
.showcase__site { display: flex; align-items: center; gap: 12px; }
.showcase__mono { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 22px;
  background: linear-gradient(135deg, hsl(var(--gh) 95% 66%), hsl(calc(var(--gh) + 16) 88% 48%)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 18px -8px hsl(var(--gh) 90% 50% / .8); }
.showcase__site b { display: block; font-size: 18px; }
.showcase__site div span { display: block; font-size: 14px; color: var(--muted); }
.showcase__blurb { color: var(--muted); font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.showcase__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.showcase__actions .btn { font-size: 15px; padding: 11px 18px; }
.showcase__more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-left: 4px; }
.showcase__more span { font-family: var(--font-dot); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-right: 2px; }
.showcase__more a { font-size: 13.5px; color: var(--muted); text-decoration: none; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-soft); background: var(--glass); transition: border-color .2s ease, color .2s ease; }
.showcase__more a:hover { color: var(--ink); border-color: var(--accent-ink); }
html[data-motion="off"] .showcase__stack::before { animation: none; }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="on"]) .showcase__stack::before { animation: none; } }
.finder__shell { grid-template-columns: minmax(0, 1fr); border-width: 2px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .18), 0 0 10px rgba(255, 255, 255, .45), 0 0 26px rgba(196, 181, 253, .55),
    -34px 0 70px -14px rgba(217, 70, 239, .85), 34px 0 70px -14px rgba(59, 130, 246, .9),
    inset 0 0 18px rgba(196, 181, 253, .18), inset 0 0 40px rgba(99, 102, 241, .14); }
.finder--prompt:focus-within .finder__shell {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .28), 0 0 14px rgba(255, 255, 255, .6), 0 0 34px rgba(196, 181, 253, .7),
    -40px 0 90px -12px rgba(217, 70, 239, 1), 40px 0 90px -12px rgba(59, 130, 246, 1),
    inset 0 0 22px rgba(196, 181, 253, .24), inset 0 0 48px rgba(99, 102, 241, .2); }
.finder__bar, .finder--prompt .finder__box { min-width: 0; }

/* Unbounded is wide and tightly fitted already: keep its tracking near neutral so letters never touch. */
.wordmark { letter-spacing: .005em; font-size: clamp(27px, 8.6vw, 100px); }
.wordmark .dot { letter-spacing: .005em; }
.ftr__big { letter-spacing: 0; font-size: 7.9vw; }
.hero__title { letter-spacing: -.005em; }
h2, .h2, .phero__title, .showcase__task { letter-spacing: -.012em; }
.hero__stats dt, .stat__n, .fav__n, .step__n { letter-spacing: -.01em; }
.bigtype__row { letter-spacing: -.01em; }

/* /texts/ SMS opt-in call to action */
.sms-cta { text-align: center; padding: 28px 24px; margin: 0 0 18px; }
.sms-cta .sms-cta__line { color: var(--ink); font-size: 22px; margin: 0 0 14px; }
.sms-cta p:last-child { margin: 0; }
.sms-cta__terms { font-size: 15px; }

/* ---------- Compact folders (smaller, tighter) ---------- */
.cats { gap: 30px 20px; padding: 18px 0 8px; }
.cat { margin-top: 12px; }
.cat__back { border-radius: 4px 16px 16px 16px; inset: 0 0 4px 0; box-shadow: 0 16px 30px -18px hsl(var(--h) var(--s) 55% / .8); }
.cat__back::before, .cat__back::after { top: -13px; height: 15px; }
.cat__back::before { border-radius: 12px 0 0 0; width: 32%; }
.cat__back::after { left: calc(32% - 9px); width: 30px; border-radius: 0 12px 0 0; }
.cat__sheet { left: 12px; right: 12px; top: 6px; height: 30px; }
.cat__sheet--b { left: 20px; right: 20px; top: 2px; }
.cat__front { display: grid; grid-template-columns: 40px 1fr; align-items: center; column-gap: 12px; row-gap: 6px; min-height: 0; margin-top: 22px; padding: 14px 16px 14px; }
.cat__front::before { border-radius: 14px; inset: 0 -4px; }
.cat__front .cat__icon { grid-row: 1; grid-column: 1; width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.cat__front .cat__icon .gi { width: 28px; height: 28px; }
.cat__front h3 { grid-column: 2; font-size: 17px; line-height: 1.2; }
.cat__front p { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat__front .cat__count { grid-column: 1 / -1; margin-top: 2px; padding-top: 0; font-size: 11.5px; }
.cat:hover .cat__sheet { transform: translateY(-14px) rotate(-2.4deg); }
.cat:hover .cat__sheet--b { transform: translateY(-8px) rotate(2.6deg); }
@media (max-width: 560px) { .cats { gap: 28px; } }
