/* The site's look since the redesign of 2026-12-01: the new look for every page, loaded last (after base.css, shell.css,
   pieces.css and a page's own styles). Three parts:
     1. The top bar's "$DPRF" group (The coin, Vault, Launch, Coins) and its place in the phone's menu.
     2. Every page but the home: the head centred above the page, as on the coin pages; each section a tile of the
        home's dark glass; folds as glass rows; long documents in one glass tile.
     3. The few parts of single pages that need to follow (only to bring them into this system, never a look of
        their own).
   Tokens are base.css's; buttons are pieces.css's (one white capsule per view). */

/* ================================ 1. The top bar ================================ */
.s-group { position: relative; display: inline-flex; flex: none; }
.s-group-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--sp-100); border: 0; border-radius: var(--r-full);
  background: none; color: #EDEDED; font: 500 14.5px/1 "Geist", system-ui, sans-serif; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.s-group-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease); }
.s-group-btn:hover, .s-group:focus-within .s-group-btn { color: var(--fg); background: rgba(255, 255, 255, 0.1); }
.s-group.s-on .s-group-btn { color: var(--fg); background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.s-group-btn:focus-visible { outline: 2px solid var(--fg); outline-offset: -2px; }
/* The list: under the word, a small sheet of the bar's own glass. Shown on a hover and while the focus is inside */
.s-group-list a { display: flex; align-items: center; height: 40px; padding: 0 var(--sp-200); border-radius: var(--r-lg); color: #EDEDED; font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.s-group-list a:hover { background: rgba(255, 255, 255, 0.08); color: var(--fg); }
.s-group-list a[aria-current="page"] { background: rgba(255, 255, 255, 0.13); color: var(--fg); }
.s-group-list a:focus-visible { outline: 2px solid var(--fg); outline-offset: -2px; }
/* On a screen too narrow for the bar in a browser without the phone sheet, the row of words scrolls: the group's
   links simply follow in the row */
@media (max-width: 899px) {
  .s-group { display: contents; }
  .s-group-btn { display: none; }
  .s-group-list { position: static; display: contents; opacity: 1; visibility: visible; transform: none; }
  .s-group-list a { flex: none; height: 40px; padding: 0 var(--sp-100); font-size: 14.5px; }
}
/* The phone's sheet: the coin pages under their own small title */
.s-menu-group { display: none; }
@supports selector(:popover-open) {
  @media (max-width: 899px) {
    .s-menu-group { display: block; margin: var(--sp-100) 0 2px var(--sp-200); color: var(--faint); opacity: 0; transition: opacity 320ms var(--ease) 330ms; }
    .s-menu:popover-open .s-menu-group { opacity: 1; }
    .s-menu-sub { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-25); }
    .s-menu-sub a {
      display: flex; align-items: center; min-height: 48px; padding: 0 var(--sp-200); border-radius: var(--r-xl); font-size: 17px; font-weight: 500; color: #F2F2F2; text-decoration: none;
      opacity: 0; transform: translateY(10px); transition: opacity 320ms var(--ease) 350ms, transform 460ms cubic-bezier(0.23, 1, 0.32, 1) 350ms, background-color 200ms var(--ease);
    }
    .s-menu:popover-open .s-menu-sub a { opacity: 1; transform: none; }
    .s-menu-sub a:hover { background: rgba(255, 255, 255, 0.08); }
    .s-menu-sub a[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, 0.13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
    @starting-style { .s-menu:popover-open .s-menu-sub a { opacity: 0; transform: translateY(10px); } .s-menu:popover-open .s-menu-group { opacity: 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .s-group-list, .s-group-btn svg, .s-menu-group, .s-menu-sub a { transition: none !important; }
}

/* ================================ 2. Every page but the home ================================ */
.s-page:not(.m-page) { gap: var(--sp-200); padding-top: calc(var(--sp-900) + var(--sp-200)); }
.s-page:not(.m-page) > * { max-width: 640px; }
.s-page:not(.m-page) > .s-wide { max-width: 760px; }
/* The head: centred, the same size as on the coin pages */
.s-page > .s-head, .l-view > .s-head:not(.m-boardhead) { gap: var(--sp-100); align-items: center; text-align: center; margin-bottom: var(--sp-300); }
.s-page > .s-head h1, .l-view > .s-head h1 { font-size: 34px; line-height: 40px; letter-spacing: -0.03em; }
.s-page > .s-head .s-lead { max-width: 46ch; color: var(--dim); text-wrap: balance; }
.s-page > .s-head .s-acts { justify-content: center; }
/* A section: one tile of the home's dark glass */
.s-page:not(.m-page) > .s-sec, .s-page:not(.m-page) > section.s-sec, .s-page:not(.m-page) > .s-doc, .t-like {
  position: relative; isolation: isolate; padding: var(--sp-300); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 60%), rgba(12, 12, 13, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.065), 0 24px 48px -28px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.s-page:not(.m-page) > .s-sec h2, .s-page:not(.m-page) > .s-sec .s-h2 { font-size: 19px; line-height: 26px; }
/* A long document (privacy, terms): the text as written, in one tile, on a comfortable measure */
.s-page:not(.m-page) > .s-doc { max-width: 720px; padding: var(--sp-500) var(--sp-500) var(--sp-600); }
.s-page:not(.m-page) > .s-doc h1 { font-size: 34px; line-height: 40px; letter-spacing: -0.03em; }
/* Folds: rows of the same glass, everywhere (also on the coin pages) */
.s-fold {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 60%), rgba(14, 14, 15, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.s-fold:hover, .s-fold[open] { background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 60%), rgba(20, 20, 22, 0.92); }
/* A fold inside a tile sits on the tile, not on another glass */
.s-sec .s-fold { background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* Actions in a row under the last tile: centred */
.s-page:not(.m-page) > .s-acts { justify-content: center; }
.s-page:not(.m-page) > .s-acts .p-sheen { flex: 0 1 320px; }
@media (max-width: 760px) {
  .s-page:not(.m-page) { padding-top: calc(var(--sp-900) + var(--sp-100)); }
  .s-page > .s-head h1, .l-view > .s-head h1 { font-size: 30px; line-height: 36px; }
  .s-page:not(.m-page) > .s-sec, .s-page:not(.m-page) > section.s-sec { padding: var(--sp-200) var(--sp-200) var(--sp-300); border-radius: 20px; }
  .s-page:not(.m-page) > .s-doc { padding: var(--sp-300) var(--sp-200) var(--sp-400); border-radius: 20px; }
  .s-page:not(.m-page) > .s-doc h1 { font-size: 28px; line-height: 34px; }
}

/* ================================ 3. Single pages, brought into the system ================================ */
/* Coin page: its own cards sit on the tile, without a second glass */
.s-sec .c-step, .s-sec .c-road li, .s-sec .c-perk { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
/* The coin page's address chip and its note, centred with the head */
.s-head .c-ca { display: grid; justify-items: center; gap: var(--sp-75); }
.s-head .c-ca .s-note { text-align: center; }

/* ================================ 4. v2 (after the critique): system-wide ================================ */
/* The top bar spans the grid (A9): the same 24 px radius as the tiles; a short fade under it so content never
   collides with it (F7); the sample's one mark sits right of the name. */
.s-nav { top: 8px; padding: 0 16px; }
.s-nav::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 84px; z-index: -1; pointer-events: none; background: linear-gradient(#000 55%, rgba(0, 0, 0, 0)); }
.s-bar { max-width: 1648px; border-radius: 24px; padding-left: 24px; background: rgba(28, 28, 30, 0.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.s-brand { margin-right: auto; }
.s-sample { flex: none; margin-right: auto; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; color: var(--dim); font-size: 10.5px; letter-spacing: 0.1em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.s-menu-top .s-sample { margin-right: auto; }
/* In the demo (?demo=1) and the try-out the page's own capsule under the bar (#demo-mark, vault.css) is the one mark,
   so the state line and the counter's note under it are left out. The real site has no "Sample" mark in the bar: the
   capsule must stay visible (it was hidden in the sample, where the bar carried the mark). */
.v-demo-on .v-state, .v-demo-on #count-note { display: none !important; }
@supports selector(:popover-open) { @media (max-width: 899px) { .s-sample { margin-right: auto; } } }

/* A chosen chip, segment or tab is raised glass, never white: white is only the main action (C3) */
.p-chip[aria-selected="true"], .p-chip[aria-pressed="true"], .p-chip[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 1px 2px rgba(0, 0, 0, 0.4); }
/* One white per view on the home: the bar's Download is glass while the page's own white button is on screen (F6) */
.hero-get-on .s-bar > .s-dl { color: var(--p-soft); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.hero-get-on .s-bar > .s-dl:hover { background: rgba(255, 255, 255, 0.14); color: var(--fg); }
/* the swap is one step: a white face cannot fade, and fading only the words left them dark on dark for a moment */
.hub-page .s-bar > .s-dl { transition-property: transform, box-shadow, filter; }
/* Page changes: cross-document View Transitions (the page swap is in section 6) */
@view-transition { navigation: auto; }
.s-nav { view-transition-name: bar; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
/* Tap targets on phones (F9) */
@media (max-width: 767px) {
  .s-nav .s-menu-btn { width: 44px; height: 44px; }
  .p-chip { min-height: 44px; }
  .s-dl { height: 40px; }
}

/* ================================ 5. v2: the other pages ================================ */
/* Tiles: 24 px corners and padding everywhere (F5) */
.s-page:not(.m-page) > .s-sec, .s-page:not(.m-page) > section.s-sec { border-radius: 24px; padding: 24px; }
/* No boxes inside boxes (E1): a list of folds is one tile with hairline rows; rows inside a tile are hairlines */
.s-page:not(.m-page) > .s-folds { gap: 0; padding: 4px 24px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 60%), rgba(12, 12, 13, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.065); }
.s-page:not(.m-page) > .s-folds > .s-fold, .s-sec .s-fold { background: none; box-shadow: none; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.s-page:not(.m-page) > .s-folds > .s-fold + .s-fold, .s-sec .s-fold + .s-fold { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.s-page:not(.m-page) > .s-folds > .s-fold > summary, .s-sec .s-fold > summary { min-height: 56px; padding-left: 0; padding-right: 0; }
.s-page:not(.m-page) > .s-folds .s-fold-in, .s-sec .s-fold .s-fold-in { padding-left: 0; padding-right: 0; }
.s-sec .s-fold { border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.s-sec .s-fold + .s-fold { border-top: 0; }
.s-sec .c-road, .s-sec .c-area { gap: 0; }
.s-sec .c-road li, .s-sec .c-item { min-height: 56px; padding: 12px 0; border-radius: 0; background: none; box-shadow: none; }
.s-sec .c-road li + li, .s-sec .c-item + .c-item { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.s-sec .c-item.c-open { background: none; box-shadow: none; }
/* Step numbers without brackets (E5) */
.gate-top::before { content: "0" counter(g); }
/* Contrast (F15): a waiting step's title is still readable */
#c-proof h2, .gate[aria-disabled="true"] h2 { color: #9A9A9A; }
/* Inline links a finger can hit (F14), and the site's focus ring on every link (F15) */
.s-page:not(.m-page) p a:not(.p-b), .s-page:not(.m-page) li a:not(.p-b), .s-fine a { padding-block: 4px; }
.s-doc a:focus-visible, .s-legal a:focus-visible, .s-page a:not(.p-b):focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 4px; }
/* The footer: both lines centred, the second on one line on a computer (E3) */
.s-end .s-col { max-width: none; display: grid; justify-items: center; text-align: center; }
.s-legal { justify-content: center; }
.s-legal-note { max-width: none; }
/* A short page keeps its footer at the bottom (E4) */
body.simple { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body.simple > main { flex: 1 0 auto; }
/* The download page: the device switch as one segmented bar, the chosen one raised glass (E2, E6); the panel keeps its
   place while it swaps (F13) */
.s-tabs.p-chips { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; width: min(100%, 420px); padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.s-tabs.p-chips .p-chip { height: 36px; min-height: 36px; background: none; box-shadow: none; }
.s-tabs.p-chips .p-chip[aria-selected="true"] { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(0, 0, 0, 0.4); }
.s-panel { min-height: 560px; }
.m-steps { margin: 4px 0; }
/* The background field never sits behind the text of an inner page (A11) */
body.simple:not(.hub-page)::before, body.simple:not(.hub-page) .ascii-field {
  -webkit-mask-image: radial-gradient(ellipse 760px 100% at 50% 0, transparent 60%, #000 100%); mask-image: radial-gradient(ellipse 760px 100% at 50% 0, transparent 60%, #000 100%); }
/* Step numbers as bare mono figures (E5): 01, 02 ... */
.s-steps > li::before { content: counter(s, decimal-leading-zero); }
.gate-top::before { content: counter(g, decimal-leading-zero); }
/* Type scale (F4): inner page titles at 40 px, as on the coin pages */
.s-page > .s-head h1, .l-view > .s-head h1 { font-size: 40px; line-height: 44px; }
@media (max-width: 760px) { .s-page > .s-head h1, .l-view > .s-head h1 { font-size: 32px; line-height: 36px; } }
/* The narrowest phones: the bar keeps the mark, the logo, Download and the menu (the name is in the sheet) */
@media (max-width: 360px) { .s-bar > .s-brand .dots { display: none; } .s-bar { padding-left: 16px; gap: 8px; } }

/* ================================ 6. The motion lab, applied (motion.css, motion.js, motion-apply.js) ================================
   The site's own older lift, sweep and press for buttons and chips, its hover dropdown and its page rise were taken
   out: motion.css does them now (press spring, chip, sweep on Get DarkProof only, menu springs, page swap). Kept
   here: only how the lab's parts sit in this site. */
/* the "$DPRF" menu: motion.js places it under its word (menu springs); these are its rows */
.s-group-list.mo-menu { min-width: 180px; }
.s-group-list.mo-menu a[aria-current="page"] { background: rgba(255, 255, 255, 0.13); color: var(--fg); }
.s-group-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
/* glass chips keep the site's tint; the lab's chip moves them */
.p-chip { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.p-chip:hover { filter: none; background: rgba(255, 255, 255, 0.11); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.22); color: var(--fg); }
.p-sheen:hover, .p-press:hover { filter: none; }
/* page changes: the bar stays, the page itself swaps (the lab's page swap) */
main { view-transition-name: mo-pg; }
/* the dot field: the site's second background layer. The ASCII field (field.js) fills the sides; the dot field fills
   the middle column behind the tiles, where the ASCII field is masked away, and brightens around the pointer. */
.s-page { position: relative; isolation: isolate; }
.s-page > .mo-field { position: absolute; inset: 0; z-index: -1; border-radius: 0; -webkit-mask: radial-gradient(ellipse 760px 100% at 50% 0, #000 50%, transparent 72%); mask: radial-gradient(ellipse 760px 100% at 50% 0, #000 50%, transparent 72%); opacity: 0.55; }
/* the phone menu button fits inside the bar at 390 px (it stood 20 px out): the name gives way to the logo below 440 px */
@media (max-width: 440px) { .s-bar > .s-brand .dots { display: none; } .s-bar { gap: 8px; padding-left: 16px; padding-right: 8px; } }
/* copy confirms: the pages' own "copied" lines are said by the toast or the button; kept for screen readers */
.mo-said { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* the lab's resolve and typed text keep the page's own type: titles stay Geist, chat lines stay Geist */
h1.mo-resolve, h2.mo-resolve { font-family: inherit; font-variant-numeric: normal; }
#ai-type.mo-type, #say-text.mo-type, #launch-name.mo-type { font-family: inherit; font-variant-numeric: normal; }
/* a page's own control that a lab part stands in for stays in the page, hidden; its script still reads it */
.m-proxied { display: none !important; }
.s-head .s-tabs-seg { width: min(100%, 420px); margin-inline: auto; }
