/* gethop.lol: one stylesheet for the home page, the download page and the docs. */
@font-face {
  font-family: "Pretendard Std"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("/fonts/PretendardStdVariable.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-weight: 100 800; font-style: normal; font-display: swap;
  src: url("/fonts/JetBrainsMono.woff2") format("woff2");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: color-mix(in srgb, var(--brand) 60%, transparent); }
html { color-scheme: dark; }
html, body {
  --header-height: 72px; --footer-height: 87px;
  --brand: #3551f3;
  --gray-0: #0f0f11; --gray-1: #16161a; --gray-2: #242428; --gray-3: #4c4c50; --gray-4: #828286;
  --gray-5: #959597; --gray-6: #c3c3c4; --gray-7: #dbdbdc; --gray-8: #eaeaeb; --gray-9: #f0f0f4;
  --note: #61aeee; --tip: #98c379; --important: #c678dd; --warning: #e6c07b; --caution: #e06c75;
  --code-fg: #abb2bf;
  --sans: "Pretendard Std", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  background: var(--gray-0); max-width: 100vw;
}
body { font-family: var(--sans); font-size: 16px; color: #fff; -webkit-font-smoothing: antialiased; }
body.noScroll { overflow: hidden; }
a { color: var(--gray-9); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.grid { width: 100%; max-width: 1700px; margin: 0 auto; padding: 0 40px; position: relative; }

/* ---- navbar ---- */
.navbar {
  z-index: 5; height: var(--header-height); background: var(--gray-0);
  border-bottom: 1px solid var(--gray-2); position: sticky; top: 0;
}
.navbar .grid { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 26px; font-weight: 500; letter-spacing: -0.01em; }
.logo img { width: 32px; height: 32px; display: block; }
.desktopLinks { display: flex; align-items: center; }
.desktopLinks ul { display: flex; gap: 30px; list-style: none; }
.link { display: flex; align-items: center; text-decoration: none; }
.link svg { margin-left: 4px; }
.link svg path { transition: transform .1s ease-in-out; }
.link:hover svg path:not(:first-of-type) { transform: translate(2px, -2px); }
.desktopLinks ul a, .footer ul a { color: var(--gray-5); }
.desktopLinks ul a:hover, .footer ul a:hover { color: var(--gray-9); }
.desktopLinks ul a.active { text-decoration: underline; }
.button {
  display: flex; justify-content: center; align-items: center; text-decoration: none;
  --button-color: var(--gray-3); border: 1px solid var(--button-color); border-radius: 6px;
  padding: 10px 34px; font-size: 16px; transition: background-color .15s;
}
.button.brand { --button-color: var(--brand); }
button.button { font-family: inherit; color: var(--gray-9); background: none; cursor: pointer; }
.button:hover { background-color: var(--button-color); }
.button.medium { padding: 6px 18px; font-size: 15px; }
.desktopLinks .button { margin-left: 30px; }

.menuToggle {
  display: none; appearance: none; cursor: pointer; touch-action: manipulation; height: var(--header-height);
  background: none; border: none; margin: 0 -24px 0 0; padding: 0 24px; font-size: 16px;
}
.hamburger { width: 24px; height: 1em; position: relative; }
.hamburger i { background: #fff; border-radius: 1px; width: 100%; height: 2px; position: absolute; left: 0; transition: transform .1s ease-in-out, opacity .1s ease-in-out; }
.hamburger i:nth-child(1) { transform: translateY(0); }
.hamburger i:nth-child(2) { transform: translateY(calc(.5em - 1px)); }
.hamburger i:nth-child(3) { transform: translateY(calc(1em - 2px)); }
.menuToggle[aria-expanded=true] i:nth-child(1) { transform: translateY(.5em) rotate(45deg); }
.menuToggle[aria-expanded=true] i:nth-child(2) { opacity: 0; }
.menuToggle[aria-expanded=true] i:nth-child(3) { transform: translateY(.5em) rotate(-45deg); }
.mobileContent {
  display: none; overflow: auto; background: var(--gray-0); height: calc(100dvh - var(--header-height));
  border-top: 1px solid var(--gray-2); padding: 24px;
}
.mobileContent[data-open=true] { display: block; }

/* ---- nav tree (sidebar and mobile menu) ---- */
.navTree ul { display: flex; flex-direction: column; list-style: none; }
.navTree li { width: 100%; margin-bottom: 2px; }
.navTree a, .navTree summary {
  display: block; font-size: 16px; line-height: 16px; padding: 12px 6px; border-radius: 5px; text-decoration: none;
}
.navTree a { color: var(--gray-5); font-weight: 400; }
.navTree a:hover { background: var(--gray-2); color: var(--gray-9); }
.navTree a.active { background: var(--brand); color: var(--gray-9); }
.navTree summary {
  display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none;
  color: var(--gray-6); font-weight: 500; margin-bottom: 2px;
}
.navTree summary::-webkit-details-marker { display: none; }
.navTree summary:hover { color: var(--gray-9); background: var(--gray-2); }
.navTree summary svg { transition: transform .2s; }
.navTree details[open] > summary svg { transform: rotate(-180deg); }
.navTree details > ul { margin-left: 12px; }
.navTree hr { border: none; border-bottom: 1px solid var(--gray-2); margin: 20px 0; }

/* ---- docs layout ---- */
.docsPage { display: flex; justify-content: center; max-width: 100%; }
.sidebar {
  width: 320px; flex: none; scrollbar-gutter: stable; border-right: 1px solid var(--gray-2);
  position: sticky; top: var(--header-height); overflow: hidden auto;
  max-height: calc(100vh - var(--header-height)); min-height: calc(100vh - var(--header-height) - var(--footer-height));
}
.sidebar > div { padding: 26px 16px; }
.contentWrapper { display: flex; flex-grow: 1; margin: 24px auto 88px; max-width: min(1083px, calc(100vw - 320px)); }
.docsContent { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; padding: 0 24px; max-width: min(800px, calc(100vw - 603px)); }
.breadcrumbsBar { border-bottom: 1px solid var(--gray-2); padding: 12px 0 30px; }
.breadcrumbs { display: flex; flex-wrap: wrap; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; color: var(--gray-5); }
.breadcrumbs a { text-decoration: none; font-weight: 400; }
.breadcrumbs a:hover, .breadcrumbs a.active { text-decoration: underline; }
.breadcrumbs svg { margin: 0 10px; color: var(--gray-5); }
.heading { border-bottom: 1px solid var(--gray-2); padding: 30px 0; }
.heading h1 { font-size: 35px; font-weight: 500; line-height: 1.2em; color: var(--gray-9); }
.heading p { color: var(--gray-5); max-width: 70%; margin-top: 8px; line-height: 1.4em; }

.sidecar {
  flex: none; width: 235px; margin: 84px 24px 0; position: sticky; top: calc(var(--header-height) + 24px);
  height: min(600px, 100vh - var(--header-height) - 132px); overflow-y: auto;
}
.sidecar ul { list-style: none; }
.sidecar li { --item: var(--gray-4); border-left: 2px solid var(--item); padding: 2px 0 2px 20px; line-height: 1.4em; overflow-wrap: break-word; }
.sidecar li.d3 { padding-left: 28px; }
.sidecar li:hover { --item: var(--gray-6); }
.sidecar li.active { --item: var(--gray-8); }
.sidecar a { color: var(--item); text-decoration-line: none; }
.sidecar a:hover, .sidecar li.active a { text-decoration-line: underline; }

/* ---- docs prose ---- */
.mdx > p { margin: .8em 0; }
.mdx p, .mdx li { color: var(--gray-5); font-size: 16px; line-height: 1.6em; }
.mdx strong { color: var(--gray-6); font-weight: 500; }
.mdx a { font-weight: 500; text-underline-offset: 2px; }
.mdx > ul, .mdx > ol { margin: 16px 0; padding-left: 42px; }
.mdx h2, .mdx h3 { color: var(--gray-9); font-weight: 500; line-height: 1.2em; scroll-margin-top: calc(var(--header-height) + 16px); }
.mdx h2 { font-size: 25px; margin: 52px 0 20px; }
.mdx h3 { font-size: 18px; margin: 39px 0 15px; }
.mdx h2 + h3 { margin-top: 0; }
.mdx hr { border: none; border-bottom: 1px solid var(--gray-2); margin: 42px 0; }
.mdx :not(pre) > code {
  font-family: var(--mono); font-size: 15px; line-height: 1.25em; border: 1px solid var(--gray-3);
  background: var(--gray-2); color: var(--gray-9); border-radius: 4px; margin: -1px 0; padding: 1px 6px;
}
.codeBlock { border: 1px solid var(--gray-3); border-radius: 5px; margin: 16px 0; font-size: 16px; position: relative; overflow: hidden; }
.codeBlock code { display: block; overflow-x: auto; font-family: var(--mono); padding: 16px; color: var(--code-fg); background: var(--gray-1); }
.codeBlock .c { color: #5c6370; font-style: italic; }
.copyButton {
  display: flex; background-color: var(--gray-2); cursor: pointer; color: var(--gray-6); opacity: 0; border: none; border-radius: 5px;
  padding: 4px; transition: background-color .25s ease-in-out, opacity .25s ease-in-out; position: absolute; top: 12px; right: 12px;
}
.codeBlock:hover .copyButton, .copyButton:focus { opacity: 1; }
.copyButton:hover { background-color: var(--gray-3); }
.copyButton.done { color: var(--tip); }

.callout { border-left: 3px solid var(--callout); margin: 32px 0; padding: 6px 20px; }
.callout.note { --callout: var(--note); }
.callout.tip { --callout: var(--tip); }
.callout.important { --callout: var(--important); }
.callout.warning { --callout: var(--warning); }
.callout.caution { --callout: var(--caution); }
.callout .calloutHeader { display: flex; align-items: center; color: var(--callout); font-weight: 500; margin-bottom: 14px; line-height: 1.4em; }
.callout .calloutHeader svg { margin-right: 8px; }

.mdx table { table-layout: auto; border-collapse: collapse; margin: 32px 0; display: block; overflow: auto; }
.mdx th, .mdx td { color: var(--gray-5); text-align: start; padding: 10px 16px 10px 2px; line-height: 1.4em; }
.mdx th { color: var(--gray-7); vertical-align: bottom; font-weight: 600; }
.mdx tr { border-bottom: 1px solid var(--gray-2); }
.mdx thead tr { border-bottom-color: var(--gray-3); }

.cardLinks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 16px 0; list-style: none; padding: 0 !important; }
.cardLinks li { border: 1px solid var(--gray-2); border-radius: 10px; }
.cardLinks li:hover { background-color: var(--gray-2); }
.cardLinks a { display: block; padding: 20px; text-decoration: none; font-weight: 400; }
.cardLinks b { display: block; color: var(--gray-9); font-weight: 500; margin-bottom: 10px; }
.cardLinks span { color: var(--gray-4); line-height: 1.4em; }

.scrollTop {
  display: none; background: var(--gray-2); color: var(--gray-9); cursor: pointer; z-index: 10; border: none; border-radius: 5px;
  justify-content: center; align-items: center; width: 40px; height: 40px; position: fixed; bottom: 20px; right: 20px;
}
.scrollTop.show { display: flex; }
.scrollTop:hover { background: var(--gray-3); }

/* ---- footer ---- */
.footer { background: var(--gray-0); border-top: 1px solid var(--gray-2); padding: 32px 0; }
.footer .grid { display: flex; justify-content: space-between; align-items: center; }
.footer ul { display: flex; gap: 40px; list-style: none; }
.footer p { color: var(--gray-5); }
.footer p a { color: var(--gray-6); text-underline-offset: 2px; }
.footer p a:hover { color: var(--gray-9); }

/* ---- home ---- */
.homePage {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px;
  min-height: calc(100dvh - var(--header-height)); padding: 32px 16px;
}
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: min(1280px, 100%, calc((100svh - 400px) * 32 / 9 + 20px)); }
.window { min-width: 0; border: 1px solid var(--gray-3); border-radius: 10px; overflow: hidden; background: var(--gray-0); }
.titlebar {
  position: relative; height: 36px; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--gray-2); font-size: 14px; color: var(--gray-5); user-select: none;
}
.titlebar img { width: 16px; height: 16px; margin-right: 6px; }
.caption { position: absolute; right: 0; top: 0; bottom: 0; display: flex; }
.caption span { width: 44px; display: grid; place-items: center; color: var(--gray-3); }
.caption svg { width: 10px; height: 10px; }
.screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.screen video, .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tagline { max-width: 62ch; text-align: center; color: var(--gray-5); line-height: 1.4em; text-wrap: balance; }
.tagline b { color: var(--gray-6); font-weight: 500; }
.buttonsList { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.meta { font-size: 14px; color: var(--gray-4); text-align: center; font-variant-numeric: tabular-nums; }

/* ---- download ---- */
.downloadPage { min-height: calc(100vh - var(--header-height) - var(--footer-height)); padding: 80px 0; }
.downloadPage header { display: flex; flex-direction: column; align-items: center; }
.downloadPage header img { width: 80px; height: 80px; margin-bottom: 20px; }
.downloadPage h1 { text-align: center; margin-bottom: 12px; font-size: 45px; font-weight: 500; line-height: 1.2em; color: var(--gray-9); }
.downloadPage .versionInfo { color: var(--gray-6); margin-bottom: 80px; text-align: center; }
.card { border: 1px solid var(--gray-2); border-radius: 10px; padding: 32px; max-width: 640px; margin: 0 auto; }
.card h2 { font-size: 25px; font-weight: 500; color: var(--gray-9); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.card p { color: var(--gray-5); line-height: 1.6em; margin-bottom: 16px; }
.card .row { display: flex; flex-wrap: wrap; gap: 10px; }
.card .callout { margin: 24px 0 0; }
.card .callout p:not(.calloutHeader) { margin: 0; }

@media (prefers-reduced-motion: reduce) { .screen video { display: none; } * { transition: none !important; } }
@media (max-width: 1276px) {
  .sidecar { display: none; }
  .docsContent { max-width: min(800px, calc(100vw - 320px)); }
}
@media (max-width: 1100px) { .heading p { max-width: unset; } .downloadPage h1 { font-size: 38px; } .downloadPage .versionInfo { margin-bottom: 48px; } }
@media (max-width: 784px) {
  .sidebar { display: none; }
  .contentWrapper { max-width: 100%; margin: 24px auto 54px; }
  .docsContent { max-width: 100%; }
  .cardLinks { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .grid { padding: 0 28px; }
  .desktopLinks { display: none; }
  .menuToggle { display: block; }
  .heading h1 { font-size: 30px; }
  .mdx h2 { font-size: 22px; }
  .mdx h3 { font-size: 16px; }
  .footer .grid { flex-direction: column; align-items: flex-start; }
  .footer ul { flex-wrap: wrap; gap: 32px; margin-bottom: 38px; }
  .shots { grid-template-columns: 1fr; width: min(560px, 100%); }
  .downloadPage { padding: 48px 0; }
}
@media (max-width: 520px) { .caption { display: none; } .card { padding: 24px; } }
@media print { .navbar, .sidebar, .sidecar, .footer, .scrollTop { display: none; } }

/* ---- search ---- */
.searchOpen {
  display: flex; align-items: center; gap: 8px; height: 36px; margin-right: 30px; padding: 0 10px; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--gray-5); background: var(--gray-1); border: 1px solid var(--gray-2); border-radius: 6px;
  transition: border-color .15s, color .15s;
}
.searchOpen:hover { border-color: var(--gray-3); color: var(--gray-9); }
.searchOpen span { min-width: 110px; text-align: left; }
.searchOpen.icon { margin: 0; padding: 0; width: 40px; height: 40px; justify-content: center; background: none; border: none; color: var(--gray-9); }
kbd { font-family: var(--mono); font-size: 11px; line-height: 1; color: var(--gray-5); border: 1px solid var(--gray-3); border-radius: 4px; padding: 3px 5px; }
.mobileButtons { display: none; align-items: center; gap: 4px; }
dialog.search {
  width: min(640px, calc(100vw - 32px)); max-height: min(560px, calc(100dvh - 96px)); margin: 72px auto auto; padding: 0; overflow: hidden;
  color: #fff; background: var(--gray-1); border: 1px solid var(--gray-3); border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
dialog.search[open] { display: flex; flex-direction: column; }
dialog.search::backdrop { background: rgba(0, 0, 0, .6); }
.searchBox { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--gray-2); color: var(--gray-5); flex: none; }
.searchBox input { flex: 1; min-width: 0; height: 54px; font: inherit; color: var(--gray-9); background: none; border: none; outline: none; }
.searchBox input::-webkit-search-cancel-button { display: none; }
.searchBox input::placeholder { color: var(--gray-4); }
.searchResults { list-style: none; overflow-y: auto; padding: 8px; }
.searchResults:empty { display: none; }
.searchResults a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; }
.searchResults a.picked, .searchResults a:hover { background: var(--gray-2); }
.searchResults a.picked { box-shadow: inset 2px 0 0 var(--brand); }
.searchResults b { font-weight: 500; color: var(--gray-9); }
.searchResults i { font-style: normal; font-size: 13px; color: var(--gray-4); margin-left: 10px; }
.searchResults span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4em; color: var(--gray-5); overflow-wrap: anywhere; }
.searchResults mark { background: none; color: #fff; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.searchHint { padding: 16px; font-size: 14px; color: var(--gray-4); }
.searchHint:empty { display: none; }

/* ---- heading links ---- */
.jumplink {
  display: inline-flex; vertical-align: middle; margin-left: 16px; padding: 4px; cursor: pointer; opacity: 0;
  color: var(--gray-9); background: none; border: 1px solid var(--gray-4); border-radius: 3px; transition: opacity .2s, color .2s, border-color .2s;
}
h2:hover .jumplink, h3:hover .jumplink, .jumplink:focus-visible { opacity: 1; }
.jumplink.done { opacity: 1; color: var(--tip); border-color: var(--tip); }
@media (hover: none) { .jumplink { opacity: .6; } }

/* ---- pictures and clips in the docs ---- */
.mdx figure { margin: 24px 0; }
.mdx figure img, .mdx figure video { display: block; max-width: 100%; height: auto; border: 1px solid var(--gray-3); border-radius: 10px; }
.mdx figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4em; color: var(--gray-4); }
.mdx .shots2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.mdx .shots2 figure { margin: 0; min-width: 0; }
.mdx .shots2 img { width: 100%; }
.mdx .window { margin: 24px 0; max-width: 640px; }
.mdx h4 { font-size: 16px; font-weight: 500; color: var(--gray-9); margin: 34px 0 13px; }
.mdx section > p { margin: .8em 0; }
.mdx section > ul, .mdx section > ol, .mdx details > ul { margin: 16px 0; padding-left: 42px; }
.mdx blockquote.quote { border-left: 3px solid var(--gray-9); margin: 32px 0; padding: 6px 20px; }
.mdx .releaseMeta { font-size: 14px; color: var(--gray-4); margin-top: -8px; }
.mdx .release + .release { border-top: 1px solid var(--gray-2); margin-top: 52px; }
.mdx .release code { overflow-wrap: anywhere; }

/* ---- 404 ---- */
.notFound {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; text-align: center;
  min-height: calc(100vh - var(--header-height) - var(--footer-height)); padding: 64px 16px;
}
.notFound img { width: 96px; height: 96px; }
.notFound h1 { font-size: 45px; font-weight: 500; line-height: 1.2em; color: var(--gray-9); }
.notFound p { color: var(--gray-5); line-height: 1.6em; max-width: 46ch; }
.notFound .buttonsList { margin-top: 14px; }

@media (max-width: 1000px) { .searchOpen:not(.icon) { margin-right: 24px; } }
@media (max-width: 768px) { .mobileButtons { display: flex; } .menuToggle { margin: 0 -24px 0 0; } .mdx .shots2 { grid-template-columns: 1fr; } }

/* ---- scrollbars. The page itself: the Hop bunny glides down the right
   edge instead of the browser's bar (site.js draws it; mouse and trackpad
   only, phones keep their own). Everything else that scrolls (the docs
   sidebar, search results, code): a slim quiet bar with no arrows. */
html.bunnyScroll { scrollbar-width: none; }
html.bunnyScroll::-webkit-scrollbar { display: none; }
.bunnyBar { position: fixed; top: 0; right: 0; bottom: 0; width: 34px; z-index: 60; pointer-events: none; }
.bunnyBar[hidden] { display: none; }
.bunnyTrack { position: absolute; top: 8px; bottom: 8px; right: 16px; width: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.07);
  pointer-events: auto; cursor: pointer; transition: background 0.2s; }
.bunnyTrack::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; right: -8px; }
.bunnyBar:hover .bunnyTrack, .bunnyBar.active .bunnyTrack { background: rgba(255, 255, 255, 0.14); }
.bunny { position: absolute; top: 8px; right: 2px; width: 30px; height: 30px; pointer-events: auto; cursor: grab; user-select: none; -webkit-user-drag: none;
  opacity: 0.6; transition: opacity 0.2s, filter 0.2s; will-change: transform; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.bunnyBar:hover .bunny, .bunnyBar.active .bunny, .bunnyBar.drag .bunny { opacity: 1; }
.bunnyBar.drag .bunny { cursor: grabbing; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-track, *::-webkit-scrollbar-corner { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 3px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.28); }
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.18) transparent; } }

