/* Iconic Relics · Silverpress web system
   Stock and inks come from the approved rebrand (creative-handoff-r4, 2026-11-12):
   carbon, cool white, gray, silver, and teal in tiny amounts. No warm colour, no tech marks.
   Two stocks: carbon (default) and paper (data-theme="light"). .t-dark / .t-light pin one locally. */

/* Each font comes in Google's two files: latin, and latin-ext for accented names (č ć š ž ğ ō ł), which a page fetches
   only when it has such a letter to show (unicode-range). tools/fetch_fonts.py and tools/fetch_studio_fonts.py. */
@font-face { font-family: "Corben"; src: url(../fonts/corben-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Corben"; src: url(../fonts/corben-400-ext.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Corben"; src: url(../fonts/corben-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; 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: "Corben"; src: url(../fonts/corben-700-ext.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-var.woff2) format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; 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: "Montserrat"; src: url(../fonts/montserrat-var-ext.woff2) format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Stand-ins used for the moment before the web fonts arrive: system fonts scaled to the same width
   (measured against Corben and Montserrat), so lines break in the same places and nothing jumps. */
@font-face { font-family: "Corben Fallback"; font-weight: 700; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 124.4%; }
@font-face { font-family: "Corben Fallback"; font-weight: 400; src: local("Georgia"); size-adjust: 103.5%; }
@font-face { font-family: "Montserrat Fallback"; font-weight: 500 600; src: local("Arial"), local("ArialMT"); size-adjust: 114.5%; }
@font-face { font-family: "Montserrat Fallback"; font-weight: 700 800; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 107%; }
@property --d { syntax: '<length>'; inherits: true; initial-value: 0px; }

:root {
  --carbon: #080B0D; --white: #F2F4F3; --gray: #555B60; --silver: #AEB6BC; --teal: #16A7B8;
  --display: "Corben", "Corben Fallback", Georgia, serif;
  --sans: "Montserrat", "Montserrat Fallback", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1180px;
  --gut: clamp(20px, 4vw, 48px);
}
:root, .t-dark {
  --stock: #080B0D; --stock-2: #0D1215; --stock-3: #131A1E; --stock-4: #1D2428;
  --ink: #F2F4F3; --ink-2: #C7CDD1; --ink-3: #AEB6BC; --ink-4: #555B60;
  --line: rgba(174, 182, 188, .22); --line-2: rgba(174, 182, 188, .5);
  --btn-shade: #AEB6BC; --btn-shade-2: #555B60; --offset: rgba(0, 0, 0, .5);
  --focus: #16A7B8;
  --band-ghost: #161C20; --band-1: #F2F4F3; --band-2: #AEB6BC; --band-3: #16A7B8;
  --ht-filter: none; --ht-op: .28; --grain: url(../img/grain-light.png); --grain-op: .5;
  color-scheme: dark;
}
:root[data-theme="light"], .t-light {
  --stock: #F2F4F3; --stock-2: #E8EBEA; --stock-3: #DDE1E0; --stock-4: #CDD2D1;
  --ink: #080B0D; --ink-2: #2A3237; --ink-3: #555B60; --ink-4: #AEB6BC;
  --line: rgba(8, 11, 13, .16); --line-2: rgba(8, 11, 13, .42);
  --btn-shade: #AEB6BC; --btn-shade-2: #AEB6BC; --offset: rgba(8, 11, 13, .2);
  --focus: #080B0D;
  --band-ghost: #E2E6E5; --band-1: #080B0D; --band-2: #AEB6BC; --band-3: #16A7B8;
  --ht-filter: brightness(0); --ht-op: .09; --grain: url(../img/grain-paper.png); --grain-op: .6;
  color-scheme: light;
}
.t-dark, .t-light { background: var(--stock); color: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--stock); color: var(--ink);
  font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  position: relative; overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--teal); color: var(--carbon); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--white); color: var(--carbon); font: 800 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 14px 18px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- print surface ---------- */
.field { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--grain) 0 0 / 220px 220px; opacity: var(--grain-op); }
main, .mast, .foot { position: relative; z-index: 3; }
main { overflow-x: clip; }
.mast { z-index: 20; }   /* the open menu hangs below the masthead and must sit over the page */
.ht { position: absolute; pointer-events: none; background: url(../img/ht-corner.png) 0 0 / 100% 100% no-repeat; opacity: var(--ht-op); filter: var(--ht-filter); }
.bands { position: absolute; top: 0; left: 0; z-index: -1; pointer-events: none; }
.bands path { stroke-linecap: butt; fill: none; }
.bands .intro path { animation: band-draw 2s var(--ease-out) .35s forwards; }
.bands .intro path:nth-child(3) { animation-delay: .47s; }
.bands .intro path:nth-child(4) { animation-delay: .6s; }
@keyframes band-draw { to { stroke-dashoffset: 0; } }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--wide { max-width: 1320px; }
.wrap--text { max-width: 780px; }
.cross { height: clamp(96px, 13vw, 170px); }
.stack > * + * { margin-top: var(--gap, 1em); }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.shade {
  --d: .055em;
  text-shadow: calc(var(--d) * .17) calc(var(--d) * .17) 0 var(--silver), calc(var(--d) * .34) calc(var(--d) * .34) 0 var(--silver),
    calc(var(--d) * .5) calc(var(--d) * .5) 0 var(--silver), calc(var(--d) * .67) calc(var(--d) * .67) 0 var(--silver),
    calc(var(--d) * .84) calc(var(--d) * .84) 0 var(--silver), var(--d) var(--d) 0 var(--silver);
}
.label { font: 800 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
/* A tool page's h1: the tool's name set large, and a few plain words saying what the tool is. In the markup the
   words come second, so the heading reads "Childhood Binder: a digital sports card binder". On the page they
   sit above the name, where the page's small label used to be. */
.h1x { display: flex; flex-direction: column-reverse; }
.h1x__what { font: 800 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); text-shadow: none; margin-bottom: 1.1rem; }
/* where the heading shares its line with other words (Heat Check on narrower screens), the words follow the name */
@media (max-width: 1099px) {
  .h1x--row { display: block; }
  .h1x--row .h1x__what { display: inline-block; margin: 0 0 0 .8rem; }
  .h1x--row .h1x__what .dot { display: none; }
}
.lede { font-family: var(--display); font-weight: 400; line-height: 1.5; }
.quiet { color: var(--ink-3); }
.soft { color: var(--ink-2); }
.tagline { font: 800 .8rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.rule-pill { display: flex; gap: 6px; height: 8px; }
.rule-pill::before { content: ""; flex: 1; background: var(--silver); border-radius: 99px; }
.rule-pill::after { content: ""; width: 12%; min-width: 22px; background: var(--teal); border-radius: 99px; }
.dot { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--teal); margin-right: .6em; vertical-align: .1em; }
.fine { margin: 1.3em 0 1.7em; padding-left: 14px; border-left: 3px solid var(--ink-4); color: var(--ink-3); font-size: .84rem; line-height: 1.5; max-width: 32em; }
.prose { max-width: 40em; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose a, .link { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.prose a:hover, .link:hover { text-decoration-color: currentColor; }
.prose h2 { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--display); margin: 1.6em 0 .5em; }
.prose h3 { font: 700 1.2rem/1.25 var(--display); margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }

/* ---------- buttons: ink block with a silver shade, presses flat ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 46px;
  font: 800 .78rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; text-decoration: none; text-align: center;
  color: var(--stock); background: var(--ink); border: 2px solid var(--ink); border-radius: 12px; padding: 1.05em 1.5em;
  box-shadow: 4px 4px 0 var(--btn-shade); transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--btn-shade); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--btn-shade); }
.btn--line { color: var(--ink); background: var(--stock); box-shadow: 4px 4px 0 var(--btn-shade-2); }
.btn--line:hover { box-shadow: 6px 6px 0 var(--btn-shade-2); }
.btn--line:active { box-shadow: 1px 1px 0 var(--btn-shade-2); }
.btn--small { min-height: 40px; padding: .8em 1.1em; font-size: .68rem; border-radius: 10px; box-shadow: 3px 3px 0 var(--btn-shade); }
.btn--small.btn--line { box-shadow: 3px 3px 0 var(--btn-shade-2); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow, a:hover > .arrow { transform: translateX(4px); }
.textlink { font: 800 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--ink-3); padding-bottom: 6px; white-space: nowrap; }
.textlink:hover { border-color: var(--ink); }

/* ---------- card scans: razor sharp, square corners, always ---------- */
.scan { border-radius: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .55); }
[data-card3d] { cursor: zoom-in; }

