/*
 * Credfort Group — Disposition 2.1.
 * Mise en page propre au projet : scène centrée, bento, lignes numérotées, vitrine de cartes,
 * pages intérieures en deux colonnes, espace client façon application.
 * Chargée après main.css (inc/layout.php).
 */

/* ---------- Shared headings ---------- */
.zg-heading { margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.zg-heading h2 { margin-bottom: .5rem; }
.zg-heading p { margin: 0; font-size: 1.1rem; max-width: 56ch; }
.zg-heading--center { text-align: center; }
.zg-heading--center h2, .zg-heading--center p { margin-inline: auto; }
.zg-heading--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; }
.zg-heading--split h2 { margin: 0; max-width: 16ch; }

/* ---------- Card face (shared) ---------- */
.zg-cface {
	position: relative; aspect-ratio: 1.586; border-radius: 20px; padding: 1.2rem 1.35rem; color: #fff; overflow: hidden; isolation: isolate;
	display: flex; flex-direction: column; justify-content: space-between;
	box-shadow: 0 28px 50px -24px rgba(11, 31, 26, .6), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.zg-cface::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%), repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px); }
.zg-cface--0 { background: linear-gradient(135deg, #6fdcb2, var(--zg-gold) 40%, var(--zg-primary)); }
.zg-cface--1 { background: linear-gradient(135deg, var(--zg-gold) -10%, var(--zg-primary) 45%, var(--zg-primary-dark)); }
.zg-cface--2 { background: linear-gradient(135deg, #2b3532, #0a0f0d 70%); }
.zg-cface__top, .zg-cface__bottom { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.zg-cface__bottom { align-items: flex-end; }
.zg-cface__brand { font-weight: 800; font-size: .9rem; letter-spacing: -.01em; text-transform: lowercase; }
.zg-cface__nfc { opacity: .85; flex: none; }
.zg-cface__chip { width: 44px; height: 33px; border-radius: 8px; background: linear-gradient(135deg, #f3f6f4, #b9c6c0); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); position: relative; }
.zg-cface__chip::before { content: ""; position: absolute; inset: 7px 9px; border: 1px solid rgba(0, 0, 0, .18); border-radius: 4px; }
.zg-cface__dots { font-size: .85rem; letter-spacing: .06em; opacity: .9; white-space: nowrap; }
.zg-cface__tier { font-weight: 750; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .18); white-space: nowrap; }
.zg-cface__tier:empty { display: none; }

/* ================================================================
   HOME
   ================================================================ */

/* Stage — centred hero, cards on a wide scene below */
.zg-stage { position: relative; overflow: hidden; padding-top: clamp(3rem, 7vw, 5.5rem); background: linear-gradient(180deg, #fff 0%, #fff 45%, var(--zg-bg) 100%); }
.zg-stage::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--zg-line) 1px, transparent 1px), linear-gradient(90deg, var(--zg-line) 1px, transparent 1px);
	background-size: 64px 64px; opacity: .5;
	-webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000, transparent 80%); mask-image: radial-gradient(60% 55% at 50% 30%, #000, transparent 80%);
}
.zg-stage > .zg-container { position: relative; }
.zg-stage__head { text-align: center; max-width: 980px; }
.zg-stage__eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.6rem; padding: .4rem 1rem .4rem .5rem; border-radius: 999px; background: #fff; border: 1px solid var(--zg-line); font-size: .85rem; font-weight: 700; color: var(--zg-primary-dark); box-shadow: 0 8px 20px -14px rgba(11, 31, 26, .4); }
.zg-stage__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--zg-tint); position: relative; }
.zg-stage__dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--zg-gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--zg-gold) 30%, transparent); }
.zg-stage__title { font-size: clamp(2.5rem, 1.4rem + 5vw, 5.6rem); line-height: .98; letter-spacing: -.055em; margin: 0 auto 1.4rem; max-width: 14ch; }
.zg-stage__sub { font-size: clamp(1.05rem, 1rem + .45vw, 1.3rem); max-width: 54ch; margin: 0 auto 2.2rem; }
.zg-stage__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.zg-stage__scene { position: relative; margin-top: clamp(2.5rem, 6vw, 4.5rem); height: clamp(260px, 34vw, 440px); border-radius: 36px 36px 0 0; background: radial-gradient(70% 90% at 50% 100%, color-mix(in srgb, var(--zg-gold) 35%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--zg-gold) 8%, #fff), color-mix(in srgb, var(--zg-gold) 16%, #fff)); border: 1px solid var(--zg-line); border-bottom: 0; overflow: hidden; }
.zg-stage__scene.has-photo { background: var(--zg-night); }
.zg-stage__photo { width: 100%; height: 100%; object-fit: cover; }
.zg-fan { position: absolute; left: 50%; bottom: -9%; width: min(92%, 860px); height: 100%; transform: translateX(-50%); }
.zg-fan__card { position: absolute; bottom: 0; width: 42%; }
.zg-fan__card--0 { left: 3%; bottom: 6%; transform: rotate(-10deg); }
.zg-fan__card--1 { left: 29%; z-index: 2; transform: translateY(-14%); width: 44%; }
.zg-fan__card--2 { right: 3%; bottom: 6%; transform: rotate(10deg); }
.zg-anim .zg-fan__card--1 { animation: zg-rise 7s ease-in-out infinite; }
@keyframes zg-rise { 0%, 100% { transform: translateY(-14%); } 50% { transform: translateY(-18%); } }
.zg-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem .5rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .95); border: 1px solid var(--zg-line); box-shadow: var(--zg-shadow); font-weight: 700; font-size: .86rem; color: var(--zg-ink); white-space: nowrap; }
.zg-chip__icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--zg-tint); color: var(--zg-primary); }
.zg-chip--0 { left: 5%; top: 16%; }
.zg-chip--1 { right: 6%; top: 12%; }
.zg-chip--2 { right: 12%; top: 46%; }
.zg-anim .zg-chip { animation: zg-bob 6s ease-in-out infinite; }
.zg-anim .zg-chip--1 { animation-delay: -2s; }
.zg-anim .zg-chip--2 { animation-delay: -4s; }
.zg-stage__quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--zg-line); border-radius: 0 0 24px 24px; background: #fff; overflow: hidden; }
.zg-stage__quick a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1.15rem 1.3rem; color: var(--zg-ink); font-weight: 700; text-decoration: none; font-size: .95rem; transition: background-color .15s, color .15s; }
.zg-stage__quick a + a { border-left: 1px solid var(--zg-line); }
.zg-stage__quick a .zg-icon { color: var(--zg-primary); transition: transform .15s; }
.zg-stage__quick a:hover { background: var(--zg-tint); color: var(--zg-primary-dark); }
.zg-stage__quick a:hover .zg-icon { transform: translateX(3px); }
.zg-stage + .zg-ticker { margin-top: 0; }

