:root {
  --plum: #261b3d;
  --plum2: #3a2b58;
  --milk: #f7f5fb;
  --lilac: #ebe5f6;
  --lilac2: #ddd3ef;
  --violet: #6a3fc9;
  --gold: #f1bf4b;
  --text: #241f2e;
  --soft: #625a70;
  --r: 14px;
  --body: "Manrope", "Segoe UI", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--plum);
  background-image: radial-gradient(circle at 15% 0%, #3b2a5c 0%, transparent 55%), radial-gradient(circle at 90% 100%, #33244f 0%, transparent 50%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; }
button { font-family: inherit; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--gold); color: var(--plum); padding: 8px 12px; border-radius: 8px; }

:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--gold); border-radius: 6px; }

/* strip on top */
.strip { background: #1a1229; color: #e9e3f5; font-size: 12px; padding: 9px 0; }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--gold);
  color: var(--plum);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}
.strip-code { font-family: var(--mono); color: var(--gold); }

/* header */
.head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--milk);
  box-shadow: 0 6px 24px rgba(20, 12, 36, .18);
}
.head .wrap { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo strong { font-size: 19px; font-weight: 800; color: var(--plum); }
.logo strong span { color: var(--violet); }
.logo small { font-family: var(--mono); font-size: 11px; color: var(--soft); }
.nav { display: flex; gap: 6px; font-size: 14px; font-weight: 600; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--soft); }
.nav a:hover { background: var(--lilac); color: var(--plum); }
.nav a[aria-current="page"] { background: var(--plum); color: var(--gold); }
.live { font-family: var(--mono); font-size: 12px; display: flex; align-items: center; gap: 8px; color: var(--soft); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #3fbf7f; box-shadow: 0 0 0 4px rgba(63, 191, 127, .2); }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: var(--plum);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger i { width: 20px; height: 2px; background: var(--gold); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger i:nth-child(2) { opacity: 0; }
.nav-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  z-index: 29;
  background: var(--milk);
  padding: 24px 20px;
  overflow-y: auto;
}
.nav-open .mobile-nav { display: block; }
.mobile-nav a { display: block; padding: 15px 16px; margin-bottom: 6px; border-radius: 10px; background: var(--lilac); font-size: 19px; font-weight: 700; color: var(--plum); }
.mobile-nav a[aria-current="page"] { background: var(--plum); color: var(--gold); }
.mobile-nav p { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--soft); }
.nav-open .cookie { display: none; }

/* first screen */
.hero { padding: 54px 0 34px; color: #f4f0fb; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 30px; align-items: end; }
.eyebrow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin: 0 0 12px; }
.hero h1 { font-size: 48px; line-height: 1.08; font-weight: 800; }
.hero h1 span { color: var(--gold); }
.lede { font-size: 18px; max-width: 44rem; color: #d6cfe4; margin: 16px 0 0; }
.lede a { color: var(--gold); font-weight: 700; }

.snap { background: var(--milk); color: var(--text); border-radius: var(--r); overflow: hidden; }
.snap img { width: 100%; height: 170px; object-fit: cover; }
.snap-in { padding: 16px 18px; }
.snap-top, .snap-row { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; }
.snap-top { color: var(--soft); background: var(--lilac); margin: -16px -18px 12px; padding: 10px 18px; }
.snap-row strong { display: block; font-family: var(--body); font-size: 21px; font-weight: 800; color: var(--plum); }

.tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 12px;
  background: rgba(247, 245, 251, .1);
  border-radius: var(--r);
}
.pills { display: flex; align-items: center; gap: 6px; overflow-x: auto; font-family: var(--mono); font-size: 12px; }
.pills > span { color: #cfc6e0; margin-right: 4px; }
.pill {
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
  padding: 7px 11px;
  border: 0;
  border-radius: 7px;
  background: rgba(247, 245, 251, .14);
  color: #f4f0fb;
  cursor: pointer;
}
.pill:hover { background: rgba(247, 245, 251, .24); }
.pill.on { background: var(--gold); color: var(--plum); }
.find {
  font-family: var(--mono);
  font-size: 12px;
  min-width: 250px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--milk);
  color: var(--text);
}

