/* Banknova web: same visual language as the app (dark ground, poster yellow, cream). */
/* Self-hosted fonts (D56). SIL OFL 1.1, see fonts/OFL-*.txt. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/DMSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/DMSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/DMSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/Oswald-Medium.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/Oswald-SemiBold.woff2") format("woff2"); }
:root {
  --bg: #0D0E11;
  --surface: #16181D;
  --line: #2A2D34;
  --yellow: #F3C318;
  --cream: #F4F1E8;
  --muted: #A7A9AE;
  --ink: #0D0E11;
  --focus: #F3C318;
  --radius: 14px;
  --head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.i18n-wait body { visibility: hidden; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 18px);
  color: var(--cream);
  font: 400 17px/1.6 var(--body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
:lang(ar) body, :lang(ur) body, :lang(he) body { line-height: 1.8; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
strong { color: var(--cream); font-weight: 700; }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px;
  background: var(--yellow); color: var(--ink); padding: 10px 14px; border-radius: 8px;
  font-weight: 700; z-index: 10; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: rgba(13,14,17,.88); }
.top .wrap { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; margin-inline-end: auto; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span { font: 600 22px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 4px 16px; flex-wrap: wrap; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 500; padding: 6px 2px; }
.nav a[aria-current="page"] { color: var(--yellow); box-shadow: inset 0 -2px 0 var(--yellow); }
.lang { display: inline-flex; align-items: center; gap: 8px; }
.lang label { font-size: 14px; color: var(--muted); }
select, input, textarea {
  font: inherit; color: var(--cream); background: var(--surface);
  border: 1px solid #3A3D44; border-radius: 10px;
}
.lang select { padding: 6px 30px 6px 10px; font-size: 15px; max-width: 190px; }

/* Content */
main { flex: 1; padding: 40px 0 56px; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 7vw, 56px); text-transform: uppercase; letter-spacing: .02em; color: var(--cream); }
h2 { font-size: clamp(22px, 4vw, 28px); color: var(--yellow); margin-top: 2em; }
h3 { font-size: 19px; color: var(--cream); font-weight: 500; }
:lang(ar) h1, :lang(ur) h1, :lang(he) h1, :lang(hi) h1, :lang(bn) h1, :lang(gu) h1, :lang(kn) h1, :lang(ml) h1,
:lang(mr) h1, :lang(or) h1, :lang(pa) h1, :lang(ta) h1, :lang(te) h1, :lang(th) h1 { font-family: var(--body); font-weight: 700; line-height: 1.35; }
:lang(ar) h2, :lang(ur) h2, :lang(he) h2, :lang(th) h2, :lang(ta) h2, :lang(ml) h2 { font-family: var(--body); font-weight: 700; line-height: 1.4; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.3em; }
li { margin-bottom: .45em; }
.muted { color: var(--muted); }
.kicker { font: 500 14px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--cream); max-width: 60ch; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.short { border-inline-start: 4px solid var(--yellow); margin: 28px 0; }
.short h2 { margin-top: 0; font-size: 20px; }
.short ul { margin: 0; }

/* Landing */
.hero { padding: 16px 0 12px; }
.badge {
  display: inline-block; margin: 12px 0 8px; padding: 12px 18px; border-radius: 12px;
  background: var(--yellow); color: var(--ink); font: 600 17px/1.2 var(--head); letter-spacing: .05em; text-transform: uppercase;
}
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 36px 0 28px; padding: 0; list-style: none; }
.features li { margin: 0; }
.features h2 { font-size: 20px; margin: 0 0 6px; color: var(--yellow); }
.features p { margin: 0; color: var(--muted); }

/* Privacy */
.items h3 { margin-top: 1.4em; }
.procs { list-style: none; padding: 0; display: grid; gap: 12px; }
.procs li { margin: 0; }
.procs h3 { margin: 0 0 8px; color: var(--yellow); }
.procs dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; }
.procs dt { color: var(--muted); font-size: 15px; }
.procs dd { margin: 0; }
@media (max-width: 560px) { .procs dl { grid-template-columns: 1fr; } .procs dd { margin-bottom: 6px; } }
.updated { color: var(--muted); }

/* Support */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; position: relative; padding-inline-end: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 12px; font: 500 24px/1 var(--head); color: var(--yellow); }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 20px 14px; }
form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 700; margin-bottom: 6px; }
input, textarea, form select { width: 100%; padding: 12px 14px; }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--yellow); }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
button {
  font: 600 18px/1 var(--head); letter-spacing: .06em; text-transform: uppercase;
  background: var(--yellow); color: var(--ink); border: 0; border-radius: 12px; padding: 16px 26px; cursor: pointer;
}
button:hover { filter: brightness(1.06); }
.formnote { font-size: 15px; color: var(--muted); margin-top: 14px; }
.sent { border-inline-start: 4px solid var(--yellow); margin-bottom: 24px; }
.sent h2 { margin: 0 0 6px; font-size: 22px; }
.sent p { margin: 0; }
[hidden] { display: none !important; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 15px; color: var(--muted); }
.foot p { margin: 0 0 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }

