/*
 * SanalPOS WP public site. Visual language: docs/design/SITE-STYLE.md (achromatic vellum/paper canvas,
 * one vermillion accent for primary actions only, 8px radius, light-weight tight-tracked headlines).
 * No external fonts or assets. Contrast notes: the vermillion is a shade deeper than the reference (#d92a0b)
 * so white button text keeps WCAG AA (4.8:1); the nav gradient is darkened for the same reason.
 */
:root {
  --vermillion: #d92a0b;
  --vermillion-dark: #b82208;
  --gradient-nav: linear-gradient(94deg, #c61f06 -20%, #d4400a 45%, #c61f06 110%);
  --ink: #000;
  --carbon: #1f1f1f;
  --carbon-2: #2b2b2b;
  --slate-900: #101828;
  --slate-700: #364153;
  --slate-600: #4a5565;
  --steel: #676767;
  --cloud: #d4d4d4;
  --frost: #e5e7eb;
  --paper: #fff;
  --vellum: #f5f5f5;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 8px;
  --shadow: rgba(0, 0, 0, .1) 0 1px 3px 0, rgba(0, 0, 0, .1) 0 1px 2px -1px;
  --max: 1200px;
  --section: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 16px/1.5 var(--font); color: var(--slate-600); background: var(--vellum); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--slate-900); font-weight: 300; }
p { margin: 0 0 16px; }
a { color: var(--slate-900); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--slate-900); outline-offset: 3px; border-radius: var(--radius); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--slate-900); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--max) + 48px); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: .9em; }

/* Announcement + nav */
.announce { background: var(--carbon); color: #fff; font-size: 14px; text-align: center; padding: 8px 16px; }
.announce a { color: #fff; }
.nav { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--frost); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 24px; height: 24px; flex: none; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 12px; font-size: 14px; font-weight: 500; letter-spacing: .3px; text-transform: uppercase; color: var(--slate-700); text-decoration: none; border-radius: var(--radius); }
.nav-links a:hover { background: var(--vellum); }
.nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.nav-cta { display: flex; white-space: nowrap; gap: 8px; align-items: center; }
.nav-menu { display: none; margin-left: auto; }
.nav-menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--cloud); border-radius: var(--radius); font-size: 14px; font-weight: 500; color: var(--slate-900); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { background: var(--vellum); }
.nav-menu .panel { position: absolute; left: 0; right: 0; top: 64px; background: var(--paper); border-bottom: 1px solid var(--frost); padding: 8px 24px 24px; box-shadow: var(--shadow); }
.nav-menu .panel a.item { display: block; padding: 14px 0; border-bottom: 1px solid var(--frost); font-weight: 500; color: var(--slate-900); text-decoration: none; }
.nav-menu .panel .nav-cta { margin-top: 16px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius); font: 500 14px/1.2 var(--font); letter-spacing: .025em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--vermillion); color: #fff; }
.btn-primary:hover { background: var(--vermillion-dark); }
.btn-nav { background: var(--gradient-nav); color: #fff; font-weight: 600; padding: 12px 20px; }
.btn-nav:hover { filter: brightness(.92); }
.btn-dark { background: var(--carbon); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--slate-900); border-color: var(--cloud); }
.btn-outline:hover { border-color: var(--slate-900); }
.btn-light { background: #fff; color: var(--slate-900); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Type helpers */
.eyebrow { display: inline-block; border: 1px solid var(--cloud); border-radius: var(--radius); padding: 4px 12px; font-size: 12px; font-weight: 500; letter-spacing: .3px; text-transform: uppercase; color: var(--slate-600); background: transparent; }
.display { font-size: clamp(40px, 6.2vw, 72px); line-height: 1; letter-spacing: -.03em; }
.h-xl { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.025em; }
.h-lg { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -.025em; }
.lede { font-size: 18px; line-height: 1.55; color: var(--slate-600); max-width: 640px; }
.section-head { text-align: center; margin: 0 auto 48px; max-width: 760px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .lede { margin: 16px auto 0; }

/* Sections */
.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); }
.section--tight { padding: 32px 0; }
.page-hero { padding: 48px 0 8px; }
.page-hero .display, .page-hero .h-xl { margin: 16px 0; }
.crumbs { font-size: 14px; color: var(--steel); margin-bottom: 8px; }
.crumbs a { color: var(--slate-600); }