/* the list */
.registry { padding: 6px 0 30px; }
.sheet { background: #fff; border-radius: var(--r); overflow: hidden; }
.sheet-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 15px 18px;
  background: var(--lilac);
}
.sheet-head h2 { font-size: 17px; font-weight: 800; }
.count { font-family: var(--mono); font-size: 12px; font-weight: 500; background: var(--plum); color: var(--gold); padding: 3px 9px; border-radius: 5px; margin-left: 8px; }
.window { font-family: var(--mono); font-size: 12px; color: var(--soft); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--soft); padding: 11px 14px; background: var(--milk); }
td { padding: 14px; vertical-align: top; }
tbody tr:nth-child(even) td { background: #faf8fd; }
tbody tr:hover td { background: #f3eefb; }
.op { font-weight: 800; color: var(--plum); }
.sub { font-size: 12px; color: var(--soft); margin-top: 2px; }
.lic { font-family: var(--mono); font-size: 12px; background: var(--lilac); padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.sc { font-family: var(--mono); white-space: nowrap; }
.sc b { font-size: 15px; color: var(--plum); }
.meter { display: inline-block; vertical-align: middle; width: 60px; height: 7px; margin-left: 6px; border-radius: 4px; background: var(--lilac); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--violet); }
.ok { font-size: 12px; font-weight: 700; color: #2c9a63; white-space: nowrap; }
.open {
  font-family: var(--mono);
  font-size: 12px;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: var(--lilac);
  color: var(--plum);
  cursor: pointer;
  white-space: nowrap;
}
.open:hover { background: var(--plum); color: var(--gold); }
.empty td { text-align: center; padding: 30px; color: var(--soft); }
.sheet-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 11px 18px; font-size: 12px; color: var(--soft); background: var(--milk); }

/* checks */
.checks { background: var(--milk); border-radius: var(--r); padding: 34px 30px; }
.checks .eyebrow { color: var(--violet); }
.checks h2 { font-size: 30px; font-weight: 800; color: var(--plum); }
.checks > p { color: var(--soft); max-width: 46rem; }
.crits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 20px; }
.crit { background: #fff; padding: 16px 14px; border-radius: 12px; }
.crit::before { content: ""; display: block; width: 26px; height: 6px; border-radius: 3px; background: var(--violet); margin-bottom: 12px; }
.crit:nth-child(even)::before { background: var(--gold); }
.crit h3 { font-size: 15px; margin-bottom: 4px; color: var(--plum); }
.crit p { margin: 0; font-size: 13px; color: var(--soft); }

/* labs */
.labs-wrap { padding: 30px 0; }
.labs-box {
  background: var(--plum2);
  color: #f1ecf9;
  border-radius: var(--r);
  padding: 30px;
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 26px;
}
.labs-box h2 { font-size: 28px; margin-bottom: 10px; }
.labs-box p { color: #d3cbe2; }
.labs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lab { background: rgba(255, 255, 255, .08); padding: 10px 12px; border-radius: 10px; min-width: 120px; }
.lab strong { display: block; color: var(--gold); font-size: 14px; }
.lab span { font-family: var(--mono); font-size: 11px; color: #bfb5d3; }
.log { background: rgba(0, 0, 0, .18); border-radius: 12px; overflow: hidden; font-family: var(--mono); font-size: 12px; }
.log img { width: 100%; height: 140px; object-fit: cover; }
.log ul { padding: 12px 14px; }
.log li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; }
.log li span:last-child { color: var(--gold); text-align: right; }

/* inner pages */
.page-top { padding: 54px 0 28px; color: #f4f0fb; }
.page-top h1 { font-size: 42px; font-weight: 800; line-height: 1.1; }
.page-top p { font-size: 18px; color: #d6cfe4; max-width: 44rem; margin: 14px 0 0; }

.card { background: var(--milk); border-radius: var(--r); padding: 32px 30px; margin-bottom: 16px; }
.card h2 { font-size: 26px; font-weight: 800; color: var(--plum); margin-bottom: 12px; }
.card h3 { font-size: 17px; color: var(--plum); margin: 18px 0 6px; }
.card p, .card li { color: #4a4357; }
.card p { margin: 0 0 12px; }
.card.dark { background: var(--plum2); }
.card.dark h2 { color: #fff; }
.card.dark p, .card.dark li { color: #d3cbe2; }

.duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.duo img { width: 100%; border-radius: 12px; object-fit: cover; max-height: 440px; }

.ticks li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 3px; background: var(--violet); }
.card.dark .ticks li::before { background: var(--gold); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.grid2 div { background: #fff; border-radius: 12px; padding: 16px; }
.grid2 h3 { margin-top: 0; }
.grid2 p { margin: 0; font-size: 15px; }

.weights { margin-top: 14px; max-width: 720px; }
.weights li { display: grid; grid-template-columns: 190px 1fr 48px; gap: 14px; align-items: center; padding: 6px 0; }
.weights .meter { width: 100%; height: 10px; margin: 0; background: rgba(255, 255, 255, .12); }
.weights .meter i { background: var(--gold); }
.weights b { font-family: var(--mono); color: var(--gold); text-align: right; }

.help { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.help a { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 16px; }
.help a:hover { background: rgba(255, 255, 255, .14); }
.help b { display: block; color: var(--gold); }
.help span { font-size: 14px; color: #d3cbe2; }

/* legal */
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: start; }
.toc { background: var(--milk); border-radius: var(--r); padding: 20px; position: sticky; top: 90px; }
.toc b { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--violet); margin-bottom: 8px; }
.toc a { display: block; padding: 5px 0; font-size: 14px; color: var(--soft); }
.toc a:hover { color: var(--violet); }
.doc-body section + section { margin-top: 26px; }
.doc-body h2 { font-size: 21px; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.facts-row div { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 14px; }
.facts-row b { display: block; color: var(--gold); font-size: 15px; }
.facts-row span { font-size: 13px; color: #d3cbe2; }

.store { width: 100%; font-size: 14px; margin-top: 10px; border-radius: 12px; overflow: hidden; }
.store th { background: var(--plum); color: var(--gold); }
.store td { background: #fff; }
.store tr:nth-child(even) td { background: var(--lilac); }
.store td:first-child { font-family: var(--mono); font-weight: 500; color: var(--plum); }
.reset {
  border: 0;
  border-radius: 9px;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 18px;
  cursor: pointer;
  margin-right: 12px;
}
.reset:hover { background: #5631a8; }
.state-note { font-family: var(--mono); font-size: 13px; color: var(--soft); }

/* footer */
.foot { background: var(--milk); padding: 40px 0 22px; font-size: 14px; margin-top: 20px; }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.foot-cols p { color: var(--soft); margin: 10px 0 0; }
.foot h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--violet); margin-bottom: 10px; }
.foot li { margin-bottom: 6px; }
.foot li a:hover { color: var(--violet); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 28px;
  padding: 12px 16px;
  background: var(--lilac);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--soft);
}

/* modal */
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(16, 10, 28, .74); }
.modal.on { display: flex; }
.dialog { width: 100%; max-width: 760px; max-height: 90vh; overflow: auto; background: var(--milk); border-radius: var(--r); }
.dialog-head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px; background: var(--plum); color: #f4f0fb; }
.dialog-head h3 { font-size: 20px; margin-top: 8px; }
.dialog-head p { margin: 4px 0 0; font-family: var(--mono); font-size: 12px; color: var(--gold); }
.close { align-self: flex-start; font-family: var(--mono); font-size: 12px; padding: 8px 11px; border: 0; border-radius: 7px; background: var(--gold); color: var(--plum); cursor: pointer; }
.dialog-body { padding: 18px 20px 22px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metrics div, .pair, .fineprint { background: #fff; border-radius: 10px; padding: 11px 12px; }
.metrics span { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); margin-bottom: 4px; }
.metrics strong { font-size: 15px; color: var(--plum); }
.idbox { margin-top: 10px; background: var(--plum); color: #f4f0fb; border-radius: 10px; padding: 12px; font-family: var(--mono); font-size: 12px; }
.idbox code { color: var(--gold); word-break: break-all; }
.dialog h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--violet); margin: 16px 0 8px; }
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.pair b { font-family: var(--mono); color: var(--violet); }
.fineprint { margin-top: 10px; background: #fff6df; font-size: 14px; }

/* cookie */
.cookie {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 70;
  width: min(440px, calc(100% - 32px));
  background: var(--plum);
  color: #f1ecf9;
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .4);
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 16px; margin-bottom: 6px; color: var(--gold); }
.cookie p { font-size: 13px; color: #d3cbe2; margin: 0 0 14px; }
.cookie p a { color: #fff; font-weight: 700; }
.cookie-btns { display: flex; gap: 8px; }
.cookie-btns button { flex: 1; border: 0; border-radius: 9px; padding: 11px; font-weight: 700; font-size: 14px; cursor: pointer; }
.c-decline { background: var(--plum2); color: #f1ecf9; }
.c-decline:hover { background: #4a3870; }
.c-accept { background: var(--gold); color: var(--plum); }
.c-accept:hover { background: #ffcd5c; }

@media (max-width: 960px) {
  .nav, .live { display: none; }
  .burger { display: flex; }
  .hero-grid, .labs-box, .duo { grid-template-columns: 1fr; }
  .crits { grid-template-columns: repeat(2, 1fr); }
  .foot-cols, .help, .facts-row { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; }

  /* table turns into cards */
  .sheet table, .sheet tbody, .sheet tr, .sheet td { display: block; }
  .sheet thead { display: none; }
  .sheet tbody tr { padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
  .sheet tbody tr[hidden] { display: none; }
  .sheet td.first, .sheet td.last, .empty td { grid-column: 1 / -1; }
  .sheet tbody tr:nth-child(even) { background: #faf8fd; }
  .sheet td { padding: 4px 0; background: transparent !important; }
  .sheet td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); }
  .sheet td.first { padding-bottom: 8px; }
  .sheet td.last { padding-top: 10px; }
  .empty td { text-align: left; }
}

@media (max-width: 640px) {
  .hero { padding-top: 34px; }
  .hero h1 { font-size: 32px; }
  .page-top h1 { font-size: 30px; }
  .lede, .page-top p { font-size: 16px; }
  .find { min-width: 0; width: 100%; }
  .crits, .foot-cols, .metrics, .pairs, .grid2, .help, .facts-row { grid-template-columns: 1fr; }
  .checks, .card, .labs-box { padding: 24px 18px; }
  .checks h2 { font-size: 24px; }
  .weights li { grid-template-columns: 1fr 44px; gap: 4px 10px; }
  .weights .meter { grid-column: 1 / -1; grid-row: 2; }
  .store thead { display: none; }
  .store tr, .store td { display: block; }
  .store td { padding: 6px 12px; }
  .store tr { margin-bottom: 8px; }
  .cookie { left: 10px; bottom: 10px; width: calc(100% - 20px); }
}

@media (hover: none) {
  body { background-attachment: scroll; background-image: none; }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 15% 0%, #3b2a5c 0%, transparent 55%), radial-gradient(circle at 90% 100%, #33244f 0%, transparent 50%), var(--plum);
  }
}
#list, #checks, #labs, #notice { scroll-margin-top: 84px; }

/* text-only panels that replaced photos */
.snap-row + .snap-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--lilac); }
.log-title { padding: 12px 14px 0; color: #d3cbe2; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
