/* umoovy.com — palette and type from docs/brand.md */
@font-face { font-family: Nunito; font-weight: 200 1000; font-display: swap; src: url(fonts/nunito-latin.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: Nunito; font-weight: 200 1000; font-display: swap; src: url(fonts/nunito-latin-ext.woff2) format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Nunito; font-weight: 200 1000; font-display: swap; src: url(fonts/nunito-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Nunito; font-weight: 200 1000; font-display: swap; src: url(fonts/nunito-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
/* Nunito has no Devanagari: Baloo 2 is the rounded match for Hindi */
@font-face { font-family: "Baloo 2"; font-weight: 400 800; font-display: swap; src: url(fonts/baloo2-devanagari.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }

:root {
  --purple: #5B2BC6; --violet: #9B6BFF; --ink: #140F1F; --milk: #FFFFFF;
  --lilac: #EFE8FF; --muzzle: #FFB3C8; --blush: #FF7FA6; --popcorn: #FFC94D;
  /* interface (brandbook § Цвета → Интерфейс) */
  --plum: #241B36; --mist: #CFC8DE; --dust: #8F86A6;
  --ink-2: #4A4458; --line: #E4DCF5; --deep: #4A20A8;
  --leaf: #1F6B12; --leaf-bg: #E3F6DF;
  --r: 22px;
  --font: Nunito, "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--milk); color: var(--ink); font: 400 18px/1.55 var(--font); }
img, svg { max-width: 100%; }
a { color: var(--purple); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-weight: 900; font-size: clamp(40px, 7vw, 76px); }
h2 { font-weight: 900; font-size: clamp(30px, 4.5vw, 46px); }
h3 { font-weight: 800; font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.small { font-size: 15px; color: var(--ink-2); }
.lead { font-size: clamp(19px, 2.2vw, 23px); }
.sub { font-size: 20px; color: var(--ink-2); max-width: 680px; margin-bottom: 40px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-block; background: var(--purple); color: #fff; font-weight: 800; font-size: 18px; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; white-space: nowrap; border: 2px solid var(--purple); transition: transform .15s, background .15s; }
.btn:hover { background: var(--deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--purple); }
.btn-ghost:hover { background: var(--lilac); }
.btn-light { background: #fff; color: var(--purple); border-color: #fff; }
.btn-light:hover { background: var(--lilac); }
.btn-small { padding: 8px 18px; font-size: 16px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; margin-right: auto; }
.brand img { height: 38px; width: auto; }
.top nav { display: flex; align-items: center; gap: 22px; font-weight: 800; font-size: 16px; }
.top nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--purple); }
@media (max-width: 860px) { .top nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .top nav { display: none; } }

.lang { position: relative; font-weight: 800; font-size: 16px; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 2px solid var(--line); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 30px rgba(20,15,31,.14); min-width: 170px; }
.lang li a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.lang li a:hover { background: var(--lilac); }
.lang li a[aria-current] { color: var(--purple); background: var(--lilac); }

/* hero */
.hero { padding: 40px 0 72px; background: radial-gradient(900px 420px at 50% 40%, var(--lilac), transparent 70%); }
.hero-stack { text-align: center; }
.hero-art { max-width: 980px; margin: 18px auto 8px; }
.hero-art svg { width: 100%; height: auto; cursor: pointer; display: block; }
.hero .lead { max-width: 720px; margin: 0 auto; }
.hero .ctas { justify-content: center; }
.badge { display: inline-block; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin: 0; }
.badge::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--popcorn); margin-right: 8px; vertical-align: 1px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* sections */
.section { padding: 88px 0; }
.dark { background: var(--ink); color: #fff; }
.dark .sub { color: var(--mist); }
.tint { background: var(--lilac); }
.purple { background: var(--purple); color: #fff; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 28px; }
.step img { width: 110px; height: 110px; display: block; margin-bottom: 12px; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 17px; margin-right: 10px; vertical-align: 2px; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.feats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { background: var(--plum); border-radius: var(--r); padding: 26px; }
.feat svg { width: 40px; height: 40px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feat p { color: var(--mist); font-size: 16px; margin: 0; }
@media (max-width: 960px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* screenshots */
.shots { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(20px, calc((100vw - 1080px) / 2)) 24px; }
.shot { margin: 0; flex: 0 0 230px; scroll-snap-align: center; text-align: center; }
.phone { border: 8px solid var(--ink); border-radius: 36px; overflow: hidden; background: var(--ink); box-shadow: 0 18px 40px rgba(20,15,31,.18); }
.phone img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; font-weight: 800; font-size: 16px; }

/* get */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: #fff; border-radius: var(--r); padding: 30px; display: flex; gap: 24px; align-items: flex-start; }
.card-text { flex: 1; }
.card-wide { grid-column: 1 / -1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.card code { white-space: nowrap; font-size: .92em; background: var(--lilac); padding: 1px 5px; border-radius: 6px; }
.card h3 { font-size: 28px; margin-bottom: 4px; }
.meta { color: var(--ink-2); font-weight: 800; font-size: 16px; }
.qr { margin: 0; text-align: center; flex: 0 0 160px; }
.qr img { width: 160px; height: 160px; display: block; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.qr figcaption { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.qr-soon img { width: 120px; height: 120px; margin: 20px auto; border: 0; opacity: .85; }
.share { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.share img { width: 96px; height: 96px; border-radius: 10px; background: #fff; }
.share p { margin: 0; }
.note { margin-top: 24px; font-size: 16px; color: var(--ink-2); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .card { flex-direction: column; } .qr { align-self: center; } }

/* partners */
.partners { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; }
.ticks li { padding-left: 34px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 11px; border-left: 4px solid var(--popcorn); border-bottom: 4px solid var(--popcorn); transform: rotate(-45deg); }
.partners-art { width: 260px; height: 260px; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } .partners-art { width: 160px; height: 160px; order: -1; } }

/* faq */
.qa { border-bottom: 2px solid var(--line); }
.qa summary { cursor: pointer; font-weight: 800; font-size: 20px; padding: 20px 40px 20px 0; list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 30px; color: var(--purple); }
.qa[open] summary::after { content: "−"; }
.qa p { color: var(--ink-2); padding-bottom: 12px; }

/* prose (privacy) */
.prose h1 { font-size: clamp(36px, 5vw, 52px); }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose hr { border: 0; border-top: 2px solid var(--line); margin: 40px 0 20px; }
.notfound { text-align: center; }
.notfound img { width: 180px; height: 180px; }

/* header: one business entry point */
.pill { font-weight: 800; font-size: 15px; color: var(--purple); text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--purple); white-space: nowrap; }
.pill:hover { background: var(--lilac); }
.brand { align-items: center; gap: 10px; text-decoration: none; }
.brand-tag { font-weight: 900; font-size: 15px; color: var(--ink-2); letter-spacing: .02em; }
@media (max-width: 560px) { .brand-tag { display: none; } .lang summary { font-size: 0; gap: 0; padding: 8px 10px; } .lang summary svg { width: 20px; height: 20px; } .pill { font-size: 14px; padding: 7px 12px; } .brand img { height: 32px; } .top-row { gap: 10px; } }

/* umoovy for business */
.biz-hero { background: var(--ink); color: #fff; padding: 64px 0 72px; }
.biz-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.biz-hero .badge { background: var(--purple); }
.biz-hero h1 { font-size: clamp(38px, 6vw, 64px); margin-top: 18px; }
.biz-hero .lead { color: var(--mist); max-width: 640px; }
.biz-hero-art { width: 280px; height: 280px; }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
@media (max-width: 760px) { .biz-hero-grid { grid-template-columns: 1fr; } .biz-hero-art { width: 140px; height: 140px; order: -1; } .biz-hero { padding-top: 36px; } }

.cases { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.case { border: 2px solid var(--line); border-radius: var(--r); padding: 22px; }
.case svg { width: 34px; height: 34px; fill: none; stroke: var(--purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.case h3 { font-size: 18px; }
.case p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 1000px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cases { grid-template-columns: 1fr; } }
.biz .steps { margin-top: 32px; }
.biz .step h3 { margin-bottom: 8px; }

.pk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.pk-head .sub { margin-bottom: 28px; }
.currency { display: inline-flex; border: 2px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 28px; }
.currency button { font: 800 15px var(--font); border: 0; background: none; color: var(--ink-2); padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.currency button[aria-pressed="true"] { background: var(--purple); color: #fff; }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pkg { border: 2px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.pkg-main { border-color: var(--purple); box-shadow: 0 16px 40px rgba(91,43,198,.14); }
.pkg-num { width: 34px; height: 34px; border-radius: 50%; background: var(--lilac); color: var(--purple); font-weight: 900; display: grid; place-items: center; margin: 0 0 12px; }
.pkg h3 { font-size: 26px; margin-bottom: 6px; }
.pkg-price { font-weight: 900; font-size: 40px; line-height: 1.1; margin: 4px 0 2px; }
.pkg-binding { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.pkg-vol { font-weight: 800; color: var(--purple); font-size: 16px; }
.pkg dl { margin: 8px 0 20px; font-size: 15px; }
.pkg dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.pkg dt { color: var(--ink-2); }
.pkg dd { margin: 0; font-weight: 800; text-align: right; }
.pkg-cta { margin: auto 0 0; }
.pkg-cta .btn { width: 100%; text-align: center; }
@media (max-width: 960px) { .pkgs { grid-template-columns: 1fr; } }

.tr { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.dark .ticks li::before { border-color: var(--violet); }
.tr-art { width: 220px; height: 220px; }
@media (max-width: 760px) { .tr { grid-template-columns: 1fr; } .tr-art { width: 140px; height: 140px; order: -1; } }

.pays { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.pay { border: 2px solid var(--line); border-radius: var(--r); padding: 26px; }
.pay-badge { display: inline-block; font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--lilac); color: var(--ink-2); }
.pay-badge.on { background: var(--leaf-bg); color: var(--leaf); }
.pay p:last-child { margin: 0; color: var(--ink-2); }
@media (max-width: 700px) { .pays { grid-template-columns: 1fr; } }
.center { text-align: center; }

.biz-platforms { margin: 22px 0 0; font-size: 15px; font-weight: 800; }
.biz-platforms a { color: var(--mist); text-decoration: none; }
.biz-platforms a:hover { color: #fff; }
.devices { display: grid; grid-template-columns: 2fr 3fr; gap: 22px; }
.dev-group { border: 2px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.dev-group h3 { font-size: 16px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.dev-group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.dev { display: flex; align-items: center; gap: 10px; background: var(--lilac); border-radius: 14px; padding: 12px 16px; font-weight: 800; font-size: 18px; }
.dev svg { width: 26px; height: 26px; fill: none; stroke: var(--purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dev em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--ink-2); background: #fff; border-radius: 999px; padding: 2px 8px; }
@media (max-width: 860px) { .devices { grid-template-columns: 1fr; } }

/* order and withdrawal forms */
.order h2 { font-size: 26px; margin-top: 36px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.fld { margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-weight: 800; font-size: 16px; }
.opt { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.fld input, .fld textarea { font: 400 17px var(--font); padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.fld input:focus, .fld textarea:focus { border-color: var(--purple); outline: none; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.radio { margin: 0 0 8px; }
.radio label, .cb label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.radio input, .cb input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--purple); }
.muted { color: var(--ink-2); }
.summary { background: var(--lilac); border-radius: var(--r); padding: 6px 26px 14px; margin: 32px 0 24px; }
.summary dl { margin: 0; }
.summary dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.summary dl > div:first-child { border-top: 0; }
.summary dt { font-weight: 800; font-size: 15px; color: var(--ink-2); margin-bottom: 4px; }
.summary dd { margin: 0; }
.summary ul { margin: 6px 0 0; padding-left: 20px; font-size: 16px; }
.cb { margin: 0 0 14px; font-size: 16px; }
.cb .small { display: block; margin: 4px 0 0 30px; }
.req { color: var(--blush); font-weight: 800; }
.btn-order { font-size: 20px; padding: 16px 30px; cursor: pointer; font-family: var(--font); }
.btn-order:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; }
.statement { background: var(--lilac); border-radius: 14px; padding: 16px 20px; font-weight: 800; }

/* cookie notice */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 640px; margin: 0 auto;
  background: var(--ink); color: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 16px 40px rgba(20,15,31,.3); font-size: 16px; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent a { color: var(--violet); }
.consent-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.consent .btn { background: #fff; color: var(--ink); border-color: #fff; flex: 1 1 160px; text-align: center; cursor: pointer; font-family: inherit; }
.consent .btn:hover { background: var(--lilac); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
table.cookies { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0 0 1em; }
table.cookies th, table.cookies td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* footer */
.foot { background: var(--ink); color: var(--mist); padding: 48px 0; font-size: 16px; }
.foot a { color: #fff; }
.foot-row > div { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.foot-row > div p { margin: 0; }
.foot strong { color: #fff; }
.foot-langs a { text-decoration: none; }
.foot .small { color: var(--dust); }

/* Hindi pages: Devanagari runs a bit larger and needs looser lines */
html[lang="hi"] body { line-height: 1.7; }
html[lang="hi"] h1, html[lang="hi"] h2 { line-height: 1.3; }

/* Legal documents converted from Word: numbered paragraphs with a hanging marker */
.prose p.li { position: relative; padding-left: 2.2em; margin: .35em 0; }
.prose p.li .n { position: absolute; left: 0; width: 2em; font-weight: 700; color: var(--purple, #5B2BC6); }
.prose p.li.d2 { margin-left: 1.6em; }
.prose p.li.d3 { margin-left: 3.2em; }

/* rights holders (/rights/) */
.rights-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.rights-hero .badge { background: var(--purple); }
.rights-hero h1 { font-size: clamp(38px, 6vw, 64px); margin-top: 18px; }
.rights-hero .lead { color: var(--mist); max-width: 640px; }
.rights-art { width: 280px; height: 280px; }
@media (max-width: 760px) { .rights-hero-grid { grid-template-columns: 1fr; } .rights-art { width: 150px; height: 150px; order: -1; } }
.asks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ask { border: 2px solid var(--line); border-radius: var(--r); padding: 26px; }
.ask h3 { margin: 12px 0 6px; }
.ask p { color: var(--ink-2); margin: 0; }
.ask-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lilac); color: var(--purple); }
.ask-ico svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .asks { grid-template-columns: 1fr; } }
.rights-how { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.rights-how .ticks li::before { border-color: var(--purple); }
@media (max-width: 760px) { .rights-how { grid-template-columns: 1fr; gap: 0; } }
fieldset.choice { border: 0; padding: 0; margin: 4px 0 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
fieldset.choice legend { font-weight: 800; font-size: 16px; padding: 0; margin-bottom: 8px; width: 100%; }
fieldset.choice label { display: flex; gap: 8px; align-items: center; cursor: pointer; font-size: 16px; }
fieldset.choice input { width: 20px; height: 20px; accent-color: var(--purple); margin: 0; }
.hasher { background: var(--lilac); border-radius: var(--r); padding: 6px 24px 10px; margin: 8px 0 22px; }
.hasher h3 { font-size: 20px; margin: 16px 0 4px; }
.file-btn { position: relative; cursor: pointer; margin: 4px 0 10px; background: #fff; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-btn:focus-within { outline: 3px solid var(--violet); outline-offset: 3px; }
.hash-list { list-style: none; padding: 0; margin: 0 0 10px; font-size: 15px; }
.hash-list li { margin-bottom: 4px; overflow-wrap: anywhere; }
.hash-list code, #r-hashes { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }

/* ---- home: two ways in, and the catalog ---- */
.path { font-size: 22px; margin: 36px 0 16px; color: var(--ink); }
.path:first-of-type { margin-top: 8px; }
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cat-head .sub { margin-bottom: 28px; }
.cat-art { width: 180px; height: 180px; flex: none; }
/* 5 cards: 3 + 2 on a 6-column grid, so no column gets too narrow for long words */
.cats { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat { grid-column: span 2; }
.cat:nth-child(n+4) { grid-column: span 3; }
.cat { background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 22px; }
.cat h3 { hyphens: auto; }
.cat-ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: var(--lilac); color: var(--purple); margin-bottom: 12px; }
.cat-ico svg { width: 28px; height: 28px; }
.cat p { color: var(--ink-2); font-size: 16px; margin: 0; }
@media (max-width: 860px) { .cats { grid-template-columns: 1fr 1fr; } .cat, .cat:nth-child(n+4) { grid-column: auto; } .cat:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr; } .cat-art { display: none; } }
.notice { background: var(--lilac); border-left: 4px solid var(--purple); border-radius: 8px; padding: 12px 16px; margin: 0 0 24px; }
