:root{
    --bg:#f6f9fc;
    --card:#ffffff;
    --text:#111827;
    --muted:#667085;
    --line:#dbe3ee;
    --primary:#0a84ff;
    --primary2:#006ddf;
    --secondary:#eef3f8;
    --shadow:0 14px 40px rgba(16,24,40,.08);
    --radius:18px;
    --field-h:52px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    background:linear-gradient(180deg,#f8fbff 0%,#f3f7fb 100%);
    color:var(--text);
}
a{color:inherit}
.header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1000;
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(219,227,238,.8);
    box-shadow:0 8px 24px rgba(16,24,40,.04);
}
.header-inner{
    max-width:760px;
    margin:0 auto;
    padding:14px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-height:64px;
    font-weight:800;
    letter-spacing:.2px;
}
.brand-small{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    font-size:13px;
    color:var(--muted);
    font-weight:700;
}
.header a,
.brand-small a{
    text-decoration:none;
}
.container{
    width:100%;
    max-width:760px;
    margin:0 auto;
    padding:92px 16px 28px;
}
.card{
    background:var(--card);
    border:1px solid rgba(219,227,238,.9);
    border-radius:var(--radius);
    padding:20px;
    box-shadow:var(--shadow);
    margin-bottom:16px;
}
h1{
    font-size:30px;
    line-height:1.15;
    margin:0 0 10px;
    letter-spacing:-.03em;
}
h2{
    font-size:22px;
    line-height:1.25;
    margin:0 0 12px;
    letter-spacing:-.02em;
}
.lead{
    margin:0 0 20px;
    font-size:15px;
    line-height:1.6;
    color:var(--muted);
}
.form-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
}
.field{width:100%}
label{
    display:block;
    margin:0 0 7px;
    font-size:13px;
    line-height:1.35;
    font-weight:700;
    color:var(--text);
}
input,select,textarea{
    width:100%;
    display:block;
    border:1px solid var(--line);
    background:#fff;
    color:var(--text);
    border-radius:14px;
    font-size:15px;
    outline:none;
    transition:border-color .2s ease,box-shadow .2s ease;
}
input,select{
    height:var(--field-h);
    padding:0 15px;
}
textarea{
    min-height:118px;
    padding:14px 15px;
    resize:vertical;
}
input:focus,select:focus,textarea:focus{
    border-color:rgba(10,132,255,.65);
    box-shadow:0 0 0 4px rgba(10,132,255,.12);
}
.note-box{
    border:1px solid rgba(219,227,238,.95);
    background:#f9fbfd;
    border-radius:16px;
    padding:14px 15px;
}
.note-title{
    margin:0 0 6px;
    font-size:13px;
    font-weight:800;
}
.note-text{
    margin:0;
    font-size:13px;
    line-height:1.6;
    color:var(--muted);
}
.checkbox{
    position:relative;
    display:grid;
    grid-template-columns:28px 1fr;
    align-items:flex-start;
    gap:12px;
    padding:14px;
    border:1px solid rgba(219,227,238,.95);
    background:#f9fbfd;
    border-radius:16px;
    cursor:pointer;
}
.checkbox input{
    appearance:none;
    -webkit-appearance:none;
    width:28px;
    height:28px;
    min-width:28px;
    margin:0;
    border:2px solid #b8c4d4;
    border-radius:9px;
    background:#fff;
    display:grid;
    place-content:center;
    cursor:pointer;
    transition:all .18s ease;
}
.checkbox input::before{
    content:"";
    width:8px;
    height:14px;
    border-right:3px solid #fff;
    border-bottom:3px solid #fff;
    transform:rotate(45deg) scale(0);
    margin-top:-3px;
    transition:transform .15s ease;
}
.checkbox input:checked{
    background:var(--primary);
    border-color:var(--primary);
    box-shadow:0 8px 20px rgba(10,132,255,.28);
}
.checkbox input:checked::before{
    transform:rotate(45deg) scale(1);
}
.checkbox input:focus{
    outline:none;
    box-shadow:0 0 0 4px rgba(10,132,255,.14);
}
.checkbox span{
    font-size:13px;
    line-height:1.5;
    color:var(--text);
    padding-top:3px;
}
.checkbox:has(input:checked){
    border-color:rgba(10,132,255,.55);
    background:#f0f7ff;
}
.actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:4px;
}
.btn{
    width:100%;
    min-height:54px;
    padding:14px 18px;
    border:none;
    border-radius:14px;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    text-align:center;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.btn-primary{
    background:var(--primary);
    color:#fff;
    box-shadow:0 10px 24px rgba(10,132,255,.22);
}
.btn-primary:hover{background:var(--primary2)}
.btn-secondary{
    background:var(--secondary);
    color:var(--text);
}
.footer-note{
    margin-top:14px;
    font-size:12px;
    line-height:1.6;
    color:#7a8697;
}
.alert{
    padding:12px 14px;
    border-radius:14px;
    margin-bottom:14px;
    font-size:14px;
}
.alert-error{
    background:#fff1f2;
    color:#9f1239;
    border:1px solid #fecdd3;
}
.alert-ok{
    background:#ecfdf3;
    color:#027a48;
    border:1px solid #abefc6;
}
.table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
}
.table th,.table td{
    padding:12px;
    border-bottom:1px solid #eef2f7;
    text-align:left;
    font-size:13px;
    vertical-align:top;
}
.table th{
    background:#f8fafc;
    color:#475467;
}
.admin-layout{max-width:1100px}
.admin-nav{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:16px;
}
.admin-nav a{
    padding:10px 12px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:12px;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
}
.grid-2{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
}