/* Ticker */
.zg-ticker { overflow: hidden; background: var(--zg-night); color: #fff; padding: 1rem 0; }
.zg-ticker__track { display: flex; width: max-content; gap: 3rem; }
.zg-anim .zg-ticker__track { animation: zg-marquee 40s linear infinite; }
@keyframes zg-marquee { to { transform: translateX(-50%); } }
.zg-ticker__item { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; }
.zg-ticker__item .zg-icon { color: var(--zg-gold); }
.zg-ticker__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .3); margin-left: 2.4rem; }

/* Choose: loan / account split */
.zg-choose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 32px; overflow: hidden; box-shadow: var(--zg-shadow-l); }
.zg-choose__item { display: flex; flex-direction: column; padding: clamp(1.8rem, 4vw, 3.2rem); min-height: 100%; }
.zg-choose__item--loan { background: var(--zg-night); color: rgba(255, 255, 255, .72); position: relative; overflow: hidden; }
.zg-choose__item--loan::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--zg-gold) 40%, transparent), transparent 65%); pointer-events: none; }
.zg-choose__item--loan > * { position: relative; }
.zg-choose__item--loan h3 { color: #fff; }
.zg-choose__item--account { background: #fff; }
.zg-choose__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.2rem; }
.zg-choose__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--zg-tint); color: var(--zg-primary); }
.zg-choose__item--loan .zg-choose__icon { background: rgba(255, 255, 255, .08); color: var(--zg-gold); }
.zg-choose__num { font-size: 3.4rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--zg-line); }
.zg-choose__item--loan .zg-choose__num { color: rgba(255, 255, 255, .1); }
.zg-choose__item h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -.035em; margin-bottom: .6rem; }
.zg-choose__points { margin: 1.4rem 0 2.2rem; display: grid; gap: .55rem; }
.zg-choose__points li { display: flex; gap: .6rem; align-items: center; font-weight: 600; color: var(--zg-ink); }
.zg-choose__item--loan .zg-choose__points li { color: #fff; }
.zg-choose__points .zg-icon { color: var(--zg-primary); flex: none; }
.zg-choose__item--loan .zg-choose__points .zg-icon { color: var(--zg-gold); }
.zg-choose__btn { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem .55rem .55rem 1.5rem; border-radius: 999px; font-weight: 750; font-size: 1.05rem; text-decoration: none; background: var(--zg-primary); color: #fff; transition: background-color .2s; }
.zg-choose__btn:hover { background: var(--zg-primary-dark); color: #fff; }
.zg-choose__item--loan .zg-choose__btn { background: var(--zg-gold); color: var(--zg-night); }
.zg-choose__item--loan .zg-choose__btn:hover { background: #fff; color: var(--zg-night); }
.zg-choose__arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); transition: transform .2s; }
.zg-choose__item--loan .zg-choose__arrow { background: rgba(11, 31, 26, .12); }
.zg-choose__btn:hover .zg-choose__arrow { transform: translateX(4px); }

/* Bento services */
.zg-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 1rem; }
.zg-bento__item a { height: 100%; display: flex; flex-direction: column; padding: 1.7rem; border-radius: 26px; background: #fff; border: 1px solid var(--zg-line); color: var(--zg-text); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.zg-bento__item a:hover { transform: translateY(-3px); box-shadow: var(--zg-shadow); border-color: transparent; color: var(--zg-text); }
.zg-bento__item h3, .zg-bento__title { margin: auto 0 .4rem; font-size: 1.25rem; }
.zg-bento__item p { margin: 0 0 1.2rem; font-size: .95rem; }
.zg-bento__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--zg-tint); color: var(--zg-primary); margin-bottom: 1.5rem; }
.zg-bento__go { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--zg-primary); }
.zg-bento__item--0 { grid-column: span 2; grid-row: span 2; }
.zg-bento__item--0 a { background: linear-gradient(150deg, var(--zg-primary-dark), var(--zg-night)); color: rgba(255, 255, 255, .75); border: 0; position: relative; overflow: hidden; }
.zg-bento__item--0 a::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--zg-gold) 50%, transparent), transparent 65%); }
.zg-bento__item--0 a > * { position: relative; }
.zg-bento__item--0 a:hover { color: rgba(255, 255, 255, .75); }
.zg-bento__item--0 h3, .zg-bento__item--0 .zg-bento__title { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.035em; }
.zg-bento__item--0 p { font-size: 1.08rem; max-width: 40ch; }
.zg-bento__item--0 .zg-bento__icon { background: rgba(255, 255, 255, .1); color: var(--zg-gold); width: 64px; height: 64px; }
.zg-bento__item--0 .zg-bento__go { color: var(--zg-gold); }
.zg-bento__item--5 { grid-column: 1 / -1; }
.zg-bento__item--5 a { flex-direction: row; align-items: center; gap: 1.4rem; background: var(--zg-tint); border-color: transparent; }
.zg-bento__item--5 .zg-bento__icon { background: #fff; margin: 0; }
.zg-bento__item--5 h3, .zg-bento__item--5 .zg-bento__title { margin: 0; flex: 0 0 auto; }
.zg-bento__item--5 p { margin: 0; flex: 1; }
.zg-bento__item--5 .zg-bento__go { flex: none; }

/* Loan lab: rows + simulator */
.zg-loanlab__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.zg-rows { margin-top: 2rem; border-top: 1px solid var(--zg-line); counter-reset: none; }
.zg-rows__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.2rem; align-items: start; padding: 1.3rem 0; border-bottom: 1px solid var(--zg-line); }
.zg-rows__num { font-weight: 800; font-size: .85rem; color: var(--zg-primary); padding-top: .2rem; font-variant-numeric: tabular-nums; }
.zg-rows__body h3 { margin: 0 0 .25rem; font-size: 1.12rem; }
.zg-rows__body p { margin: 0; font-size: .94rem; }
.zg-rows__tag { font-size: .78rem; font-weight: 700; color: var(--zg-primary-dark); background: var(--zg-tint); padding: .35rem .7rem; border-radius: 999px; max-width: 13rem; text-align: center; line-height: 1.3; }
.zg-loanlab__sim { position: sticky; top: calc(var(--zg-header-h) + 1.5rem); background: var(--zg-bg); border-radius: 32px; padding: .6rem; }
.zg-loanlab__simhead { padding: 1.3rem 1.5rem .9rem; }
.zg-loanlab__simhead h3 { margin: 0 0 .3rem; font-size: 1.35rem; }
.zg-loanlab__simhead p { margin: 0; font-size: .95rem; }
.zg-loanlab .zg-sim, .zg-loanlab__sim .zg-sim { grid-template-columns: 1fr; padding: 0; background: transparent; }

