/* ManaRecharge, v3: modern fintech (Razorpay/Cashfree craft bar) */

/* ---------- Fonts (self-hosted variable WOFF2) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-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+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2192, U+20B9, U+2212; }

/* ---------- Tokens ---------- */
:root {
  --night: #071226;
  --navy: #0D1F35;
  --navy-2: #13294A;
  --navy-3: #1C3760;
  --royal: #2539F2;
  --royal-deep: #1A29C9;
  --sky: #0099FF;
  --sky-soft: #7CC8FF;
  --teal: #2DD4BF;
  --ink: #1B2A41;
  --muted: #4E5F7A;
  --paper: #F5F7FC;
  --paper-2: #EDF2FC;
  --white: #FFFFFF;
  --rule: #D6DFEF;
  --rule-2: #E8EDF6;
  --on-dark: #C3CFE4;
  --on-dark-2: #93A4C2;
  --ok: #0A6E4D;
  --ok-bg: #E6F7F0;
  --warn: #A15C00;
  --warn-bg: #FFF4E0;
  --alert: #B42332;
  --amber: #FFC56B;

  --display: "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-ui: cubic-bezier(.165, .84, .44, 1);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --section-y: clamp(72px, 9vw, 128px);

  --shadow-1: 0 1px 2px rgba(13, 31, 53, .05), 0 4px 14px rgba(13, 31, 53, .05);
  --shadow-2: 0 2px 6px rgba(13, 31, 53, .06), 0 24px 48px -24px rgba(13, 31, 53, .28);
  --shadow-dark: 0 2px 8px rgba(0, 0, 0, .25), 0 40px 80px -30px rgba(0, 0, 0, .6);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { background: var(--white); }
body { margin: 0; font: 400 1rem/1.6 var(--body); color: var(--ink); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; caret-color: var(--royal); -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p a, li a { color: var(--royal); font-weight: 550; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--royal); color: var(--white); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
html { scrollbar-color: #9DAAC4 var(--paper); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #9DAAC4; border-radius: 10px; border: 2px solid var(--paper); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 30px; height: 30px; stroke-width: 1.5; }
.ico-brand, .brand-ico, .store .ico { fill: currentColor; stroke: none; }
.mono { font-family: var(--mono); font-size: .86em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--r-s); text-decoration: none; transition: top .2s var(--ease-ui); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display { font-kerning: normal; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.04em; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--navy); text-wrap: balance; }
.h2-sm { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
.h3 { font-family: var(--display); font-weight: 750; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--navy); }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.18rem); line-height: 1.6; color: var(--muted); max-width: 58ch; text-wrap: pretty; }
strong { font-weight: 650; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--royal); --fg: var(--white); --bd: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 22px; border-radius: 12px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg); font: 650 1rem/1 var(--body); letter-spacing: -0.005em; text-decoration: none; cursor: pointer; transition: background-color .18s var(--ease-ui), color .18s var(--ease-ui), border-color .18s var(--ease-ui), transform .18s var(--ease-ui), box-shadow .18s var(--ease-ui); }
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.05rem; }
.btn-primary { box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 8px 20px -10px rgba(37, 57, 242, .9); }
.btn-ghost { --bg: var(--white); --fg: var(--navy); --bd: var(--rule); }
.btn-glass { --bg: rgba(255, 255, 255, .08); --fg: var(--white); --bd: rgba(255, 255, 255, .2); }
.btn-on-navy { --bg: var(--white); --fg: var(--navy); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: .95rem; border-radius: 10px; }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn-primary:hover { --bg: var(--royal-deep); transform: translateY(-1px); }
  .btn-ghost:hover { --bd: var(--navy); }
  .btn-glass:hover { --bg: rgba(255, 255, 255, .14); --bd: rgba(255, 255, 255, .4); }
  .btn-on-navy:hover { --bg: var(--paper-2); }
  .btn:hover .ico:last-child { transform: translateX(3px); }
}

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--rule-2); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .25s var(--ease-ui); }
.site-header.is-solid { box-shadow: 0 10px 24px -18px rgba(13, 31, 53, .35); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: clamp(184px, 16vw, 210px); flex: none; }
.brand img { width: 100%; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; }
.nav ul a { color: var(--navy); font-weight: 550; font-size: .96rem; text-decoration: none; padding: 8px 0; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--royal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
@media (hover: hover) { .nav ul a:hover::after { transform: scaleX(1); } }
.nav-actions { display: flex; align-items: center; gap: 14px; padding-left: 24px; border-left: 1px solid var(--rule-2); }
.signin { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; color: var(--navy); font-weight: 600; font-size: .96rem; text-decoration: none; }
.signin .ico { width: 18px; height: 18px; color: var(--royal); }
@media (hover: hover) { .signin:hover { color: var(--royal); } }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--white); padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px); }
.hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(37, 57, 242, .45), transparent 70%),
    radial-gradient(40% 45% at 10% 95%, rgba(0, 153, 255, .22), transparent 70%),
    linear-gradient(180deg, #071226 0%, #0B1A33 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .display { color: var(--white); }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .08em; color: var(--sky-soft); }
.rot-word { grid-area: 1 / 1; transform: translateY(105%); opacity: 0; transition: transform .55s var(--ease-out), opacity .4s var(--ease-out); white-space: nowrap; }
.rot-word.is-on { transform: none; opacity: 1; }
.rot-word.is-out { transform: translateY(-105%); opacity: 0; }
.hero-lede { margin-top: clamp(18px, 2vw, 24px); font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--on-dark); max-width: 54ch; text-wrap: pretty; }
.hero-lede strong { color: var(--white); }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-signin { margin-top: 16px; font-size: .95rem; color: var(--on-dark-2); }
.hero-signin a { color: var(--white); font-weight: 600; }
.hero-trust { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--on-dark); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { width: 17px; height: 17px; color: var(--teal); }

