@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root{
  --bg:#ffffff;
  --soft:#f8fafc;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e2e8f0;
  --brand:#2563eb;
  --brand2:#1d4ed8;
  --ok:#16a34a;
  --warn:#d97706;
  --err:#dc2626;
  --shadow:0 14px 35px rgba(2,8,23,.08);
  --radius:18px;
  --radius2:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:14px/1.5 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial;
}

a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:1180px; margin:0 auto; padding:0 16px}
.row{display:flex}
.between{justify-content:space-between}
.center{align-items:center}
.gap{gap:12px}
.inline{display:inline}
.mt{margin-top:16px}
.tiny{font-size:11px}
.small{font-size:12px}
.muted{color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:13px}

.topbar{
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar .container{padding:12px 16px}

.brand{display:flex; align-items:center; gap:10px}
.logo{
  width:30px; height:30px; border-radius:12px;
  background:linear-gradient(135deg,var(--brand),#60a5fa);
  box-shadow:0 12px 24px rgba(37,99,235,.22);
}
.brand-text{font-weight:800; letter-spacing:.2px; color:var(--text)}
.chip{
  font-size:12px; color:var(--muted);
  border:1px solid var(--border);
  background:var(--soft);
  border-radius:999px;
  padding:3px 10px;
}

.who{display:flex; flex-direction:column; align-items:flex-end; line-height:1.2}
.who-title{font-weight:700}
.who-sub{color:var(--muted)}

.shell{
  min-height:calc(100vh - 64px);
  display:flex;
  background:
    radial-gradient(900px 420px at 20% -10%, rgba(37,99,235,.08), transparent 60%),
    radial-gradient(700px 360px at 90% 0%, rgba(59,130,246,.08), transparent 55%),
    var(--bg);
}

.sidebar{
  width:268px;
  border-right:1px solid var(--border);
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(140%) blur(10px);
  position:sticky; top:64px;
  height:calc(100vh - 64px);
  padding:14px 12px;
  display:flex; flex-direction:column;
}
.sidebar-head{padding:8px 10px 12px}
.sidebar-title{font-weight:800; margin-bottom:4px}
.sidebar-foot{margin-top:auto; padding:10px}

.snav{display:flex; flex-direction:column; gap:6px; padding:0 6px}
.sitem{
  display:flex; align-items:center; gap:10px;
  border:1px solid transparent;
  border-radius:14px;
  padding:10px 10px;
  color:var(--text);
}
.sitem:hover{
  text-decoration:none;
  background:var(--soft);
  border-color:var(--border);
}
.sitem.active{
  background:rgba(37,99,235,.08);
  border-color:rgba(37,99,235,.22);
}
.ico{
  width:18px; height:18px; display:inline-flex; align-items:center; justify-content:center;
}
.ico svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}

.content{flex:1}
.content-inner{padding:22px 16px 40px}
.content.with-sidebar .content-inner{padding-left:20px}

.iconbtn{
  width:40px; height:40px; border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  display:none;
  align-items:center; justify-content:center;
  cursor:pointer;
}
.iconbtn:hover{background:var(--soft)}
.burger span{
  display:block; width:18px; height:2px; background:var(--text);
  border-radius:999px; margin:3px 0;
}

.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}
.card.narrow{max-width:560px; margin:0 auto}
.card.head{
  padding:16px 16px 14px;
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px;
}
.h1{font-size:28px; margin:0; line-height:1.1}
.h2{font-size:18px; margin:0}
.lead{font-size:15px; color:var(--muted); margin:6px 0 0}

.grid2{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.grid3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px}
@media (max-width: 980px){ .grid2,.grid3{grid-template-columns:1fr} }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--brand);
  color:#fff;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:700;
  box-shadow:0 10px 20px rgba(37,99,235,.18);
}
.btn:hover{background:var(--brand2); text-decoration:none}
.btn.secondary{
  background:#fff; color:var(--text);
  border-color:var(--border);
  box-shadow:none;
}
.btn.secondary:hover{background:var(--soft); text-decoration:none}
.btn.sm{padding:8px 12px; border-radius:12px; font-weight:700}