/* ---- mathium.xyz additions: plain pages (compare, gallery, roadmap) */
.plainPage { min-height: calc(100vh - var(--header-height, 64px) - var(--footer-height, 64px)); padding: 72px 0 96px; }
.plainPage .grid { max-width: 1040px; }
.pageHead { margin-bottom: 40px; }
.pageHead h1 { font-size: 45px; font-weight: 500; line-height: 1.2; color: #fff; margin-bottom: 14px; }
.pageHead p { color: #a1a1aa; font-size: 17px; max-width: 760px; line-height: 1.6; }
.fine { color: #8b8b93; font-size: 14px; margin-top: 28px; }
.fine a, .pageHead a { color: #ddd; }
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.theme { border: 1px solid #26262b; border-radius: 16px; overflow: hidden; background: #111114; }
.tPrev { height: 120px; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 10%, #2a2340, #0d0f14); }
.tIsland { width: 220px; height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 21px; color: #fff; }
.tIsland.notch { border-radius: 0 0 16px 16px; align-self: start; }
.tArt { width: 24px; height: 24px; border-radius: 6px; flex: none; }
.tText { flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
.tText b { font-size: 12px; }
.tText i { font-size: 10px; font-style: normal; opacity: 0.6; }
.tBars { display: flex; gap: 2px; align-items: end; height: 14px; }
.tBars i { width: 3px; background: currentColor; border-radius: 2px; }
.tBars i:nth-child(1) { height: 60%; } .tBars i:nth-child(2) { height: 100%; } .tBars i:nth-child(3) { height: 45%; } .tBars i:nth-child(4) { height: 80%; }
.tMeta { padding: 16px 18px 18px; }
.tMeta b { color: #fff; font-size: 16px; }
.tMeta p { color: #a1a1aa; font-size: 14px; margin: 4px 0 14px; }
.copyTheme, .copySha { border: 1px solid #3a3a40; background: none; color: #fff; border-radius: 8px; padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.copyTheme:hover, .copySha:hover { border-color: #6b6b73; }
.copyTheme.ok, .copySha.ok { border-color: #3fb950; color: #3fb950; }
.roadmap section { margin-bottom: 36px; }
.roadmap h2 { font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.idea { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid #26262b; border-radius: 14px; margin-bottom: 10px; }
.idea > div { flex: 1; }
.idea b { color: #fff; font-size: 16px; }
.idea p { color: #a1a1aa; font-size: 14px; margin-top: 3px; }
/* the live island on the home page */
.tryLive { width: 100%; max-width: 1180px; margin: 64px auto 0; text-align: center; }
.tryLive h2 { font-size: 32px; font-weight: 500; color: #fff; margin-bottom: 10px; }
.tryLive > p { color: #a1a1aa; max-width: 720px; margin: 0 auto 22px; line-height: 1.6; }
.liveFrame { border: 1px solid #26262b; border-radius: 16px; overflow: hidden; height: 640px; background: #0b0b0d; }
.liveFrame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .liveFrame { height: 820px; } }
/* download details */
.dlInfo { margin: 22px 0 6px; }
.dlInfo dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px 14px; margin: 14px 0 0; font-size: 14px; }
.dlInfo dt { color: #8b8b93; }
.dlInfo dd { margin: 0; color: #ddd; overflow-wrap: anywhere; }
.dlInfo code { font-size: 12.5px; }
.winCheck { font-size: 14px; color: #a1a1aa; }
.winCheck.ok::before { content: "✓ "; color: #3fb950; }
.winCheck.bad::before { content: "! "; color: #d29922; }
.whatsNew { border: 1px solid #3a3a40; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; text-align: left; }
.whatsNew b { color: #fff; }
.whatsNew ul { margin: 8px 0 0 18px; color: #c4c4cc; font-size: 14px; line-height: 1.6; }
.homePage .tryLive { margin: 8px auto 0; }

/* ---- equal buttons: every button in a row is the same size and shape */
.buttonsList .button { width: 190px; height: 48px; padding: 0 12px; font-size: 16px; color: var(--gray-9); box-sizing: border-box; }
.homePage .liveLinks { margin-top: 18px; gap: 20px; }
@media (max-width: 860px) { .buttonsList .button { width: calc(50% - 10px); max-width: 190px; } }

/* ---- compare */
.tableWrap { overflow-x: auto; border: 1px solid #26262b; border-radius: 18px; background: linear-gradient(180deg, #131316, #0e0e10); }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 15px; }
.compare col.cFeat { width: 34%; }
.compare col.cUs { width: 17%; }
.compare th, .compare td { padding: 15px 16px; text-align: center; vertical-align: middle; border-bottom: 1px solid #1f1f24; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 24px; color: #e6e6ea; }
.compare thead th { padding: 22px 16px 18px; font-weight: 600; color: #c4c4cc; font-size: 15px; }
.compare thead th span { display: block; }
.compare thead th small { display: block; margin-top: 3px; color: #6b6b73; font-size: 12px; font-weight: 500; }
.compare thead th.us img { width: 30px; height: 30px; display: block; margin: 0 auto 7px; }
.compare thead th.us span { color: #fff; font-size: 17px; }
.compare .us { background: linear-gradient(180deg, rgba(148, 140, 140, 0.16), rgba(148, 140, 140, 0.07)); border-left: 1px solid rgba(148, 140, 140, 0.28); border-right: 1px solid rgba(148, 140, 140, 0.28); }
.compare thead .us { border-top: 0; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:not(.group):hover td { background-color: rgba(255, 255, 255, 0.025); }
.compare tr.group td { padding: 22px 24px 8px; text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8b8b93; border-bottom: 1px solid #1f1f24; background: none; }
.compare td b { color: #fff; font-weight: 600; }
.compare td small { display: block; margin-top: 4px; color: #7b7b83; font-size: 12px; }
.compare td.us small { color: #b8b0b0; }
.compare i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-style: normal; font-size: 13px; font-weight: 700; line-height: 1; }
.compare i.y { background: rgba(63, 185, 80, 0.16); color: #3fb950; }
.compare i.y::before { content: "✓"; }
.compare i.n { background: rgba(255, 255, 255, 0.05); color: #5b5b63; }
.compare i.n::before { content: "✕"; font-size: 11px; }
.compare i.m { background: rgba(210, 153, 34, 0.14); color: #d29922; }
.compare i.m::before { content: "~"; }
.compare td.us i.y { background: #3fb950; color: #0b0b0d; }
.compareCta { margin-top: 32px; }

/* ---- roadmap votes */
.vote { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 76px; height: 40px; padding: 0; border: 1px solid #3a3a40; background: none; color: #ddd; border-radius: 10px; font-family: inherit; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s, background-color .15s; }
.vote::before { content: ""; width: 10px; height: 10px; background: currentColor; clip-path: polygon(50% 8%, 100% 92%, 0 92%); }
.vote:hover { border-color: #6b6b73; color: #fff; }
.vote.on { border-color: #948c8c; background: rgba(148, 140, 140, 0.18); color: #fff; }

/* ---- the checksum: one field, the hash and its Copy button side by side */
.dlInfo dl { align-items: center; }
.shaBox { display: flex; align-items: stretch; height: 38px; max-width: 100%; border: 1px solid #2a2a30; border-radius: 8px; background: #0b0b0d; overflow: hidden; }
.shaBox code { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 12px; font-size: 12.5px; color: #c4c4cc; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.shaBox code::-webkit-scrollbar { display: none; }
.shaBox .copySha { flex: none; width: 86px; height: auto; border: 0; border-left: 1px solid #2a2a30; border-radius: 0; padding: 0; font-family: inherit; font-size: 14px; font-weight: 500; background: #141417; }
.shaBox .copySha:hover { background: #1d1d22; }
.shaBox .copySha.ok { color: #3fb950; }
.dlInfo dl { grid-template-columns: 90px minmax(0, 1fr); }
.dlInfo dd { min-width: 0; }
.shaBox code { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 28px; }

/* ---- the VirusTotal card (docs/help/safe) */
/* home: the demo, then room to breathe, then the pitch */
.homePage { gap: 0; padding-bottom: 72px; }
.homePage .tryLive { margin: 8px auto 0; }
.heroText { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 64px; }
.meta a { color: var(--gray-5); text-decoration: underline; text-underline-offset: 3px; }
.meta a:hover { color: var(--gray-8); }
/* ---- the VirusTotal card (docs/help/safe) */
.sidecar.hasVt { height: auto; max-height: calc(100vh - var(--header-height) - 48px); }
.vtCard { margin-top: 28px; padding: 18px; border: 1px solid #26262b; border-radius: 14px; background: linear-gradient(180deg, #141417, #0e0e10); font-size: 14px; }
.vtHead { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8b8b93; }
.vtHead svg { width: 16px; height: 16px; color: #3fb950; }
.vtRing { position: relative; width: 120px; height: 120px; margin: 16px auto 14px; }
.vtRing svg { width: 100%; height: 100%; }
.vtRing circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.vtRing .vtTrack { stroke: #1f1f24; }
.vtRing .vtOk { stroke: #3fb950; }
.vtRing .vtBad { stroke: #f85149; stroke-linecap: butt; }
.vtRing > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.vtRing b { font-size: 28px; font-weight: 600; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.vtRing b .vtOf { font-size: 15px; color: #6b6b73; font-weight: 500; }
.vtRing small { margin-top: 4px; font-size: 11.5px; color: #8b8b93; }
.vtSum { color: #c4c4cc; line-height: 1.5; margin: 0 0 10px; text-align: center; }
.vtSum code { font-size: 12px; color: #ddd; white-space: nowrap; }
.vtFlag { display: flex; gap: 9px; padding: 10px 12px; margin: 0 0 12px; border-radius: 10px; background: rgba(248, 81, 73, 0.08); border: 1px solid rgba(248, 81, 73, 0.2); color: #c4c4cc; font-size: 13px; line-height: 1.45; }
.vtFlag i { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #f85149; }
.vtFlag b { color: #fff; font-weight: 600; }
.vtMeta { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0 0 14px; font-size: 13px; }
.vtMeta dt { color: #6b6b73; }
.vtMeta dd { margin: 0; color: #c4c4cc; text-align: right; }
.vtLink { display: flex; align-items: center; justify-content: center; height: 40px; border: 1px solid #3a3a40; border-radius: 8px; color: #fff; text-decoration: none; font-weight: 500; transition: border-color .15s, background-color .15s; }
.vtLink:hover { border-color: #6b6b73; background: #1d1d22; }
.vtInline { display: none; }
@media (max-width: 1276px) { .vtInline { display: block; max-width: 340px; margin: 32px 0 0; } }

/* ---- gallery filters */
.filters { display: grid; gap: 14px; padding: 20px 22px; margin-bottom: 26px; border: 1px solid #26262b; border-radius: 16px; background: #111114; }
.fGroup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fLabel { width: 96px; flex: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8b8b93; }
.fGroup button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 96px; height: 34px; padding: 0 14px; border: 1px solid #2a2a30; border-radius: 999px; background: none; color: #c4c4cc; font-family: inherit; font-size: 14px; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.fGroup button:hover { border-color: #5b5b63; color: #fff; }
.fGroup button.on { background: #f2f2f5; border-color: #f2f2f5; color: #0b0b0d; }
.fGroup button i { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.fGroup button i.album { background: conic-gradient(#ff4d4d, #ffd23f, #3ddc84, #3fa9ff, #a970ff, #ff6fa5, #ff4d4d); }
.fBar { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #1f1f24; color: #8b8b93; font-size: 14px; font-variant-numeric: tabular-nums; }
.fClear { height: 30px; padding: 0 14px; border: 1px solid #3a3a40; border-radius: 8px; background: none; color: #ddd; font-family: inherit; font-size: 13px; cursor: pointer; }
.fClear:hover { border-color: #6b6b73; color: #fff; }
.theme[hidden] { display: none; }
.theme { content-visibility: auto; contain-intrinsic-size: auto 260px; display: flex; flex-direction: column; }
.tMeta { flex: 1; display: flex; flex-direction: column; }
.tMeta p { flex: 1; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tMeta .copyTheme { width: 100%; height: 36px; }
@media (max-width: 700px) { .fLabel { width: 100%; } .fGroup button { min-width: 0; } }
.fGroup { display: grid; grid-template-columns: 110px 1fr; align-items: start; gap: 0 12px; }
.fLabel { width: auto; padding-top: 10px; }
.fOpts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) { .fGroup { grid-template-columns: 1fr; gap: 8px; } .fLabel { padding-top: 0; } }
.heroText { margin-top: 25px; }

/* ---- download: Windows and Linux side by side, equal height */
.downloadPage .grid { max-width: 1340px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 640px)); justify-content: center; align-items: stretch; gap: 24px; }
.cards .card { max-width: none; margin: 0; display: flex; flex-direction: column; }
.cards .card .callout { margin-top: auto; }
.cards .card .dlInfo { margin-bottom: 24px; }
.eqRow .button { flex: 1 1 0; min-width: 0; }
.whichOne { margin: 12px 0 0 !important; font-size: 14px; }
.whichOne a { color: var(--gray-8); text-decoration: underline; text-decoration-color: #fff; text-underline-offset: 4px; }
.whichOne a:hover { color: #fff; }
.winCheck.soon::before { content: "● "; color: #d29922; }
.linuxCard .dlInfo dl { grid-template-columns: 90px minmax(0, 1fr); }
@media (max-width: 1100px) { .cards { grid-template-columns: minmax(0, 640px); } }

/* ---- download: package managers */
.pmCard { max-width: 1304px; margin: 24px auto 0; }
.pmGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pmGrid h3 { font-size: 18px; font-weight: 600; color: #fff; margin: 4px 0 6px; }
.pmLabel { margin: 14px 0 6px !important; font-size: 13px; font-weight: 600; color: var(--gray-6); }
.pmSoon { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(210, 153, 34, 0.15); color: #d29922; font-size: 11px; font-weight: 600; }
.pmCmd { display: flex; align-items: stretch; min-height: 38px; margin-bottom: 8px; border: 1px solid #2a2a30; border-radius: 8px; background: #0b0b0d; overflow: hidden; }
.pmCmd code { flex: 1; min-width: 0; display: flex; align-items: center; padding: 8px 12px; font-size: 12.5px; color: #d4d4dc; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.pmCmd code::-webkit-scrollbar { display: none; }
.copyCmd { flex: none; width: 78px; border: 0; border-left: 1px solid #2a2a30; background: #141417; color: #fff; font: 500 13.5px inherit; font-family: inherit; cursor: pointer; }
.copyCmd:hover { background: #1d1d22; }
.copyCmd.ok { color: #3fb950; }
@media (max-width: 1100px) { .pmGrid { grid-template-columns: minmax(0, 1fr); } .pmCard { max-width: 640px; } }

/* ---- themes: the builder */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; margin-bottom: 28px; padding: 22px; border: 1px solid #26262b; border-radius: 16px; background: #111114; }
.bPreview .tPrev { height: 100%; min-height: 220px; border-radius: 12px; }
.bControls h2 { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.bRow { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid #1f1f24; }
.bRow > span { width: 110px; flex: none; font-size: 14px; color: #a1a1aa; }
.bSeg { display: flex; gap: 6px; flex-wrap: wrap; }
.bSeg button { min-width: 84px; height: 32px; padding: 0 12px; border: 1px solid #2a2a30; border-radius: 999px; background: none; color: #c4c4cc; font-family: inherit; font-size: 13.5px; cursor: pointer; }
.bSeg button.on { background: #f2f2f5; border-color: #f2f2f5; color: #0b0b0d; }
.bRow input[type="color"] { width: 42px; height: 30px; border: 1px solid #2a2a30; border-radius: 8px; background: none; padding: 2px; cursor: pointer; }
.bRow input[type="range"] { flex: 1; accent-color: #948c8c; }
.bCopy { width: 100%; height: 40px; margin-top: 14px; }
@media (max-width: 860px) { .builder { grid-template-columns: minmax(0, 1fr); } }

/* ---- download: the button picked for the visitor's system (box-shadow only, so its size never changes) */
.button.suggested { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 70%, transparent), 0 0 22px 2px color-mix(in srgb, var(--brand) 55%, transparent); animation: suggestPulse 2.4s ease-in-out infinite; }
@keyframes suggestPulse { 50% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 85%, transparent), 0 0 32px 6px color-mix(in srgb, var(--brand) 70%, transparent); } }
@media (prefers-reduced-motion: reduce) { .button.suggested { animation: none; } }

/* ---- docs: report link and previous / next page */
.pageReport { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--gray-2); font-size: 14px; color: var(--gray-6); }
.pageReport a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 8px; }
.pager a { display: flex; flex-direction: column; gap: 4px; min-height: 72px; justify-content: center; padding: 14px 18px; border: 1px solid var(--gray-2); border-radius: 10px; text-decoration: none; color: #fff; }
.pager a:hover { background-color: var(--gray-2); }
.pager a.next { text-align: right; grid-column: 2; }
.pager small { font-size: 13px; color: var(--gray-6); }
.pager b { font-weight: 600; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager a.next { grid-column: 1; } .pager > span { display: none; } }

/* ---- docs: calmer type and spacing ---- */
.navTree li { margin-bottom: 1px; }
.navTree a, .navTree summary { font-size: 15px; line-height: 18px; padding: 9px 10px; border-radius: 6px; }
.navTree summary { color: var(--gray-7); }
.navTree a.active { background: var(--gray-2); color: #fff; font-weight: 500; }
.navTree details > ul { margin: 2px 0 8px 10px; padding-left: 10px; border-left: 1px solid var(--gray-2); }

.breadcrumbsBar { border-bottom: none; padding: 6px 0 0; font-size: 14px; }
.breadcrumbs svg { margin: 0 6px; width: 14px; height: 14px; }
.heading { padding: 22px 0 30px; }
.heading h1 { font-size: 40px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15em; }
.heading p { font-size: 18px; line-height: 1.5em; max-width: 620px; margin-top: 12px; }

.mdx p, .mdx li { color: #a9a9b0; line-height: 1.7em; }
.mdx strong { color: #ececf1; font-weight: 600; }
.mdx a { color: #fff; text-decoration-color: var(--gray-4); text-underline-offset: 3px; }
.mdx a:hover { text-decoration-color: #fff; }
.mdx li { margin: 4px 0; }
.mdx li::marker { color: var(--gray-4); }
.mdx h2 { font-size: 28px; font-weight: 600; letter-spacing: -.01em; margin: 56px 0 16px; }
.mdx h3 { font-size: 19px; font-weight: 600; margin: 36px 0 12px; }
.mdx :not(pre) > code { font-size: 14px; border-color: #333338; background: #1c1c1f; border-radius: 5px; }
.codeBlock code { font-size: 14px; line-height: 1.7em; }

.mdx table { display: table; width: 100%; }
.mdx th, .mdx td { padding: 11px 16px 11px 0; }
.mdx th { color: var(--gray-7); }

.callout { padding: 8px 20px; }
.cardLinks { gap: 14px; }
.cardLinks li { transition: border-color .15s; }
.cardLinks li:hover { background: none; border-color: var(--gray-3); }
.cardLinks span { color: var(--gray-5); }

.tocTitle { margin-bottom: 10px; font-size: 14px; font-weight: 500; color: var(--gray-7); }
.sidecar li { font-size: 14px; padding: 4px 0 4px 16px; }
.sidecar li.d3 { padding-left: 26px; }

.pager a:hover { background: none; border-color: var(--gray-3); }

@media (max-width: 784px) {
  .heading h1 { font-size: 32px; }
  .heading p { font-size: 17px; }
  .mdx table { display: block; overflow: auto; width: auto; }
}

/* ---- download: documentation card (top right on desktop, first thing on mobile) */
.docsCard { width: 100%; max-width: 640px; margin: 0 auto 32px; border: 1px solid var(--gray-2); border-radius: 10px; background: var(--gray-0); }
.docsCardHead { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--gray-2); color: var(--gray-5); }
.docsCardHead svg { width: 16px; height: 16px; flex: none; }
.docsCardHead span { font-size: 14px; font-weight: 500; color: var(--gray-9); }
.docsCardBody { padding: 16px; }
.docsCardBody p { margin-bottom: 12px; font-size: 14px; line-height: 1.625; color: var(--gray-5); }
.docsCardBody a { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--gray-8); text-decoration: none; text-underline-offset: 3px; }
.docsCardBody a:hover { color: #fff; text-decoration: underline; }
.docsCardBody a svg { width: 10px; height: 10px; flex: none; }
@media (min-width: 1180px) { .docsCard { position: absolute; top: 0; right: 40px; width: 320px; margin: 0; } }

/* ---- search: the navbar field (reui.io input-group pattern: placeholder text, key hint at the end) */
.searchField { width: 320px; justify-content: space-between; padding: 0 8px 0 12px; background: var(--gray-1); color: var(--gray-4); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: border-color .15s, box-shadow .15s; }
.searchField:hover { border-color: var(--gray-3); color: var(--gray-5); }
.searchField:focus-visible { outline: none; border-color: var(--gray-4); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gray-4) 50%, transparent); }
.searchField span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.searchField kbd { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 20px; min-width: 20px; padding: 0 4px; border: 0; border-radius: 4px; background: var(--gray-2); color: var(--gray-5); font-family: var(--sans); font-size: 12px; font-weight: 500; }
@media (max-width: 1000px) { .searchField { width: 244px; } }

/* ---- 2026-10 clean-up: home hero first, then the demo; quieter download page; gallery paging */
.homeHero { max-width: 760px; margin: 0 auto; padding: 96px 24px 56px; text-align: center; }
.homeIcon { width: 64px; height: 64px; margin: 0 auto 24px; display: block; }
.homeHero h1 { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.homeHero .lede { margin: 20px auto 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--gray-7); }
.homeHero .buttonsList { margin-top: 32px; justify-content: center; }
.homeHero .meta { margin-top: 16px; font-size: 14px; color: var(--gray-5); }
.homePage .tryLive { padding-top: 24px; }
.homePage .tryLive h2 { font-size: 22px; }
.homePage .tryLive > p { max-width: 560px; margin-left: auto; margin-right: auto; }
.homeLinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; padding: 40px 24px 88px; }
.homeLinks a { color: var(--gray-7); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.homeLinks a:hover { color: #fff; }
.downloadPage .versionInfo { margin-bottom: 10px; }
.earlyNote { margin: 0 auto 64px; max-width: 520px; font-size: 14px; line-height: 1.6; text-align: center; color: var(--gray-6); }
@media (max-width: 1100px) { .earlyNote { margin-bottom: 40px; } }
.earlyNote a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
details.verify { margin-top: 14px; border-top: 1px solid var(--gray-2); padding-top: 12px; }
details.verify > summary { cursor: pointer; font-size: 14px; color: var(--gray-6); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
details.verify > summary::-webkit-details-marker { display: none; }
details.verify > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform 0.2s; }
details.verify[open] > summary::before { transform: rotate(45deg); }
details.verify > summary:hover { color: #fff; }
details.verify[open] > summary { margin-bottom: 10px; }
.showMore { display: flex; margin: 28px auto 8px; }
.showMore[hidden] { display: none; }
@media (max-width: 600px) { .homeHero { padding-top: 64px; } .homeHero .lede { font-size: 16px; } }

/* =====================================================================
   2026-10 redesign: the mathium.xyz feel (dusk photo, glass, smooth
   scrolling, Inter) with an Apple-style home page (one idea per section,
   big product shots). Everything below overrides the older rules above.
   ===================================================================== */
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
html, body { --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --gray-0: #0b0b0d; --glass: rgba(255, 255, 255, 0.05); --glass-line: rgba(255, 255, 255, 0.1); --dusk: rgb(210 152 140); }
body { letter-spacing: -0.011em; }
::selection { background: rgb(210 152 140); color: #141414; }

/* glass navigation bar */
.navbar { background: rgba(11, 11, 13, 0.62); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.logo { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.logo img { width: 28px; height: 28px; }
.searchField { border-radius: 999px !important; background: rgba(255, 255, 255, 0.05) !important; border-color: rgba(255, 255, 255, 0.08) !important; }

/* buttons: a white pill for the main action, glass pills for the rest */
.button { border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: #fff; padding: 11px 26px; font-size: 15px; font-weight: 500; transition: background-color .2s, border-color .2s, transform .2s; }
.button:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.18); }
.button.brand { background: #fff; color: #0b0b0d; border-color: #fff; }
.button.brand:hover { background: #e9e9ec; border-color: #e9e9ec; }
.button.medium { padding: 7px 16px; font-size: 14px; }
.desktopLinks .button { padding: 8px 20px; font-size: 14px; }
button.button { color: #fff; }
button.button.brand { color: #0b0b0d; }

/* cards everywhere: softer, rounder, glassier */
.card, .builder, .filters, .theme, .compareTable, .docsCard { border-radius: 20px !important; border-color: rgba(255, 255, 255, 0.08) !important; background-color: rgba(255, 255, 255, 0.025) !important; }
.footer { border-top: 1px solid rgba(255, 255, 255, 0.06); }

/* ---- the home page */
.v2 { overflow: hidden; overflow: clip; }
.v2Hero { position: relative; min-height: 100svh; margin-top: calc(-1 * var(--header-height)); padding: calc(var(--header-height) + 48px) 24px 96px; display: grid; place-items: center; isolation: isolate; }
.v2HeroBg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(to bottom, rgba(11, 11, 13, 0.7) 0%, rgba(11, 11, 13, 0.25) 38%, rgba(11, 11, 13, 0.35) 70%, var(--gray-0) 100%), url(/media/scene/hills.webp) center 72% / cover no-repeat; }
.v2HeroFront { position: absolute; inset: auto 0 0; height: 46%; z-index: -1; background: linear-gradient(to bottom, transparent 55%, var(--gray-0)), url(/media/scene/hills-front.webp) center bottom / cover no-repeat; }
.v2HeroInner { max-width: 900px; text-align: center; }
.v2Island { display: block; width: min(460px, 86vw); height: auto; margin: 0 auto 52px; border-radius: 9% / 21%; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.v2Hero h1 { font-size: clamp(46px, 7.6vw, 100px); line-height: 1.0; font-weight: 600; letter-spacing: -0.05em; color: #fff; }
.v2Lede { margin: 26px auto 0; max-width: 580px; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.v2Actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.v2Actions .button { min-width: 150px; }
.v2Meta { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }

.v2Section { max-width: 1180px; margin: 0 auto; padding: 150px 24px 0; text-align: center; }
.v2Title { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.04; font-weight: 600; letter-spacing: -0.045em; color: #fff; }
.v2Title.v2Small { font-size: clamp(30px, 3.6vw, 44px); }
.v2Text { margin: 22px auto 0; max-width: 600px; font-size: 19px; line-height: 1.55; color: var(--gray-5); }
.v2Shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 64px; }
.v2Shots figure { padding: 18px 18px 16px; border-radius: 28px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.07); }
.v2Shots img { display: block; width: 100%; height: auto; border-radius: 9% / 21%; }
.v2Shots figcaption { margin-top: 14px; font-size: 15px; color: var(--gray-5); }

.v2Window { margin-top: 56px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55); }
.v2Try .v2Window iframe { display: block; width: 100%; height: 660px; border: 0; }
.v2Split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; text-align: left; }
.v2Split .v2Text { margin-left: 0; }
.v2Split .v2Window { margin-top: 0; }
.v2Video video { display: block; width: 100%; height: auto; }
.v2Link { display: inline-flex; margin-top: 26px; color: #fff; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 2px; transition: border-color .2s; }
.v2Link::after { content: "\2192"; margin-left: 8px; transition: transform .2s; }
.v2Link:hover { border-color: #fff; }
.v2Link:hover::after { transform: translateX(3px); }

.v2Cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; text-align: left; }
.v2Card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; border-radius: 22px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.07); text-decoration: none; transition: background-color .2s, border-color .2s, transform .3s cubic-bezier(.22, 1, .36, 1); }
.v2Card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); transform: translateY(-3px); }
.v2Card b { font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.v2Card span { font-size: 15px; line-height: 1.5; color: var(--gray-5); }

.v2End { position: relative; margin-top: 160px; min-height: 76vh; display: grid; place-items: end center; padding: 0 24px 110px; text-align: center; isolation: isolate; }
.v2EndBg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--gray-0) 0%, rgba(11, 11, 13, 0.25) 40%, rgba(11, 11, 13, 0.55) 100%), url(/media/scene/hills.webp) center 70% / cover no-repeat; }
.v2End h2 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -0.05em; color: #fff; }
.v2End p { margin: 18px auto 0; max-width: 520px; font-size: 18px; color: rgba(255, 255, 255, 0.78); }
.v2End .v2Credit { margin-top: 40px; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* scroll reveals (below the hero only; the hero is there from the first frame) */
.revealOn .v2Section [data-reveal], .revealOn .v2End [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); }
.revealOn [data-reveal].in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .revealOn [data-reveal] { opacity: 1 !important; transform: none !important; } }

@media (max-width: 1000px) {
  .v2Cards { grid-template-columns: repeat(2, 1fr); }
  .v2Split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .v2Split .v2Text { margin-left: auto; }
}
@media (max-width: 640px) {
  .v2Hero { padding-bottom: 64px; }
  .v2Lede, .v2Text { font-size: 17px; }
  .v2Section { padding-top: 110px; }
  .v2Shots { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .v2Shots figure { padding: 12px; border-radius: 22px; }
  .v2Cards { grid-template-columns: 1fr; }
  .v2Try .v2Window iframe { height: 980px; }
  .v2End { min-height: 64vh; margin-top: 120px; }
}

/* v2 home: full-width sections (the old .homePage was a centred flex column) */
.homePage.v2 { display: block; min-height: 0; padding: 0; gap: 0; width: 100%; }
.homePage.v2 > section { width: 100%; }
.v2Island { border-radius: 0; box-shadow: none; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.65)); }
.v2Shots img { border-radius: 0; width: min(100%, 420px); margin: 0 auto; }
.v2Shots figure { padding: 34px 24px 20px; }

/* ---- inner pages: the same dusk photo as a header band, a centred
   Apple-style title, and glassier lists and tables under it */
.plainPage, .downloadPage, .notFound { position: relative; isolation: isolate; }
.plainPage::before, .downloadPage::before, .notFound::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: calc(-1 * var(--header-height)); height: 560px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.45) 45%, var(--gray-0) 100%), url(/media/scene/hills.webp) center 68% / cover no-repeat;
}
.plainPage { padding-top: 110px; }
.downloadPage { padding-top: 110px; }
.pageHead { margin: 0 auto 72px; text-align: center; }
.pageHead h1, .downloadPage h1, .notFound h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.04; color: #fff; }
.pageHead h1 { margin-bottom: 20px; }
.pageHead p { margin: 0 auto; max-width: 640px; font-size: 18px; color: rgba(255, 255, 255, 0.78); }
.downloadPage h1 { margin-bottom: 16px; }
.downloadPage .versionInfo { font-size: 18px; color: rgba(255, 255, 255, 0.8); }
.downloadPage .earlyNote { color: rgba(255, 255, 255, 0.62); }
.downloadPage .cards { margin-top: 64px; }
.downloadPage .card { padding: 36px !important; background-color: rgba(18, 18, 22, 0.72) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* roadmap */
.roadmap section h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; margin: 48px 0 16px; }
.roadmap section:first-child h2 { margin-top: 0; }
.idea { padding: 20px 22px; border-color: rgba(255, 255, 255, 0.08); border-radius: 18px; background: rgba(255, 255, 255, 0.025); transition: background-color .2s, border-color .2s; }
.idea:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.13); }
.vote { border-radius: 999px; border-color: rgba(255, 255, 255, 0.14); }
.vote:hover { background: rgba(255, 255, 255, 0.08); }

/* gallery and compare */
.builder { background-color: rgba(18, 18, 22, 0.72) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bSeg button { border-radius: 999px; }
.compareTable, .tableWrap { border-radius: 20px; }
.copyTheme.bCopy { border-radius: 999px; background: #fff; color: #0b0b0d; border-color: #fff; font-weight: 500; }
.copyTheme.bCopy:hover { background: #e9e9ec; }

/* 404 */
.notFound { overflow: hidden; }
.notFound::before { height: 100%; top: 0; }

/* docs: softer callouts, rounder link cards, a quieter sidebar */
.sidebar a { border-radius: 10px; }
.callout { border: 1px solid color-mix(in srgb, var(--callout) 32%, transparent); background: color-mix(in srgb, var(--callout) 7%, transparent); border-radius: 16px; padding: 14px 22px; }
.content .card, .linkCard { border-radius: 18px !important; }

@media (max-width: 640px) {
  .plainPage, .downloadPage { padding-top: 64px; }
  .plainPage::before, .downloadPage::before { height: 420px; }
  .pageHead { margin-bottom: 48px; }
  .pageHead p { font-size: 16px; }
  .downloadPage .card { padding: 24px !important; }
}

/* ---- gethop's own photo: Kathleen Lake, Yukon (not mathium.xyz's hills) */
.v2HeroBg { background: linear-gradient(to bottom, rgba(11, 11, 13, 0.78) 0%, rgba(11, 11, 13, 0.5) 35%, rgba(11, 11, 13, 0.62) 72%, var(--gray-0) 100%), url(/media/scene/lake.webp) center 38% / cover no-repeat; }
.v2HeroFront { display: none; }
.v2EndBg { background: linear-gradient(to bottom, var(--gray-0) 0%, rgba(11, 11, 13, 0.5) 40%, rgba(11, 11, 13, 0.72) 100%), url(/media/scene/lake.webp) center 30% / cover no-repeat; }
.plainPage::before, .downloadPage::before, .notFound::before { background: linear-gradient(to bottom, rgba(11, 11, 13, 0.7) 0%, rgba(11, 11, 13, 0.6) 45%, var(--gray-0) 100%), url(/media/scene/lake.webp) center 32% / cover no-repeat; }

/* ---- no half-loaded first frame: the head script holds the page back until
   the font, logo and photo are in, then it fades in once */
html::after { content: ""; position: fixed; inset: 0; z-index: 9999; background: #0b0b0d; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
html.preload::after { opacity: 1; visibility: visible; transition: none; }
@media (prefers-reduced-motion: reduce) { html::after { transition: none; } }
@media (max-width: 800px), (max-resolution: 1.5dppx) and (max-width: 1600px) {
  .v2HeroBg { background-image: linear-gradient(to bottom, rgba(11, 11, 13, 0.78) 0%, rgba(11, 11, 13, 0.5) 35%, rgba(11, 11, 13, 0.62) 72%, var(--gray-0) 100%), url(/media/scene/lake-1280.webp); }
  .v2EndBg { background-image: linear-gradient(to bottom, var(--gray-0) 0%, rgba(11, 11, 13, 0.5) 40%, rgba(11, 11, 13, 0.72) 100%), url(/media/scene/lake-1280.webp); }
  .plainPage::before, .downloadPage::before, .notFound::before { background-image: linear-gradient(to bottom, rgba(11, 11, 13, 0.7) 0%, rgba(11, 11, 13, 0.6) 45%, var(--gray-0) 100%), url(/media/scene/lake-1280.webp); }
}

/* ---- links keep their address in data-href (links.js), so they still need the hand */
a[data-href] { cursor: pointer; }
/* ---- "More about Hop" cards: a soft light that follows the cursor, a slow
   lift, and an arrow that slides in, instead of a flat colour swap */
.v2Card { position: relative; overflow: hidden; isolation: isolate; padding-bottom: 56px; transition: transform .7s cubic-bezier(.16, 1, .3, 1), border-color .5s ease, background-color .5s ease, box-shadow .7s cubic-bezier(.16, 1, .3, 1); }
.v2Card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.10), transparent 65%); }
.v2Card::after { content: ""; position: absolute; right: 22px; bottom: 22px; width: 18px; height: 18px; opacity: 0; transform: translateX(-8px); transition: opacity .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1); background: currentColor; color: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; }
.v2Card span { transition: color .5s ease; }
.v2Card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.v2Card:hover::before { opacity: 1; }
.v2Card:hover::after { opacity: .9; transform: none; }
.v2Card:hover span { color: var(--gray-7, #c4c4cc); }
.v2Card:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 3px; }
.v2Card:active { transform: translateY(-2px) scale(.99); transition-duration: .2s; }
@media (hover: none) { .v2Card::after { opacity: .5; transform: none; } }
@media (prefers-reduced-motion: reduce) { .v2Card, .v2Card::after { transition: none; } .v2Card:hover { transform: none; } }

/* ---- docs search: opens with a short rise and fade, closes with a fade */
dialog.search { border-radius: 16px; transform-origin: 50% 0; }
dialog.search[open] { animation: searchIn .34s cubic-bezier(.16, 1, .3, 1); }
dialog.search::backdrop { background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.search[open]::backdrop { animation: searchFade .3s ease; }
dialog.search.closing { animation: searchOut .19s ease forwards; }
dialog.search.closing::backdrop { animation: searchFade .19s ease reverse forwards; }
@keyframes searchIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes searchOut { to { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes searchFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { dialog.search[open], dialog.search[open]::backdrop, dialog.search.closing, dialog.search.closing::backdrop { animation: none; } }

/* ---- copy buttons: once copied the whole button turns green and says "Copied" */
.copyTheme, .copySha { transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.copyTheme.ok, .copySha.ok, .copyTheme.bCopy.ok, .copyTheme.bCopy.ok:hover { background: #30d158; border-color: #30d158; color: #fff; }

/* ---- the "How clipping works" link as a proper pill, like the site's other
   buttons (it was an underlined line that looked unfinished) */
.v2Link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 11px 20px 11px 22px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .3s ease, border-color .3s ease, transform .3s cubic-bezier(.22, 1, .36, 1); }
.v2Link::after { content: ""; width: 16px; height: 16px; margin-left: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.v2Link:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.v2Link:hover::after { transform: translateX(3px); }
.v2Link:active { transform: scale(.98); }

/* ---- home: the real-desk photo between the hero and "Everything at the top".
   It pins while you scroll and opens from a framed card to the full screen;
   site.js sets --p from 0 to 1 */
.v2Photo { --p: 0; position: relative; height: 230vh; margin-top: 24px; }
.v2PhotoPin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.v2PhotoFrame { position: absolute; inset: 0; background: #000; clip-path: inset(calc((1 - var(--p)) * 16%) calc((1 - var(--p)) * 16%) round calc((1 - var(--p)) * 28px)); will-change: clip-path; }
.v2PhotoFrame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(calc(1.08 - var(--p) * 0.08)); will-change: transform; }
.v2PhotoFrame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 30%, transparent 75%, var(--gray-0) 100%); opacity: var(--p); }
.v2PhotoLine { position: absolute; left: 24px; right: 24px; top: calc(var(--header-height) + 5vh); text-align: center; font-size: clamp(30px, 4.6vw, 60px); line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; color: #fff; opacity: clamp(0, calc((var(--p) - 0.6) * 3), 1); transform: translateY(calc((1 - var(--p)) * 30px)); }
@media (max-width: 640px) {
  .v2Photo { height: 190vh; }
  .v2PhotoFrame { clip-path: inset(calc((1 - var(--p)) * 22%) calc((1 - var(--p)) * 6%) round calc((1 - var(--p)) * 22px)); }
  /* a portrait screen can't cover-fit a wide photo without losing the island,
     so it sits as a wide band whose edges melt into the black */
  .v2PhotoFrame img { position: absolute; top: 50%; left: 50%; width: 175vw; height: auto; aspect-ratio: 16 / 9; translate: -52% -50%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .v2Photo { --p: 1 !important; height: auto; }
  .v2PhotoPin { position: relative; height: 80vh; }
}

/* ---- download: Linux is switched off. The card has no links or controls at
   all (plain spans, no addresses), so removing this X changes nothing */
.linuxCard.off { position: relative; user-select: none; -webkit-user-select: none; }
.linuxCard.off > * { opacity: 0.35; pointer-events: none; }
.linuxCard.off .button { cursor: default; }
.linuxCard.off::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(to top right, transparent calc(50% - 2px), rgba(255, 255, 255, 0.85) calc(50% - 2px), rgba(255, 255, 255, 0.85) calc(50% + 2px), transparent calc(50% + 2px)),
              linear-gradient(to bottom right, transparent calc(50% - 2px), rgba(255, 255, 255, 0.85) calc(50% - 2px), rgba(255, 255, 255, 0.85) calc(50% + 2px), transparent calc(50% + 2px)); }
