:root{
    --ratel-red:#d8232a;
    --ratel-dark:#08111f;
    --ratel-soft:#f4f6f9;
    --ratel-card:#ffffff;
    --ratel-border:#e2e8f0;
    --ratel-text:#061326;
}
*{box-sizing:border-box}
body{
    margin:0;
    font-family:Inter,Arial,sans-serif;
    background:var(--ratel-soft);
    color:var(--ratel-text);
}
a{color:inherit}
.ratel-shell-header{
    height:82px;
    background:#fff;
    border-bottom:1px solid var(--ratel-border);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 32px;
    position:sticky;
    top:0;
    z-index:20;
}
.ratel-brand{
    font-size:24px;
    font-weight:900;
    letter-spacing:.02em;
    color:var(--ratel-red);
    text-decoration:none;
}
.ratel-nav{
    display:flex;
    gap:22px;
    align-items:center;
    flex-wrap:wrap;
}
.ratel-nav a{
    text-decoration:none;
    font-weight:700;
    color:#0b1528;
}
.ratel-nav .ratel-cta{
    background:var(--ratel-red);
    color:#fff;
    padding:14px 22px;
    border-radius:14px;
}
.ratel-page{
    max-width:1480px;
    margin:0 auto;
    padding:28px;
}
.ratel-hero{
    background:linear-gradient(135deg,#171112,#4a070a);
    color:#fff;
    border-radius:28px;
    padding:54px 42px;
    margin-bottom:28px;
}
.ratel-pill{
    display:inline-block;
    background:#ffe3e5;
    color:var(--ratel-red);
    font-weight:900;
    border-radius:999px;
    padding:8px 14px;
    margin-bottom:16px;
}
.ratel-hero h1{
    font-size:48px;
    margin:0 0 18px;
    line-height:1.05;
}
.ratel-hero p{
    font-size:21px;
    max-width:900px;
    line-height:1.35;
}
.ratel-button{
    display:inline-block;
    margin-top:18px;
    background:var(--ratel-red);
    color:#fff;
    padding:16px 22px;
    border-radius:12px;
    font-weight:900;
    text-decoration:none;
    border:0;
}
.ratel-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}
.ratel-card{
    background:var(--ratel-card);
    border:1px solid var(--ratel-border);
    border-radius:18px;
    padding:28px;
    box-shadow:0 12px 34px rgba(15,23,42,.05);
}
.ratel-card h3{margin:0 0 12px;font-size:24px}
.ratel-app-layout{
    display:grid;
    grid-template-columns:260px 1fr 310px;
    gap:24px;
}
.ratel-sidebar{
    background:#fff;
    border:1px solid var(--ratel-border);
    border-radius:18px;
    padding:24px;
    height:max-content;
}
.ratel-sidebar a{
    display:block;
    padding:13px 8px;
    text-decoration:none;
    font-weight:700;
}
.ratel-panel{
    background:#fff7f7;
    border:1px solid #ffd6d6;
    border-radius:18px;
    padding:28px;
    margin-bottom:20px;
}
.ratel-metric{
    font-size:38px;
    color:var(--ratel-red);
    font-weight:900;
}
input{
    width:100%;
    padding:16px;
    border-radius:12px;
    border:1px solid #cbd5e1;
    margin:8px 0 16px;
}
label{font-weight:900}
@media(max-width:980px){
    .ratel-shell-header{height:auto;align-items:flex-start;padding:20px;gap:16px;flex-direction:column}
    .ratel-nav{gap:12px}
    .ratel-page{padding:18px}
    .ratel-hero h1{font-size:36px}
    .ratel-grid,.ratel-app-layout{grid-template-columns:1fr}
}


/* RATEL-UX-10 — Public Landing + Member App Visual Alignment */
.ratel-system-strip{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    margin:24px 0;
}
.ratel-system-tile{
    background:#fff;
    border:1px solid var(--ratel-border);
    border-radius:20px;
    padding:22px;
    box-shadow:0 12px 34px rgba(15,23,42,.05);
}
.ratel-system-tile strong{
    display:block;
    font-size:26px;
    color:var(--ratel-red);
    margin-bottom:6px;
}
.ratel-section-title{
    font-size:34px;
    margin:36px 0 18px;
}
.ratel-action-row{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:22px;
}
.ratel-button.secondary{
    background:#fff;
    color:var(--ratel-red);
    border:1px solid #ffd6d6;
}
.ratel-member-hero{
    background:linear-gradient(135deg,#4a070a,#111827);
    color:#fff;
    border-radius:28px;
    padding:34px;
    margin-bottom:24px;
}
.ratel-member-hero h1{
    margin:0 0 10px;
    font-size:40px;
}
.ratel-status-line{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:18px;
}
.ratel-status-line span{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.22);
    padding:10px 14px;
    border-radius:999px;
    font-weight:800;
}
.ratel-mini-nav{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin-bottom:22px;
}
.ratel-mini-nav a{
    background:#fff;
    border:1px solid var(--ratel-border);
    border-radius:16px;
    padding:16px;
    text-decoration:none;
    font-weight:900;
}
@media(max-width:980px){
    .ratel-system-strip,
    .ratel-mini-nav{
        grid-template-columns:1fr;
    }
}