/* Demo Bank demo site - styles (system font stack, no external assets) */
:root {
  --g: #058F45;
  --g2: #21B566;
  --g-dark: #04723A;
  --g-deep: #0B3D24;
  --g-50: #E9F8F0;
  --g-100: #CFF0DD;
  --ink: #151515;
  --ink-2: #3D4F45;
  --muted: #646F7F;
  --line: #ECEBED;
  --bg: #F4F7F5;
  --white: #FFFFFF;
  --gold: #C8A04A;
  --red: #C8322B;
  --amber: #B7791F;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 40, 28, .06), 0 6px 24px rgba(16, 40, 28, .07);
  --shadow-lg: 0 18px 50px rgba(10, 40, 25, .18);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 15px; line-height: 1.5; overflow-x: hidden; }
a { color: var(--g); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 34px; } h2 { font-size: 26px; } h3 { font-size: 19px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--g); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.topbar { background: var(--g-deep); color: #CFE7D9; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.segments { display: flex; gap: 22px; }
.segments a, .segments span { color: #CFE7D9; }
.segments a.active { color: #fff; font-weight: 600; position: relative; }
.segments a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 3px; background: var(--g2); border-radius: 3px; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-right a { color: #CFE7D9; }
.topbar-right .phone { color: #fff; font-weight: 600; }
.mainbar-inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex-shrink: 0; }
.wordmark { display: inline-flex; align-items: center; justify-content: center; background: var(--g); color: #fff; font-weight: 800; letter-spacing: .06em; font-size: 20px; height: 40px; padding: 0 12px; border-radius: 10px; }
.brand-sub { font-size: 12px; line-height: 1.15; color: var(--ink-2); max-width: 78px; font-weight: 600; }
.demo-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); border: 1px solid #E9D3A8; background: #FFF8EA; border-radius: 999px; padding: 2px 7px; }
.mainnav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link { background: none; border: 0; cursor: pointer; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--g); background: var(--g-50); text-decoration: none; }
.chev { width: 16px; height: 16px; }
.mega { position: absolute; left: 0; right: 0; top: 108px; background: #fff; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line); display: none; }
.has-mega.open .mega { display: block; }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 28px; padding-top: 28px; padding-bottom: 32px; }
.mega h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.mega a { display: block; color: var(--ink); padding: 6px 0; font-weight: 500; }
.mega a:hover { color: var(--g); }
.mega-promo { background: var(--g-50); border-radius: var(--radius); padding: 18px; }
.mega-promo strong { display: block; margin-bottom: 6px; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--muted); }
.search input { width: 190px; height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px 0 38px; background: var(--bg); outline: none; transition: width .2s, border-color .2s; }
.search input:focus { width: 240px; border-color: var(--g); background: #fff; }
.header-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons & forms ---------- */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--g); color: #fff; }
.btn-primary:hover { background: var(--g-dark); }
.btn-outline { background: #fff; color: var(--g); border-color: var(--g); }
.btn-outline:hover { background: var(--g-50); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg); }
.btn-white { background: #fff; color: var(--g-dark); }
.btn-white:hover { background: var(--g-50); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, select.input, textarea.input { height: 46px; border: 1px solid #CCD6D0; border-radius: var(--radius-sm); padding: 0 14px; background: #fff; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; padding: 12px 14px; }
.input:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(0, 132, 61, .15); }
.field.error .input { border-color: var(--red); }
.field .err { color: var(--red); font-size: 12.5px; display: none; }
.field.error .err { display: block; }
.hint { font-size: 12.5px; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--g); margin-top: 2px; flex-shrink: 0; }
.seg-toggle { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.seg-toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.seg-toggle button.on { background: var(--g); color: #fff; }
input[type=range] { width: 100%; accent-color: var(--g); }

/* ---------- Layout blocks ---------- */
.app { min-height: 60vh; }
.page-head { background: linear-gradient(180deg, var(--g-50), #fff); padding: 34px 0 26px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; }
.page-head p { color: var(--ink-2); max-width: 760px; margin: 0; }
.section { padding: 40px 0; }
.section-alt { background: var(--bg); }
.section-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; gap: 16px; }
.section-title h2 { margin: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split > *, .grid-2 > *, .grid-3 > *, .prod-hero > *, .ib-grid > *, .login-grid > * { min-width: 0; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--g-50); color: var(--g-dark); }
.pill-gold { background: #FBF3E1; color: #8A6516; }
.pill-red { background: #FDECEA; color: var(--red); }
.pill-gray { background: var(--bg); color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--g-deep); color: #fff; }
.hero-track { display: flex; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero-slide { min-width: 100%; padding: 64px 0 100px; position: relative; }
.hero-slide .wrap { padding-left: 76px; padding-right: 76px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero-slide.s0 { background: linear-gradient(115deg, #04462A 0%, #00843D 60%, #00A651 100%); }
.hero-slide.s1 { background: linear-gradient(115deg, #0B3B2A 0%, #0F6B4A 55%, #2E9C6A 100%); }
.hero-slide.s2 { background: linear-gradient(115deg, #06352A 0%, #00734F 55%, #22A36F 100%); }
.hero h1 { font-size: 42px; max-width: 620px; }
.hero p { font-size: 18px; color: #DDF2E5; max-width: 560px; }
.hero .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #BFF0D2; margin-bottom: 14px; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-art { justify-self: center; width: 100%; max-width: 420px; }
.hero-dots { position: absolute; bottom: 50px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; transition: width .2s; }
.hero-dots button.on { background: #fff; width: 28px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; font-size: 22px; line-height: 1; }
.hero-arrow:hover { background: rgba(255, 255, 255, .28); }
.hero-arrow.prev { left: 18px; } .hero-arrow.next { right: 18px; }

/* ---------- Quick actions / tiles ---------- */
.quick { margin-top: -34px; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.quick-grid a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px; color: var(--ink); font-weight: 600; font-size: 14px; text-align: center; border-right: 1px solid var(--line); }
.quick-grid a:last-child { border-right: 0; }
.quick-grid a:hover { background: var(--g-50); text-decoration: none; color: var(--g-dark); }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--g-50); color: var(--g); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ico svg { width: 24px; height: 24px; }
.tile { display: flex; flex-direction: column; gap: 10px; color: var(--ink); transition: transform .15s, box-shadow .15s; height: 100%; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.tile h3 { margin: 6px 0 0; }
.tile p { color: var(--muted); margin: 0; flex: 1; }
.tile .more { color: var(--g); font-weight: 600; font-size: 14px; }

/* ---------- Product visuals ---------- */
.cardrow { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 22px; align-items: center; }
.ccard { aspect-ratio: 1.586; border-radius: 16px; position: relative; overflow: hidden; color: #fff; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.ccard .cc-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; letter-spacing: .06em; }
.ccard .cc-chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #F4DE9B, #C8A04A); }
.ccard .cc-num { font-family: Consolas, "Courier New", monospace; letter-spacing: .14em; font-size: 15px; opacity: .92; }
.ccard .cc-name { font-size: 13px; font-weight: 700; letter-spacing: .04em; display: flex; justify-content: space-between; align-items: end; }
.ccard .cc-brand { font-style: italic; font-weight: 800; font-size: 16px; }
.ccard.bonus { background: linear-gradient(135deg, #00A651, #00672F); }
.ccard.she { background: linear-gradient(135deg, #B8457A, #6E2A6B); }
.ccard.dijital { background: linear-gradient(135deg, #1E2B26, #3A5A4B); }
.ccard.akilli { background: linear-gradient(135deg, #F29F05, #D8661A); }
.ccard.small { padding: 12px 14px; border-radius: 12px; }
.ccard.small .cc-num { font-size: 12px; }
.prod-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.features { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 10px; }
.features li { display: flex; gap: 10px; align-items: flex-start; }
.features li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; border-radius: 99px; background: var(--g-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2300843D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.kv div { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 14px; }
.kv b { display: block; font-size: 18px; color: var(--g-dark); }
.kv span { font-size: 12.5px; color: var(--muted); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.art-box { border-radius: 20px; background: linear-gradient(135deg, var(--g-50), #fff); border: 1px solid var(--line); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.art-box svg { width: 55%; height: auto; }

/* ---------- Campaigns ---------- */
.camp { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.camp .camp-art { height: 150px; display: flex; align-items: center; justify-content: center; color: #fff; position: relative; }
.camp .camp-art svg { width: 64px; height: 64px; opacity: .95; }
.camp .camp-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.camp h3 { font-size: 17px; margin: 0; }
.camp .camp-body p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.camp-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.cat-card { background: linear-gradient(135deg, #00A651, #00672F); }
.cat-loan { background: linear-gradient(135deg, #0C7A5A, #04462A); }
.cat-deposit { background: linear-gradient(135deg, #2F8F6F, #0E5C44); }
.cat-partner { background: linear-gradient(135deg, #D8661A, #9D3F0B); }
.cat-new { background: linear-gradient(135deg, #3E6B5A, #1C3A30); }
.joined { background: var(--g-50); border: 1px solid var(--g-100); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--g-dark); font-weight: 600; }

/* ---------- FX ---------- */
.fx-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fx-strip .wrap { display: flex; align-items: center; gap: 26px; height: 56px; overflow-x: auto; white-space: nowrap; }
.fx-strip b { color: var(--ink); }
.fx-item { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); }
.up { color: var(--g); } .down { color: var(--red); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.cur { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.cur i { font-style: normal; width: 32px; height: 32px; border-radius: 99px; background: var(--g-50); color: var(--g-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }

/* ---------- Calculator ---------- */
.calc-result { background: var(--g-deep); color: #fff; border-radius: var(--radius); padding: 26px; }
.calc-result .big { font-size: 38px; font-weight: 800; letter-spacing: -.02em; }
.calc-result dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 18px 0; font-size: 14px; }
.calc-result dt { color: #BFE3CF; } .calc-result dd { margin: 0; text-align: right; font-weight: 600; }
.calc-teaser { background: linear-gradient(120deg, var(--g-deep), var(--g)); color: #fff; border-radius: 20px; padding: 32px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: center; }
.calc-teaser .card { color: var(--ink); }
.calc-teaser p { color: #D8F0E2; }
.amount-out { font-size: 22px; font-weight: 800; color: var(--g-dark); }

/* ---------- Wizard ---------- */
.wizard { max-width: 760px; margin: 0 auto; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.progress.p4 { grid-template-columns: repeat(4, 1fr); }
.progress .st { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.progress .st .bar { height: 6px; border-radius: 99px; background: var(--line); margin-bottom: 8px; overflow: hidden; }
.progress .st .bar i { display: block; height: 100%; width: 0; background: var(--g); transition: width .4s; }
.progress .st.done .bar i, .progress .st.cur .bar i { width: 100%; }
.progress .st.cur { color: var(--g-dark); }
.banner { display: flex; gap: 12px; align-items: center; background: #FFF8EA; border: 1px solid #F0DDB3; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 18px; font-size: 14px; }
.banner.green { background: var(--g-50); border-color: var(--g-100); }
.banner .grow { flex: 1; }
.summary { background: var(--bg); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px; }
.summary div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.summary div span:first-child { color: var(--muted); }
.decision { text-align: center; padding: 20px 10px; }
.decision .badge { width: 76px; height: 76px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.decision .badge svg { width: 40px; height: 40px; }
.decision.ok .badge { background: var(--g-50); color: var(--g); }
.decision.warn .badge { background: #FFF4DE; color: var(--amber); }
.decision.bad .badge { background: #FDECEA; color: var(--red); }
.spinner { width: 46px; height: 46px; border-radius: 99px; border: 4px solid var(--g-100); border-top-color: var(--g); animation: spin 0.9s linear infinite; margin: 10px auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.video { background: #10231A; border-radius: var(--radius); aspect-ratio: 16/9; position: relative; display: flex; align-items: center; justify-content: center; color: #BFE3CF; overflow: hidden; }
.video .self { position: absolute; right: 14px; bottom: 14px; width: 26%; aspect-ratio: 4/3; background: #1E3A2C; border-radius: 10px; border: 2px solid rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.video .avatar { width: 110px; height: 110px; border-radius: 99px; background: #1E3A2C; display: flex; align-items: center; justify-content: center; }
.video .avatar svg { width: 60px; height: 60px; }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.choice label { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; }
.choice label:hover { border-color: var(--g2); }
.choice input { accent-color: var(--g); margin-top: 3px; }
.choice input:checked + div b { color: var(--g-dark); }
.choice label:has(input:checked) { border-color: var(--g); background: var(--g-50); }

/* ---------- Internet banking ---------- */
.ib { background: var(--bg); min-height: 70vh; padding: 28px 0 48px; }
.ib-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.ib-side { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 12px; position: sticky; top: 124px; }
.ib-user { padding: 10px 10px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.ib-user b { display: block; }
.ib-side a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.ib-side a svg { width: 18px; height: 18px; }
.ib-side a:hover { background: var(--bg); text-decoration: none; }
.ib-side a.on { background: var(--g-50); color: var(--g-dark); }
.acct { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.acct:last-child { border-bottom: 0; }
.acct .bal { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.iban { font-family: Consolas, "Courier New", monospace; font-size: 12.5px; color: var(--muted); }
.notice { display: flex; gap: 14px; align-items: center; border-radius: var(--radius); padding: 18px; background: linear-gradient(120deg, var(--g), var(--g2)); color: #fff; }
.notice .ico { background: rgba(255, 255, 255, .18); color: #fff; }
.notice p { margin: 0; color: #E3F6EA; font-size: 14px; }
.receipt { border: 1px dashed #B9C8BF; border-radius: var(--radius); padding: 20px; background: #FBFDFC; }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 99px; margin-right: 6px; background: var(--muted); }
.status-dot.ok { background: var(--g2); } .status-dot.bad { background: var(--red); } .status-dot.wait { background: var(--amber); }
.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #CBD5CF; border-radius: 99px; transition: background .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 99px; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--g); }
.switch input:checked + span::after { transform: translateX(18px); }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pref:last-child { border-bottom: 0; }

/* ---------- Login ---------- */
.login-wrap { background: linear-gradient(135deg, var(--g-deep), var(--g)); padding: 56px 0; min-height: 70vh; }
.login-grid { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center; }
.login-grid .intro { color: #fff; }
.login-grid .intro p { color: #D6EFE0; font-size: 17px; }
.login-card { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { flex: 1; background: none; border: 0; padding: 12px 6px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.tabs button.on { color: var(--g-dark); border-color: var(--g); }
.qr { width: 190px; height: 190px; margin: 6px auto 14px; display: block; }
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 10px 0 6px; }
.otp-inputs input { width: 46px; height: 54px; text-align: center; font-size: 22px; font-weight: 700; border: 1px solid #CCD6D0; border-radius: 10px; outline: none; }
.otp-inputs input:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(0, 132, 61, .15); }

/* ---------- Branch finder ---------- */
.map { background: #E6EFE9; border-radius: var(--radius); position: relative; overflow: hidden; min-height: 380px; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.result-list { display: grid; gap: 12px; }
.result-item { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.result-item .n { width: 28px; height: 28px; border-radius: 99px; background: var(--g); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Search ---------- */
.sr { padding: 16px 0; border-bottom: 1px solid var(--line); }
.sr a { font-weight: 700; font-size: 17px; }
.sr .path { font-size: 12.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #0D2A1D; color: #BFD3C7; margin-top: 0; padding-top: 44px; }
.site-footer a { color: #DCEBE2; display: block; padding: 4px 0; font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 28px; }
.brand-foot .brand-sub { color: #BFD3C7; }
.site-footer .muted { color: #93AA9C; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 28px; font-size: 13.5px; }
.footer-legal strong { color: #fff; }

/* ---------- Soft prompt ---------- */
.softprompt { position: fixed; right: 24px; bottom: 24px; width: 400px; max-width: calc(100vw - 32px); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 22px; display: flex; gap: 16px; z-index: 60; animation: rise .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.sp-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sp-icon svg { width: 26px; height: 26px; }
.sp-body h3 { font-size: 17px; margin: 2px 0 6px; padding-right: 20px; }
.sp-body p { font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }
.sp-list { margin: 0 0 16px; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 4px; }
.sp-list li::before { content: "✓"; color: var(--g); font-weight: 800; margin-right: 8px; }
.sp-actions { display: flex; gap: 10px; }
.sp-actions .btn { height: 40px; }
.sp-close { position: absolute; right: 12px; top: 10px; background: none; border: 0; font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; }

/* ---------- Modal / toast ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(8, 28, 18, .5); z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: #fff; border-radius: 18px; padding: 28px; max-width: 460px; width: 100%; position: relative; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; }
.toasts { position: fixed; top: 128px; right: 20px; z-index: 80; display: grid; gap: 10px; width: 340px; max-width: calc(100vw - 32px); }
.toast { background: #fff; border-left: 4px solid var(--g); box-shadow: var(--shadow-lg); border-radius: 10px; padding: 12px 14px; font-size: 14px; animation: rise .25s ease-out; }
.toast.warn { border-color: var(--amber); } .toast.bad { border-color: var(--red); }
.toast b { display: block; margin-bottom: 2px; }

/* ---------- Demo panel ---------- */
.demo-toggle { position: fixed; left: 14px; bottom: 14px; z-index: 90; background: #1B1F1D; color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 700; letter-spacing: .05em; cursor: pointer; opacity: .55; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.demo-toggle:hover, .demo-toggle.on { opacity: 1; }
.demo-panel { position: fixed; left: 14px; bottom: 56px; width: 420px; max-width: calc(100vw - 28px); max-height: calc(100vh - 90px); background: #121614; color: #DDE6E1; z-index: 91; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); display: flex; flex-direction: column; font-size: 12.5px; font-family: var(--font); }
.dp-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid #2A302D; }
.dp-sub { font-size: 11px; color: #F0B84E; }
.dp-x { background: none; border: 0; color: #9BA8A1; font-size: 22px; cursor: pointer; }
.dp-body { overflow-y: auto; padding: 10px 14px 14px; }
.dp-sec { margin-bottom: 14px; }
.dp-sec h5 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8FA198; }
.dp-kv { display: grid; grid-template-columns: 110px 1fr; gap: 3px 10px; }
.dp-kv span:nth-child(odd) { color: #8FA198; }
.dp-kv code, .dp-mono { font-family: Consolas, "Courier New", monospace; font-size: 11.5px; word-break: break-all; color: #E8F1EC; }
.dp-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dp-btn { background: #24302A; color: #E3EEE8; border: 1px solid #34423B; border-radius: 8px; padding: 6px 10px; font-size: 12px; cursor: pointer; }
.dp-btn:hover { background: #2E3C35; }
.dp-btn.primary { background: var(--g); border-color: var(--g); color: #fff; }
.dp-btn.danger { background: #3A2020; border-color: #5A2C2C; color: #F7C5C2; }
.dp-feed { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; border: 1px solid #2A302D; border-radius: 8px; }
.dp-feed li { padding: 6px 8px; border-bottom: 1px solid #222826; }
.dp-feed li:last-child { border-bottom: 0; }
.dp-feed .k { font-weight: 700; color: #fff; }
.dp-feed .t { color: #6E7E76; font-size: 10.5px; margin-right: 6px; }
.dp-feed .typ { display: inline-block; font-size: 10px; font-weight: 700; padding: 0 5px; border-radius: 4px; margin-right: 6px; background: #2E3A34; color: #9FE3BB; text-transform: uppercase; }
.dp-feed .typ.view { color: #9BC7FF; } .dp-feed .typ.push { color: #F0B84E; } .dp-feed .typ.profile { color: #D6A8FF; } .dp-feed .typ.warn { color: #FF8F8F; }
.dp-feed .seg { color: #9FB0A7; font-family: Consolas, "Courier New", monospace; font-size: 11px; word-break: break-word; }
.dp-camp { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #222826; }
.dp-note { color: #8FA198; font-size: 11.5px; }
.dp-ok { color: #7FDBA5; } .dp-bad { color: #FF8F8F; } .dp-warn { color: #F0B84E; }

/* ---------- Responsive ---------- */
.show-mobile { display: none !important; }
@media (max-width: 1480px) { .hide-lg { display: none; } .search input { width: 170px; } .search input:focus { width: 200px; } }
@media (max-width: 1320px) { .brand-sub { display: none; } .search input { width: 150px; } .nav-link { padding: 10px 9px; } }
@media (max-width: 1180px) { .header-cta .btn-outline span { display: none; } .header-cta .btn-outline { padding: 0 12px; } }
@media (max-width: 1100px) {
  .mainnav { position: fixed; top: 108px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; overflow-y: auto; display: none; }
  .mainnav.open { display: flex; }
  .mainnav .hide-lg, .mainnav .show-mobile { display: flex !important; }
  .nav-link { font-size: 17px; padding: 14px; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega-inner { grid-template-columns: 1fr 1fr; padding: 8px 0 12px; }
  .mega-promo { display: none; }
  .burger { display: block; order: 5; }
  .mainbar-inner { gap: 12px; }
  .search { margin-left: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-grid a:nth-child(3n) { border-right: 0; }
  .quick-grid a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  h1 { font-size: 28px; } .hero h1 { font-size: 30px; }
  .hero-slide { padding: 40px 0 90px; }
  .hero-slide .wrap, .prod-hero, .split, .calc-teaser, .login-grid, .ib-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; }
  .hero-arrow { display: none; }
  .hero-slide .wrap { padding-left: 24px; padding-right: 24px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ib-side { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
  .ib-user { display: none; }
  .ib-side a { white-space: nowrap; }
  .topbar .segments span { display: none; }
}
@media (max-width: 640px) {
  .wrap, .hero-slide .wrap { padding: 0 16px; }
  .topbar-right a { display: none; }
  .search { display: none; }
  .hero-art { display: none; }
  .hero h1 { font-size: 27px; }
  .header-cta { margin-left: auto; }
  .header-cta .btn-outline { display: none; }
  .header-cta .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  .mainbar-inner { height: 64px; }
  .mega, .mainnav { top: 100px; }
  .grid-2, .grid-3, .grid-4, .row, .row3, .choice, .kv, .cardrow { grid-template-columns: 1fr; }
  .cardrow .ccard { max-width: 280px; }
  .choice[style] { grid-template-columns: 1fr !important; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid a { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .quick-grid a:nth-child(2n) { border-right: 0 !important; }
  .card { padding: 18px; }
  .section { padding: 28px 0; }
  .softprompt { right: 16px; left: 16px; bottom: 16px; width: auto; }
  .login-card { padding: 22px; }
  .otp-inputs input { width: 40px; height: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .acct .bal { font-size: 16px; white-space: nowrap; }
  .notice { flex-wrap: wrap; }
  .header-cta .btn svg { width: 18px; height: 18px; }
  .toasts { top: auto; bottom: 70px; right: 16px; }
  .tbl th, .tbl td { padding: 10px 6px; }
  .tbl { font-size: 13px; } .cur i { display: none; }
  .calc-result .big { font-size: 30px; }
  .demo-panel { left: 8px; right: 8px; width: auto; }
}
