/* SEVISPAYGH — one stylesheet for public + admin. No build step. */
:root {
  --navy: #0a2240;
  --navy-2: #12345e;
  --navy-3: #1d4a80;
  --green: #0e8a5f;
  --green-dark: #0a6b49;
  --green-soft: #e8f6ef;
  --gold: #f4b400;
  --gold-soft: #fff6dc;
  --ink: #142033;
  --muted: #5d6b7e;
  --line: #e2e8f0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --info: #2563eb;
  --warn: #b45309;
  --bad: #c0262d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
  --shadow-lg: 0 10px 40px rgba(10, 34, 64, .14);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--green-dark); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--navy); }
h1 { font-size: 2rem; font-weight: 800; }
h2 { font-size: 1.3rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 .8em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.page { padding-top: 28px; padding-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mt { margin-top: 1.25rem; }
.center { text-align: center; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.spread { justify-content: space-between; }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.nowrap { white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }

/* ---------- Header ---------- */
.site-head { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: .3px; color: var(--navy); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); display: grid; place-items: center; color: var(--gold); box-shadow: 0 4px 10px rgba(10, 34, 64, .25); }
.brand-mark svg { width: 20px; height: 20px; }
.brand b { color: var(--green); }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover, .site-nav a.on { color: var(--green-dark); }
.site-nav .btn { color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; font-size: .95rem; font-weight: 500; }
.linkbtn:hover { color: var(--bad); }
.menu-btn { display: none; background: #fff; border: 1px solid var(--line); color: var(--navy); border-radius: 10px; padding: 7px 12px; font: inherit; font-weight: 600; cursor: pointer; }

/* Admin: dark left sidebar, so it's never confused with the public site */
.admin-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.admin-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--navy); color: #dbe4f0; padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.admin-side .brand { color: #fff; padding: 0 8px; }
.side-tag { align-self: flex-start; margin: 6px 0 10px 52px; font-size: .68rem; font-weight: 800; letter-spacing: .14em; color: var(--gold); }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-group { margin: 14px 10px 4px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7f93b0; }
.side-nav a, .side-foot a, .side-foot button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: #dbe4f0; text-decoration: none; font: inherit; font-size: .92rem; font-weight: 600; background: none; border: 0; width: 100%; cursor: pointer; text-align: left; }
.side-nav a .ico, .side-foot .ico { width: 18px; height: 18px; flex: none; opacity: .85; }
.side-nav a:hover, .side-foot a:hover, .side-foot button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side-nav a.on { background: rgba(244, 180, 0, .14); color: var(--gold); }
.side-nav a.on .ico { opacity: 1; }
.side-nav .nav-count { margin-left: auto; }
.nav-count-bad { background: #fecdca; color: #912018; }
.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 2px; }
.side-foot form { margin: 0; }
.side-foot button:hover { color: #fecdca; }
.side-user { display: flex; gap: 10px; align-items: center; padding: 6px 10px 10px; font-size: .85rem; line-height: 1.3; color: #9fb2cc; min-width: 0; }
.side-user strong { color: #fff; }
.side-user .small { word-break: break-all; }
.side-user .avatar { background: var(--navy-3); }
.admin-top { display: none; }
.admin-page { width: 100%; max-width: 1240px; padding-left: 32px; padding-right: 32px; }
.side-backdrop { display: none; }

/* ---------- Footer ---------- */
.site-foot { margin-top: 56px; background: var(--navy); color: #b9c7da; font-size: .9rem; }
.site-foot .wrap { padding-top: 40px; padding-bottom: 24px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.site-foot h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.site-foot a { color: #dbe4f0; text-decoration: none; display: block; padding: 3px 0; }
.site-foot a:hover { color: var(--gold); }
.site-foot .brand { color: #fff; margin-bottom: 10px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; padding-top: 16px; font-size: .82rem; color: #8ea2bd; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Cards, buttons, forms ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card, .card + form, form + .card { margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 11px 20px; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none; background: var(--green); color: #fff; box-shadow: 0 2px 6px rgba(14, 138, 95, .25); transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(14, 138, 95, .3); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 4px 14px rgba(244, 180, 0, .35); }
.btn-gold:hover { background: #e0a500; box-shadow: 0 8px 20px rgba(244, 180, 0, .4); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: #f1f5f9; box-shadow: none; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
.btn-danger { background: var(--bad); box-shadow: none; }
.btn-danger:hover { background: #9b1c22; }
.btn-wa { background: #25d366; box-shadow: 0 4px 12px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: #1eb457; }
.btn-sm { padding: 7px 13px; font-size: .85rem; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; color: var(--navy); }
.field { margin-bottom: 18px; }
.hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid #d5dde8; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(14, 138, 95, .14); }
input[type=file] { font: inherit; width: 100%; padding: 10px; border: 1.5px dashed #c5d0de; border-radius: 10px; background: #fafcff; font-size: .9rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.check input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--green); flex: none; }
.error { color: var(--bad); font-size: .85rem; margin-top: 4px; }
.suggest:not(:empty) { margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #fffaeb; border: 1px solid #fedf89; color: #93370d; font-size: .88rem; }
.suggest .btn { margin-left: 6px; }
.grid-names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

/* ---------- Alerts and badges ---------- */
.alert { border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; border: 1px solid; }
.alert-ok { background: #ecfdf3; border-color: #a6e9c3; color: #05603a; }
.alert-bad { background: #fef3f2; border-color: #fecdca; color: #912018; }
.alert-warn { background: #fffaeb; border-color: #fedf89; color: #93370d; }
.alert ul { margin: 4px 0 0; padding-left: 18px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge-info { background: #e0ecff; color: var(--info); }
.badge-warn { background: #fef0c7; color: var(--warn); }
.badge-progress { background: #fff4d6; color: #8a5a00; }
.badge-ok { background: #d1fadf; color: #05603a; }
.badge-bad { background: #fee4e2; color: var(--bad); }
.margin-bad { color: var(--bad); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; }

/* ---------- Home ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(244, 180, 0, .18), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(14, 138, 95, .3), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { color: #fff; font-size: 2.7rem; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.1rem; color: #d3deec; max-width: 34em; }
.hero .pill { background: rgba(255, 255, 255, .1); color: #e6edf7; border: 1px solid rgba(255, 255, 255, .15); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #d3deec; font-size: .93rem; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks .ico { color: var(--gold); }
.calc { background: #fff; color: var(--ink); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-lg); }
.calc .rate { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.calc .rate strong { font-size: 1.5rem; color: var(--navy); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #f1f5f9; border-radius: 10px; padding: 4px; gap: 4px; }
.seg label { margin: 0; text-align: center; padding: 8px; border-radius: 8px; cursor: pointer; font-size: .9rem; color: var(--muted); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.calc .total-box { margin-top: 16px; background: var(--green-soft); border-radius: 12px; padding: 14px 16px; }
.calc .total-box .total { font-size: 1.9rem; color: var(--green-dark); }
.section { padding: 64px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: 1.9rem; font-weight: 800; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: -36px; position: relative; }
.stats-strip > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stats-strip strong { display: block; font-size: 1.6rem; color: var(--navy); }
.how { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: how; }
.how .card { position: relative; counter-increment: how; }
.how .card::after { content: counter(how, decimal-leading-zero); position: absolute; top: 16px; right: 18px; font-weight: 800; font-size: 1.6rem; color: #e6ecf3; }
.ico-box { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 14px; }
.ico-box .ico { width: 24px; height: 24px; }
.board { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.board li:last-child { border-bottom: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.board .who { display: flex; align-items: center; gap: 10px; }
.board .right { text-align: right; }
.card h2 .ico, .card h3 .ico { color: var(--green); margin-right: 4px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 4px rgba(14, 138, 95, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(14, 138, 95, 0); } }
.price-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.price-card h3 { display: flex; justify-content: space-between; align-items: center; }
.price-card .total { font-size: 2rem; color: var(--navy); }
.price-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.refer-band { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; border-radius: 20px; padding: 36px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; box-shadow: var(--shadow-lg); }
.refer-band h2 { color: #fff; font-size: 1.7rem; }
.refer-band p { color: #d7f3e6; }
.refer-amount { font-size: 3rem; font-weight: 800; color: var(--gold); line-height: 1; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }
.cta-band { text-align: center; background: var(--navy); color: #fff; border-radius: 20px; padding: 48px 24px; }
.cta-band h2 { color: #fff; font-size: 1.8rem; }
.cta-band p { color: #c6d3e4; }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 8px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-side { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #d3deec; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.auth-side h2 { color: #fff; font-size: 1.6rem; }
.auth-side ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; }
.auth-side .ico { color: var(--gold); margin-top: 3px; }
.auth-form { padding: 40px 36px; }

/* ---------- Pay page ---------- */
.step { position: relative; }
.step h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-grid; place-items: center; font-size: .9rem; flex: none; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.choice { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; margin: 0; transition: border-color .15s, background .15s; }
.choice:hover { border-color: #b9c6d6; }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 1px var(--green); }
.choice input { margin-top: 4px; accent-color: var(--green); width: 17px; height: 17px; }
.paynow { border: 2px solid var(--gold); background: linear-gradient(180deg, #fffdf5, #fff); }
.sum { background: #f6f8fb; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; }
/* Pay page: big tappable cards for people who aren't used to forms */
.choices-big { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.choices-big .choice { padding: 18px; }
.choice-body { display: grid; gap: 4px; }
.choice-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.choice-price { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.choice-tag { justify-self: start; }
.choices-list { grid-template-columns: 1fr; }
.choices-list .choice { align-items: center; }
.choices-list .choice-body { grid-template-columns: 1fr auto; align-items: center; width: 100%; }
.step-hint { margin: -4px 0 14px; }
.doc-field { border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.doc-field label { display: grid; gap: 2px; }
.private-note { display: flex; gap: 8px; align-items: flex-start; }
.caps { text-transform: uppercase; }
input::placeholder, textarea::placeholder { color: #b3bdc9; opacity: 1; }
.caps::placeholder { text-transform: none; }
.i901 { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.i901 legend { font-weight: 700; color: var(--navy); margin-bottom: 8px; padding: 0; }
.dob { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 8px; }
.i901-section { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 4px; }
.i901-copy dd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.copy-value { font-weight: 600; word-break: break-word; }
/* Pay page: compact, so a phone shows a whole step at once */
.pay-page h1 { font-size: 1.5rem; margin-bottom: .3em; }
.pay-page > p { margin-top: 0; font-size: .92rem; }
#payform .card { padding: 14px 16px; }
#payform .card + .card { margin-top: 10px; }
#payform .step h2 { font-size: 1.05rem; gap: 8px; margin-bottom: .3em; }
#payform .step .num { width: 24px; height: 24px; font-size: .78rem; }
#payform .step-hint { margin: 0 0 10px; font-size: .84rem; }
#payform .choices { gap: 8px; }
#payform .choice, #payform .choices-big .choice { padding: 10px 12px; border-radius: 10px; }
#payform .choice-title { font-size: .97rem; }
#payform .choice-price { font-size: 1.2rem; }
#payform .choices-list { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
#payform .field { margin-bottom: 10px; }
#payform label { margin-bottom: 4px; font-size: .88rem; }
#payform .hint { font-size: .78rem; }
#payform input:not([type=file]):not([type=radio]):not([type=checkbox]), #payform select { padding: 8px 11px; border-radius: 8px; }
#payform .i901 { margin-bottom: 10px; }
#payform .i901 legend { font-size: .92rem; margin-bottom: 6px; }
#payform .grid-names { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
/* A label that wraps must not push its box below its neighbour's. */
#payform .grid-names > .field { display: flex; flex-direction: column; justify-content: flex-end; }
#payform .doc-field { padding: 10px 12px; margin-bottom: 10px; }
#payform .sum { padding: 10px 14px; gap: 4px; }
#payform .total { font-size: 1.35rem; }
#payform .private-note { margin: 4px 0 10px; }
.includes, .prose ul.includes { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--ink); }
.includes li, .prose .includes li { display: inline-flex; align-items: center; gap: 5px; margin: 0; }
.includes .ico { color: var(--green); width: 16px; height: 16px; }
.includes-center { justify-content: center; }
.shot { margin: 12px 0 18px; }
.shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.shot-phone img { max-width: min(100%, 380px); }
.shot figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.fields { margin: 0 0 1em; padding-left: 1.4em; }
.fields li { margin-bottom: 4px; }
.total { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.sendto { background: #fff; border: 1.5px dashed #e8c766; border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; }
.sendto-number { font-size: 1.6rem; font-weight: 800; letter-spacing: .5px; color: var(--navy); }
.sendto pre.bank { white-space: pre-wrap; font: inherit; font-weight: 600; margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
details summary { cursor: pointer; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 42px; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }

/* ---------- Account ---------- */
.dash-head { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 20px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; box-shadow: var(--shadow-lg); }
.dash-head h1 { color: #fff; margin: 0; }
.dash-head p { color: #c6d3e4; margin: 4px 0 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stats > div { background: #f6f8fb; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 2px; }
.stat { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.refer-card { border: 0; background: linear-gradient(135deg, #f0faf5, #fff 60%); box-shadow: var(--shadow), inset 0 0 0 1px #cdebdc; }
.reflink { display: flex; gap: 8px; }
.reflink input { font-weight: 600; color: var(--navy); background: #fff; }
.code-chip { display: inline-block; font-weight: 800; letter-spacing: 2px; background: var(--navy); color: var(--gold); padding: 3px 10px; border-radius: 8px; }

/* ---------- Admin ---------- */
.admin .site-nav { gap: 18px; }
.admin .site-nav a { font-size: .9rem; }
.nav-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 800; margin-left: 4px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 2px 0 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.searchbar { display: flex; gap: 8px; }
.searchbar input { min-width: 260px; }
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.kpi { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.kpi-num { font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.kpi-label { color: var(--muted); font-size: .86rem; }
.kpi-hot { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.kpi-hot .kpi-num { color: var(--warn); }
.cell-actions { text-align: right; white-space: nowrap; }
td.cell-actions .btn + .btn, td.cell-actions form { margin-left: 6px; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form input[type=number], .inline-form input[type=text] { width: auto; flex: 1 1 110px; min-width: 0; }
.action-card { border: 2px solid var(--green); }
.action-card .btn { width: 100%; }
.more-actions { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.more-actions summary { font-weight: 600; color: var(--muted); font-size: .9rem; }
.more-actions form { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.save-bar { position: sticky; bottom: 0; z-index: 20; background: rgba(246, 248, 251, .94); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 12px 0; margin-top: 18px; display: flex; justify-content: flex-end; gap: 10px; align-items: center; }
.reject-box summary { list-style: none; display: inline-flex; }
.reject-box summary::-webkit-details-marker { display: none; }
.reject-box[open] summary { display: none; }
.reject-box form { margin-top: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 7px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Stats: visits-per-day bars (one series, green), and horizontal bars for the funnel and sources */
.bars { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 200px; padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.bars-max { position: absolute; top: 0; left: 0; font-size: .75rem; color: var(--muted); }
.bar-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; outline: none; }
.bar { width: 100%; background: var(--green); border-radius: 4px 4px 0 0; min-height: 0; }
.bar-col:hover .bar, .bar-col:focus .bar { background: var(--green-dark); }
.bar-x { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.bar-col:hover::after, .bar-col:focus::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: .78rem; padding: 6px 9px; border-radius: 8px; white-space: nowrap; z-index: 2; pointer-events: none; }
.bar-col:first-child:hover::after, .bar-col:first-child:focus::after { left: 0; transform: none; }
.bar-col:last-child:hover::after, .bar-col:last-child:focus::after { left: auto; right: 0; transform: none; }
.hbars { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.hbar-head { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; margin-bottom: 4px; }
.hbar-track { background: #eef2f6; border-radius: 4px; height: 10px; overflow: hidden; }
.hbar { height: 100%; background: var(--green); border-radius: 4px; }
.kpis-3 { grid-template-columns: repeat(3, 1fr); }
.kpis-3 .kpi { padding: 12px; box-shadow: none; }
.kpis-3 .kpi-num { font-size: 1.3rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.card .table-wrap { box-shadow: none; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .92rem; }
tr:last-child td { border-bottom: 0; }
th { background: #f6f8fb; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
tr:hover td { background: #fafcfe; }
dl.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; margin: 0; }
dl.kv dt { color: var(--muted); font-size: .9rem; }
dl.kv dd { margin: 0; word-break: break-word; }
.thumb { display: block; max-height: 280px; border: 1px solid var(--line); border-radius: 10px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.timeline li:last-child { border-bottom: 0; }

/* ---------- Proof and testimonials ---------- */
.proof-grid { columns: 4 220px; column-gap: 16px; }
.proof-grid figure { break-inside: avoid; margin: 0 0 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.proof-grid button { display: block; width: 100%; padding: 0; border: 0; background: #f1f5f9; cursor: zoom-in; }
.proof-grid img { display: block; width: 100%; height: auto; }
.proof-grid figcaption { padding: 10px 12px; font-size: .86rem; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.proof-strip { columns: 4 180px; }
.proof-strip figure:nth-child(n+5) { display: none; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 900px); max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(5, 15, 30, .88); }
dialog.lightbox img { display: block; max-width: 100%; max-height: 86vh; margin: 0 auto; border-radius: 10px; }
dialog.lightbox p { color: #e6edf7; text-align: center; margin: 10px 0 0; }
dialog.lightbox .close { position: fixed; top: 14px; right: 14px; }
.quotes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.quote blockquote { margin: 0; flex: 1; font-size: .98rem; white-space: pre-line; }
.quote footer { display: flex; align-items: center; gap: 10px; }
.quote-featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.stars .off { color: #d5dde8; }
.rating-summary { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; box-shadow: var(--shadow); }
.rating-summary strong { font-size: 1.3rem; color: var(--navy); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { margin: 0; font-size: 2rem; line-height: 1; color: #d5dde8; cursor: pointer; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--green); border-radius: 4px; }
.admin-proofs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.admin-proofs .card { margin: 0; padding: 0; overflow: hidden; }
.admin-proofs .card > a img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: top; background: #f1f5f9; }
.admin-proofs form { padding: 12px 14px; }
.admin-proofs .field { margin-bottom: 8px; }
.is-draft img { opacity: .45; }

/* ---------- How it works, FAQ and guides ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 3px; }
.walk { counter-reset: walk; list-style: none; padding: 0; }
.walk > li { counter-increment: walk; position: relative; padding-left: 74px; }
.walk > li::before { content: counter(walk); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 800; }
.walk > li + li { margin-top: 14px; }
.walk h2 { margin-top: 4px; }
.speed-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-soft { background: var(--green-soft); color: var(--green-dark); }
.status-flow { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.status-flow li + li::before { content: "→"; color: var(--muted); margin-right: 6px; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.guide-side { position: sticky; top: 86px; display: grid; gap: 16px; }
.guide-side .card { margin: 0; }
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li { border-top: 1px solid var(--line); }
.guide-list li:first-child { border-top: 0; }
.guide-list a { display: block; padding: 9px 0; text-decoration: none; font-weight: 600; font-size: .92rem; }
.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose .table-wrap { margin: 0 0 1em; }
.callout { border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 0 0 1em; }
.callout-ok { border-left-color: var(--green); background: var(--green-soft); }
.guide-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.guide-cards a.card { display: flex; flex-direction: column; gap: 6px; margin: 0; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.guide-cards a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.guide-cards h2 { font-size: 1.1rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 56px; gap: 28px; }
  .hero h1 { font-size: 2.1rem; }
  .refer-band { grid-template-columns: 1fr; padding: 28px; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { order: 2; padding: 28px; }
  .auth-form { padding: 28px 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-side { position: static; }
  .admin-shell { display: block; }
  .admin-side { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 60; transform: translateX(-100%); transition: transform .2s ease; }
  .side-open .admin-side { transform: none; box-shadow: 8px 0 30px rgba(0, 0, 0, .3); }
  .side-open .side-backdrop { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(5, 15, 30, .5); }
  .admin-top { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 50; background: var(--navy); padding: 10px 16px; }
  .admin-top .brand { color: #fff; }
  .admin-top .menu-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: #fff; border-color: #36557f; }
  .admin-page { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 1080px) {
  .menu-btn { display: inline-block; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .site-nav.open { display: flex; }
  .site-nav > a, .site-nav > form { padding: 12px 0; border-top: 1px solid var(--line); }
  .site-nav .btn { margin-top: 10px; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.15rem; }
  .hero h1 { font-size: 1.85rem; }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 1.45rem; }
  .stats-strip { margin-top: -28px; }
  dl.kv { grid-template-columns: 1fr; }
  dl.kv dt { margin-top: 6px; }
  .card { padding: 18px; }
  .total { font-size: 1.4rem; }
  .grid-names { grid-template-columns: 1fr; }
  .dash-head { padding: 22px; }
  .refer-amount { font-size: 2.4rem; }
  .cta-band { padding: 36px 18px; }
  /* iOS zooms into any field under 16px */
  input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=url], input[type=search], select, textarea { font-size: 16px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .tabs a { white-space: nowrap; }
  .row form input[type=search] { width: 100% !important; }
  .row > form { width: 100%; }
  .btn-block-sm { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .proof-grid { columns: 2 140px; column-gap: 10px; }
  .walk > li { padding-left: 18px; padding-top: 64px; }
  .walk > li::before { left: 18px; top: 18px; }
  .proof-grid figure { margin-bottom: 10px; }

  /* Tables marked .stack turn into one card per row */
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.stack td { border: 0; padding: 6px 14px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  table.stack td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; text-align: left; }
  table.stack tr:hover td { background: none; }
}