/* Card showcase */
.zg-showcase { overflow: hidden; }
.zg-showcase__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.zg-showcase__visual { position: relative; aspect-ratio: 1 / .95; border-radius: 36px; background: radial-gradient(70% 70% at 50% 45%, color-mix(in srgb, var(--zg-gold) 30%, transparent), transparent 70%), var(--zg-bg); }
.zg-showcase__fan { position: absolute; inset: 0; }
.zg-showcase__card { position: absolute; width: 62%; left: 19%; }
.zg-showcase__card--0 { top: 12%; transform: rotate(-9deg) translateX(-14%); }
.zg-showcase__card--1 { top: 31%; transform: rotate(3deg) translateX(8%); z-index: 2; }
.zg-showcase__card--2 { top: 52%; transform: rotate(-4deg) translateX(-4%); z-index: 3; }
.zg-tierlist { margin: 2rem 0; display: grid; gap: .7rem; }
.zg-tierlist__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 20px; border: 1px solid var(--zg-line); background: #fff; }
.zg-tierlist__item.is-featured { border-color: var(--zg-primary); box-shadow: 0 0 0 1px var(--zg-primary); }
.zg-tierlist__item h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.zg-tierlist__item p { margin: 0; font-size: .92rem; }
.zg-tierlist__swatch { flex: none; width: 46px; height: 30px; border-radius: 7px; margin-top: .1rem; }
.zg-tierlist__swatch--0 { background: linear-gradient(135deg, #6fdcb2, var(--zg-primary)); }
.zg-tierlist__swatch--1 { background: linear-gradient(135deg, var(--zg-primary), var(--zg-primary-dark)); }
.zg-tierlist__swatch--2 { background: linear-gradient(135deg, #2b3532, #0a0f0d); }

/* Accounts list */
.zg-acc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.zg-acc__head { position: sticky; top: calc(var(--zg-header-h) + 1.5rem); }
.zg-acc__head p { font-size: 1.1rem; margin-bottom: 1.6rem; }
.zg-acc__list { background: #fff; border-radius: 28px; border: 1px solid var(--zg-line); overflow: hidden; }
.zg-acc__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; padding: 1.5rem 1.6rem; transition: background-color .15s; }
.zg-acc__row + .zg-acc__row { border-top: 1px solid var(--zg-line); }
.zg-acc__row:hover { background: var(--zg-tint); }
.zg-acc__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--zg-bg); color: var(--zg-primary); }
.zg-acc__row:hover .zg-acc__icon { background: #fff; }
.zg-acc__body h3 { margin: 0 0 .2rem; font-size: 1.12rem; }
.zg-acc__body p { margin: 0; font-size: .94rem; }
.zg-acc__body .zg-checks { margin-top: .8rem; }
.zg-acc__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--zg-line); color: var(--zg-ink); background: #fff; }
.zg-acc__go:hover { background: var(--zg-primary); color: #fff; border-color: var(--zg-primary); }

/* Journey: horizontal timeline + assurances */
.zg-journey .zg-process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.zg-journey .zg-process::before { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--zg-primary) 0 8px, transparent 8px 16px); opacity: .5; }
.zg-journey .zg-process__step { background: none; text-align: center; padding: 0 1.5rem; border-radius: 0; }
.zg-journey .zg-process__num { position: relative; z-index: 1; box-shadow: 0 0 0 8px #fff, 0 10px 20px -10px var(--zg-primary); margin-bottom: 1.3rem; }
.zg-journey .zg-process__step p { max-width: 32ch; margin-inline: auto; }
.zg-assure { margin-top: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--zg-line); border-radius: 26px; overflow: hidden; }
.zg-assure li { display: flex; gap: .9rem; padding: 1.5rem; }
.zg-assure li + li { border-left: 1px solid var(--zg-line); }
.zg-assure__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--zg-tint); color: var(--zg-primary); }
.zg-assure h3 { margin: 0 0 .25rem; font-size: 1rem; }
.zg-assure p { margin: 0; font-size: .88rem; line-height: 1.5; }