.badge{
  display:inline-flex; align-items:center;
  padding:4px 10px; border-radius:999px;
  border:1px solid var(--border);
  background:var(--soft);
  font-size:12px;
  color:var(--text);
}
.pill{
  border:1px solid var(--border);
  background:#fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
}
.pill.ok{border-color:rgba(22,163,74,.35); background:rgba(22,163,74,.06)}
.pill.warn{border-color:rgba(217,119,6,.35); background:rgba(217,119,6,.06)}
.pill.err{border-color:rgba(220,38,38,.35); background:rgba(220,38,38,.06)}

.form{display:flex; flex-direction:column; gap:12px}
.field label{display:block; font-weight:700; margin-bottom:6px}
.field input,.field select,.field textarea{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  outline:none;
  background:#fff;
}
.field textarea{min-height:110px; resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:#93c5fd;
  box-shadow:0 0 0 4px rgba(59,130,246,.12);
}
.hint{margin-top:6px; color:var(--muted); font-size:12px}

.flash{
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--soft);
  padding:10px 12px;
  margin:0 0 12px;
}
.flash.success{border-color:rgba(22,163,74,.25); background:rgba(22,163,74,.06)}
.flash.error{border-color:rgba(220,38,38,.25); background:rgba(220,38,38,.06)}

.table{width:100%; border-collapse:collapse}
.table th,.table td{padding:11px 10px; border-bottom:1px solid var(--border); text-align:left; vertical-align:middle}
.table th{color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em}
.table tr:hover td{background:var(--soft)}
.table .actions{white-space:nowrap; text-align:right}
.table .nowrap{white-space:nowrap}

.kpi-title{color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.12em}
.kpi-value{font-size:26px; font-weight:900; margin-top:4px}
.kpi-row{display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:10px}
.hr{height:1px; background:var(--border); margin:14px 0}

.footer{
  border-top:1px solid var(--border);
  padding:16px 0;
  background:#fff;
}

code{
  background:var(--soft);
  border:1px solid var(--border);
  padding:2px 6px;
  border-radius:10px;
}

@media (max-width: 980px){
  .sidebar{
    position:fixed; top:64px; left:0;
    transform:translateX(-105%);
    transition:transform .2s ease;
    box-shadow:0 20px 60px rgba(2,8,23,.18);
    z-index:30;
  }
  .sidebar.open{transform:translateX(0)}
  .iconbtn{display:inline-flex}
}


/* Landing (Modern Payment Rail) */
.hero{position:relative; overflow:hidden; border-bottom:1px solid var(--border);}
.hero-bg{
  position:absolute; inset:-1px;
  background:
    radial-gradient(900px 420px at 12% 18%, rgba(37,99,235,.18), transparent 60%),
    radial-gradient(700px 360px at 85% 10%, rgba(14,165,233,.14), transparent 55%),
    radial-gradient(540px 320px at 70% 70%, rgba(99,102,241,.10), transparent 55%),
    linear-gradient(180deg, rgba(248,250,252,.90), rgba(255,255,255,1));
  pointer-events:none;
}
.hero-inner{position:relative; padding:34px 0 26px}
.hero-grid{display:grid; grid-template-columns: 1.05fr .95fr; gap:18px; align-items:start}
@media (max-width: 980px){ .hero-grid{grid-template-columns:1fr} .hero-inner{padding:24px 0 18px} }
.tagline{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  font-size:11px; color:var(--muted);
  border:1px solid var(--border);
  background:rgba(255,255,255,.75);
  border-radius:999px;
  padding:6px 12px;
}
.hero-title{font-size:42px; line-height:1.06; margin:14px 0 10px; letter-spacing:-.02em}
.hero-sub{font-size:16px; color:var(--muted); margin:0 0 16px; max-width:560px}
@media (max-width: 980px){ .hero-title{font-size:34px} }
.hero-actions{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px}
.hero-bullets{display:grid; grid-template-columns:1fr; gap:10px; margin-top:12px}
.bullet{border:1px solid var(--border); border-radius:var(--radius2); background:rgba(255,255,255,.78); padding:10px 12px}
.bullet-ttl{font-weight:900}
.bullet-sub{margin-top:2px}
.mock{
  border-radius:24px;
  border:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.85);
  box-shadow:0 24px 60px rgba(2,8,23,.12);
  overflow:hidden;
}
.mock-head{
  display:flex; align-items:center; gap:8px;
  padding:10px 12px; border-bottom:1px solid var(--border);
  background:rgba(248,250,252,.8);
}
.mock-dot{width:10px; height:10px; border-radius:999px; background:rgba(15,23,42,.18)}
.mock-title{margin-left:auto; font-weight:800; color:rgba(15,23,42,.65)}
.mock-body{padding:12px}
.mock-card{
  border:1px solid var(--border);
  border-radius:18px;
  background:#fff;
  padding:12px;
}
.flow{margin-top:12px; text-align:center}
.flow-item{
  display:inline-flex; gap:8px; align-items:center; justify-content:center;
  border:1px dashed rgba(148,163,184,.8);
  border-radius:999px;
  padding:8px 12px;
  background:rgba(255,255,255,.6);
  color:rgba(15,23,42,.85);
  font-weight:700;
}
.trust{display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; margin-top:12px}
@media (max-width: 980px){ .trust{grid-template-columns:1fr} }
.trust-item{border:1px solid var(--border); border-radius:18px; background:rgba(255,255,255,.72); padding:10px 12px}
.trust-ttl{font-weight:900}
.section{margin-top:14px}