.hero-visual { position: relative; min-height: 640px; }
.activity { position: absolute; z-index: 2; left: -12px; bottom: 0; width: min(360px, 62%); background: var(--white); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-dark); padding: 16px 16px 8px; will-change: transform; }
.act-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 12px; border-bottom: 1px solid var(--rule-2); }
.act-title { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1 var(--display); color: var(--navy); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, .2); }
.act-tag { font-size: .72rem; font-weight: 650; color: var(--muted); background: var(--paper); border: 1px solid var(--rule-2); padding: 3px 8px; border-radius: 999px; }
.act-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "ico txt amt" "ico txt pill"; gap: 2px 10px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--rule-2); }
.act-list li:last-child { border-bottom: 0; }
.act-ico { grid-area: ico; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); color: var(--royal); }
.act-ico .ico { width: 18px; height: 18px; }
.act-txt { grid-area: txt; min-width: 0; }
.act-txt b { display: block; font-size: .88rem; font-weight: 650; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-txt small { display: block; font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-amt { grid-area: amt; justify-self: end; font: 700 .88rem/1.2 var(--body); font-variant-numeric: tabular-nums; color: var(--navy); }
.act-amt.cr { color: var(--ok); }
.pill { grid-area: pill; justify-self: end; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 999px; font-size: .72rem; font-weight: 650; }
.pill .ico { width: 12px; height: 12px; stroke-width: 2.6; }
.p-ok { color: var(--ok); background: var(--ok-bg); }
.p-warn { color: var(--warn); background: var(--warn-bg); }
.act-flag .act-ico { background: var(--warn-bg); color: var(--warn); }

.phone { position: absolute; z-index: 1; right: 0; top: 0; width: 290px; border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2A3B57, #0B1424 40%); box-shadow: var(--shadow-dark), inset 0 0 0 1.5px rgba(255, 255, 255, .12); will-change: transform; }
.phone-screen { border-radius: 37px; overflow: hidden; background: linear-gradient(180deg, #132541, #0E1C33); padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 14px; color: var(--white); font-size: .76rem; }
.ps-status { display: flex; align-items: center; justify-content: space-between; font-weight: 650; font-size: .72rem; padding: 0 8px; }
.ps-isle { width: 72px; height: 20px; border-radius: 20px; background: #050A14; }
.ps-head { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.ps-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.ps-avatar .ico { width: 18px; height: 18px; }
.ps-head img { width: 150px; }
.ps-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ps-wallets div { padding: 12px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.ps-wallets b { display: block; font: 750 1.05rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.ps-wallets span { font-size: .7rem; color: var(--on-dark); }
.ps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; }
.ps-grid span { display: grid; justify-items: center; gap: 6px; font-size: .64rem; font-weight: 600; color: var(--on-dark); text-align: center; }
.ps-grid i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); color: #CFE6FF; }
.ps-grid .ico { width: 20px; height: 20px; }
.ps-banner { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.ps-banner i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(45, 212, 191, .14); color: var(--teal); flex: none; }
.ps-banner i .ico { width: 18px; height: 18px; }
.ps-banner div { flex: 1; min-width: 0; }
.ps-banner b { display: block; font-size: .78rem; }
.ps-banner span { color: var(--teal); font-size: .66rem; }
.ps-banner em { font-style: normal; font-weight: 700; font-size: .66rem; color: #062925; background: var(--teal); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.ps-nav { display: flex; justify-content: space-between; padding: 10px 6px 4px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ps-nav span { display: grid; justify-items: center; gap: 3px; font-size: .58rem; color: var(--on-dark-2); }
.ps-nav span.on { color: var(--teal); }
.ps-nav .ico { width: 17px; height: 17px; }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--rule-2); overflow: hidden; display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-row { display: flex; gap: 12px; width: max-content; will-change: transform; }
.mq-row li { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule-2); color: var(--navy); font-weight: 600; font-size: .98rem; white-space: nowrap; }
.mq-row .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--white); color: var(--royal); box-shadow: var(--shadow-1); }
.mq-alt { margin-left: -180px; }
.mq-alt li { background: var(--navy); border-color: var(--navy); color: var(--white); }
.mq-alt .ico { background: rgba(255, 255, 255, .1); color: var(--sky-soft); box-shadow: none; }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
[data-words] .w { display: inline-block; }

/* ---------- Audiences (bento) ---------- */
.audiences { padding: var(--section-y) 0; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "biz biz mer" "app soft mer"; gap: 16px; }
.bento-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--rule-2); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out); isolation: isolate; }
.bento-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s var(--ease-out); background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 57, 242, .12), transparent 60%); }
@media (hover: hover) and (pointer: fine) {
  .bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--rule); }
  .bento-card:hover::before { opacity: 1; }
  .bento-card:hover .b-link .ico { transform: translate(3px, -3px); }
}
.bento-card:active { transform: scale(.985); }
.b-biz { grid-area: biz; }
.b-mer { grid-area: mer; background: var(--night); color: var(--on-dark); border-color: transparent; }
.b-mer::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 200, 255, .18), transparent 60%); }
.b-app { grid-area: app; }
.b-soft { grid-area: soft; }
.b-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--white); color: var(--royal); box-shadow: var(--shadow-1); }
.b-mer .b-ico { background: rgba(255, 255, 255, .08); color: var(--sky-soft); box-shadow: none; }
.bento-card h3 { margin-top: 0; font: 750 1.4rem/1.2 var(--display); letter-spacing: -0.02em; color: var(--navy); }
.b-mer h3 { color: var(--white); }
.bento-card p { max-width: 46ch; }
.b-stat { margin-top: auto; padding-top: 16px; display: grid; }
.b-stat b { font: 800 clamp(3rem, 2rem + 3vw, 4.6rem)/1 var(--display); letter-spacing: -0.04em; color: var(--white); font-variant-numeric: tabular-nums; }
.b-stat small { margin-top: 6px; font-size: .9rem; color: var(--on-dark); }
.b-apis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.b-apis i { font-style: normal; font: 600 .82rem/1 var(--mono); padding: 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); color: var(--navy); }
.b-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding-top: 8px; font-weight: 650; color: var(--royal); }
.b-mer .b-link { color: var(--sky-soft); margin-top: 18px; }
.b-link .ico { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }

/* ---------- API catalogue ---------- */
.apis { padding: 0 0 calc(var(--section-y) * .8); }
.tabbar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.3) blur(10px); }
.tablist { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .tablist { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); } }
.tablist [role="tab"] { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 18px 18px 17px; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--muted); transition: color .2s var(--ease-ui); }
.tablist [role="tab"][aria-selected="true"] { color: var(--royal); }
@media (hover: hover) { .tablist [role="tab"]:hover { color: var(--navy); } }
.tablist [role="tab"]:focus-visible { outline-offset: -4px; }
.tab-ink { position: absolute; left: 0; bottom: 0; height: 3px; width: 100px; border-radius: 3px 3px 0 0; background: var(--royal); transform-origin: left; transform: scaleX(0); transition: transform .35s var(--ease-out); }
.panels { padding-top: clamp(36px, 4vw, 56px); }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 8px; border-radius: var(--r-m); }
.panel.is-entering .panel-copy, .panel.is-entering .code-win { animation: panel-in .22s var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-copy { display: grid; gap: 18px; justify-items: start; padding-top: 8px; }
.panel-lede { font-size: 1.12rem; color: var(--ink); max-width: 46ch; text-wrap: pretty; }
.ticks { display: grid; gap: 12px; margin: 4px 0 8px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { color: var(--ok); margin-top: 3px; width: 18px; height: 18px; stroke-width: 2.4; }
.code-win { background: var(--night); border-radius: var(--r-l); box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); }
.code-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--on-dark); }
.code-bar .ico { width: 15px; height: 15px; color: var(--teal); }
.code-bar span { font-size: .78rem; font-weight: 600; }
.code-win pre { margin: 0; padding: 22px 22px 26px; overflow-x: auto; font: 450 .88rem/1.7 var(--mono); color: #E6ECF7; tab-size: 2; min-height: 300px; }
.code-win .m { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--royal); color: var(--white); font-weight: 600; font-size: .8rem; }
.code-win .p { color: var(--white); }
.code-win .k { color: var(--sky-soft); }
.code-win .s { color: #CFE0FF; }
.code-win .n { color: var(--amber); }
.code-win .c { color: #8A9BBB; }

/* ---------- Merchants ---------- */
.merchants { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-dark); padding: var(--section-y) 0; }
.mer-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 0% 0%, rgba(37, 57, 242, .38), transparent 70%), radial-gradient(45% 50% at 100% 100%, rgba(45, 212, 191, .14), transparent 70%); }
.merchants .h2 { color: var(--white); }
.merchants .lede { color: var(--on-dark); margin-top: 18px; }
.mer-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.mer-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.mer-stat { justify-self: end; text-align: right; }
.mer-stat b { font-kerning: normal; letter-spacing: -0.03em !important; display: block; font: 800 clamp(4rem, 2.6rem + 5vw, 7.5rem)/.9 var(--display); letter-spacing: -0.05em; color: var(--white); font-variant-numeric: tabular-nums; }
.mer-stat sup { font-size: .4em; vertical-align: top; color: var(--sky-soft); margin-left: 4px; }
.mer-stat > span { display: block; margin-top: 10px; font-size: 1.05rem; color: var(--on-dark); }
.mer-stat small { font-size: .82rem; color: var(--on-dark-2); }
.mer-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 36px); }
.mer-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mer-services li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-m); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .25s var(--ease-ui), border-color .25s var(--ease-ui); }
@media (hover: hover) { .mer-services li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(124, 200, 255, .3); } }
.mer-services .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(124, 200, 255, .1); color: var(--sky-soft); }
.mer-services b { display: block; color: var(--white); font-weight: 650; font-size: .96rem; }
.mer-services span { font-size: .84rem; color: var(--on-dark-2); line-height: 1.45; }
.browser { border-radius: 18px; overflow: hidden; background: #0B1424; border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-dark); will-change: transform; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #101C31; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.browser-bar span { margin-left: 10px; flex: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: .76rem; color: var(--on-dark); }
.browser-bar .ico { width: 12px; height: 12px; color: var(--teal); }
.browser img { width: 100%; }
.browser-zoom { display: block; cursor: zoom-in; }
.zoom-hint { display: none; }
.browser figcaption { padding: 10px 14px; font-size: .78rem; color: var(--on-dark-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.mer-features { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 28px; }
.mer-features li { display: grid; gap: 6px; align-content: start; }
.mer-features .ico { width: 24px; height: 24px; color: var(--teal); margin-bottom: 4px; }
.mer-features b { color: var(--white); font: 700 1.05rem/1.3 var(--display); }
.mer-features span { font-size: .9rem; color: var(--on-dark-2); }

/* ---------- Security ---------- */
.security { background: var(--paper); padding: var(--section-y) 0; }
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.station { position: relative; padding: 22px 20px 24px; border-radius: var(--r-m); background: var(--white); border: 1px solid var(--rule-2); display: grid; gap: 10px; align-content: start; transition: border-color .35s var(--ease-ui), box-shadow .35s var(--ease-ui); }
.station .ico-lg { color: var(--royal); }
.st-num { font: 700 .8rem/1 var(--mono); color: var(--muted); }
.station h3 { font: 750 1.15rem/1.2 var(--display); letter-spacing: -0.01em; color: var(--navy); }
.station p { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.pipe-track { margin-top: 14px; height: 4px; border-radius: 4px; background: var(--rule-2); overflow: hidden; }
.pipe-track span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--royal), var(--sky)); transform-origin: left; transform: scaleX(1); }
.security.is-scrubbing .station.is-on { border-color: rgba(37, 57, 242, .35); box-shadow: var(--shadow-2); }
.security.is-scrubbing .station .ico-lg, .security.is-scrubbing .station .st-num { opacity: .45; transition: opacity .35s var(--ease-ui); }
.security.is-scrubbing .station.is-on .ico-lg, .security.is-scrubbing .station.is-on .st-num { opacity: 1; }
.control-grid { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.control-group { padding: 22px; border-radius: var(--r-m); background: var(--white); border: 1px solid var(--rule-2); }
.control-group h3 { display: flex; gap: 10px; align-items: center; font: 750 1.04rem/1.3 var(--display); color: var(--navy); margin-bottom: 10px; }
.control-group h3 .ico { color: var(--royal); }
.control-group li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--rule-2); font-size: .92rem; color: var(--ink); line-height: 1.5; }
.control-group li::before { content: ""; position: absolute; left: 0; top: 15px; width: 12px; height: 7px; border: solid var(--ok); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* ---------- Start timeline ---------- */
.start { padding: var(--section-y) 0; }
.timeline { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; border-top: 1.5px dashed var(--rule); }
.timeline li { position: relative; display: grid; gap: 10px; align-content: start; }
.t-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--royal); color: var(--royal); font: 750 1rem/1 var(--display); position: relative; }
.timeline li:first-child .t-num { background: var(--royal); color: var(--white); }
.timeline h3 { margin-top: 8px; font: 700 1.15rem/1.3 var(--display); color: var(--navy); letter-spacing: -0.01em; }
.timeline p { color: var(--muted); max-width: 30ch; }