/* FAQ home */
.zg-faqhome { max-width: 860px; }
.zg-faqhome__more { text-align: center; margin: 2rem 0 0; }

/* ---------- CTA (full bleed, dark, with cards) ---------- */
.zg-cta { background: var(--zg-night); padding-block: 0; color: rgba(255, 255, 255, .75); overflow: hidden; position: relative; }
.zg-cta::before { content: ""; position: absolute; width: 900px; height: 900px; right: -200px; top: -380px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--zg-gold) 30%, transparent), transparent 62%); pointer-events: none; }
.zg-cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: center; padding: clamp(3.5rem, 8vw, 6.5rem) var(--zg-gutter); border-radius: 0; background: none; max-width: var(--zg-wrap); }
.zg-cta__inner::before { display: none; }
.zg-cta__title { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.8rem); letter-spacing: -.045em; max-width: 16ch; margin-bottom: 1rem; }
.zg-cta__text { font-size: 1.15rem; max-width: 46ch; margin-bottom: 2rem; color: rgba(255, 255, 255, .72); }
.zg-cta .zg-btn--gold { --b-bg: var(--zg-gold); --b-bd: var(--zg-gold); --b-fg: var(--zg-night); }
.zg-cta .zg-btn--gold:hover { --b-bg: #fff; --b-bd: #fff; --b-fg: var(--zg-night); }
.zg-cta__art { position: relative; height: 320px; }
.zg-cta__card { position: absolute; width: 78%; }
.zg-cta__card--a { right: 0; top: 4%; transform: rotate(10deg); }
.zg-cta__card--b { left: 0; bottom: 4%; transform: rotate(-8deg); }

/* ---------- Footer: mega wordmark ---------- */
.zg-footer { margin: 0; border-radius: 0; }
.zg-cta + .zg-footer, main + .zg-footer { border-top: 1px solid var(--zg-line-dark); }
.zg-footer__mega { position: relative; font-weight: 800; font-size: clamp(3.5rem, 2rem + 11vw, 12.5rem); line-height: .8; letter-spacing: -.07em; text-transform: lowercase; white-space: nowrap; overflow: hidden; padding-block: 1.5rem 0; margin-bottom: -.06em; color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02)); -webkit-background-clip: text; background-clip: text; user-select: none; }

/* ================================================================
   INNER PAGES
   ================================================================ */