/* App Store button (campaign link, D94) */
.cta { margin: 16px 0 0; }
.store {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--yellow); color: var(--ink); border-radius: 12px; padding: 14px 22px;
  font: 600 18px/1.2 var(--head); letter-spacing: .05em; text-transform: uppercase;
}
.store::before {
  content: ""; width: 18px; height: 22px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 20'%3E%3Cpath d='M14.1 10.6c0-2.6 2.1-3.8 2.2-3.9-1.2-1.8-3.1-2-3.7-2-1.6-.2-3.1.9-3.9.9-.8 0-2-.9-3.4-.9C3.6 4.8 1.9 5.8 1 7.4c-1.9 3.2-.5 8 1.3 10.6.9 1.3 1.9 2.7 3.3 2.6 1.3-.1 1.8-.9 3.4-.9s2 .9 3.4.8c1.4 0 2.3-1.3 3.2-2.6 1-1.5 1.4-2.9 1.4-3-.1 0-2.9-1.1-2.9-4.3zM11.5 3c.7-.9 1.2-2 1.1-3.2-1 0-2.3.7-3 1.6-.7.8-1.2 2-1.1 3.1 1.1.1 2.3-.6 3-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 20'%3E%3Cpath d='M14.1 10.6c0-2.6 2.1-3.8 2.2-3.9-1.2-1.8-3.1-2-3.7-2-1.6-.2-3.1.9-3.9.9-.8 0-2-.9-3.4-.9C3.6 4.8 1.9 5.8 1 7.4c-1.9 3.2-.5 8 1.3 10.6.9 1.3 1.9 2.7 3.3 2.6 1.3-.1 1.8-.9 3.4-.9s2 .9 3.4.8c1.4 0 2.3-1.3 3.2-2.6 1-1.5 1.4-2.9 1.4-3-.1 0-2.9-1.1-2.9-4.3zM11.5 3c.7-.9 1.2-2 1.1-3.2-1 0-2.3.7-3 1.6-.7.8-1.2 2-1.1 3.1 1.1.1 2.3-.6 3-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.store:hover { filter: brightness(1.06); }
.hero .cta { margin: 18px 0 8px; }
.latest ul { padding-inline-start: 1.1em; }
.latest h2 a { color: var(--yellow); text-decoration: none; }

/* Blog and terms (English pages built by web/blog.mjs) */
.post { max-width: 760px; padding-top: 8px; }
.post h1 { font-size: clamp(30px, 6vw, 46px); text-transform: none; letter-spacing: .01em; margin-top: 8px; }
.crumbs { font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.meta { font-size: 15px; color: var(--muted); margin: 0 0 8px; }
.post .short { margin-top: 20px; }
.post .short p:last-child { margin-bottom: 0; }
.cover { display: block; width: 100%; height: auto; border-radius: var(--radius); margin: 24px 0 8px; border: 1px solid var(--line); }
.post .body h2, .post .long h2 { margin-top: 1.6em; }
.post .body img { max-width: 100%; height: auto; }
.post table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 16px; display: block; overflow-x: auto; }
.post th, .post td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; vertical-align: top; }
.post th { background: var(--surface); color: var(--yellow); font-weight: 700; }
.post blockquote { margin: 0 0 1em; padding: 4px 18px; border-inline-start: 3px solid var(--yellow); color: var(--cream); }
.product { margin-top: 36px; border-top: 5px solid var(--yellow); }
.product h2 { margin-top: 0; }
.cta-inline { margin: 32px 0; border-top: 5px solid var(--yellow); }
.cta-inline p { margin: 0; }
.cta-inline .cta { margin-top: 14px; }
.posts { list-style: none; padding: 0; display: grid; gap: 16px; margin: 24px 0; }
.posts li { margin: 0; }
.post-card { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; padding: 14px; }
.post-card img { width: 100%; height: auto; border-radius: 10px; display: block; }
.post-card h2 { font-size: 21px; margin: 0 0 6px; }
.post-card h2 a { color: var(--cream); text-decoration: none; }
.post-card p { margin: 0 0 4px; font-size: 16px; color: var(--muted); }
@media (max-width: 560px) { .post-card { grid-template-columns: 1fr; } }