/* ---------- frames: the IR badge's double rule ---------- */
.num { display: inline-grid; place-items: center; width: 68px; height: 68px; border: 3px solid var(--ink); border-radius: 16px; position: relative; font: 700 2.1rem/1 var(--display); }
.num::after { content: ""; position: absolute; inset: 4px; border: 1.5px solid var(--ink); border-radius: 10px; }
.frame { position: relative; border: 3px solid var(--ink); border-radius: 20px; padding: clamp(14px, 1.8vw, 24px); background: var(--stock-2); }
.frame::after { content: ""; position: absolute; inset: 4px; border: 1.5px solid var(--ink); border-radius: 14px; pointer-events: none; }

/* ---------- forms ---------- */
.field-row { display: grid; gap: 6px; }
.field-row > label, .legend { font: 800 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
input[type="email"], input[type="text"], input[type="tel"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; background: transparent; color: var(--ink); border: 0; border-bottom: 2px solid var(--ink-3); border-radius: 0;
  font: 500 1rem/1.3 var(--sans); padding: .75em .1em;
}
select { appearance: none; background: no-repeat right .2em center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23AEB6BC' stroke-width='2'/%3E%3C/svg%3E"); padding-right: 1.6em; }
select option { color: #080B0D; background: #F2F4F3; }
:root[data-theme="light"] select, .t-light select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23080B0D' stroke-width='2'/%3E%3C/svg%3E"); }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: .75; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.note { font-size: .86rem; font-weight: 600; min-height: 1.4em; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- masthead ---------- */
.mast { background: var(--stock); }
.mast__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1276px; margin: 0 auto; padding: 16px var(--gut); }
.logo { display: block; flex: 0 0 auto; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); }
.nav__link { font: 800 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: .95em 0; display: inline-flex; align-items: center; gap: .6em; min-height: 44px; }
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link[aria-current] { border-color: var(--teal); }
.nav__link svg { width: 10px; height: 7px; transition: transform .2s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__n { display: none; }
.tgl { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: none; border: 2px solid var(--line-2); padding: 0; }
.tgl:hover { border-color: var(--ink); }
.tgl svg { width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
.tgl[aria-pressed="true"] svg { transform: rotate(180deg); }
.menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--stock); border-top: 1px solid var(--line); border-bottom: 3px solid var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.menu__in { max-width: 1276px; margin: 0 auto; padding: 22px var(--gut) 26px; }
/* On a wide screen: the tools as rows (left) and a preview of the one pointed at or focused (right, site.js). */
.mm { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.mm__col { display: grid; align-content: start; gap: 4px; min-width: 0; }
.menu__tools { display: grid; gap: 4px; }
.mm__item { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 16px; padding: 10px 14px 10px 14px; border: 1.5px solid transparent; border-radius: 16px; text-decoration: none; transition: background-color .2s, border-color .2s; }
.mm__item::before { content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--teal); transform: scaleY(0); transition: transform .3s var(--ease-out); }
.mm__item:hover, .mm__item:focus-visible, .mm__item[data-on] { background: var(--stock-3); border-color: var(--line); }
.mm__item[data-on]::before, .mm__item:focus-visible::before { transform: scaleY(1); }
.mm__item[aria-current="page"] { border-color: var(--line-2); }
.mm__ic { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 8px 18px rgba(0, 0, 0, .45); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.mm__item:hover .mm__ic, .mm__item[data-on] .mm__ic, .mm__item:focus-visible .mm__ic { transform: translateY(-2px) rotate(-5deg) scale(1.07); box-shadow: 0 12px 24px rgba(0, 0, 0, .5), 0 0 0 1px rgba(22, 167, 184, .35); }
.mm__tx { display: grid; gap: 3px; min-width: 0; }
.menu__no { display: block; font: 800 .6rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.menu__name { display: block; font: 700 1.18rem/1.1 var(--display); }
.menu__line { display: block; font-size: .82rem; line-height: 1.38; color: var(--ink-2); }
.mm__all { justify-self: start; margin: 10px 0 0 16px; font: 800 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: .9em 0; border-bottom: 2px solid transparent; }
.mm__all:hover, .mm__all:focus-visible { border-color: var(--teal); }
.mm__peek { position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: center; justify-items: start; gap: 9px; padding: 30px 32px 32px; border: 1.5px solid var(--line); border-radius: 22px; background: radial-gradient(130% 100% at 20% 0%, var(--stock-4), var(--stock-2) 62%); }
.mm__glow { position: absolute; z-index: -1; width: 120%; aspect-ratio: 1; left: calc(var(--gx, 30%) - 60%); top: calc(var(--gy, 20%) - 60%); background: radial-gradient(closest-side, rgba(22, 167, 184, .26), rgba(22, 167, 184, 0) 70%); transition: left .6s var(--ease-out), top .6s var(--ease-out); pointer-events: none; }
.mm__stage { perspective: 800px; margin: 0 0 8px; }
.mm__big { display: block; width: 168px; height: 168px; border-radius: 34px; box-shadow: 0 26px 54px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .05); transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .3s var(--ease-out); animation: mm-float 6s ease-in-out infinite; }
@keyframes mm-float { 50% { translate: 0 -7px; } }
.mm__for { font: 800 .6rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.mm__name { font: 700 1.75rem/1.05 var(--display); }
.mm__line { max-width: 24em; font-size: .93rem; line-height: 1.45; color: var(--ink-2); }
.mm__go { display: inline-flex; align-items: center; gap: .55em; margin-top: 10px; padding: 1.05em 1.4em; border-radius: 999px; background: var(--ink); color: var(--stock); font: 800 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, color .2s; }
.mm__go:hover { background: var(--teal); color: #fff; }
.mm__peek.is-new .mm__big, .mm__peek.is-new .mm__for, .mm__peek.is-new .mm__name, .mm__peek.is-new .mm__line { animation: mm-in .38s var(--ease-out) both; }
.mm__peek.is-new .mm__big { animation: mm-in .38s var(--ease-out) both, mm-float 6s ease-in-out .38s infinite; }
.mm__peek.is-new .mm__name { animation-delay: .04s; }
.mm__peek.is-new .mm__line { animation-delay: .08s; }
@keyframes mm-in { from { opacity: 0; translate: 0 8px; } }
/* the rest of the site, as rows: only in the narrower menu (below 1100 px), where the masthead has no room for them */
.menu__more { display: none; }
.mx__ic { flex: none; width: 32px; height: 32px; border-radius: 8px; }
span.mx__ic { border: 1.5px solid var(--line-2); background: radial-gradient(circle, var(--teal) 0 2.5px, transparent 3px); }
span.mx__ic--all { background: linear-gradient(var(--ink-3), var(--ink-3)) 8px 8px / 5px 5px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) 16px 8px / 5px 5px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) 8px 16px / 5px 5px no-repeat, linear-gradient(var(--teal), var(--teal)) 16px 16px / 5px 5px no-repeat; }
span.mx__ic--cal { background: linear-gradient(var(--teal), var(--teal)) 7px 7px / 18px 4px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) 7px 13px / 5px 5px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) 14px 13px / 5px 5px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) 7px 20px / 5px 5px no-repeat, linear-gradient(var(--teal), var(--teal)) 14px 20px / 5px 5px no-repeat; }
@media (prefers-reduced-motion: reduce) {
  .mm__big, .mm__peek.is-new .mm__big, .mm__peek.is-new .mm__for, .mm__peek.is-new .mm__name, .mm__peek.is-new .mm__line { animation: none; transform: none; }
  .mm__ic, .mm__item:hover .mm__ic, .mm__item[data-on] .mm__ic { transition: none; transform: none; }
}
/* The account control (only in a build with accounts). One link holds both labels, "Sign in" and "Account".
   Which one shows is settled before first paint, because html[data-acct="in"] is set in the head, so the
   wrong label never flashes and nothing moves as the page loads. */
