/* Grip Diamond: a jeweller's spec sheet. Night-blue, one faceted gem, four prismatic group colours, hairline tables. */
:root {
  --night: #0d0b1f;
  --night2: #17143a;
  --ink: #15132e;
  --mute: #5d5a78;
  --faint: #8d8aa6;
  --line: #e6e4f1;
  --paper: #ffffff;
  --ice: #f2f3fd;
  --gen: #22c3e6;
  --qual: #6d7bff;
  --win: #b06cff;
  --grow: #ff5fa2;
  --prism: linear-gradient(100deg, #22c3e6 0%, #6d7bff 38%, #b06cff 68%, #ff5fa2 100%);
  --sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; margin: 10px 0 14px; }
h3 { font-size: 19px; font-weight: 700; }
em { font-style: normal; background: var(--prism); -webkit-background-clip: text; background-clip: text; color: transparent; }
section { padding: 72px 0; }
.ice { background: var(--ice); }
.sub { color: var(--mute); max-width: 720px; margin: 0 0 36px; }
.mt { margin-top: 56px; }

.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #cfd3ff; }
.kicker.dark { color: var(--qual); }
.stamp { font-size: 13px; letter-spacing: 0.04em; color: #a9a6c9; margin: 22px 0 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--mute); border: 1px dashed #c9c6dc; border-radius: 999px; padding: 3px 10px; }

/* header */
.top { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 17px; letter-spacing: 0.02em; }
.logo .mark { width: 30px; height: 23px; color: #9fa8ff; }
.logo b { font-weight: 700; margin-left: 4px; }
.menu { display: flex; gap: 22px; flex: 1; }
.menu a { text-decoration: none; font-size: 15px; color: #d9d7ef; }
.menu a:hover { color: #fff; }
.right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; overflow: hidden; }
.lang a { font-size: 12.5px; font-weight: 700; padding: 5px 10px; text-decoration: none; color: #bdbad8; }
.lang a.on { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--prism); color: var(--night); font-weight: 700; font-size: 15.5px; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 0; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn.sm { padding: 8px 15px; font-size: 14px; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn.ghost.dark { color: var(--ink); border-color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* hero */
.hero, .phead { background: radial-gradient(900px 420px at 85% 10%, rgba(109, 123, 255, 0.28), transparent 70%), radial-gradient(700px 380px at 10% 100%, rgba(255, 95, 162, 0.16), transparent 70%), var(--night); color: #fff; }
.hero { padding: 76px 0 56px; }
.hero-grid, .phead-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { margin: 16px 0 20px; }
.lede { font-size: 19px; color: #d8d6ee; max-width: 620px; margin: 0; }
.lede.dark { color: var(--mute); }
.gem-wrap { text-align: center; }
.gem { width: 100%; max-width: 460px; filter: drop-shadow(0 18px 40px rgba(109, 123, 255, 0.35)); }
.gem-wrap.small .gem { max-width: 320px; }
.gem .f { stroke: rgba(13, 11, 31, 0.85); stroke-width: 1.5; transition: opacity 0.2s, filter 0.2s; }
.gem .g-generate { fill: var(--gen); }
.gem .g-qualify { fill: var(--qual); }
.gem .g-win { fill: var(--win); }
.gem .g-grow { fill: var(--grow); }
.gem .f.off { fill-opacity: 0.58; }
.gem a.fa { cursor: pointer; outline: none; }
.gem a.fa:hover .f, .gem a.fa:focus-visible .f { fill-opacity: 1; filter: brightness(1.18); stroke: #fff; stroke-width: 2.5; }
.gem .cur { stroke: #fff; stroke-width: 3.5; fill-opacity: 1; }
.gem text { font-family: var(--sans); font-weight: 700; pointer-events: none; }
.gem text.on { fill: #0d0b1f; }
.gem text.off { fill: rgba(255, 255, 255, 0.82); }
.gem-cap { margin: 12px 0 0; min-height: 1.5em; font-size: 14.5px; color: #a9a6c9; }
.gem-cap.on { color: #fff; font-weight: 600; }
.gem .rim { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; }
.legend { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 18px 0 0; font-size: 13.5px; color: #cfcde6; }
.legend span { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: 0; }
.legend .g-generate span { background: var(--gen); }
.legend .g-qualify span { background: var(--qual); }
.legend .g-win span { background: var(--win); }
.legend .g-grow span { background: var(--grow); }
.legend small { color: #8d8aa6; margin-left: 3px; font-variant-numeric: tabular-nums; }
.legend.states { margin-top: 8px; }
.legend .st span.solid { background: #cfd3ff; }
.legend .st span.faded { background: rgba(207, 211, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(207, 211, 255, 0.6); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r); overflow: hidden; }
.tile { background: rgba(13, 11, 31, 0.85); padding: 22px 24px; }
.tile b { display: block; font-size: 38px; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--prism); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile span { font-size: 14px; color: #bdbad8; }

/* page head */
.phead { padding: 44px 0 56px; }
.phead h1 { font-size: clamp(30px, 4.2vw, 50px); margin: 14px 0 18px; }
.answer { font-size: 18.5px; color: #e3e1f5; margin: 0; max-width: 760px; }
.crumbs { font-size: 13.5px; color: #a9a6c9; display: flex; gap: 8px; margin-bottom: 24px; }
.crumbs a { color: #d9d7ef; }

/* chips and groups */
.chip { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--night); padding: 5px 12px; border-radius: 999px; }
.chip.g-generate { background: var(--gen); }
.chip.g-qualify { background: var(--qual); }
.chip.g-win { background: var(--win); }
.chip.g-grow { background: var(--grow); }
.group { margin-top: 40px; }
.gh { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.gh span { width: 34px; height: 6px; border-radius: 3px; }
.group.g-generate .gh span { background: var(--gen); }
.group.g-qualify .gh span { background: var(--qual); }
.group.g-win .gh span { background: var(--win); }
.group.g-grow .gh span { background: var(--grow); }
.facets { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.facet { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.facet::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; }
.facet.g-generate::before { background: var(--gen); }
.facet.g-qualify::before { background: var(--qual); }
.facet.g-win::before { background: var(--win); }
.facet.g-grow::before { background: var(--grow); }
.facet .fn { font-size: 13px; font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums; }
.facet h3 a { text-decoration: none; }
.facet h3 a:hover { text-decoration: underline; }
.facet .def { margin: 0; color: var(--mute); font-size: 15.5px; }
.facet dl { margin: 4px 0 6px; display: grid; gap: 8px; }
.facet dl div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; font-size: 14px; }
.facet dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding-top: 2px; }
.facet dd { margin: 0; }
.facet .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--qual); text-decoration: none; }
.facet.off { background: #fbfbfe; }
.facet.off .tag { margin-top: auto; align-self: flex-start; }

/* latest */
.latest { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 26px; }
.latest h3 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.latest ul { list-style: none; padding: 0; margin: 0; }
.latest li { display: grid; grid-template-columns: 150px 150px 1fr; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.latest time { color: var(--mute); font-variant-numeric: tabular-nums; }

/* method */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.mcard { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.mcard span { font-size: 13px; font-weight: 700; color: var(--faint); }
.mcard h3 { margin: 8px 0 8px; }
.mcard p { margin: 0; color: var(--mute); font-size: 15.5px; }

/* facet spec */
.spec { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 18px 0 0; }
.spec div { padding: 18px 18px 20px; border-right: 1px solid var(--line); }
.spec div:last-child { border-right: 0; }
.spec dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--qual); margin-bottom: 8px; }
.spec dd { margin: 0; font-size: 15px; }

/* benchmarks */
.tablewrap { overflow-x: auto; margin-top: 18px; }
table.bench { width: 100%; border-collapse: collapse; font-size: 15px; }
.bench th { text-align: left; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--ink); }
.bench td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bench td.v { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bench td.sc { color: var(--mute); font-size: 14px; max-width: 360px; }
.bench td.src a { font-weight: 700; }
.bench td.src small { display: block; color: var(--faint); font-size: 12.5px; margin-top: 3px; }
.bench tr.grp th { font-size: 13px; letter-spacing: 0.08em; color: var(--ink); background: var(--ice); border-bottom: 1px solid var(--line); border-left: 5px solid var(--qual); padding: 12px 14px; }
.bench tr.grp.g-generate th { border-left-color: var(--gen); }
.bench tr.grp.g-win th { border-left-color: var(--win); }
.bench tr.grp.g-grow th { border-left-color: var(--grow); }
.bench tr.grp th a { text-decoration: none; }
.fine { font-size: 13px; color: var(--faint); margin: 12px 0 0; }

/* prose */
.prose h2 { margin-top: 44px; font-size: clamp(23px, 2.6vw, 30px); }
.prose p, .prose li { font-size: 17.5px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 8px 0; }

/* who */
.who { display: grid; grid-template-columns: 220px 1fr; background: var(--night); color: #fff; border-radius: 20px; overflow: hidden; margin-top: 22px; }
.who-side { background: radial-gradient(240px 200px at 50% 30%, rgba(109, 123, 255, 0.4), transparent 70%), var(--night2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px 18px; text-align: center; }
.rank { font-size: 76px; font-weight: 700; line-height: 1; background: var(--prism); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rank span { font-size: 22px; margin-right: 4px; }
.who-cap { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #bdbad8; }
.who-main { padding: 30px 32px; }
.who-main h3 { font-size: 24px; }
.who-main p { color: #d8d6ee; }
.who-main ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.who-main li b { display: block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #9fa8ff; margin-bottom: 4px; }
.who-main li span { font-size: 15px; color: #e3e1f5; }
.who .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.alt-row { color: var(--mute); font-size: 15.5px; margin: 16px 0 0; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 17.5px; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 24px; color: var(--qual); }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0; color: var(--mute); }

/* footer */
footer { background: var(--night); color: #cfcde6; padding: 56px 0 30px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 0.6fr; gap: 36px; }
.foot p { max-width: 380px; color: #a9a6c9; }
.foot h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #8d8aa6; margin: 0 0 12px; }
.foot h4.sp { margin-top: 20px; }
.foot a:not(.logo) { display: block; text-decoration: none; color: #d9d7ef; margin: 7px 0; }
.foot a:not(.logo):hover { color: #fff; }
.legal-line { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 36px; padding-top: 18px; font-size: 13px; color: #8d8aa6; }

/* small screens */
@media (max-width: 960px) {
  .hero-grid, .phead-grid { grid-template-columns: 1fr; gap: 32px; }
  .gem-wrap { order: -1; }
  .gem { max-width: 340px; }
  .gem-wrap.small .gem { max-width: 240px; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec div { border-bottom: 1px solid var(--line); }
  .mgrid { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .who-main ul { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  section { padding: 54px 0; }
  .wrap { padding: 0 16px; }
  .menu { display: none; }
  .top-in { gap: 12px; justify-content: space-between; }
  .right .btn { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .spec div { border-right: 0; }
  .latest li { grid-template-columns: 1fr; gap: 4px; }
  .foot { grid-template-columns: 1fr; }
  table.bench, .bench tbody, .bench tr, .bench td { display: block; width: 100%; }
  .bench thead { display: none; }
  .bench tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .bench td { border: 0; padding: 4px 0; }
  .bench td::before { content: attr(data-l); display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
  .bench tr.grp { padding: 0; }
  .bench tr.grp th { display: block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
