/* ============================================================
   Pagelove demo index — core mode (light editorial).
   Tokens, grid, and type scale per DESIGN.md, cross-checked
   against the live page.love css/foundations.css.
   ============================================================ */

/* Source Serif 4, self-hosted. DESIGN.md: ship the real font file
   rather than declaring a family and relying on a silent fallback —
   page.love's own foundations.css records headlines having silently
   rendered in the Georgia fallback for months. Same variable WOFF the
   live site serves. Inter and Fira Code fall back to system stacks,
   matching page.love, which self-hosts neither. */
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/SourceSerif4-Variable.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Fira Code", "SFMono-Regular", Consolas, monospace;

  /* Core palette */
  --bg: #FFFFFF;
  --text-primary: #45556C;
  --text-secondary: #90A1B9;
  --text-muted: #6F7E94;
  --text-warm: #65644A;

  /* DESIGN.md sets a 4.5:1 body / 3:1 large-text rule, but two of its own
     palette tokens miss it against the white ground: --text-secondary is
     2.63:1 and --text-muted is 4.13:1. The tokens stay as the design system
     defines them; these are the tones actually used for rendered text. */
  --text-secondary-aa: #788CAA;   /* 3.00:1 -- large text only */
  --text-muted-aa: #647287;       /* 4.74:1 -- #69788D rounded to 4.495 */
  --border: #E2E8F0;
  --btn-primary: #1D293D;
  --btn-secondary-border: #9FABDD;
  --nav-link: #45556C;
  --nav-link-hover: #2D3A4E;
  --gradient-main: linear-gradient(95.1deg, #7665B2 0%, #646444 100%);
  --gradient-btn-hover: linear-gradient(157.71deg, #6D66CB 2.31%, #9F6467 97.12%);

  /* Grid — mobile default (300–699px) */
  --grid-margin: 24px;
  --grid-gutter: 16px;
  --content-max: 1150px;
  --content-narrow: 680px;
}

@media (min-width: 700px) {
  :root { --grid-margin: 48px; --grid-gutter: 16px; }
}
@media (min-width: 901px) {
  :root { --grid-margin: 64px; --grid-gutter: 24px; }
}

*, *::before, *::after { box-sizing: border-box; }

/* A long unbroken token must wrap rather than push its container past the
   layout. `anywhere` rather than `break-word`: only `anywhere` reduces
   min-content width, which is what a grid or flex item needs to shrink. */
h1, h2, h3, h4, p, li, a, span, strong, em, code, label, time,
button, input, textarea { overflow-wrap: anywhere; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* The platform injects a fixed "Powered by Pagelove" bar at the
     viewport bottom; reserve room so the footer clears it. */
  padding-block-end: 72px;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.bound {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--grid-margin);
}
.bound--narrow { max-width: var(--content-narrow); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
}
h1 { letter-spacing: -0.03em; }
h2, h3 { letter-spacing: -0.02em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--text-primary); text-decoration-color: var(--btn-secondary-border); text-underline-offset: 3px; }
a:hover { color: var(--nav-link-hover); }

:focus-visible {
  outline: 2px solid #7665B2;
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--btn-primary); color: #FFFFFF;
  padding: 12px 20px; border-radius: 0 0 14px 0; z-index: 100;
}
.skip:focus-visible { left: 0; }

code, .mono { font-family: var(--font-mono); }

/* ---------- Navigation ---------- */