.zg-pagehero { background: #fff; border-bottom: 1px solid var(--zg-line); }
.zg-pagehero::after { display: none; }
.zg-pagehero__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: end; padding-block: clamp(2.4rem, 6vw, 4.5rem); }
.zg-pagehero__main { min-width: 0; }
.zg-pagehero__title { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 5rem); letter-spacing: -.055em; line-height: .98; max-width: 16ch; }
.zg-pagehero__lead { font-size: 1.15rem; }
.zg-pagehero__nav { border: 1px solid var(--zg-line); border-radius: 22px; padding: .45rem; background: var(--zg-bg); }
.zg-pagehero__navlabel { display: block; padding: .5rem .8rem .35rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--zg-text); }
.zg-pagehero__nav a { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 14px; color: var(--zg-ink); text-decoration: none; font-weight: 650; font-size: .93rem; }
.zg-pagehero__nav a .zg-icon:first-child { color: var(--zg-primary); }
.zg-pagehero__nav a .zg-icon:last-child { margin-left: auto; opacity: .35; }
.zg-pagehero__nav a:hover { background: #fff; }
.zg-pagehero__nav a[aria-current] { background: #fff; box-shadow: 0 1px 3px rgba(11, 31, 26, .1); }
.zg-pagehero__nav a[aria-current] .zg-icon:last-child { opacity: 1; color: var(--zg-primary); }

/* Big statement */
.zg-statement { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.25; letter-spacing: -.035em; font-weight: 650; color: var(--zg-ink); max-width: 30ch; margin: 0; }
.zg-statement em { font-style: normal; color: var(--zg-primary); }
.zg-introgrid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.zg-introgrid__side { padding: 1.8rem; border-radius: 26px; background: var(--zg-night); color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; }
.zg-introgrid__side::before { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--zg-gold) 45%, transparent), transparent 65%); }
.zg-introgrid__side > * { position: relative; }
.zg-introgrid__side h2 { color: #fff; font-size: 1.2rem; }
.zg-introgrid__side .zg-btn { margin-top: .6rem; }
.zg-introgrid__side .zg-btn--primary { --b-bg: var(--zg-gold); --b-bd: var(--zg-gold); --b-fg: var(--zg-night); box-shadow: none; }

/* Cards page: alternating rows */
.zg-tiers { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.zg-tierrow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 32px; background: var(--zg-bg); }
.zg-tierrow:nth-child(even) .zg-tierrow__visual { order: 2; }
.zg-tierrow.is-featured { background: var(--zg-tint); box-shadow: inset 0 0 0 1.5px var(--zg-primary); }
.zg-tierrow__visual { padding: clamp(1rem, 4vw, 2.5rem); }
.zg-tierrow__visual .zg-cface { transform: rotate(-4deg); }
.zg-tierrow:nth-child(even) .zg-tierrow__visual .zg-cface { transform: rotate(4deg); }
.zg-tierrow__title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); letter-spacing: -.045em; margin-bottom: .4rem; }
.zg-tierrow__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 1.4rem 0; }
.zg-tierrow__cols .zg-tier__label { margin-top: 0; }
.zg-tierrow__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--zg-line); }
.zg-tierrow__fees { font-weight: 700; color: var(--zg-ink); }
.zg-tierrow__fees span { font-weight: 500; color: var(--zg-text); margin-right: .35rem; }
.zg-badge-feat { display: inline-block; margin-left: .6rem; vertical-align: middle; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; background: var(--zg-primary); color: #fff; }

/* Accounts page detail list */
.zg-acc--page { grid-template-columns: 1fr; }
.zg-acc--page .zg-acc__row { grid-template-columns: auto minmax(0, 1fr); align-items: start; padding: 2rem; }
.zg-acc--page .zg-acc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zg-acc--page .zg-acc__row + .zg-acc__row { border-top: 0; }
.zg-acc--page .zg-acc__row:nth-child(n+3) { border-top: 1px solid var(--zg-line); }
.zg-acc--page .zg-acc__row:nth-child(even) { border-left: 1px solid var(--zg-line); }

/* About */
.zg-mission { padding: clamp(2rem, 6vw, 4.5rem); border-radius: 36px; background: var(--zg-night); color: rgba(255, 255, 255, .7); position: relative; overflow: hidden; }
.zg-mission::before { content: ""; position: absolute; width: 600px; height: 600px; left: -200px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--zg-gold) 38%, transparent), transparent 65%); }
.zg-mission > * { position: relative; }
.zg-mission__label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--zg-gold); margin-bottom: 1.2rem; }
.zg-mission__quote { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3.2rem); line-height: 1.15; letter-spacing: -.04em; color: #fff; font-weight: 700; max-width: 24ch; margin: 0; }
.zg-numlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); counter-reset: zgn; }
.zg-numlist li { counter-increment: zgn; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; padding: 1.6rem 0; border-top: 1px solid var(--zg-line); }
.zg-numlist li::before { content: counter(zgn, decimal-leading-zero); font-weight: 800; font-size: 2rem; letter-spacing: -.05em; line-height: 1; color: var(--zg-primary); }
.zg-numlist h3 { margin: .2rem 0 .3rem; }
.zg-numlist p { margin: 0; }
.zg-stack3 { display: grid; gap: 0; }
.zg-stack3 article { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1rem clamp(2rem, 5vw, 4rem); padding: clamp(1.6rem, 4vw, 2.6rem) 0; border-top: 1px solid var(--zg-line); }
.zg-stack3 article:last-child { border-bottom: 1px solid var(--zg-line); }
.zg-stack3 h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.zg-stack3 p { margin: 0; font-size: 1.08rem; }

/* FAQ page: tabs on top */
.zg-faqtabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.zg-faqtabs a { padding: .65rem 1.15rem; border-radius: 999px; border: 1px solid var(--zg-line); color: var(--zg-ink); font-weight: 700; text-decoration: none; font-size: .93rem; background: #fff; }
.zg-faqtabs a:hover { border-color: var(--zg-ink); }
.zg-faqtabs a.is-active { background: var(--zg-night); color: #fff; border-color: var(--zg-night); }
.zg-faqcol { max-width: 860px; margin-inline: auto; }
.zg-faqcol .zg-faqgroup h2 { font-size: 1.3rem; display: flex; align-items: center; gap: .7rem; }
.zg-faqcol .zg-faqgroup h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--zg-gold); }

/* Contact */
.zg-contactgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.zg-contactgrid .zg-form-wrap { padding: clamp(1.5rem, 4vw, 3rem); }
.zg-contactgrid__side { display: grid; gap: .8rem; }
.zg-ctile { display: flex; gap: 1rem; padding: 1.3rem; border-radius: 22px; background: var(--zg-bg); }
.zg-ctile__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--zg-primary); }
.zg-ctile dt { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--zg-text); margin-bottom: .2rem; }
.zg-ctile dd { margin: 0; font-weight: 650; color: var(--zg-ink); overflow-wrap: anywhere; }
.zg-ctile dd a { color: var(--zg-ink); text-decoration: none; }
.zg-ctile dd a:hover { color: var(--zg-primary); }
.zg-ctile--dark { background: var(--zg-night); color: rgba(255, 255, 255, .75); align-items: center; }
.zg-ctile--dark .zg-ctile__icon { background: rgba(255, 255, 255, .08); color: var(--zg-gold); }
.zg-ctile--dark a { color: #fff; font-weight: 700; text-decoration: none; }

/* Apply band (product pages) */
.zg-applycta { grid-template-columns: 1fr; text-align: left; border-radius: 32px; padding: clamp(2rem, 5vw, 3.5rem); background: linear-gradient(120deg, var(--zg-primary-dark), var(--zg-night)); }
.zg-applycta h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); letter-spacing: -.04em; max-width: 20ch; }
.zg-applycta__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .6rem; margin-top: 2rem; }
.zg-applycta__steps li { padding: 1rem; border-radius: 18px; background: rgba(255, 255, 255, .07); align-items: flex-start; flex-direction: column; gap: .7rem; font-weight: 600; }
.zg-applycta__steps span { border-color: var(--zg-gold); color: var(--zg-night); background: var(--zg-gold); }
.zg-applycta__actions { flex-direction: row; flex-wrap: wrap; }

