/* EXP_Split styles. Flat and simple: a slim top bar, a left menu, the page in the middle, a helper column on the right. */
:root {
  --bg: #FFFFFF; --panel: #F4F5F8; --card: #FFFFFF; --ink: #23263B; --muted: #5F6577; --line: #E2E4EC;
  --brand: #4338CA; --brand-dark: #3730A3; --brand-soft: #EEF0FF;
  --accent: #C2410C; --accent-dark: #9A3412; --green: #047857; --green-dark: #065F46; --red: #B91C1C; --amber: #B45309; --teal: #0F766E; --pink: #BE185D;
  --green-soft: #D8F5E7; --red-soft: #FDE4E4; --amber-soft: #FEF1CC; --teal-soft: #D5F5F0; --accent-soft: #FFE9DC;
  --radius: 8px; --shadow: 0 1px 3px rgba(35, 38, 59, .10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.5; font-size: 15px; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
p { margin: .4rem 0; }
button { font: inherit; cursor: pointer; }
a { color: var(--brand); }
code { background: var(--brand-soft); padding: .1rem .4rem; border-radius: 4px; font-size: .9em; }
.muted { color: var(--muted); font-size: .85rem; }
.ico { vertical-align: -3px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #A5B4FC; outline-offset: 2px; }
.row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.pos { color: var(--green); } .neg { color: var(--accent); }

/* ---------- buttons and fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid transparent; border-radius: 6px; padding: .5rem .95rem; font-weight: 600; font-size: .9rem; line-height: 1.3; transition: background .12s, box-shadow .12s; text-decoration: none; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { padding: .3rem .65rem; font-size: .8rem; }
.btn-lg { padding: .7rem 1.1rem; font-size: 1rem; width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: #fff; color: var(--ink); border-color: #C9CCD8; }
.btn-secondary:hover { background: var(--panel); }
.btn-danger { background: var(--red); color: #fff; }
.btn-add { background: var(--accent); color: #fff; }
.btn-add:hover { background: var(--accent-dark); }
.btn-settle, .btn-approve, .btn-check { background: var(--green); color: #fff; }
.btn-settle:hover, .btn-approve:hover, .btn-check:hover { background: var(--green-dark); }
.btn-check { background: var(--teal); }
.btn-whatsapp { background: #0B7A44; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-link { border: 0; background: none; color: var(--brand); font-weight: 600; padding: .2rem .3rem; font-size: .85rem; text-decoration: underline; }
.form-group { margin-bottom: .85rem; }
.form-label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .25rem; }
.form-control, .select-input { width: 100%; padding: .58rem .7rem; border: 1px solid #C9CCD8; border-radius: 6px; font: inherit; background: #fff; color: var(--ink); }
.form-control:focus, .select-input:focus { border-color: var(--brand); outline: 3px solid #C7D2FE; }
.field-note { font-size: .78rem; color: var(--muted); margin-top: .2rem; }
.pw-row { position: relative; }
.pw-row .form-control { padding-right: 4.2rem; }
.pw-toggle { position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); }
.checklist { display: grid; gap: .3rem; max-height: 180px; overflow: auto; margin: .3rem 0; }
.checklist label { display: flex; gap: .5rem; align-items: center; padding: .35rem .5rem; border-radius: 6px; background: var(--panel); }
.notice { padding: .6rem .75rem; border-radius: 6px; font-size: .88rem; margin-bottom: .8rem; background: var(--brand-soft); color: #312E81; }
.notice.error { background: var(--red-soft); color: #7F1D1D; }
.notice.ok { background: var(--green-soft); color: #064E3B; }
.group-chip { display: flex; align-items: center; gap: .5rem; padding: .5rem .7rem; border-radius: 6px; background: var(--green-soft); color: #064E3B; font-weight: 600; font-size: .88rem; margin: -.4rem 0 .85rem; }
.group-chip.bad { background: var(--red-soft); color: #7F1D1D; }

/* ---------- small parts ---------- */
.avatar-sm, .avatar { display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 700; flex: none; }
.avatar-sm { width: 28px; height: 28px; font-size: .8rem; }
.avatar { width: 44px; height: 44px; font-size: 1.1rem; }
.pill { display: inline-block; padding: .05rem .5rem; border-radius: 99px; font-size: .72rem; font-weight: 700; background: var(--brand-soft); color: #312E81; white-space: nowrap; }
.pill.wait { background: var(--amber-soft); color: #78350F; }
.pill.ok { background: var(--green-soft); color: #064E3B; }
.pill.bad { background: var(--red-soft); color: #7F1D1D; }
.pill.teal { background: var(--teal-soft); color: #115E59; }
.pill.plain { background: var(--panel); color: var(--muted); }
.banner { display: flex; gap: .8rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: .6rem .9rem; background: var(--amber-soft); color: #78350F; font-size: .9rem; border-bottom: 1px solid var(--line); }
.banner.blue { background: var(--brand-soft); color: #312E81; }
.banner.green { background: var(--green-soft); color: #064E3B; }
.group-code { font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .05em; background: #fff; border: 1px dashed #A5A9BD; color: var(--ink); padding: .1rem .5rem; border-radius: 6px; font-size: .82rem; }
.tabs { display: flex; gap: .2rem; border-bottom: 1px solid var(--line); padding: 0 .9rem; overflow-x: auto; }
.tab { border: 0; background: none; padding: .6rem .8rem; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab.active { color: var(--brand); border-color: var(--brand); }
.tab .count { background: var(--pink); color: #fff; border-radius: 99px; font-size: .72rem; padding: 0 .45rem; margin-left: .2rem; }
.role-badge { font-size: .72rem; font-weight: 700; padding: .05rem .5rem; border-radius: 99px; background: var(--panel); color: var(--muted); }
.role-admin { background: var(--amber-soft); color: #78350F; }
.role-moderator { background: var(--teal-soft); color: #115E59; }
.invite-box { display: grid; gap: .6rem; padding: .9rem; border-radius: var(--radius); background: var(--green-soft); color: #064E3B; margin-top: .6rem; }
.invite-box .muted { color: #14532D; }
.invite-box textarea { width: 100%; min-height: 110px; border: 1px solid #9BD3B7; border-radius: 6px; padding: .6rem; font: inherit; font-size: .85rem; resize: vertical; background: #fff; color: var(--ink); }
.bar-row { display: grid; grid-template-columns: 110px 1fr auto; gap: .6rem; align-items: center; margin: .35rem 0; font-size: .88rem; }
.bar-track { height: 10px; border-radius: 99px; background: var(--panel); overflow: hidden; }
.bar-fill { height: 100%; background: var(--brand); border-radius: 99px; }
.switch { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .82rem; cursor: pointer; }
.empty { text-align: center; padding: 1.4rem 1rem; color: var(--muted); }
.big-code { font-family: ui-monospace, Menlo, monospace; font-size: 1.7rem; font-weight: 800; letter-spacing: .3rem; text-align: center; padding: .7rem; background: var(--panel); border-radius: var(--radius); margin: .5rem 0; }
.scene { margin: 0; }
.scene svg { display: block; width: 100%; height: auto; border-radius: var(--radius); }

/* ---------- top bar (signed in and signed out) ---------- */
.top { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.top-in { max-width: 1120px; margin: 0 auto; padding: .45rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; color: #fff; background: none; border: 0; padding: 0; }
.brand-logo { width: 30px; height: 30px; border-radius: 7px; background: #fff; color: var(--brand); display: grid; place-items: center; font-weight: 900; }
.me-chip { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .14); border: 0; color: #fff; border-radius: 99px; padding: .2rem .7rem .2rem .25rem; font-weight: 600; font-size: .88rem; }
.me-chip:hover { background: rgba(255, 255, 255, .24); }
.top-actions { display: flex; align-items: center; gap: .5rem; }

/* ---------- signed-in shell: left menu | page | right column ---------- */
.shell { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 210px minmax(0, 1fr) 250px; align-items: start; min-height: calc(100vh - 46px); }
.side { padding: 1rem .6rem 2rem .8rem; position: sticky; top: 46px; max-height: calc(100vh - 46px); overflow: auto; }
.nav-item { display: flex; align-items: center; gap: .5rem; width: 100%; border: 0; background: none; padding: .38rem .55rem; border-left: 4px solid transparent; color: var(--muted); font-weight: 600; font-size: .92rem; text-align: left; border-radius: 0 6px 6px 0; }
.nav-item:hover { background: var(--panel); }
.nav-item.active { color: var(--brand); border-left-color: var(--brand); background: var(--brand-soft); }
.nav-title { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 .25rem; padding: .25rem .55rem; background: var(--panel); color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 4px; }
.nav-title button { border: 0; background: none; color: var(--brand); font-weight: 700; font-size: .78rem; padding: 0 .1rem; text-transform: none; letter-spacing: 0; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-item { display: flex; justify-content: space-between; align-items: center; gap: .4rem; width: 100%; border: 0; background: none; padding: .3rem .55rem; border-left: 4px solid transparent; color: var(--ink); font-size: .9rem; text-align: left; border-radius: 0 6px 6px 0; }
.side-item:hover { background: var(--panel); }
.side-item.active { color: var(--brand); border-left-color: var(--brand); background: var(--brand-soft); font-weight: 700; }
.side-item > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-box { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .85rem; }
.side-box h3 { background: var(--green); color: #fff; font-size: .82rem; padding: .35rem .6rem; }
.side-box div { padding: .55rem .6rem; display: grid; gap: .4rem; }
.centre { border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: calc(100vh - 46px); background: #fff; box-shadow: 0 0 12px rgba(35, 38, 59, .06); }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: .7rem; flex-wrap: wrap; padding: .75rem .9rem; background: var(--panel); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 1.3rem; }
.section { padding: .9rem; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.section-title { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .5rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.balance-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); text-align: center; }
.balance-strip > div { padding: .7rem .4rem; border-right: 1px solid var(--line); }
.balance-strip > div:last-child { border-right: 0; }
.balance-strip .l { color: var(--muted); font-size: .82rem; }
.balance-strip .v { font-weight: 700; font-size: 1.05rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; }
.two-col > div { padding: .9rem; }
.two-col > div:first-child { border-right: 1px solid var(--line); }
.debt-row { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; }
.debt-row .who { flex: 1; min-width: 0; }
.debt-row .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.right { padding: 1rem .8rem 2rem; position: sticky; top: 46px; max-height: calc(100vh - 46px); overflow: auto; }
.right h2 { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .5rem; }
.right-block { margin-bottom: 1.3rem; }
.only-card { border: 1px solid #C9CDF5; border-radius: var(--radius); overflow: hidden; }
.only-card h3 { background: var(--brand); color: #fff; font-size: .85rem; padding: .45rem .7rem; }
.only-item { display: flex; gap: .55rem; align-items: flex-start; width: 100%; border: 0; border-top: 1px solid var(--line); background: #fff; padding: .55rem .7rem; text-align: left; color: var(--ink); font-size: .85rem; }
.only-item:first-of-type { border-top: 0; }
button.only-item:hover { background: var(--brand-soft); }
.only-item .badge-ico { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand); }
.only-item b { display: block; }
.only-item small { color: var(--muted); display: block; line-height: 1.35; }
.only-item .hot { color: var(--accent); font-weight: 700; }

/* ---------- rows ---------- */
.expense-row { display: flex; align-items: flex-start; gap: .7rem; padding: .6rem .9rem; border-bottom: 1px solid var(--line); }
.expense-row:last-child { border-bottom: 0; }
.expense-row:hover { background: #FAFAFC; }
.expense-row.pending-del { background: #FFF7F7; }
.expense-date { display: grid; justify-items: center; width: 38px; flex: none; color: var(--muted); line-height: 1.1; }
.expense-month { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.expense-day { font-size: 1.25rem; }
.expense-info { flex: 1; min-width: 0; }
.expense-title { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; font-weight: 700; }
.expense-meta { font-size: .8rem; color: var(--muted); }
.approval-controls { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; margin-top: .35rem; }
.expense-money { display: grid; grid-template-columns: auto auto; gap: 0 .9rem; text-align: right; flex: none; font-size: .78rem; color: var(--muted); }
.expense-money b { display: block; font-size: .95rem; color: var(--ink); }
.expense-money .pos b { color: var(--green); } .expense-money .neg b { color: var(--accent); }
.member-row, .wait-row, .admin-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .55rem .9rem; border-bottom: 1px solid var(--line); }
.member-row:last-child, .wait-row:last-child, .admin-row:last-child { border-bottom: 0; }
.member-main { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.activity-row { display: flex; gap: .7rem; align-items: flex-start; padding: .6rem .9rem; border-bottom: 1px solid var(--line); }
.activity-row .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.pad { padding: .9rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .7rem; background: var(--panel); }
.stat .l { font-size: .78rem; color: var(--muted); } .stat .v { font-weight: 800; font-size: 1.1rem; }
.link-list { display: grid; }
.link-list button { display: flex; align-items: center; gap: .6rem; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: .8rem .9rem; text-align: left; font-weight: 600; color: var(--ink); }
.waiting-screen { text-align: center; padding: 1.5rem 1rem; max-width: 560px; margin: 0 auto; }

/* ---------- how it works ---------- */
.how-hero { display: grid; gap: 1rem; grid-template-columns: 1.1fr 1fr; align-items: center; }
.how-steps { display: grid; }
.how-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: center; padding: .9rem; border-top: 1px solid var(--line); }
.how-card:nth-child(even) .scene { order: -1; }
.how-card h2 { font-size: 1.05rem; margin-bottom: .4rem; }
.how-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; margin-right: .45rem; }
.how-card ol, .how-card ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.how-card li { margin: .25rem 0; }
.how-toc { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .6rem; }
.how-toc a { text-decoration: none; background: var(--brand-soft); color: #3730A3; padding: .2rem .6rem; border-radius: 99px; font-size: .8rem; font-weight: 600; }
.roles-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.roles-table th, .roles-table td { padding: .45rem; border-bottom: 1px solid var(--line); text-align: center; }
.roles-table th:first-child, .roles-table td:first-child { text-align: left; }

/* ---------- pop-ups and messages ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(35, 38, 59, .55); display: grid; place-items: center; padding: 1rem; z-index: 100; }
.modal-content { background: #fff; border-radius: var(--radius); width: 100%; max-width: 480px; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: .6rem 1rem; background: var(--brand); color: #fff; }
.modal-title { font-weight: 700; font-size: 1rem; }
.modal-close { border: 0; background: none; color: #fff; width: 32px; height: 32px; font-size: 1.4rem; line-height: 1; }
.modal-body { padding: 1rem; overflow: auto; }
.modal-footer { display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; padding: .7rem 1rem; border-top: 1px solid var(--line); background: var(--panel); }
.modal-error { margin-top: .6rem; padding: .55rem .7rem; border-radius: 6px; background: var(--red-soft); color: #7F1D1D; font-size: .88rem; }
.toast { position: fixed; left: 50%; bottom: 5.2rem; transform: translateX(-50%); background: #23263B; color: #fff; padding: .7rem 1.1rem; border-radius: 8px; z-index: 200; max-width: 92vw; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); font-size: .9rem; }
.toast.error { background: #991B1B; }

/* ---------- signed-out landing page ---------- */
.land-in { max-width: 1080px; margin: 0 auto; padding: 0 1.1rem; }
.hero { background: var(--brand-soft); padding: 2.2rem 0 2.6rem; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2rem; align-items: start; }
.hero h1 { font-size: 2.3rem; letter-spacing: -.01em; }
.hero h1 span { color: var(--brand); }
.lead { font-size: 1.08rem; color: #3D4157; margin: .8rem 0; }
.ticks { list-style: none; padding: 0; margin: .8rem 0 1.2rem; display: grid; gap: .35rem; }
.ticks li { display: flex; gap: .5rem; align-items: flex-start; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 900; }
.hero .scene { max-width: 460px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem; box-shadow: 0 10px 30px rgba(67, 56, 202, .12); }
.auth-card h2 { font-size: 1.25rem; margin-bottom: .2rem; }
.g-btn { min-height: 44px; display: flex; justify-content: center; }
.or { display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .8rem; margin: .9rem 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.otp-input { font-size: 1.5rem; letter-spacing: .45rem; text-align: center; font-family: ui-monospace, Menlo, monospace; }
.auth-links { display: flex; gap: .3rem 1rem; flex-wrap: wrap; justify-content: center; margin-top: .9rem; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: var(--brand-soft); }
.auth-page .auth-card { width: 100%; max-width: 420px; }
.land-sec { padding: 2.4rem 0; }
.land-sec h2 { font-size: 1.55rem; text-align: center; }
.land-sec .sub { text-align: center; color: var(--muted); max-width: 640px; margin: .4rem auto 1.4rem; }
.land-sec.control { background: var(--ink); color: #fff; }
.land-sec.control .sub { color: #C9CDE0; }
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 1rem; background: #fff; color: var(--ink); }
.tile .badge-ico { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: .6rem; }
.control .tile .badge-ico { background: var(--accent-soft); color: var(--accent); }
.tile h3 { font-size: 1rem; margin-bottom: .25rem; }
.tile p { margin: 0; color: var(--muted); font-size: .9rem; }
.land-foot { text-align: center; padding: 1.4rem 1rem 2rem; color: var(--muted); font-size: .85rem; }

/* ---------- phones and small screens ---------- */
.mobile-bottom-bar, .mobile-fab { display: none; }
@media (max-width: 1000px) {
  .shell { grid-template-columns: 200px minmax(0, 1fr); }
  .right { grid-column: 1 / -1; position: static; max-height: none; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 760px) {
  .shell { display: block; padding-bottom: 4.6rem; }
  .side { display: none; }
  .centre { border: 0; box-shadow: none; min-height: 0; }
  .right { display: block; }
  .hide-sm { display: none !important; }
  .two-col { grid-template-columns: 1fr; }
  .two-col > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .balance-strip .v { font-size: .95rem; }
  .how-hero, .how-card { grid-template-columns: 1fr; }
  .how-card:nth-child(even) .scene { order: 0; }
  .expense-money { grid-template-columns: auto; }
  .expense-money > div:first-child { display: none; }
  .stats { grid-template-columns: 1fr; }
  .mobile-bottom-bar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 40; padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav-btn { display: grid; justify-items: center; gap: .1rem; border: 0; background: none; padding: .45rem 0 .4rem; font-size: .7rem; font-weight: 600; color: var(--muted); }
  .mobile-nav-btn.active { color: var(--brand); }
  .mobile-fab { display: grid; place-items: center; position: fixed; right: 1rem; bottom: 4.6rem; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 1.9rem; line-height: 1; z-index: 41; box-shadow: 0 6px 18px rgba(194, 65, 12, .45); }
  .hero { padding: 1.4rem 0 1.8rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero .scene { display: none; }
  .tiles, .tiles.three { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 1.1rem; }
}
@media (min-width: 761px) and (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tiles.three { grid-template-columns: repeat(2, 1fr); } }

.top-auth { display: flex; gap: .5rem; }
.notify-box { border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; margin-top: .7rem; display: grid; gap: .4rem; justify-items: start; }

/* FEATURES / UNIQUE FEATURES */
.top-nav { display: flex; gap: 1.1rem; margin-left: auto; margin-right: 1rem; }
.top-nav a { color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-decoration: none; opacity: .92; }
.top-nav a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 760px) { .top-nav { display: none; } }
.hero-btns { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0 .4rem; }
.hero-btns .btn { letter-spacing: .04em; font-weight: 700; }
.sec-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .5rem; }
.tile.highlight { display: flex; gap: 1rem; align-items: flex-start; text-align: left; border: 2px solid var(--brand); background: #fff; margin: 0 auto 1.1rem; max-width: 760px; box-shadow: 0 10px 30px rgba(67, 56, 202, .14); }
.tile.highlight h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.land-sec { scroll-margin-top: 60px; }

/* currency picker */
.cur-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: .2rem 0 .8rem; }
.cur-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.cur-switch button { border: 0; background: #fff; padding: .3rem .75rem; font-weight: 700; font-size: .8rem; cursor: pointer; color: var(--muted); }
.cur-switch button.active { background: var(--brand); color: #fff; }