.nav {
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 20px var(--grid-margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  min-height: 44px;
}
.wordmark svg { display: block; height: 26px; width: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.btn-primary { background: var(--btn-primary); color: #FFFFFF; }
.btn-primary:hover {
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -8px rgba(109, 102, 203, 0.55);
}
.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--btn-secondary-border);
}
.btn-secondary:hover { transform: translateY(-1px); border-color: #7665B2; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(56px, 9vw, 104px) clamp(40px, 6vw, 72px); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-warm);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(48px, 6.4vw, 72px);
  line-height: 1.08;
  max-width: 16ch;
  margin-bottom: 24px;
}
/* DESIGN.md: gradient text is reserved for one or two meaningful words. */
.grad {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.7;
  max-width: 62ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Section rhythm ---------- */

.section { padding-block: clamp(48px, 7vw, 88px); }
.section + .section { border-top: 1px solid var(--border); }

.section-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 {
  font-size: clamp(28px, 3.2vw, 32px);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-head p { color: var(--text-primary); }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-warm);
  margin-bottom: 10px;
}

/* ---------- The three flagship apps (narrative rows) ---------- */

.apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.app {
  display: grid;
  gap: 8px 28px;
  padding-block: 28px;
  border-top: 1px solid var(--border);
}
.app:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 901px) {
  .app { grid-template-columns: 4.5rem 1fr 15rem; align-items: start; }
}
.app-n {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  color: var(--text-secondary-aa);   /* decorative; heading carries the name */
}
.app h3 { font-size: 22px; margin-bottom: 6px; }
.app h3 a { text-decoration: none; }
.app h3 a:hover { text-decoration: underline; }
.app-body p { margin-bottom: 10px; }
.proves { font-size: 14px; color: var(--text-warm); font-family: var(--font-mono); line-height: 1.55; }
.app-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: start; }

/* ---------- Community demo groups ---------- */

.group { margin-bottom: clamp(36px, 5vw, 56px); }
.group:last-child { margin-bottom: 0; }
.group-head { max-width: 64ch; margin-bottom: 20px; }
.group-head h3 { font-size: 21px; margin-bottom: 8px; }
.group-head p { color: var(--text-primary); font-size: 15px; }

.demos { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--grid-gutter); }
@media (min-width: 700px) { .demos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .demos { grid-template-columns: repeat(3, 1fr); } }

/* Cards are light and thin-bordered; never nested (DESIGN.md). */
.demo {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 160ms ease, transform 160ms ease;
}
.demo:hover { border-color: var(--btn-secondary-border); transform: translateY(-1px); }
.demo h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin: 0;
}
.demo h4 a { text-decoration: none; }
.demo h4 a:hover { text-decoration: underline; }
.demo-kind {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-warm);
}
.demo p { font-size: 15px; line-height: 1.6; margin: 0; }
.demo-mech {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-primary);
}
.demo-mech b { font-weight: 500; }

.locked {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-warm);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 9px;
}

/* ---------- Evidence / code ---------- */