.btn.small{padding:8px 10px; font-size:12px; border-radius:12px}


/* Landing polish (Modern Payment Rail RU) */
.landing-hero{position:relative; overflow:hidden; border-bottom:1px solid var(--border);}
.landing-hero__bg{
  position:absolute; inset:-1px;
  background:
    radial-gradient(1400px 700px at 15% 10%, rgba(37,99,235,.16), transparent 60%),
    radial-gradient(760px 380px at 88% 8%, rgba(14,165,233,.12), transparent 55%),
    radial-gradient(560px 340px at 70% 72%, rgba(99,102,241,.10), transparent 55%),
    linear-gradient(180deg, rgba(248,250,252,.92), rgba(255,255,255,1));
  pointer-events:none;
}
.landing-hero__inner{position:relative; padding:56px 0 36px}
.landing-hero__grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:26px; align-items:start}
@media (max-width: 980px){
  .landing-hero__grid{grid-template-columns:1fr}
  .landing-hero__inner{padding:28px 0 18px}
}

.landing-tag{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.08em; text-transform:uppercase;
  font-size:11px; color:rgba(15,23,42,.62);
  border:1px solid rgba(226,232,240,.95);
  background:rgba(255,255,255,.72);
  border-radius:999px;
  padding:7px 12px;
}
.landing-tag__dot{width:8px;height:8px;border-radius:999px;background:rgba(37,99,235,.75);box-shadow:0 0 0 4px rgba(37,99,235,.12);}

.landing-title{font-size:44px; line-height:1.05; margin:14px 0 10px; letter-spacing:-.03em}
.landing-sub{font-size:16px; color:var(--muted); margin:0 0 16px; max-width:620px}
@media (max-width: 980px){ .landing-title{font-size:34px} }

.landing-actions{display:flex; gap:10px; flex-wrap:wrap}
.landing-featurelist{display:grid; gap:10px; margin-top:16px}
.landing-feature{
  border:1px solid rgba(226,232,240,.95);
  border-radius:18px;
  background:rgba(255,255,255,.72);
  padding:12px 14px;
}
.landing-feature__ttl{font-weight:900}
.landing-feature__sub{margin-top:4px; color:var(--muted); font-size:13px}

.landing-mock{
  border-radius:26px;
  border:1px solid rgba(226,232,240,.95);
  background:rgba(255,255,255,.76);
  box-shadow:0 26px 64px rgba(2,8,23,.12);
  overflow:hidden;
}
.landing-mock__head{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px;
  border-bottom:1px solid rgba(226,232,240,.95);
  background:rgba(248,250,252,.82);
}
.landing-mock__dots{display:flex; gap:7px}
.landing-mock__dots span{width:10px;height:10px;border-radius:999px;background:rgba(15,23,42,.16)}
.landing-mock__title{font-weight:900; color:rgba(15,23,42,.6)}
.landing-mock__body{padding:14px}

.landing-card{
  border:1px solid rgba(226,232,240,.95);
  border-radius:20px;
  background:#fff;
  padding:14px;
}
.landing-kv{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px 14px;
}
.landing-kv__item{min-width:0}
.landing-pillrow{display:flex; gap:8px; flex-wrap:wrap}

.landing-flow{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 12px;
  border:1px dashed rgba(148,163,184,.75);
  border-radius:999px;
  background:rgba(255,255,255,.62);
  font-weight:800;
  color:rgba(15,23,42,.75);
}
.landing-flow__arrow{opacity:.7}

