
  :root {
    --violet: light-dark(#833CEF, #b794ff);
    --ink: light-dark(#17141C, #f4f0fa);
    --ink-2: light-dark(rgba(23, 20, 28, 0.74), rgba(223,218,230,0.74));
    --ink-3: light-dark(rgba(23, 20, 28, 0.54), rgba(223,218,230,0.54));
    --canvas: light-dark(#F7F5F2, #15111d);
    --warm: light-dark(#F7F3EC, #2d2414);
    --lav: light-dark(#F0EBF8, #272033);
    --night: #15111D;
    --font-head: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow: 0 1px 2px rgba(23, 20, 28, 0.05), 0 18px 44px -30px rgba(23, 20, 28, 0.32);
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
  h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
  ul, ol { list-style: none; }
  a { color: inherit; }
  button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
  :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
  .wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }

  /* ---------- navigation ---------- */
  .nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 64px; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
  .nav.scrolled { background: var(--canvas); box-shadow: 0 1px 2px rgba(23, 20, 28, 0.05), 0 8px 24px -14px rgba(23, 20, 28, 0.25); }
  .nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; max-width: 1288px; margin: 0 auto; padding: 0 32px; }
  .logo { font-family: var(--font-head); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
  .logo span { color: var(--violet); }
  .links { display: flex; gap: 32px; }
  .links a { font-size: 16px; color: var(--ink-2); text-decoration: none; transition: color 0.2s ease; } .links a:hover { color: var(--ink); }
  .gcta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color 0.2s ease; }
  .gcta:hover { background: var(--violet); }
  .bar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 70; background: var(--violet); transform-origin: left; transform: scaleX(0); }

  .eyebrow { margin-bottom: 14px; color: var(--violet); font-size: 15px; font-weight: 600; line-height: 1.4; }
  h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -0.028em; text-wrap: balance; }
  .js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
  .js .rv.in { opacity: 1; transform: none; }

  /* ---------- hero ---------- */
  .hero { background: var(--canvas); padding: 150px 0 150px; text-align: center; }
  h1 { max-width: 12em; margin: 0 auto; font-family: var(--font-head); font-weight: 600; font-size: clamp(42px, 6vw, 84px); line-height: 1.04; letter-spacing: -0.038em; text-wrap: balance; }
  h1 em { font-style: normal; color: var(--violet); }
  .lede { margin: 22px auto 0; max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
  .search { position: relative; margin: 40px auto 0; max-width: 620px; text-align: left; }
  .search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .search svg.mag { position: absolute; left: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; fill: none; stroke: var(--ink-3); stroke-width: 1.9; stroke-linecap: round; pointer-events: none; }
  .search input { width: 100%; height: 64px; padding: 0 24px 0 56px; border: 0; border-radius: 999px; background: light-dark(#fff, #272033); font: inherit; font-size: 17px; color: var(--ink); box-shadow: 0 1px 2px rgba(23, 20, 28, 0.05), 0 18px 44px -26px rgba(23, 20, 28, 0.4); outline: none; transition: box-shadow 0.25s ease; }
  .search input::placeholder { color: var(--ink-3); }
  .search input:focus { box-shadow: 0 0 0 3px rgba(131, 60, 239, 0.35), 0 18px 44px -26px rgba(23, 20, 28, 0.4); }
  .hits { position: absolute; left: 0; right: 0; top: 74px; z-index: 20; padding: 10px; border-radius: 26px; background: light-dark(#fff, #272033); box-shadow: 0 2px 4px rgba(23, 20, 28, 0.06), 0 34px 70px -30px rgba(23, 20, 28, 0.5); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.2s ease, transform 0.3s var(--ease); max-height: 380px; overflow: auto; }
  .hits.open { opacity: 1; transform: none; pointer-events: auto; }
  .hit { display: block; width: 100%; padding: 12px 16px; border-radius: 16px; transition: background-color 0.2s ease; }
  .hit:hover, .hit.act { background: var(--lav); }
  .hit b { display: block; font-size: 16px; font-weight: 600; } .hit span { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-3); }
  .none { padding: 18px 16px; font-size: 16px; color: var(--ink-2); }

  /* ---------- the browser ---------- */
  .browse { position: relative; z-index: 2; margin-top: -72px; padding-bottom: 110px; }
  .hb { display: grid; grid-template-columns: 290px 340px minmax(0, 1fr); min-height: 600px; border-radius: 34px; background: light-dark(#fff, #272033); box-shadow: 0 2px 4px rgba(23, 20, 28, 0.05), 0 40px 90px -46px rgba(23, 20, 28, 0.5); overflow: hidden; }
  .col { padding: 30px 22px 26px; min-width: 0; }
  .c1 { background: var(--warm); }
  .c2 { background: light-dark(#FBF9F6, #292012); }
  .c3 { background: light-dark(#fff, #272033); padding: 40px 46px 34px; }
  .col .k { padding: 0 10px 14px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
  .cat { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; width: 100%; padding: 14px 14px; border-radius: 18px; transition: background-color 0.25s ease; }
  .cat:hover { background: light-dark(rgba(255, 255, 255, 0.6), rgba(26,24,30,0.6)); }
  .cat .no { grid-row: span 2; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink-3); transition: color 0.25s ease; }
  .cat b { font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
  .cat small { font-size: 14px; color: var(--ink-3); }
  .cat[aria-selected="true"] { background: light-dark(#fff, #272033); box-shadow: 0 1px 2px rgba(23, 20, 28, 0.05), 0 10px 26px -16px rgba(23, 20, 28, 0.3); }
  .cat[aria-selected="true"] .no { color: var(--violet); }
  .c2 .head { padding: 0 10px 18px; }
  .c2 .head h3 { font-family: var(--font-head); font-weight: 600; font-size: 24px; letter-spacing: -0.015em; }
  .c2 .head p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
  .art { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; width: 100%; padding: 14px 14px; border-radius: 18px; transition: background-color 0.25s ease, transform 0.4s var(--ease); }
  .art:hover { background: light-dark(rgba(240, 235, 248, 0.7), rgba(30,20,45,0.7)); }
  .art .n { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: light-dark(#fff, #272033); box-shadow: 0 1px 2px rgba(23, 20, 28, 0.1); font-size: 13px; font-weight: 600; color: var(--ink-2); transition: background-color 0.25s ease, color 0.25s ease; }
  .art b { font-size: 16px; font-weight: 600; line-height: 1.3; } .art small { font-size: 14px; line-height: 1.4; color: var(--ink-3); }
  .art[aria-current="true"] { background: var(--lav); }
  .art[aria-current="true"] .n { background: var(--violet); color: #fff; box-shadow: none; }
  .list-in { transition: opacity 0.25s ease, transform 0.4s var(--ease); }
  .read-in { transition: opacity 0.25s ease, transform 0.45s var(--ease); }
  .swap { opacity: 0; transform: translateY(10px); }
  .c3 .cn { font-size: 14px; font-weight: 600; color: var(--violet); }
  .c3 h3 { margin-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.025em; max-width: 18em; text-wrap: balance; }
  .c3 .pur { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--ink-3); }
  .body { margin-top: 30px; max-width: 34em; }
  .body p { font-size: 18px; line-height: 1.65; color: var(--ink); }
  .body p + p, .body p + ul, .body p + ol, .body ul + p, .body ol + p { margin-top: 18px; }
  .body li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
  .body li + li { margin-top: 12px; }
  .body ul svg { width: 24px; height: 24px; margin-top: 0; fill: none; stroke: var(--violet); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .body ol { counter-reset: s; } .body ol li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lav); font-size: 13px; font-weight: 600; color: var(--violet); }
  .nextrow { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; }
  .nextrow button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 600; } .nextrow button:hover { color: var(--violet); }
  .nextrow span { transition: transform 0.2s var(--ease); } .nextrow .nx:hover span { transform: translateX(4px); } .nextrow .pv:hover span { transform: translateX(-4px); }

  /* ---------- closing ---------- */
  .end { position: relative; z-index: 7; margin-top: -36px; border-radius: 40px 40px 0 0; background: var(--night); color: light-dark(#F4F0FA, #1d132b); box-shadow: 0 -22px 50px -30px rgba(23, 20, 28, 0.45); }
  .end-cta { padding: 120px 32px 90px; text-align: center; }
  .end-cta h2 { margin: 0 auto; max-width: 16em; color: #F4F0FA; }
  .end-cta p { margin: 18px auto 0; max-width: 32em; font-size: 18px; line-height: 1.6; color: rgba(244, 240, 250, 0.72); }
  .acts { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; align-items: center; }
  .end-cta .gcta { min-height: 52px; padding: 0 30px; font-size: 16px; background: #fff; color: var(--night); } .end-cta .gcta:hover { background: var(--violet); color: #fff; }
  .end-cta .tl { font-size: 16px; font-weight: 600; text-decoration: none; color: #F4F0FA; } .end-cta .tl:hover { color: #B794FF; }
  .foot { max-width: 1240px; margin: 0 auto; padding: 36px 32px 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; border-top: 1px solid light-dark(rgba(255, 255, 255, 0.1), rgba(26,24,30,0.1)); font-size: 14.5px; color: light-dark(rgba(244, 240, 250, 0.6), rgba(29,19,43,0.6)); }
  .foot a { text-decoration: none; margin-right: 22px; } .foot a:hover { color: #fff; }

  @media (max-width: 1099px) { .hb { grid-template-columns: 250px minmax(0, 1fr); } .c3 { grid-column: 1 / -1; padding: 34px 34px 30px; } .hb { min-height: 0; } .c1, .c2 { min-height: 420px; } }
  @media (max-width: 859px) {
    .nav-in { padding: 0 20px; } .links { display: none; }
    .hero { padding: 108px 0 120px; } .browse { margin-top: -56px; padding-bottom: 64px; }
    .hb { grid-template-columns: minmax(0, 1fr); border-radius: 28px; }
    .c1, .c2 { min-height: 0; } .c1 { padding: 22px 16px 14px; } .c1 .cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; } .c1 .cats::-webkit-scrollbar { display: none; }
    .cat { flex: none; width: auto; grid-template-columns: auto; padding: 12px 18px; background: light-dark(rgba(255, 255, 255, 0.55), rgba(26,24,30,0.55)); } .cat .no, .cat small { display: none; } .cat b { font-size: 16px; white-space: nowrap; }
    .c3 { padding: 28px 22px 26px; }
    .end { border-radius: 28px 28px 0 0; margin-top: -24px; }
  }
  @media (max-width: 599px) { .wrap, .end-cta, .foot { padding-left: 16px; padding-right: 16px; } .lede, .end-cta p { font-size: 17px; } .body p { font-size: 17px; } .search input { height: 58px; font-size: 16px; } .hits { top: 68px; } }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } .list-in, .read-in, .hits, .art, .cat { transition: none; } }