/* Legal / merchant blocks */
.hero-legal{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
    margin-bottom:16px;
}
.eyebrow{
    display:inline-flex;
    padding:8px 12px;
    border-radius:999px;
    background:#eef6ff;
    color:#006ddf;
    font-size:13px;
    font-weight:800;
    margin-bottom:12px;
}
.legal-pills{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:14px;
}
.legal-pills span{
    display:inline-flex;
    padding:9px 11px;
    border-radius:999px;
    background:#fff;
    border:1px solid var(--line);
    font-size:12px;
    color:#475467;
    font-weight:700;
}
.legal-box{
    background:#fff;
    border:1px solid rgba(219,227,238,.95);
    border-radius:var(--radius);
    padding:18px;
    box-shadow:var(--shadow);
}
.legal-box p{
    margin:10px 0 0;
    color:var(--muted);
    font-size:13px;
    line-height:1.55;
}
.services-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
}
.service-card{
    padding:15px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#f9fbfd;
}
.service-card strong{
    display:block;
    font-size:15px;
    margin-bottom:6px;
}
.service-card span{
    display:inline-flex;
    padding:6px 9px;
    background:#eef6ff;
    color:#006ddf;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    margin-bottom:8px;
}
.service-card p{
    margin:0;
    color:var(--muted);
    font-size:13px;
    line-height:1.55;
}
.legal-list p{
    margin:9px 0;
    color:#344054;
    line-height:1.55;
}
.legal-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:16px;
}
.legal-links a{
    padding:10px 12px;
    border-radius:12px;
    background:#eef3f8;
    text-decoration:none;
    font-weight:800;
    font-size:13px;
}
.small{
    font-size:12px;
    line-height:1.6;
    color:#667085;
}
.site-footer{
    max-width:760px;
    margin:0 auto;
    padding:22px 16px 34px;
    color:#667085;
    font-size:13px;
    line-height:1.6;
}
.site-footer a{text-decoration:none}
.legal-page .legal-content{
    color:#344054;
    line-height:1.75;
}
.legal-page p,
.legal-page li{
    line-height:1.75;
    color:#344054;
}
.legal-page ul{
    padding-left:20px;
}
hr{
    border:none;
    border-top:1px solid var(--line);
}
@media(min-width:720px){
    .card{padding:26px}
    .grid-2{grid-template-columns:1fr 1fr}
    .actions{grid-template-columns:1fr 1fr}
    .container{padding-left:20px;padding-right:20px}
    .hero-legal{grid-template-columns:1.25fr .75fr;align-items:stretch}
    .services-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:460px){
    .header-inner{
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
    }
    .container{padding-top:112px}
    h1{font-size:26px}
    h2{font-size:20px}
}
