/* KeyVex datasets page, light style (keyvex.com/datasets-v2, 2026-11-19).
   Derek: same LAYOUT as the live /datasets page, new STYLE. So this is the live page's own inline stylesheet, rule for
   rule, with the same sizes, spacing and grid; only colours, backgrounds and the headline font change to the light
   design's. Loaded after /light/landing/landing.css + landing-site.css, which bring the fonts, the light header, the
   "Connect your AI" dialog and the colour tokens (--paper, --ink, --green, --line, --lime, --white). */
.ds2l{
  --bg:#f5f4ef; --ink:#1d261e; --soft:#4b5944; --muted:#66715e; --dim:#7e8a71;
  --accent:#365f32; --teal:#547d38; --warn:#a07a12; --red:#b3323f;
  --border:#d8dccf;
  --panel:#fffef8;
  --font:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,system-ui,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --topbar:0px;
}
.ds2l *,.ds2l *::before,.ds2l *::after{box-sizing:border-box}
body.ds2l{font-family:var(--font);color:var(--ink);background:var(--bg);min-height:100vh;
  position:relative;overflow-x:hidden;overflow-x:clip;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

/* ═══ Background: plain paper like landing-v2 (Derek 2026-11-20: "doesn't quite match the vibe"). The live page's
   grid lines and glows are gone; only one soft mint wash sits low on the right, the landing's own band colours. ═══ */
.ds2l .bg{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:var(--bg)}
.ds2l .bg .glow,.ds2l .bg .grid,.ds2l .bg .vignette{display:none}
.ds2l .bg::after{content:"";position:absolute;right:-12%;bottom:-30%;width:70vw;height:70vh;border-radius:50%;
  background:radial-gradient(closest-side,rgba(216,237,220,.75),rgba(217,239,240,.35) 55%,transparent);filter:blur(30px)}
/* Top bar: solid paper edge to edge with the landing's hairline under it (Derek: "should have the white background
   like the landing-v2 has"; before, the grid and glow showed through it). */
/* Edge to edge on screens wider than the 1600px header: a spread shadow, clipped to the bar's height, paints past
   its sides. (A wider box would add sideways scroll; a shadow never does.) */
.ds2l .header{z-index:50;position:relative;isolation:isolate;background:var(--paper,#f5f4ef)}
.ds2l .header::before,.ds2l .header::after{content:"";position:absolute;z-index:-1;left:0;right:0;pointer-events:none;
  clip-path:inset(0 -100vmax)}
.ds2l .header::before{top:0;bottom:0;background:var(--paper,#f5f4ef);box-shadow:0 0 0 100vmax var(--paper,#f5f4ef)}
.ds2l .header::after{bottom:-1px;height:1px;background:var(--line,#d8dccf);box-shadow:0 0 0 100vmax var(--line,#d8dccf)}

/* search */
.ds2l .tb-search{flex:1 1 auto;max-width:440px;margin:0 auto;display:flex;align-items:center;gap:9px;
  height:36px;padding:0 14px;border-radius:100px;border:1px solid #d4dec8;
  background:#fbfcf6;color:var(--dim);cursor:text;transition:.16s;box-shadow:0 5px 12px rgba(35,82,56,.08)}
.ds2l .tb-search:hover{border-color:#c4cfb6}
.ds2l .tb-search:focus-within{border-color:#8fb877;box-shadow:0 0 0 3px #d6f2a466}
.ds2l .tb-search svg{width:15px;height:15px;flex:0 0 auto;color:var(--muted)}
.ds2l .tb-search input{flex:1 1 auto;min-width:0;font-size:13.5px;font-family:inherit;color:var(--ink);
  background:transparent;border:0;outline:0;padding:0}
.ds2l .tb-search input::placeholder{color:var(--dim)}
.ds2l .tb-search input::-webkit-search-cancel-button{display:none}
.ds2l .tb-search .kbd{flex:0 0 auto;font-family:var(--mono);font-size:11px;font-weight:600;color:var(--muted);
  border:1px solid var(--border);background:#eef3e6;border-radius:5px;padding:1px 7px;line-height:1.4}

/* clear (X) button, visible only while there's a query */
.ds2l .tb-clear{display:none;flex:0 0 auto;align-items:center;justify-content:center;width:20px;height:20px;
  padding:0;border:0;border-radius:50%;background:#e3ecd6;color:var(--muted);cursor:pointer;transition:.15s}
.ds2l .tb-clear:hover{background:#d6e3c5;color:var(--ink)}
.ds2l .tb-clear svg{width:11px;height:11px}
.ds2l .tb-search.has-q .tb-clear{display:flex}
.ds2l .tb-search.has-q .kbd{display:none}

/* search suggestions dropdown */
.ds2l .tb-search{position:relative}
.ds2l .tb-sugg{display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:60;
  background:#fffef8;border:1px solid var(--border);border-radius:12px;padding:6px;
  box-shadow:0 18px 40px -18px rgba(42,61,34,.35);max-height:min(420px,60vh);overflow-y:auto}
.ds2l .tb-sugg.show{display:block}
.ds2l .sg-row{display:flex;align-items:baseline;gap:10px;padding:9px 12px;border-radius:8px;
  text-decoration:none;cursor:pointer}
.ds2l .sg-row .sg-nm{flex:0 1 auto;font-size:13.5px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds2l .sg-row .sg-cat{flex:1 1 auto;font-size:11px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.ds2l .sg-row:hover,.ds2l .sg-row.on{background:#eef3e6}
.ds2l .sg-row.on .sg-nm{color:var(--accent)}
.ds2l .search-empty{display:none;margin:34px 0 60px;padding:22px 24px;border:1px dashed #c8d6b8;
  border-radius:12px;color:var(--dim);font-size:14px;background:var(--panel)}
.ds2l .search-empty b{color:var(--accent);font-weight:600}
body.ds2l.searching .search-empty.show{display:block}

.ds2l .ds-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 18px}.ds2l .ds-toolbar .tb-search{margin:0;max-width:520px}
.ds2l .tb-burger{display:none;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;
  border:1px solid var(--border);background:var(--panel);color:var(--soft);cursor:pointer;flex:0 0 auto}
.ds2l .tb-burger svg{width:18px;height:18px}

/* ═══ Body grid ═══ */
.ds2l .shell{position:relative;z-index:10;display:grid;grid-template-columns:248px minmax(0,1fr)}

/* ═══ Sidebar ═══ */
.ds2l .sidebar{position:sticky;top:var(--topbar);align-self:start;height:calc(100vh - var(--topbar));
  overflow-y:auto;padding:24px 14px 60px;border-right:1px solid var(--border)}
.ds2l .sidebar::-webkit-scrollbar{width:9px}
.ds2l .sidebar::-webkit-scrollbar-thumb{background:rgba(54,95,50,.15);border-radius:9px;border:2px solid transparent;background-clip:padding-box}
.ds2l .sidebar::-webkit-scrollbar-thumb:hover{background:rgba(54,95,50,.32);background-clip:padding-box}
.ds2l .sb-group{margin:0 0 22px}
.ds2l .sb-label{font-size:10px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase;color:#69795b;
  padding:0 12px;margin-bottom:9px}
/* sidebar links: the landing's pill chips (rounded, the active one raised on white) */
.ds2l .sb-link{display:block;text-decoration:none;color:var(--soft);font-size:13.5px;font-weight:500;line-height:1.4;
  padding:6px 12px;border-radius:100px;border:1px solid transparent;transition:background .14s,color .14s,box-shadow .14s}
.ds2l .sb-link:hover{color:var(--ink);background:#edf2e4}
.ds2l .sb-link.active{color:#15291c;font-weight:600;background:#fbfcf6;border-color:#d4dec8;box-shadow:0 5px 12px rgba(35,82,56,.10)}
.ds2l .sb-link.mono{font-family:var(--mono);font-size:12.5px}

/* sidebar drawer scrim (mobile) */
.ds2l .scrim{position:fixed;inset:0;z-index:45;background:rgba(29,38,30,.25);backdrop-filter:blur(2px);
  opacity:0;pointer-events:none;transition:opacity .2s}
.ds2l .scrim.show{opacity:1;pointer-events:auto}

/* ═══ Content column ═══ */
.ds2l .content{min-width:0;padding:30px 40px 90px}
.ds2l .dx{max-width:820px}

.ds2l .dx .page-head{margin:0 0 8px}
/* headline in the landing's display face, with its green gradient on the highlighted words */
.ds2l .dx h1{font:700 36px/1.1 'Keyvex Display',Arial,sans-serif;letter-spacing:-.035em;color:#17241b;
  scroll-margin-top:80px;margin:4px 0 16px}
.ds2l .dx h1 .g{font-style:italic;color:#547d38;
  background:linear-gradient(90deg,#38632d 0%,#547d38 25%,#6d9144 50%,#547d38 75%,#38632d 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;padding-right:.06em}
@media (max-width:560px){.ds2l .dx h1{font-size:32px}}
.ds2l .dx .lede{color:var(--soft);font-size:16px;line-height:1.7;margin:0 0 8px}
.ds2l .dx p{color:var(--soft);font-size:15px;line-height:1.7;margin:0 0 14px}
.ds2l .dx a{color:var(--accent);text-decoration:none}
.ds2l .dx a:hover{color:var(--teal);text-decoration:underline}
.ds2l .dx code{font-family:var(--mono);font-size:.88em;background:#e7eedc;
  border:1px solid #d0dac4;border-radius:5px;padding:1px 6px;color:#2a4b25}

/* ═══ Datasets catalog list ═══ */
.ds2l .dx .quick{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:14px;color:var(--muted);margin:0 0 6px}
.ds2l .dx .quick a{color:var(--accent);font-weight:600;text-decoration:none}
.ds2l .dx .quick a:hover{color:var(--teal);text-decoration:underline}
.ds2l .dx .quick code{font-family:var(--mono);font-size:12.5px;color:#2a4b25;background:#e7eedc;
  border:1px solid #d0dac4;border-radius:6px;padding:2px 7px}

.ds2l .cat{margin-top:46px;scroll-margin-top:80px}
/* category title: the landing's section-heading voice (Inter bold, tight), not a small green caps label */
.ds2l .cat h2{font:700 21px/1.25 Inter,Arial,sans-serif;letter-spacing:-.03em;color:#0f2b18;
  margin:0 0 4px;padding:0;border-top:none}
.ds2l .cat .cnt{font-size:10px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase;color:#69795b;margin-bottom:14px}
/* the list sits in the landing's card: soft paper-to-mint gradient, 18px corners, its layered shadow */
.ds2l .cat .grid{display:flex;flex-direction:column;border:1px solid #d4dec8;border-radius:18px;
  background:linear-gradient(125deg,#fffefb 0%,#f4f7ec 72%,#edf3e0 100%);overflow:hidden;
  box-shadow:0 2px 3px rgba(51,74,32,.063),0 11px 18px -11px rgba(52,77,44,.267),inset 0 1px 0 #fff}
.ds2l .card{display:grid;grid-template-columns:1fr auto;grid-template-areas:"nm sl" "ds ds";column-gap:16px;row-gap:3px;
  align-items:baseline;padding:13px 18px;border-top:1px solid #e3e8da;transition:background .12s;text-decoration:none}
.ds2l .cat .grid > .card:first-child{border-top:none}
.ds2l .card:hover{background:rgba(214,242,164,.22)}
/* matched card while a search is active, faint green tint */
.ds2l .card.hit{background:#f5f9ec;box-shadow:inset 2px 0 0 #8fb877}
.ds2l .card.hit .nm{color:var(--accent)}
.ds2l .card.hit:hover{background:#eef5e2}
.ds2l .card .nm{grid-area:nm;font-weight:600;font-size:15px;color:var(--ink)}
.ds2l .card .ds{grid-area:ds;color:var(--muted);font-size:12.5px;line-height:1.5}
.ds2l .card .sl{grid-area:sl;display:flex;align-items:baseline;gap:7px;font-family:var(--mono);font-size:11.5px;
  color:#4f6744;white-space:nowrap}
.ds2l .card .sl::after{content:"→";color:var(--accent);font-family:var(--font);font-weight:700}

/* footer cta: the deep green of the light design's featured plan */
.ds2l .foot{margin-top:60px;padding:26px 24px;border:1px solid #2d4b2e;border-radius:16px;
  background:radial-gradient(120% 160% at 100% 0%,#4c7a3f 0%,#2d4b2e 50%,#22392a 100%);
  display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px}
.ds2l .foot .ft{font-weight:700;font-size:17px;color:#fff}
.ds2l .dx .foot p{color:#cfe0bd;font-size:14px;flex:1 1 320px;line-height:1.55;margin:0}
.ds2l .dx .foot a.btn{padding:10px 16px;border-radius:9px;font-weight:600;font-size:14px;text-decoration:none;
  border:1px solid #d6f2a4;background:#d6f2a4;color:#1d261e}
.ds2l .dx .foot a.btn:hover{background:#e6f9c4}
.ds2l .dx .foot a.ln{color:#d6f2a4;font-weight:600;font-size:14px;text-decoration:none}
.ds2l .dx .foot a.ln:hover{color:#fff;text-decoration:underline}

/* the shared site footer line, in the light colours */
.ds2l .dx .kvx-foot{color:var(--muted);border-top-color:var(--border)}
.ds2l .dx .kvx-foot a{color:var(--muted)}
.ds2l .dx .kvx-foot a:hover{color:var(--accent)}

/* ═══ Responsive ═══ */
@media (max-width:900px){
  .ds2l .tb-burger{display:flex}
  .ds2l .tb-search{max-width:none}
  /* drop the stacking context so the fixed drawer can sit ABOVE the body-level scrim */
  .ds2l .shell{grid-template-columns:1fr;z-index:auto}
  .ds2l .sidebar{position:fixed;top:0;left:0;z-index:46;width:268px;height:100vh;
    padding-top:calc(68px + 18px);background:#f5f4ef;
    transform:translateX(-100%);transition:transform .22s ease;border-right:1px solid var(--border);
    box-shadow:2px 0 30px rgba(42,61,34,.18)}
  .ds2l .sidebar.open{transform:translateX(0)}
  .ds2l .content{padding:24px 20px 80px}
}
@media (max-width:520px){
  .ds2l .tb-search .kbd{display:none}
}
@media (prefers-reduced-motion:reduce){.ds2l *{animation:none!important;transition:none!important}}

/* Mobile: stack each catalog row so the slug sits under the dataset name */
@media (max-width:560px){
  .ds2l .card{grid-template-columns:1fr;grid-template-areas:"nm" "sl" "ds"}
  .ds2l .card .sl{justify-self:start}
}
