/* Theme "Vault": a business neobank.
   Petrol-black header and hero panel on a cool white canvas. Categories are accounts (strip under the header);
   every offer is a virtual card: chip, masked number, the reward as an incoming "+" amount.
   Type: Geologica (text and headings), IBM Plex Mono (amounts, counts, clock). */

@font-face { font-family: "Geologica"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/geologica-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geologica"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/geologica-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/geologica-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geologica"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/geologica-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-weight: 800; font-style: normal; font-display: swap; src: url(fonts/geologica-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geologica"; font-weight: 800; font-style: normal; font-display: swap; src: url(fonts/geologica-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/ibm-plex-mono-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/ibm-plex-mono-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/ibm-plex-mono-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --ink: #0e1b22;
  --ink-2: #1a2b34;
  --canvas: #f3f5f6;
  --card: #fff;
  --line: #dde3e7;
  --mute: #5b6b74;
  --sig: #ff4a1c;
  --sig-d: #d93a10;
  --fh: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fm: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --c: #0e1b22;
  color-scheme: light;
}
.c-top { --c: #ff4a1c; }
.c-new { --c: #7a3cff; }
.c-faucets { --c: #0aa3c2; }
.c-passive { --c: #1f9d55; }
.c-apps { --c: #2563eb; }
.c-play { --c: #e0a100; }
.c-more { --c: #6b7a85; }
.c-russian { --c: #c2185b; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 15px/1.5 var(--fh); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sig); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* header */
.top { background: var(--ink); color: #fff; }
.top-in { max-width: 1320px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mk { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--sig); color: #fff; font: 800 18px/1 var(--fh); }
.wm { font: 800 20px/1 var(--fh); letter-spacing: -.01em; }
.wm b { font-weight: 400; color: #9fb2bc; margin-left: 1px; }
.top-r { display: flex; align-items: center; gap: 10px; font: 500 13px var(--fm); color: #9fb2bc; }
.tally b { color: #fff; font-weight: 600; }
.clock { padding: 4px 9px; border: 1px solid #2c4350; border-radius: 8px; color: #cfdbe1; min-width: 5.2em; text-align: center; }
.clock:empty { display: none; }
.lang { padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 13px var(--fh); text-decoration: none; text-transform: uppercase; }
.lang:hover { background: var(--sig); color: #fff; }

/* accounts strip */
.accts { background: var(--canvas); border-bottom: 1px solid var(--line); }
.accts-in { max-width: 1320px; margin: 0 auto; padding: 12px 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.accts-in::-webkit-scrollbar { display: none; }
.ac { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-decoration: none; font: 600 14px/1.1 var(--fh); white-space: nowrap; }
.ac i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.ac b { margin-left: auto; padding-left: 10px; font: 600 13px var(--fm); color: var(--mute); }
.ac:hover { border-color: var(--ink); }
.ac[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ac[aria-current] b { color: #9fb2bc; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 18px 16px 120px; }

/* hero: a dark panel, the spotlight card sits inside it */
.hero { display: grid; gap: 18px; padding: 22px; border-radius: 28px; background: var(--ink); color: #fff; margin-bottom: 8px; }
.hero-copy h1 { margin: 0; font: 800 clamp(24px, 3.6vw, 46px)/1.08 var(--fh); letter-spacing: -.02em; max-width: 18ch; }
.hero-copy p { margin: 12px 0 0; max-width: 46ch; color: #a9bbc4; font-size: 16px; }
.hero-cta { display: none; }
.hero-spot { min-width: 0; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); align-items: center; padding: 34px 36px; gap: 36px; }
}

/* blocks */
.block { margin-top: 30px; }
.hero + .block { margin-top: 24px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.block-head h2 { margin: 0; font: 800 clamp(19px, 2.4vw, 26px)/1.15 var(--fh); letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
.block-head h2::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); flex: none; }
.block-head p { margin: 3px 0 0; color: var(--mute); font-size: 14px; }
.h-cat span { display: none; }
.h-new .pulse { display: none; }
.more { flex: none; padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 999px; font: 600 13px var(--fh); text-decoration: none; white-space: nowrap; }
.more:hover { background: var(--ink); color: #fff; }

.grid { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1160px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* the virtual card */
.vt { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--card); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.vt:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 10px 24px rgba(14, 27, 34, .12); }
.vt::before { content: ""; position: absolute; left: 18px; top: -1px; width: 38px; height: 4px; border-radius: 0 0 4px 4px; background: var(--c); }
.hd { display: flex; align-items: flex-start; gap: 10px; }
.ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: color-mix(in srgb, var(--c) 14%, #fff); font-size: 22px; line-height: 1; }
.nm { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nm strong { font: 800 17px/1.15 var(--fh); letter-spacing: -.01em; overflow-wrap: anywhere; }
.nm small { margin-top: 3px; color: var(--mute); font-size: 13px; line-height: 1.3; }
.flag { flex: none; align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: var(--sig); color: #fff; font: 600 11px/1.3 var(--fh); font-style: normal; }
.rw { display: block; padding: 9px 12px; border-radius: 12px; background: color-mix(in srgb, var(--c) 9%, #fff); font: 600 clamp(16px, 1.5vw, 19px)/1.25 var(--fm); letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rw::before { content: "+"; margin-right: .45em; color: var(--sig); font-weight: 600; }
.ds { color: #34454e; font-size: 14px; line-height: 1.45; }
.pk { display: flex; flex-wrap: wrap; gap: 5px; }
.pk span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; line-height: 1.4; color: #34454e; background: #f8fafb; }
.ft-row { margin-top: auto; padding-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pan { display: inline-flex; align-items: center; gap: 7px; font: 500 12px var(--fm); color: #7b8b94; letter-spacing: .08em; }
.pan::before { content: "•••"; letter-spacing: .1em; }
.pan i { order: -1; width: 17px; height: 13px; border-radius: 3px; border: 1.5px solid var(--c); background: linear-gradient(var(--c), var(--c)) center / 100% 1.5px no-repeat; opacity: .85; }
.go { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 13px/1.2 var(--fh); text-align: right; }
.go i { font-style: normal; }
.vt:hover .go { background: var(--sig); }

/* featured and spotlight */
.feat { background: var(--ink); border-color: var(--ink); color: #fff; }
.feat .nm small, .feat .ds { color: #a9bbc4; }
.feat .ico { background: rgba(255, 255, 255, .1); }
.feat .rw { background: rgba(255, 255, 255, .09); color: #fff; }
.feat .pk span { background: transparent; border-color: #34505e; color: #cfdbe1; }
.feat .pan { color: #7f95a0; }
.feat .go { background: var(--sig); }
.feat:hover { border-color: var(--sig); }
.spot { border-color: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .12); }
.spot:hover { border-color: #fff; }
.spot .nm strong { font-size: 20px; }
.spot .rw { font-size: 22px; background: color-mix(in srgb, var(--sig) 10%, #fff); }
.spot .go { background: var(--sig); }
.spot:hover .go { background: var(--sig-d); }

/* category and plain pages */
.cat-head { padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); margin-top: 0; }
.cat-head::before { content: ""; display: block; width: 44px; height: 6px; border-radius: 3px; background: var(--c); margin-bottom: 14px; }
.page-title { margin: 0; font: 800 clamp(26px, 4vw, 40px)/1.08 var(--fh); letter-spacing: -.02em; }
.cat-head p { margin: 8px 0 0; max-width: 62ch; color: var(--mute); }
.search { display: block; margin-top: 16px; max-width: 460px; }
.search input { width: 100%; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #f8fafb; color: var(--ink); font: 400 16px var(--fh); }
.search input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(255, 74, 28, .25); }
.empty { padding: 28px 18px; border: 1.5px dashed var(--line); border-radius: 18px; color: var(--mute); text-align: center; }
.empty a, .suggest a { font-weight: 600; }
.suggest { margin-top: 18px; color: var(--mute); }

.prose { max-width: 72ch; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.prose h2 { margin: 26px 0 6px; font: 800 21px/1.2 var(--fh); letter-spacing: -.01em; }
.prose p, .prose li { color: #2f414a; }
.prose a { color: var(--sig-d); }
.cform { display: grid; gap: 12px; max-width: 520px; margin-top: 14px; }
.cform label { display: grid; gap: 5px; font: 600 14px var(--fh); }
.cform input, .cform select, .cform textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #f8fafb; color: var(--ink); font: 400 16px var(--fh); }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(255, 74, 28, .25); }
.cform button { justify-self: start; padding: 11px 24px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px var(--fh); cursor: pointer; }
.cform button:hover { background: var(--sig); }
.notice { padding: 11px 15px; border-radius: 12px; border: 1.5px solid; font-weight: 600; }
.notice.ok { border-color: #1f9d55; background: #e3f6ea; }
.notice.bad { border-color: #d93a10; background: #fde8e2; }

/* footer */
.ft { background: var(--ink); color: #a9bbc4; border-radius: 28px 28px 0 0; }
.ft-in { max-width: 1320px; margin: 0 auto; padding: 26px 16px calc(30px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; font-size: 13px; }
.ft p { margin: 0; max-width: 100ch; }
.ft nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ft nav a { color: #fff; font-weight: 600; text-underline-offset: 4px; }
.ft nav a:hover { color: var(--sig); }
.ft small { color: #7f95a0; font-family: var(--fm); }

/* push bar */
.push { position: fixed; z-index: 60; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(520px, calc(100% - 20px)); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border: 1px solid var(--ink); border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(14, 27, 34, .28); }
.push[hidden] { display: none; }
.push-ico { font-size: 20px; line-height: 1; flex: none; }
.push-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.push-txt strong { font: 800 15px/1.25 var(--fh); }
.push-txt span { font-size: 12.5px; line-height: 1.3; color: var(--mute); }
.push-txt span:empty { display: none; }
.push-yes { flex: none; padding: 9px 18px; border: 0; border-radius: 999px; background: var(--sig); color: #fff; font: 600 14px var(--fh); cursor: pointer; }
.push-yes:hover { background: var(--sig-d); }
.push-no { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--mute); font-size: 22px; line-height: 1; cursor: pointer; }
.push-no:hover { background: var(--canvas); color: var(--ink); }
.push.done { border-color: #1f9d55; }
.push.done .push-yes, .push.done .push-no { display: none; }

@media (max-width: 559px) {
  .top-in { padding: 9px 12px; }
  .tally { display: none; }
  .accts-in, .wrap, .ft-in { padding-left: 12px; padding-right: 12px; }
  .hero { padding: 18px; border-radius: 22px; }
  .vt { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) { .vt { transition: none; } .vt:hover { transform: none; } }
@media (min-width: 1100px) {
  .ac { flex: 1 1 auto; min-width: 0; padding: 9px 10px; gap: 6px; font-size: 13.5px; }
  .ac b { padding-left: 6px; }
}