.evidence {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
/* NOTE: --text-muted (#6F7E94) is 4.13:1 on white — under the 4.5:1
   DESIGN.md requires for body-sized text. It is only safe at large
   sizes (>=24px, or >=18.66px bold, where the 3:1 rule applies), so
   small labels like this one use --text-primary (7.3:1) instead.
   --text-secondary (#90A1B9, 2.63:1) is decorative only. */
.evidence-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
pre {
  margin: 0;
  padding: 18px 16px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-primary);
}
.c-com { color: var(--text-muted-aa); }
.c-tag { color: #4A6FA5; }
.c-attr { color: #7665B2; }
.c-val { color: #4F7A52; }

.note {
  border-left: 4px solid #7665B2;
  background: #F8FAFC;
  border-radius: 10px;
  padding: 18px 22px;
  margin-block: 26px;
  font-size: 15px;
}
.note h3 { font-size: 17px; margin-bottom: 8px; }

.findings-list { margin: 0; padding-left: 1.15rem; }
.findings-list li { margin-bottom: 10px; }
.findings-list li:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */

.cta { text-align: center; }
.cta h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; margin-bottom: 16px; }
.cta p { margin-inline: auto; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */

.foot {
  border-top: 1px solid var(--border);
  padding-block: 36px;
  font-size: 14px;
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.foot p { max-width: 52ch; margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--nav-link); }
.foot a:hover { color: var(--nav-link-hover); }

/* ---------- Motion (CSS-only; content is visible without it) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .rise-1 { animation-delay: 0.05s; }
  .rise-2 { animation-delay: 0.20s; }
  .rise-3 { animation-delay: 0.35s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Presentation set ---------- */

.presentation-set { max-width: 1240px; }
.presentation-head { max-width: 68ch; }
.showcase-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.showcase {
  grid-column: span 6;
  min-width: 0;
}
.showcase:nth-child(1),
.showcase:nth-child(5) { grid-column: span 7; }
.showcase:nth-child(2),
.showcase:nth-child(6) { grid-column: span 5; }
.showcase a {
  min-height: 390px;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #FFFFFF;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease;
}
.showcase a:hover,
.showcase a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--btn-secondary-border);
  box-shadow: 0 24px 70px -46px rgba(29,41,61,0.46);
}
.showcase-art {
  position: relative;
  min-height: 210px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
}
.showcase-art i { font-style: normal; }
.showcase-copy { display: grid; gap: 4px; }
.showcase-copy small {
  font: 600 10px/1.3 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}
.showcase-copy strong {
  font: 400 25px/1.1 var(--font-serif);
  letter-spacing: -0.025em;
}
.showcase-copy em { font-style: normal; font-size: 14px; line-height: 1.45; }
.showcase-chips { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.showcase-chips b {
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.04em;
  opacity: 0.65;
}

.showcase-event .showcase-art {
  background:
    repeating-radial-gradient(ellipse at 90% 10%, transparent 0 16px, rgba(245,238,223,0.1) 17px 18px),
    #153A2D;
}
.showcase-event .showcase-art::before {
  content: "TRAIL PASS";
  width: 68%;
  padding: 26px 22px;
  color: #22382E;
  background: #F5EEDF;
  border-left: 7px solid #E46F3B;
  border-radius: 4px;
  box-shadow: 10px 12px rgba(0,0,0,0.12);
  font: 700 clamp(25px,4vw,42px)/1 Impact, sans-serif;
  letter-spacing: 0.04em;
  transform: rotate(-3deg);
}
.showcase-show .showcase-art { background: radial-gradient(circle at 35% 30%, rgba(125,242,198,0.28), transparent 28%), #0B0D12; color: #7DF2C6; }
.showcase-show .showcase-art i { font-size: 92px; text-shadow: 35px 34px #FF8A6B, -48px 50px rgba(255,255,255,0.16); }
.showcase-exchange .showcase-art { background: repeating-linear-gradient(0deg, transparent 0 26px, rgba(53,44,32,0.08) 27px), #E9D7B3; color: #A33F32; }
.showcase-exchange .showcase-art i { padding: 12px 18px; border: 5px double currentColor; font: 700 36px/1 Impact, sans-serif; letter-spacing: 0.08em; transform: rotate(-8deg); }
.showcase-accountability .showcase-art { background: #F1F5FB; color: #1E57FF; }
.showcase-accountability .showcase-art i { width: 126px; height: 126px; display: grid; place-items: center; border: 13px solid #DCE5FA; border-top-color: currentColor; border-right-color: currentColor; border-radius: 50%; font: 600 43px/1 system-ui, sans-serif; transform: rotate(8deg); }
.showcase-professional .showcase-art { background: repeating-linear-gradient(90deg, rgba(61,222,255,0.045) 0 1px, transparent 1px 46px), #071017; }
.showcase-professional .showcase-art::before { content: "07   24   13   09"; color: #3DDEFF; font: 500 clamp(20px,3vw,31px)/1.4 var(--font-mono); letter-spacing: 0.12em; }
.showcase-professional .showcase-art::after { content: "MEMBERS   THREADS   REPLIES   RESOURCES"; position: absolute; bottom: 54px; color: #7E95A6; font: 500 8px/1 var(--font-mono); letter-spacing: 0.16em; }
.showcase-directory .showcase-art { grid-template-columns: repeat(3, 58px); gap: 12px; background: #F4F2FA; }
.showcase-directory .showcase-art i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #302843; background: linear-gradient(145deg, #D8CCFF, #8D76D7); font: 600 14px/1 system-ui, sans-serif; }
.showcase-directory .showcase-art i:nth-child(2) { background: linear-gradient(145deg, #BFE4DD, #4C9B8E); }
.showcase-directory .showcase-art i:nth-child(3) { background: linear-gradient(145deg, #F2CEB4, #C97A58); }
.showcase-book .showcase-art { background: #F4E8D4; }
.showcase-book .showcase-art i { width: 118px; min-height: 166px; padding: 24px 17px; display: flex; align-items: flex-end; color: #FFF8ED; background: linear-gradient(145deg, #77323A, #3D2028); border-radius: 2px 7px 7px 2px; box-shadow: 9px 11px 20px -10px rgba(42,33,24,0.7); font: 600 21px/0.92 var(--font-serif); }
.showcase-idea .showcase-art { background: repeating-radial-gradient(circle, transparent 0 34px, rgba(112,231,214,0.13) 35px 36px), #07111F; color: #70E7D6; }
.showcase-idea .showcase-art i { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; box-shadow: 0 0 40px rgba(112,231,214,0.2); font: 600 24px/1 var(--font-mono); }

@media (max-width: 800px) {
  .showcase, .showcase:nth-child(n) { grid-column: span 12; }
  .showcase a { min-height: 350px; }
}


/* ---------- Hero wire panel ---------- */
/* The hero was one column on a 1150px measure. This fills the other half with
   the claim itself: an actual request one of the demos sends, and its reply.
   Set in the mono face, hairline-bounded, with colour spent only on the
   status code. */

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: 56px;
    align-items: start;
  }
  .hero .eyebrow, .hero h1, .hero .lede, .hero .hero-actions { grid-column: 1; }
  .hero .wire { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
}

.wire { margin-top: 40px; }
@media (min-width: 900px) { .wire { margin-top: 0; } }

.wire-h {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-aa);
  margin: 0 0 12px;
}
.wire-block {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-primary);
  background: #FBFCFD;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 0;
  overflow-x: auto;
  white-space: pre;
}
.wire-block b { font-weight: 600; color: var(--btn-primary); }
.wire-block .k { color: var(--text-muted-aa); }
.wire-res { margin-top: 10px; padding-block: 14px; }
.wire-res .ok {
  font-weight: 600;
  color: #1F7A4C;              /* 4.79:1 on #FBFCFD */
}
.wire-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted-aa);
  margin: 14px 2px 0;
  max-width: 42ch;
}

/* ---------- 21-demo featured selector ---------- */
.demo-selector{background:#202522;color:#f4efe7;padding-block:clamp(58px,8vw,100px)}
.demo-selector .kicker{color:#d19a79}.selector-intro{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(16rem,.6fr);gap:40px;align-items:end;margin-bottom:30px}.selector-intro h2{font-size:clamp(34px,4.5vw,52px);line-height:1.04;letter-spacing:-.04em;max-width:16ch;margin:0}.selector-intro>p{color:#c9c3b9;max-width:43ch;margin:0 0 5px}.selector-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.selector-filters button{font:600 12px/1 var(--font-mono);letter-spacing:.02em;color:#d9d3c9;background:#2c322f;border:1px solid #4b514d;border-radius:4px;padding:11px 13px;transition:background .18s,color .18s,border-color .18s,transform .18s}.selector-filters button span{color:#9d9890;margin-left:5px}.selector-filters button:hover{background:#373e3a;border-color:#747b75}.selector-filters button:active{transform:translateY(1px)}.selector-filters button.is-active{background:#efe7dc;color:#222724;border-color:#efe7dc}.selector-filters button.is-active span{color:#85563f}.selector-filters button:focus-visible,.preview-demo:focus-visible,.selector-card>a:focus-visible,.selector-feature a:focus-visible{outline:3px solid #e0a986;outline-offset:3px}
.selector-shell{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(23rem,.65fr);min-height:650px;border:1px solid #4a504c;background:#252b28;box-shadow:0 28px 80px rgba(8,12,10,.28)}.selector-feature{position:sticky;top:16px;align-self:start;min-width:0}.selector-feature-image{aspect-ratio:36/25;background:#363d39;overflow:hidden}.selector-feature-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:top center;transition:opacity .2s}.selector-feature-copy{padding:25px 27px 28px}.selector-feature-copy>p:first-child{font:600 11px/1.2 var(--font-mono);letter-spacing:.11em;text-transform:uppercase;color:#d7a181;margin:0 0 12px}.selector-feature h3{font-size:clamp(34px,4vw,48px);line-height:1;margin:0 0 10px;color:#fff}.selector-feature-copy>#selector-feature-description{color:#cbc5bb;max-width:54ch;margin:0 0 20px}.selector-feature a{display:inline-flex;align-items:center;gap:14px;color:#fff;font-weight:700;text-decoration:none;border-bottom:1px solid #787f79;padding-bottom:5px}.selector-feature a:hover{border-color:#e0a986;color:#f1c0a1}
.selector-catalogue{border-left:1px solid #4a504c;min-width:0}.selector-catalogue-head{position:sticky;top:0;z-index:2;background:#252b28eF;backdrop-filter:blur(10px);display:flex;justify-content:space-between;align-items:end;padding:22px;border-bottom:1px solid #4a504c}.selector-catalogue-head .kicker{margin-bottom:7px}.selector-catalogue-head h3{font-size:24px;color:#fff;margin:0}.selector-catalogue-head>p{font:500 11px/1 var(--font-mono);color:#aaa59c;margin:0 0 4px}.selector-list{max-height:800px;overflow:auto;scrollbar-color:#6c736e #292f2c}.selector-card{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;border-bottom:1px solid #454b47;background:#292f2c;transition:background .18s}.selector-card[hidden]{display:none}.selector-card:hover{background:#333a36}.selector-card.is-selected{background:#3b423e;box-shadow:inset 3px 0 #d79a75}.preview-demo{appearance:none;border:0;background:none;color:inherit;text-align:left;display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:center;width:100%;padding:12px;cursor:pointer}.preview-demo img{display:block;width:112px;height:72px;object-fit:cover;object-position:top;border:1px solid #555c57;background:#3d4540}.preview-demo span{min-width:0}.preview-demo small{display:block;font:600 9px/1.2 var(--font-mono);letter-spacing:.09em;text-transform:uppercase;color:#c88f6d;margin-bottom:6px}.preview-demo strong{display:block;color:#fff;font-family:var(--font-serif);font-size:18px;font-weight:400;line-height:1.12;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-demo em{display:block;color:#aaa59d;font-size:11.5px;font-style:normal;line-height:1.35;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selector-card>a{display:grid;place-items:center;color:#b8b1a7;text-decoration:none;border-left:1px solid #454b47;font-size:19px;transition:background .18s,color .18s}.selector-card>a:hover{background:#424945;color:#fff}
@media(max-width:900px){.selector-intro{grid-template-columns:1fr;gap:18px}.selector-shell{grid-template-columns:1fr}.selector-feature{position:relative;top:auto}.selector-catalogue{border-left:0;border-top:1px solid #4a504c}.selector-list{max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.selector-card:nth-child(odd){border-right:1px solid #454b47}}
@media(max-width:620px){.demo-selector .bound{width:min(100% - 24px,var(--max))}.selector-filters{display:grid;grid-template-columns:1fr 1fr}.selector-filters button{text-align:left}.selector-shell{border-radius:0}.selector-feature-copy{padding:21px}.selector-list{grid-template-columns:1fr}.selector-card:nth-child(odd){border-right:0}.preview-demo{grid-template-columns:96px minmax(0,1fr)}.preview-demo img{width:96px;height:66px}.selector-intro h2{font-size:36px}.selector-catalogue-head{padding:18px}}
@media(prefers-reduced-motion:reduce){.selector-filters button,.selector-feature-image img,.selector-card,.selector-card>a{transition:none}}
