:root { color-scheme: only light; --navy:#06172d; --navy2:#0c2a49; --blue:#1689ff; --green:#43ef50; --ink:#102033; --muted:#607488; }
* { box-sizing: border-box; }
html { min-height: 100%; background: #edf5f4; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: radial-gradient(circle at 15% 4%, rgba(33,197,255,.16), transparent 26rem), linear-gradient(155deg,#edf7f8,#f6faf7 48%,#eaf4ee); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color: inherit; }
.portal-header { min-height: 76px; padding: .8rem clamp(1rem,5vw,5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: white; background: rgba(6,23,45,.97); border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: flex; align-items: center; gap: .7rem; font-size: 1.2rem; font-weight: 900; letter-spacing: -.035em; text-decoration: none; }
.brand img { border-radius: 13px; }
.brand span span { color: var(--green); }
.back-link { color: #c8d9e6; font-weight: 750; text-decoration: none; }
main { width: min(1120px, calc(100% - 2rem)); margin: auto; padding: clamp(2rem,6vw,5rem) 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,480px); gap: clamp(2rem,7vw,6rem); align-items: start; }
.portal-intro { padding-top: 2rem; }
.eyebrow { display: inline-flex; padding: .35rem .7rem; color: #075b73; background: rgba(33,197,255,.15); border-radius: 999px; font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
h1 { max-width: 650px; margin: 1.1rem 0; color: var(--navy); font-size: clamp(2.7rem,6vw,5.3rem); line-height: .96; letter-spacing: -.06em; }
.portal-intro > p { max-width: 650px; color: #4d6678; font-size: 1.12rem; line-height: 1.65; }
.trust-row { margin-top: 2rem; display: grid; gap: .8rem; color: #183b35; font-weight: 750; }
.trust-row span { padding: .85rem 1rem; border: 1px solid rgba(22,189,86,.25); border-radius: 14px; background: rgba(255,255,255,.72); }
.purchase-card { padding: clamp(1.4rem,4vw,2.3rem); border: 1px solid rgba(11,57,79,.12); border-radius: 28px; background: rgba(255,255,255,.96); box-shadow: 0 28px 80px rgba(16,56,73,.16); }
.card-heading { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; }
.step { width: 42px; height: 42px; display: grid; place-items: center; color: #06233c; background: linear-gradient(135deg,var(--green),#b2ff6b); border-radius: 50%; font-weight: 950; }
.card-heading small { color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
h2 { margin: .1rem 0 0; color: var(--navy); font-size: 1.75rem; letter-spacing: -.04em; }
label { display: block; margin-top: 1rem; color: #17364b; font-weight: 800; }
input, select, button { width: 100%; min-height: 52px; margin-top: .45rem; padding: .8rem 1rem; border-radius: 13px; font: inherit; }
input, select { color: #17364b; background: white; border: 1px solid #aec3cf; outline: none; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,137,255,.12); }
button { border: 0; color: #031a19; background: linear-gradient(135deg,var(--green),#96ff52); font-weight: 900; cursor: pointer; box-shadow: 0 10px 28px rgba(22,189,86,.2); }
button:hover:not(:disabled), button:focus-visible:not(:disabled) { transform: translateY(-1px); }
button:disabled { opacity: .55; cursor: wait; }
.secondary { color: white; background: var(--blue); box-shadow: none; }
.text-button { min-height: auto; margin-top: .75rem; padding: .5rem; color: #477087; background: transparent; box-shadow: none; }
.help { margin: .8rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.account-box { display: grid; gap: .25rem; margin-bottom: 1.2rem; padding: .9rem 1rem; color: #164437; background: #edfaf0; border: 1px solid #c8edd1; border-radius: 13px; overflow-wrap: anywhere; }
.account-box span { font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.summary { margin: 1rem 0 .55rem; padding: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: white; background: var(--navy2); border-radius: 13px; }
.summary strong { color: var(--green); font-size: 1.2rem; }
.message { margin-top: 1rem; padding: 1rem; color: #17433a; background: #ecf9ef; border: 1px solid #bfe7c7; border-radius: 13px; line-height: 1.5; }
.message.error { color: #7b2525; background: #fff0f0; border-color: #f1c1c1; }
.wompi-note { margin-top: 1.4rem; padding-top: 1.2rem; display: flex; gap: .7rem; border-top: 1px solid #dce7eb; color: #607488; font-size: .82rem; line-height: 1.5; }
.wompi-note p { margin: 0; }
[hidden] { display: none !important; }
footer { padding: 1.5rem clamp(1rem,5vw,5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #8da5b8; background: var(--navy); font-size: .82rem; }
footer nav { display: flex; gap: 1rem; } footer a { color: #d0dde6; }
@media (max-width: 800px) { main { grid-template-columns: minmax(0,1fr); padding-top: 2rem; } .portal-intro { padding-top: 0; text-align: center; } .trust-row { text-align: left; } footer { flex-direction: column; text-align: center; } }
@media (max-width: 480px) { .portal-header { min-height: 66px; } .brand { font-size: 1rem; } .brand img { width: 38px; height: 38px; } .back-link { font-size: .82rem; } main { width: min(100% - 1rem,1120px); } .purchase-card { border-radius: 22px; } }
