@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  font-family: "Source Sans 3", Arial, sans-serif;
  color: #f7fff9;
  background: #012f25;
  font-synthesis: none;
  --green: #012f25;
  --green-2: #056f58;
  --green-soft: #123d34;
  --lime: #c7f8b3;
  --mint: #eaf7f3;
  --white: #ffffff;
  --ink: #0e1814;
  --muted: #a9c7bd;
  --line: rgba(234, 247, 243, .16);
  --danger: #ffb4a9;
  --shadow: 0 24px 70px rgba(0, 20, 14, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--green); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled, select:disabled { cursor: not-allowed; opacity: .58; }
.hidden { display: none !important; }
.eyebrow { margin: 0 0 12px; color: var(--lime); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; }
.subtle { color: var(--muted); line-height: 1.55; }

.brand { display: flex; align-items: center; gap: 11px; font-family: Manrope, sans-serif; font-weight: 600; letter-spacing: -.04em; font-size: 20px; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--green); font-weight: 600; }
.brand small { color: var(--muted); font-family: "Source Sans 3", sans-serif; letter-spacing: 0; font-weight: 400; }

.marketing { min-height: 100vh; background: var(--green); overflow: hidden; }
.marketing-nav { width: min(1240px, calc(100% - 40px)); margin: 0 auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.marketing-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); }
.marketing-links a { color: #d5e8e0; text-decoration: none; }
.marketing-links a:hover { color: var(--lime); }
.primary, .nav-login { border: 0; border-radius: 10px; padding: 13px 18px; background: var(--lime); color: var(--green); font-weight: 600; }
.primary:hover, .nav-login:hover { background: #dcffce; }
.ghost { border: 1px solid var(--line); background: transparent; color: inherit; padding: 10px 14px; border-radius: 10px; }
.ghost:hover { border-color: rgba(199,248,179,.62); background: rgba(199,248,179,.06); }

.bank-hero { width: min(1240px, calc(100% - 40px)); margin: 0 auto; min-height: 610px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: stretch; border-bottom: 1px solid var(--line); }
.bank-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 70px clamp(20px, 4vw, 64px) 70px 0; }
.bank-hero h1 { max-width: 760px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(54px, 7vw, 96px); line-height: .94; letter-spacing: -.075em; font-weight: 500; }
.bank-hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 26px 0 0; color: #bfd7ce; font-size: 20px; line-height: 1.5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-button { border: 0; background: transparent; color: #effaf4; padding: 13px 6px; }
.text-button:hover { color: var(--lime); }
.bank-hero-visual { position: relative; margin: 38px 0 38px 30px; border-left: 1px solid var(--line); display: grid; place-items: center; min-height: 500px; }
.orbit { width: min(360px, 70%); aspect-ratio: 1; border: 1px solid var(--lime); border-radius: 50%; display: grid; place-items: center; position: relative; }
.orbit::before, .orbit::after { content: ""; position: absolute; border: 1px solid rgba(199,248,179,.22); border-radius: 50%; }
.orbit::before { width: 72%; height: 72%; }
.orbit::after { width: 132%; height: 132%; }
.orbit-card { width: 80%; aspect-ratio: 1.586; min-height: 0; border-radius: 16px; padding: 18px 22px; background: var(--lime); color: var(--green); transform: rotate(8deg); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 1; font-family: Manrope, sans-serif; font-weight: 600; }
.orbit-card strong { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.08em; }
.float-note { position: absolute; z-index: 2; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18,61,52,.92); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.float-note.one { top: 16%; right: 4%; }
.float-note.two { left: 2%; bottom: 15%; }
.float-note small { display: block; color: var(--muted); }
.trust-strip { width: min(1240px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.trust-item { padding: 25px 28px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-family: Manrope, sans-serif; font-size: 25px; font-weight: 500; }
.trust-item span { color: var(--muted); }
.product-section { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0 110px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 40px; }
.section-head h2 { max-width: 680px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: -.06em; font-weight: 500; }
.section-head p { max-width: 420px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: 1.25fr .75fr; border-top: 1px solid var(--line); }
.product-main, .product-side { min-height: 330px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; }
.product-main { border-right: 1px solid var(--line); background: rgba(199,248,179,.05); }
.product-side { display: grid; gap: 24px; }
.product-side > div { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.product-side > div:last-child { border-bottom: 0; padding-bottom: 0; }
.product-grid h3 { margin: 0; font-family: Manrope, sans-serif; font-size: 30px; letter-spacing: -.04em; font-weight: 500; }
.product-grid p { color: var(--muted); }
.product-number { color: var(--lime); }
.about-section { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 104px 0 120px; border-top: 1px solid var(--line); outline: none; }
.about-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 28px 70px; align-items: end; }
.about-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -12px; }
.about-intro h2 { max-width: 720px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.06em; font-weight: 500; }
.about-intro > p:last-child { max-width: 520px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.about-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 62px; border-top: 1px solid var(--line); }
.about-values article { min-height: 230px; padding: 28px 30px 20px 0; border-right: 1px solid var(--line); }
.about-values article + article { padding-left: 30px; }
.about-values article:last-child { border-right: 0; }
.about-values span { color: var(--lime); font-size: 12px; }
.about-values h3 { margin: 54px 0 10px; color: var(--white); font-family: Manrope, sans-serif; font-size: 25px; font-weight: 500; }
.about-values p { max-width: 310px; margin: 0; color: var(--muted); line-height: 1.55; }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 1.08fr) minmax(380px, .92fr); background: var(--green); }
.login-story { padding: clamp(38px, 7vw, 100px); color: white; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.hero-copy h1 { max-width: 720px; margin: 44px 0 20px; font-family: Manrope, sans-serif; font-size: clamp(48px, 6vw, 84px); line-height: .95; letter-spacing: -.07em; font-weight: 500; }
.hero-copy p { max-width: 600px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.learning-route { display: flex; flex-wrap: wrap; gap: 8px; color: #dce8e1; font-size: 13px; }
.learning-route span { border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; }
.login-side { background: var(--mint); color: var(--ink); margin: 16px; border-radius: 24px; padding: clamp(34px, 6vw, 86px); display: grid; align-content: center; }
.login-side .eyebrow { color: var(--green-2); }
.login-side .subtle { color: #5c6f67; }
.login-side h2 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.05em; font-weight: 500; }
.back-home { position: absolute; top: 28px; right: 32px; border: 0; background: transparent; color: #4e675e; }
.form { margin-top: 32px; display: grid; gap: 18px; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; }
input, select { width: 100%; padding: 14px 15px; border: 1px solid #cbdad4; border-radius: 10px; background: white; color: var(--ink); outline: none; }
input:focus, select:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(5,111,88,.12); }
.demo-note { margin-top: 18px; padding: 14px; border: 1px solid #cfe1da; border-radius: 10px; color: #536158; font-size: 13px; }
.registration-open { margin-top: 14px; width: 100%; }
.registration-success { margin: 22px 0 -10px; }
.register-side { padding: clamp(30px, 4vw, 64px); align-content: start; overflow: auto; }
.register-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.register-form #registration-error, .register-submit { grid-column: 1 / -1; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; background: var(--green); color: white; }
.side-nav { min-height: 100vh; border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side-nav .brand { padding: 0 10px; margin-bottom: 40px; }
.side-links { display: grid; gap: 7px; }
.side-link { border: 1px solid transparent; background: transparent; color: #eaf7f3; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; text-align: left; }
.side-link:hover { background: rgba(234,247,243,.08); border-color: rgba(234,247,243,.12); }
.side-link.active { background: var(--lime); color: var(--green); }
.side-link span:first-child { width: 22px; text-align: center; }
.side-footer { margin-top: auto; padding: 15px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.app-content { min-width: 0; }
.topbar { min-height: 76px; padding: 0 clamp(28px, 4vw, 72px); display: flex; align-items: center; justify-content: flex-end; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: rgba(1,47,37,.9); backdrop-filter: blur(14px); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.learning-button { border: 1px solid rgba(199,248,179,.45); background: rgba(199,248,179,.08); color: var(--lime); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.learning-button:hover, .learning-button[aria-expanded="true"] { background: var(--lime); color: var(--green); border-color: var(--lime); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--green); display: grid; place-items: center; font-weight: 600; }
.dashboard { width: min(1460px, calc(100% - 80px)); margin: 0 auto; padding: 58px 0 96px; }
.welcome { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.welcome h1 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(38px, 5vw, 66px); letter-spacing: -.065em; font-weight: 500; }
.balance-total { text-align: right; color: var(--muted); }
.balance-total strong { display: block; color: white; font-family: Manrope, sans-serif; font-size: 32px; letter-spacing: -.04em; font-weight: 500; }
.balance-total span { font-size: 13px; }
.quick-actions { display: flex; gap: 10px; margin: 30px 0 38px; flex-wrap: wrap; }
.quick-actions button { border-radius: 10px; padding: 12px 17px; font-weight: 600; }
.quick-actions .transfer-open { border: 0; background: var(--lime); color: var(--green); }
.grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; border-top: 1px solid var(--line); }
.panel { padding: 26px 0; color: var(--white); }
.panel:first-child { padding-right: 28px; border-right: 1px solid var(--line); }
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-header h3 { margin: 0; color: var(--white); font-family: Manrope, sans-serif; font-size: 19px; font-weight: 500; }
.panel-header span { color: var(--muted); font-size: 13px; }
.section-jump { border: 0; background: transparent; color: var(--lime); padding: 4px 0; font-size: 13px; }
.section-jump:hover { color: white; }
.account-list { display: grid; gap: 12px; }
.account { min-height: 170px; padding: 22px; border-radius: 18px; background: var(--lime); color: var(--green); display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; position: relative; overflow: hidden; }
.account::after { content: "B"; position: absolute; right: -6px; bottom: -70px; font-family: Manrope, sans-serif; font-size: 190px; color: rgba(1,47,37,.08); }
.account strong, .account small, .account .amount, .account .status { position: relative; z-index: 1; }
.account strong { font-family: Manrope, sans-serif; font-size: 18px; font-weight: 500; }
.account .amount { grid-row: span 2; align-self: center; font-family: Manrope, sans-serif; font-size: 23px; font-weight: 500; }
.account small { color: #315c4e; }
.account.closed { background: #bfd5cc; color: #38554b; }
.account.closed::after { opacity: .45; }
.account.closed strong, .account.closed .amount { color: #38554b; }
.status { display: inline-flex; width: fit-content; padding: 4px 8px; border-radius: 999px; background: rgba(1,47,37,.1); color: var(--green); font-size: 11px; font-weight: 600; }
.status.rejected { background: #f8d8d1; color: #8d3028; }
.operation { width: 100%; display: grid; grid-template-columns: 42px 1fr auto 22px; align-items: center; gap: 12px; padding: 14px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 10px; background: transparent; color: inherit; text-align: left; }
.operation:last-child { border: 0; }
.operation-open:hover { background: rgba(234,247,243,.06); }
.op-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(234,247,243,.09); color: var(--lime); }
.operation-copy, .operation strong, .operation small { display: block; min-width: 0; }
.operation strong, .op-amount { color: var(--white); }
.operation small { color: var(--muted); margin-top: 4px; }
.op-amount { text-align: right; font-weight: 600; }
.op-chevron { color: var(--lime); font-size: 18px; text-align: right; }

.section-header { margin-bottom: 36px; color: var(--white); }
.section-header h1 { margin: 0; color: var(--white); font-family: Manrope, sans-serif; font-size: clamp(44px, 5vw, 72px); letter-spacing: -.065em; font-weight: 500; }
.section-intro { max-width: 680px; margin: 14px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: -10px 0 28px; }
.account-actions .primary, .account-actions .ghost { padding: 12px 17px; }
.accounts-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-top: 28px; border-top: 1px solid var(--line); }
.accounts-overview .account { min-height: 240px; }
.cards-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; padding-top: 28px; border-top: 1px solid var(--line); }
.home-cards { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--white); }
.home-cards .cards-overview { padding-top: 0; border-top: 0; }
.bank-card { width: 100%; aspect-ratio: 1.586; min-height: 0; padding: 25px; border-radius: 22px; background: linear-gradient(145deg, var(--lime), #aeea98); color: var(--green); display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); }
.bank-card.status-paused, .bank-card.status-issuing { background: linear-gradient(145deg, #dcebe5, #b9d7cc); }
.bank-card.status-blocked, .bank-card.status-expired, .bank-card.status-closed { background: linear-gradient(145deg, #becdc7, #93aaa1); }
.card-top, .card-meta, .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-top { font-family: Manrope, sans-serif; font-weight: 600; }
.card-system { padding: 5px 9px; border: 1px solid rgba(1,47,37,.22); border-radius: 999px; }
.card-number { color: var(--green); font-family: Manrope, sans-serif; font-size: clamp(22px, 2.3vw, 31px); letter-spacing: .035em; font-weight: 500; }
.card-meta { color: #315c4e; font-size: 13px; }
.card-status { padding: 6px 9px; border-radius: 999px; background: rgba(1,47,37,.1); font-size: 12px; font-weight: 600; }
.card-buttons { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.card-buttons button { border: 1px solid rgba(1,47,37,.24); border-radius: 9px; padding: 8px 10px; background: rgba(255,255,255,.28); color: var(--green); font-size: 12px; font-weight: 600; }
.card-buttons button:hover { background: rgba(255,255,255,.52); }
.section-panel { padding: 28px 0; border-top: 1px solid var(--line); color: var(--white); }
.operations-full { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 42px; }
.operations-full .operation:nth-last-child(-n+2) { border-bottom: 0; }
.payment-methods { margin-bottom: 34px; padding: 26px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--white); }
.payment-methods .panel-header { align-items: end; }
.payment-methods .eyebrow { margin-bottom: 6px; }
.payment-method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.payment-method { min-height: 170px; padding: 20px; border: 1px solid rgba(234,247,243,.16); border-radius: 18px; background: rgba(234,247,243,.045); color: var(--white); display: grid; grid-template-columns: 46px 1fr auto; gap: 16px 12px; text-align: left; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.payment-method:hover { transform: translateY(-3px); border-color: var(--lime); background: rgba(199,248,179,.09); }
.payment-method-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--lime); color: var(--green); font-size: 20px; }
.payment-method strong, .payment-method small { display: block; }
.payment-method strong { margin-top: 2px; color: var(--white); font-family: Manrope, sans-serif; font-size: 17px; font-weight: 500; }
.payment-method small { margin-top: 7px; color: var(--muted); line-height: 1.45; }
.payment-method-arrow { color: var(--lime); font-size: 20px; }
.payment-filters { display: grid; grid-template-columns: repeat(3, minmax(180px, 240px)) auto; align-items: end; gap: 14px; margin: -10px 0 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--white); }
.payment-filters label { color: var(--white); }
.payment-filters .ghost { min-height: 48px; justify-self: start; }
.empty-state { grid-column: 1 / -1; color: var(--muted); }
.back-section { margin-top: 34px; padding: 10px 0; border: 0; background: transparent; color: var(--muted); }
.back-section:hover { color: var(--lime); }

.profile-panel { padding: 28px 0 0; border-top: 1px solid var(--line); color: var(--white); }
.profile-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.profile-heading-actions { display: flex; align-items: center; gap: 18px; }
.profile-heading .eyebrow { margin-bottom: 5px; }
.profile-heading h3 { margin: 0; color: var(--white); font-family: Manrope, sans-serif; font-size: 19px; font-weight: 500; }
.profile-panel .status { background: rgba(199,248,179,.12); color: var(--lime); }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.profile-grid > div { min-width: 0; padding: 18px 18px 18px 0; border-right: 1px solid var(--line); }
.profile-grid > div + div { padding-left: 18px; }
.profile-grid > div:last-child { border-right: 0; }
.profile-grid small { display: block; margin-bottom: 6px; color: var(--muted); }
.profile-grid strong { display: block; color: var(--white); font-weight: 500; overflow-wrap: anywhere; }
.profile-grid code { color: var(--lime); overflow-wrap: anywhere; }
.profile-detail { padding-top: 0; border-top: 0; }
.profile-detail .profile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,18,12,.65); z-index: 10; display: flex; justify-content: end; }
.drawer { width: min(520px, 100%); height: 100%; overflow: auto; background: var(--mint); color: var(--ink); padding: 34px; box-shadow: var(--shadow); }
.drawer .eyebrow { color: var(--green-2); }
.drawer .subtle { color: #5c6f67; }
.drawer h2 { margin: 0; font-family: Manrope, sans-serif; font-size: 42px; letter-spacing: -.05em; font-weight: 500; }
.drawer-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.icon-button { border: 0; background: #dcebe5; color: var(--green); width: 38px; height: 38px; border-radius: 50%; font-size: 20px; }
.amount-wrap { position: relative; }
.amount-wrap span { position: absolute; right: 15px; top: 14px; color: #68786f; }
.result { margin-top: 26px; padding: 18px; border-radius: 14px; background: #d9f3df; }
.result.error { background: #f8ded9; }
.result h3 { margin: 0 0 8px; }
.drawer .ghost { color: var(--green); border-color: #bcd2c9; }
.warning-note { padding: 14px; border-left: 3px solid #b66b38; background: #f8eadf; color: #704021; line-height: 1.5; }
.card-action-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border-radius: 14px; background: #dcebe5; }
.card-action-summary span { color: #536b62; }
.card-operation-types { display: grid; gap: 10px; margin: 30px 0 18px; }
.card-operation-types > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 12px; background: #dcebe5; }
.card-operation-types span { font-weight: 600; }
.card-operation-types small { color: #536b62; font-size: 12px; text-align: right; }
.operation-detail { width: min(620px, 100%); }
.operation-hero { margin: 30px 0 24px; padding: 24px; border-radius: 18px; background: var(--green); color: var(--white); display: grid; gap: 6px; }
.operation-hero.incoming { background: var(--green-2); }
.operation-hero span, .operation-hero small { color: #b9d7cc; }
.operation-hero strong { font-family: Manrope, sans-serif; font-size: clamp(34px, 5vw, 48px); letter-spacing: -.045em; font-weight: 500; }
.operation-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #c9dcd4; border-bottom: 1px solid #c9dcd4; }
.operation-details-grid > div { min-width: 0; padding: 17px 16px 17px 0; border-bottom: 1px solid #d5e3de; }
.operation-details-grid > div:nth-child(even) { padding-left: 16px; border-left: 1px solid #d5e3de; }
.operation-details-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.operation-details-grid small { display: block; margin-bottom: 5px; color: #687b73; }
.operation-details-grid strong { display: block; color: var(--ink); overflow-wrap: anywhere; font-weight: 600; }
.operation-details-grid .operation-id { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.operation-details-grid code { color: var(--green-2); overflow-wrap: anywhere; }
.operation-timeline { margin-top: 30px; }
.operation-timeline h3 { margin: 0 0 20px; font-family: Manrope, sans-serif; font-size: 23px; font-weight: 500; }
.timeline-step { min-height: 68px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; position: relative; }
.timeline-step > span { width: 28px; height: 28px; border-radius: 50%; background: #b9d7cc; color: var(--green); display: grid; place-items: center; font-size: 12px; font-weight: 600; z-index: 1; }
.timeline-step.current > span { background: var(--green); color: var(--lime); }
.timeline-step.rejected > span { background: #a53f35; color: var(--white); }
.timeline-step i { position: absolute; left: 13px; top: 28px; bottom: 0; width: 1px; background: #b9d7cc; }
.timeline-step strong, .timeline-step small { display: block; }
.timeline-step strong { color: var(--ink); }
.timeline-step small { margin-top: 4px; color: #687b73; }
.operation-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.operation-detail-actions .primary, .operation-detail-actions .ghost { padding: 12px 16px; }

.learning-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #0e1814; color: white; max-height: 72vh; overflow: auto; padding: 18px max(40px, calc((100% - 1460px)/2)) 28px; box-shadow: 0 -20px 60px rgba(0,0,0,.3); border-top: 1px solid var(--line); animation: learning-in .22s ease-out; }
.learning-handle { width: 44px; height: 4px; margin: 0 auto 18px; border-radius: 999px; background: rgba(234,247,243,.28); }
.learning-panel h3 { margin: 0 0 6px; font-family: Manrope, sans-serif; font-weight: 500; }
.learning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 18px; background: var(--line); }
.learning-card { background: #0e1814; padding: 16px; }
.learning-card small { display: block; color: var(--muted); margin-bottom: 7px; }
.learning-card code { color: var(--lime); overflow-wrap: anywhere; }
@keyframes learning-in { from { transform: translateY(18px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 900px) {
  .marketing-links a { display: none; }
  .bank-hero { grid-template-columns: 1fr; }
  .bank-hero-copy { padding-right: 0; }
  .bank-hero-visual { margin: 0 0 45px; border-left: 0; border-top: 1px solid var(--line); min-height: 420px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .app-shell { grid-template-columns: 82px 1fr; }
  .side-nav .brand span:not(.brand-mark), .side-link span:last-child, .side-footer { display: none; }
  .side-nav .brand { padding: 0; justify-content: center; }
  .side-link { justify-content: center; }
}

@media (max-width: 700px) {
  .marketing-nav, .bank-hero, .trust-strip, .product-section, .about-section { width: min(100% - 28px, 1240px); }
  .bank-hero h1 { font-size: clamp(48px, 14vw, 70px); }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section-head { align-items: start; flex-direction: column; }
  .about-intro { grid-template-columns: 1fr; align-items: start; }
  .about-intro .eyebrow { grid-column: auto; margin-bottom: -4px; }
  .about-values { grid-template-columns: 1fr; }
  .about-values article, .about-values article + article { min-height: auto; padding: 24px 0 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-values article:last-child { border-bottom: 0; }
  .about-values h3 { margin-top: 24px; }
  .login-shell { grid-template-columns: 1fr; }
  .login-story { min-height: 48vh; padding: 34px 24px; border-right: 0; }
  .login-side { margin: 0; border-radius: 24px 24px 0 0; padding: 48px 24px 66px; }
  .register-form { grid-template-columns: 1fr; }
  .register-form #registration-error, .register-submit { grid-column: auto; }
  .back-home { top: 18px; right: 20px; }
  .app-shell { grid-template-columns: 1fr; }
  .side-nav { min-height: auto; height: auto; position: static; padding: 12px 16px; flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-nav .brand { margin: 0 auto 0 0; }
  .side-nav .brand span:not(.brand-mark) { display: inline; }
  .side-links { display: flex; }
  .topbar { min-height: 64px; }
  .learning-button span { display: none; }
  .grid { grid-template-columns: 1fr; }
  .panel:first-child { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .welcome { align-items: start; flex-direction: column; }
  .balance-total { text-align: left; }
  .learning-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid > div:nth-child(2) { border-right: 0; }
  .profile-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .profile-detail .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .accounts-overview, .cards-overview, .operations-full { grid-template-columns: 1fr; }
  .accounts-overview .account { min-height: 180px; }
  .operations-full .operation { border-bottom: 1px solid var(--line); }
  .section-heading-row { align-items: start; flex-direction: column; }
  .payment-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-filters .ghost { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .marketing-nav .brand { font-size: 17px; }
  .nav-login { padding: 10px 12px; }
  .orbit { width: 68%; }
  .bank-hero-visual { min-height: 340px; }
  .float-note { font-size: 12px; }
  .side-nav .brand span:not(.brand-mark) { display: none; }
  .account { grid-template-columns: 1fr; }
  .account .amount { grid-row: auto; }
  .dashboard { width: calc(100% - 28px); }
  .top-actions { gap: 7px; }
  .learning-button, .topbar .ghost { padding: 9px 10px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-detail .profile-grid { grid-template-columns: 1fr; }
  .profile-grid > div, .profile-grid > div + div { padding: 14px 0; border-right: 0; border-top: 1px solid var(--line); }
  .profile-heading, .profile-heading-actions { align-items: flex-start; }
  .profile-heading { flex-direction: column; }
  .payment-method-grid { grid-template-columns: 1fr; }
  .payment-filters { grid-template-columns: 1fr; }
  .payment-filters .ghost { grid-column: auto; width: 100%; }
  .operation { grid-template-columns: 38px 1fr auto; }
  .operation .op-chevron { display: none; }
  .operation-details-grid { grid-template-columns: 1fr; }
  .operation-details-grid > div, .operation-details-grid > div:nth-child(even), .operation-details-grid .operation-id { grid-column: auto; padding: 14px 0; border-left: 0; border-bottom: 1px solid #d5e3de; }
  .operation-details-grid > div:last-child { border-bottom: 0; }
}