/* ---------- Responsive (public) ---------- */
@media (max-width: 1100px) {
	.zg-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zg-assure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zg-assure li:nth-child(3) { border-left: 0; }
	.zg-assure li:nth-child(n+3) { border-top: 1px solid var(--zg-line); }
	.zg-stage__quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.zg-stage__quick a:nth-child(4) { border-left: 0; }
	.zg-stage__quick a:nth-child(n+4) { border-top: 1px solid var(--zg-line); }
}
@media (max-width: 960px) {
	.zg-heading--split, .zg-loanlab__grid, .zg-showcase__grid, .zg-acc, .zg-choose__grid, .zg-cta__inner, .zg-pagehero__inner, .zg-introgrid, .zg-tierrow, .zg-contactgrid, .zg-stack3 article { grid-template-columns: 1fr; }
	.zg-loanlab__sim, .zg-acc__head { position: static; }
	.zg-tierrow:nth-child(even) .zg-tierrow__visual { order: 0; }
	.zg-tierrow__visual { max-width: 460px; }
	.zg-cta__art { display: none; }
	.zg-pagehero__nav { display: none; }
	.zg-journey .zg-process { grid-template-columns: 1fr; gap: 1.6rem; }
	.zg-journey .zg-process::before { left: 24px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--zg-primary) 0 8px, transparent 8px 16px); }
	.zg-journey .zg-process__step { text-align: left; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 1.2rem; padding: 0; }
	.zg-journey .zg-process__num { grid-row: span 2; margin: 0; }
	.zg-journey .zg-process__step h3 { margin: .7rem 0 .3rem; }
	.zg-journey .zg-process__step p { margin: 0; }
	.zg-acc--page .zg-acc__list { grid-template-columns: 1fr; }
	.zg-acc--page .zg-acc__row:nth-child(even) { border-left: 0; }
	.zg-acc--page .zg-acc__row + .zg-acc__row { border-top: 1px solid var(--zg-line); }
	.zg-showcase__visual { max-width: 560px; width: 100%; }
}
@media (max-width: 640px) {
	.zg-stage__scene { height: 230px; border-radius: 24px 24px 0 0; }
	.zg-fan { width: 100%; bottom: -10%; }
	.zg-chip { font-size: .74rem; padding: .35rem .7rem .35rem .35rem; }
	.zg-chip__icon { width: 24px; height: 24px; }
	.zg-chip--0 { left: 3%; top: 7%; }
	.zg-chip--1 { right: 3%; top: 26%; }
	.zg-chip--2 { display: none; }
	.zg-cface { padding: .8rem .9rem; border-radius: 14px; }
	.zg-cface__chip { width: 32px; height: 24px; }
	.zg-cface__dots { font-size: .68rem; }
	.zg-cface__brand { font-size: .78rem; }
	.zg-cface__tier { font-size: .6rem; }
	.zg-stage__quick { grid-template-columns: 1fr 1fr; border-radius: 0 0 18px 18px; }
	.zg-stage__quick a { padding: .95rem 1rem; font-size: .9rem; }
	.zg-stage__quick a:nth-child(n) { border-left: 0; border-top: 1px solid var(--zg-line); }
	.zg-stage__quick a:nth-child(even) { border-left: 1px solid var(--zg-line); }
	.zg-stage__quick a:first-child, .zg-stage__quick a:nth-child(2) { border-top: 0; }
	.zg-bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
	.zg-bento__item--0, .zg-bento__item--5 { grid-column: auto; grid-row: auto; }
	.zg-bento__item h3 { margin-top: 0; }
	.zg-rows__item { grid-template-columns: auto minmax(0, 1fr); }
	.zg-rows__tag { grid-column: 2; justify-self: start; }
	.zg-assure { grid-template-columns: 1fr; }
	.zg-assure li + li { border-left: 0; border-top: 1px solid var(--zg-line); }
	.zg-acc__row { padding: 1.2rem; gap: .9rem; }
	.zg-acc__icon { width: 44px; height: 44px; }
	.zg-choose__grid { border-radius: 24px; }
	.zg-numlist { grid-template-columns: 1fr; }
	.zg-tierrow__cols { grid-template-columns: 1fr; }
	.zg-mission { border-radius: 26px; }
}
.zg-tierrow__fees { margin: 0; }
.zg-note--spaced { margin-top: 2rem; }
.zg-introgrid--rev { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.zg-acc__body .zg-account__title { margin: 0 0 .25rem; font-size: 1.25rem; }
.zg-contact__form h2 { font-size: 1.6rem; }
.zg-faqtabs { position: sticky; top: calc(var(--zg-header-h) + .8rem); z-index: 5; padding: .4rem; margin-inline: auto; width: fit-content; max-width: 100%; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 999px; border: 1px solid var(--zg-line); }
.zg-faqtabs a { border: 0; background: transparent; }
@media (max-width: 960px) { .zg-introgrid--rev { grid-template-columns: 1fr; } .zg-faqtabs { position: static; border-radius: 22px; } }
.zg-aboutintro { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.zg-aboutintro h2 { font-size: 1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--zg-primary); }
.zg-aboutintro .zg-statement { max-width: 34ch; }

/* ================================================================
   CLIENT SPACE — application layout (sidebar + content, tab bar on mobile)
   ================================================================ */
.zg-app { background: var(--zg-bg); }
.zg-app .zg-header { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--zg-line); }
.zg-app .zg-header .zg-burger { display: none; }
.zg-app .zg-portal { background: var(--zg-bg); padding: clamp(1.2rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 4rem); }
.zg-app .zg-portal__wrap { max-width: 1320px; }
.zg-app .zg-pbank { display: grid; grid-template-columns: 268px minmax(0, 1fr); column-gap: clamp(1.2rem, 2.5vw, 2.2rem); align-items: start; }
.zg-app .zg-pbank > * { grid-column: 2; min-width: 0; }
.zg-app .zg-pbank > .zg-pside { grid-column: 1; grid-row: 1 / span 40; }