/* Hero */
.hero { padding: 32px 0 var(--section); }
.hero-card { background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius); padding: 56px; display: grid; grid-template-columns: 45fr 55fr; gap: 48px; align-items: center; box-shadow: var(--shadow); }
.hero-card .display { margin: 20px 0 24px; }
.hero-card .lede { margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin: 20px 0 0; font-size: 14px; color: var(--steel); }

/* Product visual (carbon panel) */
.visual { background: var(--carbon); color: #e8e8e8; border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.visual-label { font-size: 12px; letter-spacing: .3px; text-transform: uppercase; color: #b5b5b5; margin: 0 0 16px; display: flex; justify-content: space-between; gap: 8px; }
.flow { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.flow::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 1px; background: repeating-linear-gradient(#5a5a5a 0 4px, transparent 4px 8px); }
.flow-dot { position: absolute; left: 15px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); animation: travel 6s ease-in-out infinite; }
.step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.step-n { width: 40px; height: 40px; border-radius: var(--radius); background: var(--carbon-2); border: 1px solid #444; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; z-index: 1; }
.step-body { background: var(--carbon-2); border: 1px solid #3a3a3a; border-radius: var(--radius); padding: 14px 16px; min-width: 0; }
.step-body h3 { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.step-body p { margin: 0; font-size: 13px; line-height: 1.45; color: #c9c9c9; }
.kv-rows { margin: 10px 0 0; display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; }
.kv-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; background: #232323; border-radius: 6px; color: #d9d9d9; }
.kv-rows .ok { color: #fff; }
.bank-bar { margin-top: 10px; display: grid; gap: 6px; }
.bank-bar i { display: block; height: 8px; border-radius: 4px; background: #3d3d3d; }
.bank-bar i:nth-child(1) { width: 62%; }
.bank-bar i:nth-child(2) { width: 90%; }
.bank-bar i:nth-child(3) { width: 48%; }
.lock-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: #fff; }
.lock-row svg { width: 14px; height: 14px; flex: none; }
.pill { display: inline-block; padding: 2px 8px; border: 1px solid #5a5a5a; border-radius: var(--radius); font-size: 11px; letter-spacing: .3px; text-transform: uppercase; color: #e8e8e8; }
.pill.solid { background: #fff; border-color: #fff; color: var(--slate-900); font-weight: 600; }
.visual-foot { margin: 16px 0 0; font-size: 12px; color: #b5b5b5; }

/* Trust strip */
.trust { background: var(--paper); border-top: 1px solid var(--frost); border-bottom: 1px solid var(--frost); padding: 40px 0; }
.trust-title { text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .3px; text-transform: uppercase; color: var(--slate-600); margin: 0 0 24px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; margin: 0; padding: 0; list-style: none; }
.logo-row li { display: flex; align-items: center; height: 36px; }
.logo-row img { height: 32px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .8; }
.logo-row .mono-logo { font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: var(--slate-700); }
.trust-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--slate-700); }
.trust-points li::before { content: "✓"; margin-right: 8px; color: var(--ink); font-weight: 700; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-n { font-size: clamp(40px, 5vw, 60px); line-height: 1; font-weight: 300; letter-spacing: -.025em; color: var(--slate-900); }
.stat-l { margin-top: 8px; font-size: 14px; line-height: 1.43; color: var(--slate-600); }

/* Cards */
.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); min-width: 0; }
.card .ico { width: 24px; height: 24px; stroke: var(--slate-600); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.card h3 { font-size: 24px; line-height: 1.38; font-weight: 400; margin-bottom: 12px; }
.card p { margin: 0; }
.card .more { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--slate-600); }
.card--dark { background: var(--carbon); color: #d9d9d9; border-color: var(--carbon); }
.card--dark h2, .card--dark h3 { color: #fff; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 24px; font-weight: 400; margin-bottom: 4px; }
.plan .sub { color: var(--slate-600); font-size: 14px; margin-bottom: 20px; }
.price { font-size: 48px; line-height: 1.1; font-weight: 300; letter-spacing: -.025em; color: var(--slate-900); }
.price small { font-size: 14px; letter-spacing: 0; color: var(--slate-600); font-weight: 400; }
.plan ul { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--ink); font-weight: 700; flex: none; }
.plan--featured { border-color: var(--carbon); border-width: 2px; }
.plan .tag { align-self: flex-start; margin-bottom: 16px; }
.note { font-size: 14px; color: var(--slate-600); text-align: center; margin-top: 24px; }

/* Banks */
.bank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.bank { background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 140px; }
.bank-logo { height: 36px; display: flex; align-items: center; }
.bank-logo img { height: 32px; width: auto; max-width: 150px; object-fit: contain; }
.bank-logo .monogram { width: 36px; height: 36px; border-radius: var(--radius); background: var(--vellum); border: 1px solid var(--cloud); display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--slate-700); }
.bank h3 { font-size: 16px; font-weight: 500; color: var(--slate-900); }
.bank .meta { font-size: 13px; color: var(--slate-600); margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--cloud); border-radius: var(--radius); font-size: 12px; font-weight: 500; letter-spacing: .3px; text-transform: uppercase; color: var(--slate-600); align-self: flex-start; margin-top: auto; }
.badge.ready { background: var(--carbon); border-color: var(--carbon); color: #fff; }
.h-sec { font-size: 24px; font-weight: 400; margin: 48px 0 20px; letter-spacing: -.01em; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-size: 18px; font-weight: 400; color: var(--slate-900); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--slate-600); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--slate-600); }
.faq .ans p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--carbon); color: #d9d9d9; border-radius: var(--radius); padding: 56px 32px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post-card { background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.post-card .cover { aspect-ratio: 16 / 9; background: var(--vellum); border-bottom: 1px solid var(--frost); display: block; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h2, .post-card h3 { font-size: 22px; line-height: 1.3; font-weight: 400; letter-spacing: -.01em; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; }
.post-card p { margin: 0; font-size: 15px; }
.meta-line { font-size: 13px; color: var(--steel); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span { padding: 10px 16px; border: 1px solid var(--cloud); border-radius: var(--radius); font-size: 14px; font-weight: 500; text-decoration: none; background: var(--paper); }
.pager .cur { background: var(--carbon); color: #fff; border-color: var(--carbon); }
.pager .off { color: var(--steel); background: transparent; }

/* Article + legal */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; padding-bottom: var(--section); }
.article-head { max-width: 820px; padding: 32px 0 24px; }
.article-head h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.028em; margin: 16px 0; }
.article-cover { max-width: 820px; margin: 0 0 32px; border-radius: var(--radius); border: 1px solid var(--frost); width: 100%; height: auto; display: block; }
.toc { position: sticky; top: 88px; font-size: 14px; border-left: 1px solid var(--cloud); padding-left: 20px; }
.toc h2 { font-size: 12px; font-weight: 500; letter-spacing: .3px; text-transform: uppercase; color: var(--slate-600); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--slate-700); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc .l3 { padding-left: 14px; }
.toc-inline { display: none; margin: 0 0 32px; background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius); padding: 16px 20px; }
.toc-inline summary { cursor: pointer; font-weight: 500; color: var(--slate-900); }
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; color: var(--slate-700); overflow-wrap: anywhere; }
.prose h2 { font-size: 30px; line-height: 1.25; font-weight: 400; letter-spacing: -.02em; margin: 48px 0 16px; }
.prose h3 { font-size: 22px; line-height: 1.3; font-weight: 500; margin: 32px 0 12px; }
.prose h4 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose table { margin: 0 0 20px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--slate-900); font-weight: 500; }
.prose blockquote { border-left: 3px solid var(--slate-900); padding: 4px 0 4px 20px; color: var(--slate-600); font-style: italic; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--vellum); border: 1px solid var(--frost); border-radius: 4px; padding: 1px 6px; }
.prose pre { background: var(--carbon); color: #eee; border-radius: var(--radius); padding: 16px 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border: 1px solid var(--frost); }
.prose th { background: var(--vellum); color: var(--slate-900); font-weight: 500; }
.prose img { height: auto; border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--frost); margin: 40px 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--steel); margin-top: 8px; }
.preview-bar { background: var(--carbon); color: #fff; padding: 10px 24px; text-align: center; font-size: 14px; }
.preview-bar a { color: #fff; }

/* Forms (contact) */
.form { background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 20px; }
.field label { font-size: 14px; font-weight: 500; color: var(--slate-900); }
.field input, .field textarea { width: 100%; padding: 12px 16px; min-height: 48px; border: 1px solid var(--cloud); border-radius: var(--radius); font: 400 16px/1.5 var(--font); color: var(--slate-900); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #8b93a1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--slate-900); box-shadow: 0 0 0 1px var(--slate-900); }
.field textarea { min-height: 160px; resize: vertical; }
.field .err { color: #b42318; font-size: 14px; }
.field.check { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; }
.field.check input { min-height: 0; width: 20px; height: 20px; margin-top: 2px; }
.field.check label { font-weight: 400; color: var(--slate-600); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; border: 1px solid var(--cloud); background: var(--paper); color: var(--slate-900); }
.alert--ok { border-color: var(--carbon); background: #fff; }
dl.info { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; font-size: 15px; }
dl.info dt { color: var(--steel); }
dl.info dd { margin: 0; color: var(--slate-900); overflow-wrap: anywhere; }

/* Security page */
.steps { counter-reset: s; display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.steps li::before { content: counter(s); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--cloud); border-radius: var(--radius); background: var(--paper); font-size: 20px; color: var(--slate-900); }
.steps h3 { font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.steps p { margin: 0; }
.compare { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--frost); vertical-align: top; }
.compare th { background: var(--vellum); color: var(--slate-900); font-weight: 500; }
.compare-wrap { overflow-x: auto; }

/* Footer */
.footer { background: var(--carbon); color: #c9c9c9; padding: 56px 0 32px; margin-top: 0; font-size: 14px; }
.footer a { color: #e6e6e6; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer h2 { font-size: 12px; font-weight: 500; letter-spacing: .3px; text-transform: uppercase; color: #b5b5b5; margin-bottom: 16px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer address { font-style: normal; line-height: 1.6; }
.footer .legal-line { border-top: 1px solid #3a3a3a; margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #b5b5b5; }
.social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }

/* Motion: CSS only, off for reduced-motion users */
@keyframes travel { 0% { top: 24px; opacity: 0; } 8% { opacity: 1; } 50% { top: 48%; } 92% { opacity: 1; } 100% { top: calc(100% - 32px); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.hero-card > div:first-child { animation: rise .6s ease both; }
.hero-card .visual { animation: rise .7s .1s ease both; }
.bank-bar i { animation: shimmer 2.6s ease-in-out infinite; }
.bank-bar i:nth-child(2) { animation-delay: .3s; }
.bank-bar i:nth-child(3) { animation-delay: .6s; }
.kv-rows .ok { animation: shimmer 3s ease-in-out infinite; }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .flow-dot { display: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-card { grid-template-columns: 1fr; padding: 40px 32px; }
  .grid-3, .plans, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-inline { display: block; }
}
@media (max-width: 880px) {
  .nav-links, .nav-links-wrap, .nav > .wrap > .nav-cta { display: none; }
  .nav-menu { display: block; }
}
@media (max-width: 640px) {
  :root { --section: 48px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 16px; }
  .hero-card { padding: 28px 20px; gap: 32px; }
  .grid-3, .grid-2, .plans, .post-grid { grid-template-columns: 1fr; gap: 20px; }
  .card { padding: 24px; }
  .stats { gap: 24px 16px; }
  .footer .cols { grid-template-columns: 1fr; gap: 32px; }
  .form { padding: 20px; }
  .prose { font-size: 17px; }
  .faq summary { padding: 16px 18px; font-size: 16px; }
  .faq .ans { padding: 0 18px 18px; }
  dl.info { grid-template-columns: 1fr; gap: 2px; }
  dl.info dd { margin-bottom: 10px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .nav-menu .panel { padding: 8px 16px 24px; }
}