.acct { position: relative; }
.acct > :last-child, [data-acct="in"] .acct > :first-child { display: none; }
[data-acct="in"] .acct > :last-child { display: inline; }
/* beside it, while work on this page is being kept in the account: a ring as it is sent, teal once it is there */
.acct[data-st]::after { content: ""; position: absolute; left: 100%; top: 50%; width: 6px; height: 6px; margin: -4px 0 0 5px; border: 1.5px solid var(--ink-3); border-radius: 50%; }
.acct[data-st="saved"]::after { background: var(--teal); border-color: var(--teal); }
/* Below 1100 px the masthead keeps only the menu button, the account and the light switch: one menu holds the
   tools (two across, no preview) and the rest of the site as rows. */
@media (max-width: 1099px) {
  .nav__d, .nav__w { display: none; }
  .nav__n { display: inline; }
  .mm { grid-template-columns: minmax(0, 1fr); }
  .mm__peek, .mm__all { display: none; }
  .menu__tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  /* the preview's choice (data-on) means nothing without the preview: only hover and focus mark a row here */
  .mm__item[data-on]:not(:hover):not(:focus-visible) { background: none; border-color: transparent; }
  .mm__item[data-on]:not(:focus-visible)::before { transform: scaleY(0); }
  .mm__item[data-on]:not(:hover):not(:focus-visible) .mm__ic { transform: none; box-shadow: 0 8px 18px rgba(0, 0, 0, .45); }
  .menu ul.menu__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin-top: 16px; border-top: 1px solid var(--line-2); }   /* "ul.": the reset `ul[class] { margin: 0 }` outranks a class alone */
  .menu__more a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 2px; border-bottom: 1px solid var(--line-2); font: 800 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
  .menu__more a:hover, .menu__more a[aria-current="page"] { color: var(--teal); }
  .menu__more .acct { padding-left: 46px; }
}
@media (max-width: 760px) {
  .logo img { height: 38px; }
  .mast__in { padding-top: 12px; padding-bottom: 10px; }
  .menu__tools { grid-template-columns: minmax(0, 1fr); }
  .mm__item { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 8px 10px; }
  .mm__ic { width: 44px; height: 44px; border-radius: 10px; }
  .menu__name { font-size: 1.1rem; }
  .menu ul.menu__more { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; font: 800 .66rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ink-4); }