/* ---------- Software ---------- */
.software { position: relative; background: var(--navy); color: var(--white); padding: var(--section-y) 0; overflow: hidden; }
.software .h2 { color: var(--white); }
.software .lede { color: var(--on-dark); }
.software-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.builds { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.build { position: relative; overflow: hidden; isolation: isolate; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-l); background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 12px; align-content: start; transition: transform .3s var(--ease-out), border-color .3s var(--ease-out); }
.build::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s var(--ease-out); background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 200, 255, .16), transparent 60%); }
@media (hover: hover) and (pointer: fine) { .build:hover { transform: translateY(-4px); border-color: rgba(124, 200, 255, .3); } .build:hover::before { opacity: 1; } }
.build .ico-lg { color: var(--sky-soft); }
.build h3 { font: 750 clamp(1.35rem, 1.1rem + .8vw, 1.75rem)/1.15 var(--display); letter-spacing: -0.02em; margin-top: 6px; }
.build p { color: var(--on-dark); max-width: 34ch; }
.process { margin: clamp(40px, 5vw, 64px) 0 clamp(36px, 4vw, 52px); }
.process-title { font: 650 .95rem/1.3 var(--body); color: var(--on-dark); }
.process-steps { margin-top: 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.process-steps li { position: relative; padding: 18px 18px 20px; border-radius: var(--r-m); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 6px; }
.process-steps b { font: 750 1.15rem/1.2 var(--display); }
.process-steps span { font-size: .92rem; color: var(--on-dark); }

/* ---------- App ---------- */
.app { background: var(--paper-2); padding: var(--section-y) 0; overflow: hidden; }
.app-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.app-art { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-2); max-width: 440px; justify-self: center; will-change: transform; }
.app-art img { width: 100%; }
.app-copy .lede { margin-top: 16px; }
.services { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.services li { display: flex; gap: 14px; align-items: flex-start; }
.services .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--white); color: var(--royal); box-shadow: var(--shadow-1); }
.services b { display: block; font-weight: 650; color: var(--navy); }
.services span { font-size: .93rem; color: var(--muted); }
.stores { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 14px; background: var(--night); color: var(--white); text-decoration: none; transition: background-color .18s var(--ease-ui), transform .18s var(--ease-ui); }
.store .ico { width: 24px; height: 24px; }
.store span { display: grid; font-weight: 650; font-size: 1.05rem; line-height: 1.15; }
.store small { font-size: .72rem; font-weight: 500; color: var(--on-dark); }
@media (hover: hover) { a.store:hover { background: var(--navy-3); transform: translateY(-2px); } }
.store-soon { background: transparent; color: var(--muted); border: 1.5px dashed #A9BBDF; cursor: default; }
.store-soon small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding: var(--section-y) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px 72px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--rule-2); border-radius: var(--r-m); background: var(--white); transition: border-color .25s var(--ease-ui), box-shadow .25s var(--ease-ui); }
.faq details[open] { border-color: var(--rule); box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 20px; font: 650 1.04rem/1.4 var(--display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq summary:hover { color: var(--royal); } }
.faq summary .ico { width: 22px; height: 22px; color: var(--royal); transition: transform .3s var(--ease-out); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 66ch; }
.faq details[open] p { animation: faq-in .3s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.opt { font-weight: 450; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: var(--r-s); background: var(--white); color: var(--ink); transition: border-color .16s var(--ease-ui), box-shadow .16s var(--ease-ui); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #5C6C86; }
@media (hover: hover) { .field input:hover, .field select:hover, .field textarea:hover { border-color: #A9BBDF; } }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(37, 57, 242, .14); }
.field [aria-invalid="true"] { border-color: var(--alert); background: #FFF8F8; }
.select { position: relative; }
.select select { appearance: none; padding-right: 42px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field-err { font-size: .85rem; color: var(--alert); font-weight: 550; }
.field-err:empty, .form-status:empty { display: none; }
.form-status { font-size: .92rem; color: var(--navy); }
.form-status.is-ok { color: var(--ok); font-weight: 550; }
.form-note { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.form-note .ico { width: 15px; height: 15px; margin-top: 2px; color: var(--royal); }

/* ---------- Contact ---------- */
.contact { background: var(--paper); padding: var(--section-y) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-copy .lede { margin-top: 16px; }
.contact-lines { margin-top: 32px; display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; }
.contact-lines .ico { margin-top: 12px; color: var(--royal); }
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 650; text-decoration: none; }
@media (hover: hover) { .contact-lines a:hover { color: var(--royal); text-decoration: underline; } }
.contact-lines span { padding-top: 10px; color: var(--muted); }
.lead-form { background: var(--white); border: 1px solid var(--rule-2); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; box-shadow: var(--shadow-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark); padding: 64px 0 36px; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-logo { width: 190px; margin-bottom: 18px; }
.footer-brand p { margin-bottom: 10px; max-width: 46ch; }
.footer-addr { display: flex; gap: 10px; align-items: flex-start; }
.footer-addr .ico { width: 16px; height: 16px; margin-top: 4px; color: var(--sky-soft); }
.footer-addr a { color: var(--white); font-weight: 550; }
.footer-col h3 { font: 650 .8rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); text-decoration: none; font-weight: 450; }
@media (hover: hover) { .footer-col a:hover { color: var(--white); text-decoration: underline; } }
.fraud { margin-top: 28px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-m); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: var(--white); }
.fraud .ico { color: var(--amber); margin-top: 1px; }
.fraud a { color: var(--sky-soft); font-weight: 600; display: inline-block; padding-block: 12px; margin-block: -12px; }
.copy { margin-top: 20px; color: var(--on-dark-2); font-size: .86rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] { animation: enter .7s var(--ease-out) both; }
  .js .hero-copy [data-enter]:nth-child(2) { animation-delay: 80ms; }
  .js .hero-copy [data-enter]:nth-child(3) { animation-delay: 150ms; }
  .js .hero-copy [data-enter]:nth-child(4) { animation-delay: 200ms; }
  .js .hero-copy [data-enter]:nth-child(5) { animation-delay: 260ms; }
  .js .hero-visual .phone { animation: rise .9s var(--ease-out) .15s backwards; }
  .js .hero-visual .activity { animation: rise .9s var(--ease-out) .3s backwards; }
  .js .activity.is-printing [data-row] { opacity: 0; transform: translateY(10px); }
  .js .activity.is-printing [data-row].is-printed { opacity: 1; transform: none; transition: opacity .45s var(--ease-out), transform .5s var(--ease-out); }
  .js [data-words].is-pending .w { opacity: 0; transform: translateY(.45em); }
  .js [data-words].is-in .w { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
  .js [data-reveal].is-pending { opacity: 0; transform: translateY(18px); }
  .js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease-out), transform .65s var(--ease-out); transition-delay: var(--d, 0ms); }
}
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .mer-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav ul { gap: 16px; }
  .nav { gap: 18px; }
  .nav-actions { padding-left: 16px; }
  .control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mer-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: grid; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px var(--gutter) 24px; background: var(--white); box-shadow: 0 20px 30px -20px rgba(13, 31, 53, .35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease-ui), transform .25s var(--ease-out), visibility 0s linear .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule-2); }
  .nav ul a::after { display: none; }
  .nav-actions { padding: 10px 0 0; border: 0; justify-content: space-between; }
  .nav-actions .btn { flex: 1; min-height: 48px; }
  .hero-grid, .section-head, .software-head, .app-grid, .faq-grid, .contact-grid, .panel, .mer-head, .mer-grid { grid-template-columns: 1fr; }
  .mer-stat { justify-self: start; text-align: left; }
  .hero-visual { min-height: 0; display: grid; justify-items: center; padding-top: 8px; }
  .hero-visual .phone { order: 1; position: relative; right: auto; top: auto; width: min(290px, 78vw); }
  .hero-visual .activity { order: 2; position: relative; left: auto; top: auto; width: min(420px, 100%); margin-top: -140px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "biz biz" "mer mer" "app soft"; }
  .panel-copy { padding-top: 0; }
  .code-win pre { min-height: 0; font-size: .8rem; }
  .pipeline { grid-template-columns: 1fr; }
  .pipe-track { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .timeline::before { display: none; }
  .builds { grid-template-columns: 1fr; }
  .app-grid .app-art { order: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-trust { gap: 8px 16px; font-size: .85rem; }
  .hero-visual .activity { margin-top: -120px; }
  .act-list li { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "biz" "mer" "app" "soft"; }
  .mer-services { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mer-services li { flex-direction: column; gap: 8px; padding: 12px; }
  .mer-services span { display: none; }
  .mer-services span.keep { display: block; }
  .mer-cta .btn { flex: 1 1 100%; }
  .zoom-hint { display: inline; }
  .mer-features { grid-template-columns: 1fr; }
  .control-grid { grid-template-columns: 1fr; }
  .tablist [role="tab"] { padding: 15px 14px 14px; font-size: .95rem; }
  .timeline { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .faq summary { font-size: 1rem; padding: 16px; }
  .faq details p { padding: 0 16px 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .mq-row li { min-height: 44px; font-size: .92rem; }
}
@media (max-width: 360px) {
  .act-amt { font-size: .8rem; }
  .act-txt b { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Policy pages ---------- */
.legal-hero { background: var(--night); color: var(--white); padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(28px, 3vw, 44px); position: relative; overflow: hidden; isolation: isolate; }
.legal-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 90% 0%, rgba(37, 57, 242, .4), transparent 70%); pointer-events: none; }
.legal-hero .h2 { color: var(--white); }
.legal-hero .lede { color: var(--on-dark); }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: var(--on-dark-2); margin-bottom: 18px; }
.crumbs a { color: var(--sky-soft); font-weight: 600; text-decoration: none; }
.legal-title { display: flex; gap: 18px; align-items: flex-start; }
.legal-ico { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--sky-soft); flex: none; }
.legal-title .lede { margin-top: 10px; }
.legal-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .85rem; color: var(--on-dark-2); }
.legal-draft { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 10px; background: #FFF8E8; border: 1px solid #F0D58A; color: #6B4E00; font-size: .88rem; font-weight: 600; }
.legal-draft .ico { width: 16px; height: 16px; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 5vw, 64px) var(--section-y); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-title { font: 650 .78rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal-toc ol { border-left: 2px solid var(--rule-2); }
.legal-toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); font-size: .9rem; text-decoration: none; }
@media (hover: hover) { .legal-toc a:hover { color: var(--royal); border-left-color: var(--royal); } }
.legal-body { max-width: 74ch; }
.legal-section { padding: 26px 0; border-top: 1px solid var(--rule-2); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-section:first-child { border-top: 0; padding-top: 0; }
.legal-section h2 { font: 750 1.3rem/1.3 var(--display); color: var(--navy); letter-spacing: -0.01em; margin-bottom: 12px; }
.legal-num { color: var(--royal); }
.legal-section h3 { font: 650 1rem/1.4 var(--display); color: var(--navy); margin: 16px 0 4px; }
.legal-section p { color: var(--ink); margin-top: 10px; }
.legal-section ul { margin-top: 10px; display: grid; gap: 8px; }
.legal-section li { position: relative; padding-left: 20px; }
.legal-section li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--royal); }
.legal-section b { color: var(--navy); font-weight: 650; }
.legal-others { margin-top: 40px; padding: 24px; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--rule-2); }
.legal-others h2 { font: 700 1.05rem/1.3 var(--display); color: var(--navy); margin-bottom: 12px; }
.legal-others ul { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-others a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); color: var(--navy); font-weight: 600; font-size: .92rem; text-decoration: none; }
.legal-others .ico { width: 17px; height: 17px; color: var(--royal); }
@media (hover: hover) { .legal-others a:hover { border-color: var(--royal); color: var(--royal); } }
@media (max-width: 980px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; padding: 16px 18px; border: 1px solid var(--rule-2); border-radius: var(--r-m); background: var(--paper); }
}
@media (max-width: 640px) {
  .legal-title { flex-direction: column; gap: 12px; }
  .legal-ico { width: 44px; height: 44px; padding: 10px; }
}