.landing-trust{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
  margin-top:12px;
}
@media (max-width: 980px){ .landing-trust{grid-template-columns:1fr} }
.landing-trust__item{
  border:1px solid rgba(226,232,240,.95);
  border-radius:18px;
  background:rgba(255,255,255,.72);
  padding:12px 14px;
}
.landing-trust__ttl{font-weight:900}
.landing-trust__sub{margin-top:4px; color:var(--muted); font-size:13px}

.landing-main{padding:34px 0 54px}
.landing-section{margin-top:22px}
.landing-section__head{
  border:1px solid rgba(226,232,240,.95);
  border-radius:18px;
  background:#fff;
  padding:14px;
}
.landing-h2{margin:0; font-size:24px; letter-spacing:-.02em}
.landing-lead{margin:6px 0 0; color:var(--muted)}

.landing-grid2{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.landing-grid3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; margin-top:14px}
@media (max-width: 980px){
  .landing-grid2{grid-template-columns:1fr}
  .landing-grid3{grid-template-columns:1fr}
}

.landing-steps{display:grid; gap:10px}
.landing-step{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border:1px solid rgba(226,232,240,.95);
  border-radius:16px;
  background:rgba(248,250,252,.65);
  font-weight:700;
  color:rgba(15,23,42,.8);
}

.landing-footer{display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap}
.landing-footer__chips{display:flex; gap:8px; flex-wrap:wrap}


/* Public top nav */
.topnav{display:flex; gap:14px; align-items:center; margin-right:10px}
.topnav a{color:rgba(15,23,42,.75); font-weight:700; text-decoration:none; padding:8px 10px; border-radius:12px}
.topnav a:hover{background:rgba(148,163,184,.18)}
.topnav .topnav-cta{border:1px solid rgba(226,232,240,.95); background:rgba(255,255,255,.75)}
@media (max-width: 860px){ .topnav{display:none} }


/* Public docs pages */
.docs{padding:34px 0 54px}
.docs-head{display:flex; align-items:flex-end; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-bottom:14px}
.docs-kicker{font-weight:900; letter-spacing:.08em; text-transform:uppercase; font-size:11px; color:rgba(15,23,42,.55)}
.docs-title{font-size:34px; letter-spacing:-.02em; margin:8px 0 6px; line-height:1.08}
.docs-sub{margin:0; color:var(--muted); max-width:820px}
.docs-actions{display:flex; gap:10px; flex-wrap:wrap}
.docs-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px}
@media (max-width: 980px){ .docs-grid{grid-template-columns:1fr} .docs-title{font-size:28px} }
.doc-step{display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border:1px solid rgba(226,232,240,.95); border-radius:16px; background:rgba(248,250,252,.6); margin-top:10px}
.doc-ttl{font-weight:900}
.notice{border:1px solid rgba(226,232,240,.95); background:rgba(37,99,235,.06); padding:12px 14px; border-radius:16px}
.ul{margin:10px 0 0 18px}
.ol{margin:10px 0 0 18px}
.docs-foot{display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-top:16px}
.linkpill{text-decoration:none}