.crumbs a { text-decoration: none; display: inline-block; padding: 6px 0; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); padding: 6px 0; display: inline-block; }

/* ---------- reveals: print coming into register ---------- */
.reg, .rise { opacity: 0; }
.reg.in { animation: reg 1s var(--ease-out) both; }
@keyframes reg { 0% { opacity: 0; transform: translate3d(-16px, -11px, 0); --d: .22em; } 30% { opacity: 1; } 100% { opacity: 1; transform: none; --d: .055em; } }
.rise.in { animation: rise .9s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 34px, 0) rotate(var(--rot, 0deg)); } to { opacity: 1; transform: rotate(var(--rot, 0deg)); } }
.no-js .reg, .no-js .rise { opacity: 1; }

/* ---------- tool cards (a tool is a card in the set) ---------- */
.tcard { container-type: inline-size; display: block; position: relative; aspect-ratio: 5 / 7; text-decoration: none; perspective: 1100px; }
.tcard__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.tcard:hover .tcard__in, .tcard:focus-visible .tcard__in { transform: rotateY(180deg); }
.tc { position: absolute; inset: 0; display: block; font-size: 10cqw; overflow: hidden; text-align: left; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 0 0 1px var(--line-2), .9em 1em 0 var(--offset); }
.tc--front { background: url(../img/grain-paper.png) 0 0 / 220px, #F2F4F3; padding: .4em; color: #F2F4F3; }
.tc--front .panel { display: block; position: relative; height: 100%; background: #080B0D; overflow: hidden; }
.tc .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.tc .dots { position: absolute; right: 0; top: 0; width: 76%; aspect-ratio: 1; background: url(../img/ht-corner.png) 0 0 / 100% 100%; transform: scaleX(-1); opacity: .3; }
.tc .no { position: absolute; left: 1.3em; top: 1.3em; font: 800 .5em/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.tc .st { position: absolute; right: .6em; top: .56em; width: .5em; height: .5em; border-radius: 50%; background: #16A7B8; }
.tc .big { position: absolute; left: .1em; top: .2em; font: 700 5.4em/1 var(--display); --d: .05em; }
.tc .nm { position: absolute; left: .5em; right: .3em; bottom: .5em; font: 700 1.3em/1.02 var(--display); letter-spacing: -.01em; }
.tc--back { background: url(../img/grain-paper.png) 0 0 / 220px, #AEB6BC; color: #080B0D; padding: .75em .75em .7em; transform: rotateY(180deg); }
.tc--back .no { position: static; display: block; }
.tc--back .nm { position: static; display: block; margin-top: .42em; }
.tc--back .ds { display: block; font: 600 .6em/1.4 var(--sans); margin-top: .7em; }
.tc--back .go { position: absolute; left: 1.7em; bottom: 1.6em; font: 800 .44em/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border: .14em solid #080B0D; border-radius: 9em; padding: .55em .8em; }
.tc--back::after { content: ""; position: absolute; right: 0; bottom: 0; width: 82%; aspect-ratio: 1; background: url(../img/ht-corner.png) 0 0 / 100% 100%; transform: scale(-1, -1); filter: brightness(0); opacity: .2; }

/* ---------- questions ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; font: 700 clamp(1.05rem, 1.7vw, 1.25rem)/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.6rem/1 var(--sans); width: 1em; text-align: center; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; max-width: 44em; color: var(--ink-2); }
.faq details > div p + p { margin-top: .8em; }

/* ---------- video: a still until it is played ---------- */
.vid { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #080B0D; border: 0; padding: 0; overflow: hidden; }
.vid--tall { aspect-ratio: 9 / 16; }
.vid img, .vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vid__play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: #F2F4F3; box-shadow: 5px 5px 0 #AEB6BC; display: grid; place-items: center; transition: transform .2s var(--ease); }
.vid__play::after { content: ""; border-left: 22px solid #080B0D; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.vid:hover .vid__play { transform: scale(1.08); }
.vid__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(8, 11, 13, .9)); color: #F2F4F3; text-align: left; font: 800 .68rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- walkthroughs on the tool pages ("Watch how it works"; tools/build.mjs "howto", shown by site.js) ---------- */
.howto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 26px clamp(28px, 5vw, 64px); align-items: center; padding: clamp(40px, 6vw, 84px) 0; scroll-margin-top: 80px; }
.howto__tx h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: .3em 0 .35em; }
.howto__line { color: var(--ink-2); font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.55; max-width: 32em; }
.howto__films { display: grid; gap: 18px; }
.howto__film .vid { box-shadow: 8px 8px 0 var(--offset); }
.howto--two { grid-template-columns: minmax(0, 1fr); }
.howto--two .howto__films { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.howto-jump { margin-top: 16px; }
.howto-jump a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font: 800 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.howto-jump a:hover, .howto-jump a:focus-visible { color: var(--teal); }
.howto-jump__play { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: transform .2s var(--ease); }
.howto-jump__play::after { content: ""; border-left: 10px solid var(--stock); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.howto-jump a:hover .howto-jump__play { transform: scale(1.08); }
@media (max-width: 820px) {
  .howto, .howto--two .howto__films { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- the store, quietly ---------- */
.shop { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 34px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); position: relative; }
.shop::before, .shop::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.shop::before { top: 4px; } .shop::after { bottom: 4px; }
.shop p:not(.label) { font: 400 clamp(1rem, 1.4vw, 1.2rem)/1.45 var(--display); }
.shop .stats { color: var(--ink-3); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ---------- signup ---------- */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.signup .note { grid-column: 1 / -1; }
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 72px); align-items: end; padding: clamp(44px, 7vw, 96px) 0 clamp(10px, 2vw, 30px); }
.join h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .3em; }
.join .lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { padding: clamp(44px, 6vw, 76px) 0 34px; margin-top: clamp(40px, 6vw, 90px); border-top: 3px solid var(--ink); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 34px 40px; align-items: start; }
.foot__mark { font: 700 clamp(1.7rem, 3vw, 2.3rem)/1 var(--display); }
.foot .tagline { margin: 12px 0 16px; color: var(--ink-3); }
.foot .rule-pill { max-width: 220px; }
.foot nav .label { color: var(--ink-3); margin-bottom: 12px; }
.foot nav ul { margin: 0; padding: 0; list-style: none; }
.foot nav a { display: inline-block; padding: 7px 0; text-decoration: none; border-bottom: 1px solid transparent; }
.foot nav a:hover { border-color: var(--ink-3); }
.foot__built p + p { color: var(--ink-3); font-size: .86rem; margin-top: 6px; }
.foot__social { margin-top: 24px; }
.foot__social ul { display: flex; flex-wrap: wrap; gap: 6px; margin-left: -11px; }
.foot .foot__social a.soc { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; color: var(--ink-2, currentColor); transition: color .15s, background-color .15s; }
.foot .foot__social a.soc:hover, .foot .foot__social a.soc:focus-visible { color: var(--ink); background: var(--line, rgba(127,127,127,.15)); }
.mma { text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.mma:hover { border-color: var(--ink); }
.foot__legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .8rem; display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; }

@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .num { width: 56px; height: 56px; font-size: 1.7rem; border-radius: 14px; }
  .num::after { border-radius: 8px; }
  .shop { grid-template-columns: 1fr; }
  .signup, .join { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
}
@media print {
  .mast, .foot, .field, .bands, .skip { display: none !important; }
  body { background: #fff; color: #000; }
}