/* Sidebar */
.zg-pside { position: sticky; top: calc(var(--zg-header-h) + 1rem); display: flex; flex-direction: column; gap: .8rem; padding: .7rem; border-radius: 26px; background: #fff; border: 1px solid var(--zg-line); max-height: calc(100vh - var(--zg-header-h) - 2rem); overflow-y: auto; scrollbar-width: thin; }
.zg-pside__me { display: flex; align-items: center; gap: .75rem; padding: .7rem; border-radius: 18px; background: var(--zg-night); color: #fff; position: relative; overflow: hidden; }
.zg-pside__me::after { content: ""; position: absolute; width: 160px; height: 160px; right: -70px; top: -80px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--zg-gold) 55%, transparent), transparent 65%); }
.zg-pside__avatar { position: relative; z-index: 1; flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--zg-gold), var(--zg-primary)); font-weight: 800; letter-spacing: .02em; }
.zg-pside__who { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.zg-pside__who strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zg-pside__who span { font-size: .76rem; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zg-pside .zg-pnav { display: flex; flex-direction: column; gap: .1rem; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
.zg-pside .zg-pnav a { padding: .62rem .8rem; border-radius: 12px; font-size: .92rem; color: var(--zg-text); }
.zg-pside .zg-pnav a span:not(.zg-pnav__badge) { flex: 1; }
.zg-pside .zg-pnav a:hover { background: var(--zg-bg); color: var(--zg-ink); }
.zg-pside .zg-pnav a.is-active { background: var(--zg-tint); color: var(--zg-primary-dark); }
.zg-pside .zg-pnav a.is-active svg { color: var(--zg-primary); }
.zg-pside__logout { margin: 0; padding-top: .6rem; border-top: 1px solid var(--zg-line); }
.zg-pside__logout button { width: 100%; display: flex; align-items: center; gap: .6rem; padding: .62rem .8rem; border: 0; border-radius: 12px; background: none; cursor: pointer; font-weight: 650; font-size: .9rem; color: var(--zg-text); }
.zg-pside__logout button:hover { background: #fef3f2; color: var(--zg-error); }

/* Page head */
.zg-app .zg-portal__head { align-items: flex-end; margin-bottom: 1.3rem; }
.zg-app .zg-portal__head h1 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); letter-spacing: -.04em; }
.zg-portal__date { font-size: .85rem; font-weight: 650; color: var(--zg-text); padding: .4rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--zg-line); }
.zg-app .zg-portal__card { border-radius: 24px; box-shadow: none; }

/* Dashboard hero */
.zg-dash { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem; margin-bottom: 1.3rem; }
.zg-dash__main { position: relative; overflow: hidden; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 28px; background: var(--zg-night); color: rgba(255, 255, 255, .7); }
.zg-dash__main::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--zg-gold) 45%, transparent), transparent 65%); pointer-events: none; }
.zg-dash__main > * { position: relative; }
.zg-dash__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.zg-dash__label { font-size: .9rem; font-weight: 600; }
.zg-dash__state { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.zg-dash__state.is-ok { background: color-mix(in srgb, var(--zg-gold) 22%, transparent); color: var(--zg-gold); }
.zg-dash__state.is-wait { background: rgba(255, 196, 0, .15); color: #ffd46b; }
.zg-dash__amount { margin: .5rem 0 .6rem; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.zg-dash__iban { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; font-size: .85rem; }
.zg-dash__iban span { font-weight: 800; font-size: .7rem; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }
.zg-dash__iban code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #fff; font-size: .9rem; }
.zg-dash__iban em { color: #ffd46b; }
.zg-dash__iban .zg-wcard__copy { background: rgba(255, 255, 255, .12); }
.zg-dash__actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.zg-dash__act { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .3rem; text-align: center; color: #fff; text-decoration: none; font-size: .8rem; font-weight: 650; line-height: 1.2; }
.zg-dash__acticon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); transition: background-color .15s, transform .15s; }
.zg-dash__act:first-child .zg-dash__acticon { background: var(--zg-gold); color: var(--zg-night); }
.zg-dash__act:hover { color: #fff; }
.zg-dash__act:hover .zg-dash__acticon { transform: translateY(-2px); background: rgba(255, 255, 255, .2); }
.zg-dash__act:first-child:hover .zg-dash__acticon { background: #fff; }
.zg-dash__act.is-off { opacity: .45; }
.zg-dash__card { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: 28px; background: #fff; border: 1px solid var(--zg-line); }
.zg-dash__card .zg-cface { transform: rotate(-3deg); }
.zg-dash__cardlink { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.zg-dash__nocard { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; padding: 1.5rem; border: 2px dashed var(--zg-line); border-radius: 20px; color: var(--zg-text); text-decoration: none; aspect-ratio: 1.586; transition: border-color .15s, background-color .15s; }
.zg-dash__nocard:hover { border-color: var(--zg-primary); background: var(--zg-tint); color: var(--zg-text); }
.zg-dash__nocard strong { color: var(--zg-ink); font-size: 1.05rem; }
.zg-dash__nocard span:last-child { font-size: .88rem; }
.zg-dash__plus { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--zg-primary); color: #fff; font-size: 1.6rem; font-weight: 400; line-height: 1; margin-bottom: .4rem; }
.zg-dash__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem; align-items: start; margin-top: 1.3rem; }
.zg-dash__cols .zg-portal__card + .zg-portal__card { margin-top: 0; }
.zg-dash__side { display: grid; gap: 1rem; }
.zg-dash__side .zg-portal__card { margin: 0; }
.zg-dash__links { background: #fff; border: 1px solid var(--zg-line); border-radius: 24px; padding: .5rem; }
.zg-dash__links a { display: flex; align-items: center; gap: .8rem; padding: .7rem .7rem; border-radius: 16px; color: var(--zg-ink); text-decoration: none; font-weight: 650; font-size: .95rem; }
.zg-dash__links a span:nth-child(2) { flex: 1; }
.zg-dash__links a > .zg-icon:last-child { color: var(--zg-text); opacity: .5; }
.zg-dash__links a:hover { background: var(--zg-bg); }
.zg-dash__links li + li a { border-top: 0; }
.zg-dash__linkicon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--zg-tint); color: var(--zg-primary); }

/* Wallet carousel inside the app: full row of cards */
.zg-app .zg-wcards__track { gap: 1rem; }
.zg-app .zg-wcard { flex-basis: calc((100% - 2rem) / 3); max-width: none; border-radius: 24px; min-height: 170px; }

/* Tab bar (mobile) */
.zg-tabbar { display: none; }

/* Compact footer in the app */
.zg-app .zg-footer__grid, .zg-app .zg-footer__contact, .zg-app .zg-footer__mega { display: none; }
.zg-app .zg-footer { background: transparent; color: var(--zg-text); }
.zg-app .zg-footer::before { display: none; }
.zg-app .zg-footer__bottom { border-top: 1px solid var(--zg-line); }

@media (max-width: 1100px) {
	.zg-app .zg-pbank { grid-template-columns: 1fr; }
	.zg-app .zg-pbank > * { grid-column: 1; }
	.zg-app .zg-pbank > .zg-pside { display: none; }
	.zg-app .zg-header .zg-burger { display: none; }
	.zg-tabbar {
		position: fixed; z-index: 90; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom, 0px));
		display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .2rem; padding: .35rem;
		background: rgba(11, 31, 26, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
		border-radius: 24px; box-shadow: 0 18px 40px -12px rgba(11, 31, 26, .55);
	}
	.zg-tabbar a, .zg-tabbar button { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .5rem .2rem; border: 0; background: none; border-radius: 18px; color: rgba(255, 255, 255, .62); text-decoration: none; font: inherit; font-size: .68rem; font-weight: 700; cursor: pointer; min-width: 0; }
	.zg-tabbar span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.zg-tabbar a.is-active { background: rgba(255, 255, 255, .1); color: #fff; }
	.zg-tabbar a.is-active svg { color: var(--zg-gold); }
	.zg-app { padding-bottom: 6rem; }
	.zg-app .zg-wcard { flex-basis: 70%; }
}
@media (max-width: 760px) {
	.zg-dash, .zg-dash__cols { grid-template-columns: 1fr; }
	.zg-dash__card { flex-direction: row; align-items: center; }
	.zg-dash__card .zg-cface { width: 52%; flex: none; }
	.zg-dash__nocard { aspect-ratio: auto; }
	.zg-portal__date { display: none; }
	.zg-app .zg-wcard { flex-basis: 86%; }
}
@media (max-width: 420px) {
	.zg-dash__acticon { width: 48px; height: 48px; }
	.zg-dash__act { font-size: .72rem; }
}
@media (max-width: 760px) {
	.zg-dash__nocard { flex-direction: row; text-align: left; justify-content: flex-start; gap: .9rem; padding: 1rem; }
	.zg-dash__nocard .zg-dash__plus { margin: 0; flex: none; }
	.zg-dash__nocard span:last-child { display: none; }
	.zg-dash__card { padding: .8rem; border-radius: 22px; }
}
.zg-portal__tierface { margin-bottom: .3rem; }
.zg-app .zg-portal__lead { margin-bottom: 1.2rem; }
.zg-bento__item, .zg-choose__item, .zg-acc__row, .zg-tierrow, .zg-rows__item { min-width: 0; }
.zg-bento__item h3, .zg-bento__title, .zg-choose__item h3, .zg-stage__title, .zg-pagehero__title { overflow-wrap: anywhere; }
@media (max-width: 640px) { .zg-bento__item--5 .zg-bento__go { flex: 0 1 auto; max-width: 100%; } }
.zg-bento__go { flex-wrap: wrap; }
.zg-bento__item a { min-width: 0; overflow: hidden; }
.zg-bento__go { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 640px) {
	.zg-bento__item--5 a { flex-direction: column; align-items: flex-start; gap: 0; }
	.zg-bento__item--5 .zg-bento__icon { margin-bottom: 1.2rem; }
	.zg-bento__item--5 h3, .zg-bento__item--5 .zg-bento__title { margin-bottom: .4rem; }
	.zg-bento__item--5 p { margin-bottom: 1rem; flex: initial; }
}
.zg-bento { grid-auto-rows: auto; }
.zg-bento__item a { min-height: 210px; }
.zg-bento__item--5 a { min-height: 0; }
@media (max-width: 640px) { .zg-bento__item a { min-height: 0; } }