:root{--font:'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, 'Noto Sans', 'Helvetica Neue', sans-serif;}

body{font-family:var(--font)}


/* Public header (bank style) */
.publictop{position:sticky; top:0; z-index:50; backdrop-filter:saturate(1.4) blur(10px); background:rgba(255,255,255,.78); border-bottom:1px solid rgba(226,232,240,.9)}
.top .container{padding-top:10px; padding-bottom:10px}
.brand{display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:-.01em}
.brand .logo{
  width:34px; height:34px; border-radius:10px;
  background:linear-gradient(135deg, rgba(37,99,235,.95), rgba(14,165,233,.85));
  box-shadow:0 10px 24px rgba(37,99,235,.22);
}
.brand .name{font-size:14px; color:rgba(15,23,42,.92)}
.brand .sub{font-size:11px; color:rgba(100,116,139,.9); font-weight:700}
.topnav{gap:10px}
.topnav a{font-weight:800; color:rgba(30,41,59,.78)}
.topnav a:hover{background:rgba(148,163,184,.16)}
.topnav .topnav-cta{font-weight:900}
.btn.ghost{background:transparent; border:1px solid rgba(226,232,240,.95); color:rgba(15,23,42,.82)}
.btn.ghost:hover{background:rgba(148,163,184,.14)}


/* Landing hero redesign */
.landing-title{font-size:50px}
@media (max-width: 980px){ .landing-title{font-size:38px} }
.landing-sub{font-size:16px; line-height:1.6}
.landing-metrics{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
  margin-top:18px;
  max-width:720px;
}
@media (max-width: 980px){ .landing-metrics{grid-template-columns:1fr; } }
.landing-metric{
  border:1px solid rgba(226,232,240,.95);
  border-radius:18px;
  background:rgba(255,255,255,.72);
  padding:12px 14px;
}
.landing-metric__v{font-weight:900; font-size:14px}
.landing-metric__s{margin-top:4px; color:var(--muted); font-size:13px}
.landing-trustline{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px}
.landing-mini{
  display:grid;
  grid-template-columns:1.2fr .9fr .9fr;
  gap:10px;
  margin-top:12px;
  padding:12px 14px;
  border:1px solid rgba(226,232,240,.95);
  border-radius:18px;
  background:rgba(248,250,252,.72);
}
@media (max-width: 980px){ .landing-mini{grid-template-columns:1fr} }
.landing-mini__item{min-width:0}


/* Fullwidth hero fix */
.landing-hero{
    position:relative;
    width:100%;
    margin:0;
    padding:0;
}

.landing-hero__bg{
        position:absolute;
        top:0;
        left:0;
        width:100%;
    height:100%;
    min-height:100%;
    z-index:0;
}

.landing-hero__inner{
    position:relative;
    z-index:1;
    padding:90px 0 60px;
}

@media (max-width:980px){
    .landing-hero__inner{
        padding:70px 0 40px;
    }
}


/* Public Footer */
.public-footer{
    background:#0f172a;
    color:#cbd5e1;
    margin-top:60px;
    padding-top:50px;
}

.public-footer__grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

@media (max-width:980px){
    .public-footer__grid{
        grid-template-columns:1fr;
    }
}

.public-footer__col{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer-title{
    font-weight:800;
    font-size:14px;
    margin-bottom:8px;
    color:#ffffff;
}

.footer-brand{
    font-weight:900;
    font-size:18px;
    color:#ffffff;
    margin-bottom:6px;
}

.public-footer a{
    color:#94a3b8;
    text-decoration:none;
    font-size:14px;
}

.public-footer a:hover{
    color:#ffffff;
}

.public-footer__bottom{
    text-align:center;
    padding:20px 0;
    border-top:1px solid rgba(255,255,255,0.08);
    margin-top:40px;
    font-size:13px;
    color:#64748b;
}


/* Premium hero (Stripe-like) */
.landing-hero__bg::before{
    content:"";
    position:absolute;
    inset:0;
    background:
      linear-gradient(to right, rgba(15,23,42,.06) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(15,23,42,.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(700px 520px at 20% 10%, rgba(0,0,0,.85), transparent 70%);
    opacity:.55;
    pointer-events:none;
}

.landing-hero__bg::after{
    content:"";
    position:absolute;
    inset:-10%;
    background:
      radial-gradient(900px 380px at 15% 10%, rgba(37,99,235,.22), transparent 60%),
      radial-gradient(780px 360px at 85% 18%, rgba(14,165,233,.16), transparent 58%),
      conic-gradient(from 210deg at 65% 45%, rgba(99,102,241,.10), transparent 35%, rgba(37,99,235,.10), transparent 70%);
    filter: blur(8px);
    opacity:.75;
    transform: translateZ(0);
    animation: heroGlow 10s ease-in-out infinite alternate;
    pointer-events:none;
}

@keyframes heroGlow{
  0%{transform:translate3d(-1.2%, -0.6%, 0) scale(1); opacity:.72}
  100%{transform:translate3d(1.2%, 0.6%, 0) scale(1.03); opacity:.86}
}

/* subtle reveal */
.landing-hero__left, .landing-hero__right{
  animation: fadeUp .55s ease-out both;
}
.landing-hero__right{animation-delay:.08s}
@keyframes fadeUp{
  from{opacity:0; transform:translateY(10px)}
  to{opacity:1; transform:translateY(0)}
}

/* Buttons refinement */
.btn{box-shadow:0 14px 28px rgba(2,8,23,.08)}
.btn.secondary{box-shadow:none}
.btn.ghost{box-shadow:none}

/* Cards more premium */
.card{box-shadow:0 16px 42px rgba(2,8,23,.06)}
.landing-mock{box-shadow:0 34px 90px rgba(2,8,23,.14)}


/* Typography polish */
.h1, .landing-title, .docs-title {letter-spacing:-.03em}
.landing-title{line-height:1.02}
.docs-title{line-height:1.06}


/* Nav polish */
.topnav a{transition:background .15s ease, color .15s ease}
.btn, .pill, .badge, .card{transition:transform .15s ease, box-shadow .15s ease}
.btn:hover{transform:translateY(-1px)}
.card:hover{box-shadow:0 22px 56px rgba(2,8,23,.08)}


/* Corporate Navy Palette */
:root{
  --navy-900:#0B1220;
  --navy-800:#0F1A2E;
  --navy-700:#13233F;
  --slate-100:#F5F7FB;
  --slate-200:#E6ECF6;
  --slate-300:#CBD5E1;
  --brand:#1D4ED8;
  --brand2:#0EA5E9;
  --text:#0F172A;
  --text2:#1F2A44;
  --muted2:#64748B;
  --border2: rgba(226,232,240,.95);
}

body{background:var(--slate-100)}

/* Palette overrides */
:root{
  --bg: #F5F7FB;
  --card: rgba(255,255,255,.92);
  --border: rgba(226,232,240,.95);
  --muted: rgba(100,116,139,.92);
  --primary: var(--brand);
  --primary2: var(--brand2);
}

/* Corporate buttons */
.btn{
  background: linear-gradient(135deg, rgba(29,78,216,.98), rgba(14,165,233,.92));
  border: 1px solid rgba(29,78,216,.25);
  color:#fff;
}
.btn:hover{filter:brightness(1.02)}
.btn.secondary{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(203,213,225,.85);
  color: rgba(15,23,42,.86);
}
.btn.secondary:hover{background:rgba(255,255,255,.95)}
.btn.ghost{
  background: transparent;
  border: 1px solid rgba(203,213,225,.95);
  color: rgba(15,23,42,.82);
}

/* Corporate header refinements */
.publictop{
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(226,232,240,.95);
}
.brand .logo{
  background: linear-gradient(135deg, rgba(29,78,216,.98), rgba(14,165,233,.88));
}
.topnav a{color: rgba(30,41,59,.76)}
.topnav a:hover{background: rgba(148,163,184,.14)}
.topnav .topnav-cta{background: rgba(255,255,255,.9)}

/* Corporate hero background */
.landing-hero__bg{
  background:
    radial-gradient(1400px 720px at 12% 8%, rgba(29,78,216,.16), transparent 62%),
    radial-gradient(980px 520px at 88% 18%, rgba(14,165,233,.14), transparent 60%),
    radial-gradient(820px 520px at 64% 76%, rgba(99,102,241,.10), transparent 60%),
    linear-gradient(180deg, rgba(245,247,251,1), rgba(255,255,255,1));
}

/* Footer premium */
.public-footer{
  background: linear-gradient(180deg, #0B1220 0%, #0F1A2E 100%);
}
.public-footer__bottom{
  border-top: 1px solid rgba(255,255,255,0.10);
}


.landing-assurance{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:14px;
  align-items:start;
}
@media (max-width: 980px){ .landing-assurance{grid-template-columns:1fr} }
.landing-assurance__item{padding:6px 2px}


/* Full-bleed landing hero (no crop) */
html, body{overflow-x:hidden}

/* If the site is wrapped in a centered container/max-width, this forces hero to bleed full viewport width */
.landing-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  border-bottom:1px solid var(--border);
  overflow:hidden;
}

.landing-hero__bg{
  left:0 !important;
  transform:none !important;
  width:100% !important;
}


/* Pay page */
.pay-hero{padding:34px 0 54px}
.pay-card{max-width:980px; margin:0 auto}
.pay-addr{font-size:16px; padding:10px 12px; border:1px dashed rgba(148,163,184,.7); border-radius:14px; background:rgba(248,250,252,.8)}


/* invoice page notes */
.note{padding:10px 12px;border-radius:10px;margin:10px 0;font-size:14px;line-height:1.35;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04)}
.note.warn{border-color:rgba(255,200,0,.25);background:rgba(255,200,0,.08)}
