/* ==========================================================================
   RewardCash public site — "pass & receipt" design system
   Scope: everything lives under .rcs so it never collides with the theme CSS.
   ========================================================================== */
.rcs {
    --rc-ink: #0B2B22;
    --rc-ink-2: #3F5A51;
    --rc-mute: #6B827A;
    --rc-line: #DCE8E2;
    --rc-paper: #F4F8F6;
    --rc-card: #FFFFFF;
    --rc-em: #059669;
    --rc-em-d: #047857;
    --rc-em-dd: #064E3B;
    --rc-mint: #D1FAE5;
    --rc-gold: #F5B027;
    --rc-gold-l: #FDE68A;
    --rc-display: "Bricolage Grotesque", "Montserrat", "Segoe UI", system-ui, sans-serif;
    --rc-body: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --rc-wrap: 1160px;
    background: var(--rc-paper);
    color: var(--rc-ink);
    font-family: var(--rc-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.rcs *, .rcs *::before, .rcs *::after { box-sizing: border-box; }
.rcs h1, .rcs h2, .rcs h3, .rcs h4, .rcs p, .rcs ul, .rcs ol, .rcs dl, .rcs dd, .rcs figure { margin: 0; }
.rcs h1, .rcs h2, .rcs h3, .rcs h4 { font-family: var(--rc-display); color: var(--rc-ink); letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }
.rcs p, .rcs li, .rcs label, .rcs input, .rcs select, .rcs textarea, .rcs button, .rcs small, .rcs dt, .rcs dd, .rcs summary { font-family: var(--rc-body); }
.rcs a { color: var(--rc-em-d); text-decoration: none; }
.rcs a:hover { color: var(--rc-em-dd); }
.rcs img { max-width: 100%; height: auto; }
.rcs :focus-visible { outline: 3px solid rgba(5,150,105,.45); outline-offset: 2px; border-radius: 6px; }
.rcs .num { font-variant-numeric: tabular-nums; }

.rcs-wrap { max-width: var(--rc-wrap); margin: 0 auto; padding: 0 20px; }
.rcs-section { padding: 88px 0; }
.rcs-section.tight { padding: 56px 0; }
@media (max-width: 760px) { .rcs-section { padding: 60px 0; } .rcs-section.tight { padding: 40px 0; } }

.rcs-h2 { font-size: clamp(30px, 4.2vw, 46px); }
.rcs-lead { font-size: 17px; line-height: 1.65; color: var(--rc-ink-2); max-width: 60ch; }
.rcs-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 44px; }
.rcs-head .rcs-lead { justify-self: end; }
@media (max-width: 860px) { .rcs-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 30px; } .rcs-head .rcs-lead { justify-self: start; } }

/* buttons */
.rcs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border-radius: 12px; border: 0;
    background: var(--rc-em); color: #fff !important; font-family: var(--rc-body); font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer;
    box-shadow: 0 12px 24px -12px rgba(5,150,105,.75); transition: background .15s ease, transform .15s ease; white-space: nowrap; }
.rcs-btn:hover { background: var(--rc-em-d); color: #fff !important; }
.rcs-btn:active { transform: translateY(1px); }
.rcs-btn.ghost { background: transparent; color: var(--rc-ink) !important; border: 1.5px solid var(--rc-line); box-shadow: none; }
.rcs-btn.ghost:hover { border-color: var(--rc-ink-2); background: #fff; }
.rcs-btn.gold { background: var(--rc-gold); color: #3B2600 !important; box-shadow: 0 12px 24px -12px rgba(180,120,0,.6); }
.rcs-btn.gold:hover { background: #E9A10F; }
.rcs-btn.sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.rcs-btn.block { width: 100%; }

/* ---------------------------------------------------------------- header */
.rcs-header { position: sticky; top: 0; z-index: 60; background: rgba(244,248,246,.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.rcs-header.scrolled { border-bottom-color: var(--rc-line); }
.rcs-header .bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.rcs-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--rc-ink) !important; font-family: var(--rc-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.rcs-logo img { width: 34px; height: 34px; }
.rcs-logo b { color: var(--rc-em); font-weight: 800; }
.rcs-nav { display: flex; gap: 4px; margin-left: 8px; }
.rcs-nav a { padding: 8px 12px; border-radius: 9px; color: var(--rc-ink-2); font-size: 14.5px; font-weight: 600; }
.rcs-nav a:hover, .rcs-nav a.on { color: var(--rc-ink); background: rgba(5,150,105,.08); }
.rcs-header .acts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.rcs-header .signin { font-weight: 700; font-size: 14.5px; color: var(--rc-ink) !important; padding: 8px 6px; }
.rcs-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 11px; border: 1.5px solid var(--rc-line); background: #fff; color: var(--rc-ink); font-size: 22px; align-items: center; justify-content: center; cursor: pointer; }
.rcs-drawer { display: none; }
@media (max-width: 900px) {
    .rcs-nav, .rcs-header .acts { display: none; }
    .rcs-burger { display: inline-flex; }
    .rcs-drawer.open { display: block; border-top: 1px solid var(--rc-line); background: var(--rc-paper); padding: 10px 20px 22px; }
    .rcs-drawer a.l { display: block; padding: 13px 4px; font-size: 16px; font-weight: 600; color: var(--rc-ink); border-bottom: 1px solid var(--rc-line); }
    .rcs-drawer .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
}

/* ---------------------------------------------------------------- the pass (shared with the signup flow) */
.rcs .rc-pass { position: relative; border-radius: 22px; color: #EFFFF8; overflow: hidden; isolation: isolate;
    background: linear-gradient(145deg, #0A5C45 0%, var(--rc-em-dd) 45%, #03372A 100%);
    box-shadow: 0 30px 60px -30px rgba(4,60,45,.65), inset 0 1px 0 rgba(255,255,255,.12);
    padding: 26px; min-height: 250px; display: flex; flex-direction: column; }
.rcs .rc-pass::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%236EE7B7' stroke-width='.7'%3E%3Ccircle cx='110' cy='110' r='20'/%3E%3Ccircle cx='110' cy='110' r='34'/%3E%3Ccircle cx='110' cy='110' r='48'/%3E%3Ccircle cx='110' cy='110' r='62'/%3E%3Ccircle cx='110' cy='110' r='76'/%3E%3Ccircle cx='110' cy='110' r='90'/%3E%3Ccircle cx='110' cy='110' r='104'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 220px 220px; background-position: 70% 40%; }
.rcs .rc-pass::after { content: ""; position: absolute; top: 18px; bottom: 18px; right: 86px; border-right: 2px dashed rgba(255,255,255,.18); }
.rcs .rc-pass .notch { position: absolute; right: 78px; width: 18px; height: 18px; border-radius: 50%; background: var(--rc-paper); }
.rcs .rc-pass .notch.t { top: -9px; } .rcs .rc-pass .notch.b { bottom: -9px; }
.rcs .rc-pass .row1 { display: flex; align-items: center; gap: 10px; padding-right: 96px; }
.rcs .rc-pass .row1 img { width: 30px; height: 30px; }
.rcs .rc-pass .brand { font-family: var(--rc-display); font-weight: 800; font-size: 17px; }
.rcs .rc-pass .kind { margin-top: 2px; font-size: 12.5px; color: #A7F3D0; font-weight: 600; }
.rcs .rc-pass .price { margin-top: auto; padding-right: 96px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rcs .rc-pass .price .v { font-family: var(--rc-display); font-size: 62px; font-weight: 800; letter-spacing: -0.04em; line-height: .9; color: #fff; }
.rcs .rc-pass .price .l { font-size: 14px; font-weight: 700; color: var(--rc-gold-l); }
.rcs .rc-pass .holder { margin-top: 16px; padding-right: 96px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 11.5px; color: #A7F3D0; }
.rcs .rc-pass .holder b { display: block; font-size: 14.5px; color: #fff; font-weight: 700; margin-top: 2px; }
.rcs .rc-pass .stub { position: absolute; right: 0; top: 0; bottom: 0; width: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.rcs .rc-pass .stub .coin { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #7C4A03;
    background: radial-gradient(circle at 35% 30%, #FFF4C2, var(--rc-gold) 70%); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.rcs .rc-pass .stub small { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: .14em; color: #A7F3D0; font-weight: 700; }
@media (max-width: 560px) {
    .rcs .rc-pass { min-height: 210px; padding: 20px; border-radius: 18px; }
    .rcs .rc-pass .price .v { font-size: 48px; }
    .rcs .rc-pass::after { right: 70px; } .rcs .rc-pass .notch { right: 62px; } .rcs .rc-pass .stub { width: 70px; }
    .rcs .rc-pass .row1, .rcs .rc-pass .price, .rcs .rc-pass .holder { padding-right: 78px; }
}

/* ---------------------------------------------------------------- receipt */
.rcs-receipt { position: relative; background: #fff; border-radius: 16px 16px 4px 4px; padding: 22px 22px 26px; box-shadow: 0 24px 50px -28px rgba(11,43,34,.45); }
.rcs-receipt::after { /* torn edge */
    content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px;
    background: radial-gradient(circle at 8px -2px, transparent 8px, #fff 8.5px) repeat-x; background-size: 16px 12px; }
.rcs-receipt .rh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1.5px dashed var(--rc-line); margin-bottom: 6px; }
.rcs-receipt .rh b { font-family: var(--rc-display); font-size: 17px; }
.rcs-receipt .rh span { font-size: 12px; color: var(--rc-mute); }
.rcs-receipt .ln { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; font-size: 14px; color: var(--rc-ink-2); }
.rcs-receipt .ln b { color: var(--rc-ink); font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.rcs-receipt .ln b.pos { color: var(--rc-em-d); }
.rcs-receipt .tot { display: flex; justify-content: space-between; gap: 14px; margin-top: 8px; padding-top: 12px; border-top: 1.5px solid var(--rc-ink); font-weight: 800; }
.rcs-receipt .tot b { font-family: var(--rc-display); font-size: 22px; }

/* ---------------------------------------------------------------- perforated step strip */
.rcs-steps { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 20px; border: 1px solid var(--rc-line); position: relative; }
.rcs-steps > li { list-style: none; padding: 30px 28px; position: relative; }
.rcs-steps > li + li { border-left: 2px dashed var(--rc-line); }
.rcs-steps > li + li::before, .rcs-steps > li + li::after { content: ""; position: absolute; left: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--rc-paper); border: 1px solid var(--rc-line); }
.rcs-steps > li + li::before { top: -10px; clip-path: inset(50% 0 0 0); }
.rcs-steps > li + li::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.rcs-steps .n { font-family: var(--rc-display); font-size: 15px; font-weight: 800; color: var(--rc-em); }
.rcs-steps h3 { font-size: 22px; margin: 8px 0 8px; }
.rcs-steps p { font-size: 14.5px; color: var(--rc-ink-2); line-height: 1.6; }
@media (max-width: 860px) {
    .rcs-steps { grid-template-columns: 1fr; }
    .rcs-steps > li + li { border-left: 0; border-top: 2px dashed var(--rc-line); }
    .rcs-steps > li + li::before, .rcs-steps > li + li::after { display: none; }
}

/* ---------------------------------------------------------------- ledger list */
.rcs-ledger { list-style: none; padding: 0; background: #fff; border: 1px solid var(--rc-line); border-radius: 20px; overflow: hidden; }
.rcs-ledger li { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 18px 22px; }
.rcs-ledger li + li { border-top: 1px solid var(--rc-line); }
.rcs-ledger .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--rc-paper); display: grid; place-items: center; font-size: 24px; color: var(--rc-em-d); }
.rcs-ledger .t { font-weight: 700; font-size: 15.5px; color: var(--rc-ink); }
.rcs-ledger .s { font-size: 13.5px; color: var(--rc-mute); margin-top: 2px; }
.rcs-ledger .m { font-size: 13px; font-weight: 700; color: var(--rc-ink-2); background: var(--rc-paper); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
@media (max-width: 560px) { .rcs-ledger li { grid-template-columns: 42px 1fr; padding: 16px; } .rcs-ledger .ic { width: 42px; height: 42px; font-size: 21px; } .rcs-ledger .m { grid-column: 2; justify-self: start; } }

/* ---------------------------------------------------------------- dark band */
.rcs-band { background: var(--rc-ink); color: #DDEFE7; position: relative; overflow: hidden; isolation: isolate; }
.rcs-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .09;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='.8'%3E%3Ccircle cx='150' cy='150' r='30'/%3E%3Ccircle cx='150' cy='150' r='55'/%3E%3Ccircle cx='150' cy='150' r='80'/%3E%3Ccircle cx='150' cy='150' r='105'/%3E%3Ccircle cx='150' cy='150' r='130'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 300px 300px; }
.rcs-band h2, .rcs-band h3 { color: #fff; }
.rcs-band .rcs-lead { color: #B8D3C8; }

/* ---------------------------------------------------------------- FAQ */
.rcs-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .rcs-faq { grid-template-columns: 1fr; gap: 24px; } }
.rcs-qa { border-top: 1.5px solid var(--rc-ink); }
.rcs-qa details { border-bottom: 1px solid var(--rc-line); }
.rcs-qa summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 16.5px; color: var(--rc-ink); }
.rcs-qa summary::-webkit-details-marker { display: none; }
.rcs-qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--rc-display); font-size: 26px; font-weight: 500; color: var(--rc-em); transition: transform .2s ease; }
.rcs-qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.rcs-qa .a { padding: 0 40px 22px 0; color: var(--rc-ink-2); font-size: 15px; line-height: 1.7; }
.rcs-qa .a p + p { margin-top: 10px; }

/* ---------------------------------------------------------------- generic content (inner pages) */
.rcs-page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--rc-line); }
.rcs-page-head h1 { font-size: clamp(34px, 5vw, 56px); }
.rcs-page-head p { margin-top: 12px; }
.rcs-prose { max-width: 72ch; font-size: 16px; line-height: 1.75; color: var(--rc-ink-2); }
.rcs-prose h2, .rcs-prose h3 { margin: 32px 0 12px; } .rcs-prose h2 { font-size: 28px; } .rcs-prose h3 { font-size: 21px; }
.rcs-prose p, .rcs-prose ul, .rcs-prose ol { margin: 0 0 16px; }
.rcs-prose ul, .rcs-prose ol { padding-left: 22px; }
.rcs-prose a { text-decoration: underline; text-underline-offset: 3px; }
.rcs-card { background: #fff; border: 1px solid var(--rc-line); border-radius: 18px; padding: 26px; }
.rcs-field { margin-bottom: 16px; }
.rcs-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--rc-ink); margin-bottom: 7px; }
.rcs-field input, .rcs-field textarea, .rcs-field select { width: 100%; padding: 12px 14px; background: #fff; border: 1.5px solid var(--rc-line); border-radius: 11px; font-size: 15px; color: var(--rc-ink); outline: none; }
.rcs-field input:focus, .rcs-field textarea:focus { border-color: var(--rc-em); box-shadow: 0 0 0 4px rgba(5,150,105,.12); }

/* ---------------------------------------------------------------- CTA + footer */
.rcs-cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .rcs-cta { grid-template-columns: 1fr; gap: 28px; } }
.rcs-footer { background: var(--rc-ink); color: #A9C4B9; padding: 64px 0 28px; font-size: 14.5px; }
.rcs-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
@media (max-width: 860px) { .rcs-footer .cols { grid-template-columns: 1fr 1fr; } .rcs-footer .cols > :first-child { grid-column: 1 / -1; } }
.rcs-footer .rcs-logo { color: #fff !important; }
.rcs-footer p.about { margin-top: 14px; max-width: 38ch; line-height: 1.65; }
.rcs-footer h4 { font-family: var(--rc-body); font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.rcs-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.rcs-footer a { color: #A9C4B9; }
.rcs-footer a:hover { color: #fff; }
.rcs-footer .base { margin-top: 48px; padding-top: 22px; border-top: 1px dashed rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { .rcs *, .rcs *::before, .rcs *::after { animation: none !important; transition: none !important; } }

/* ---------------------------------------------------------------- additions (round 2) */
.rcs-steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) and (min-width: 861px) { .rcs-steps.four { grid-template-columns: repeat(2, 1fr); } .rcs-steps.four > li:nth-child(3) { border-left: 0; border-top: 2px dashed var(--rc-line); } .rcs-steps.four > li:nth-child(4) { border-top: 2px dashed var(--rc-line); } .rcs-steps.four > li:nth-child(3)::before, .rcs-steps.four > li:nth-child(3)::after { display: none; } }
@media (max-width: 860px) { .rcs-steps.four { grid-template-columns: 1fr; } }
.rcs-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rcs-chips span { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--rc-line); font-size: 14px; font-weight: 600; color: var(--rc-ink-2); }
.rcs-slip { background: #fff; border-radius: 20px; border: 1px solid var(--rc-line); box-shadow: 0 30px 60px -34px rgba(11,43,34,.5); overflow: hidden; }
.rcs-slip .top { background: var(--rc-ink); color: #CFE6DC; padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.rcs-slip .top b { color: #fff; font-family: var(--rc-display); font-size: 16px; }
.rcs-slip .body { padding: 8px 22px 20px; }
.rcs-slip .sl { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--rc-line); font-size: 14.5px; color: var(--rc-ink-2); }
.rcs-slip .sl b { color: var(--rc-ink); text-align: right; line-height: 1.4; margin: 0; }
.rcs-slip .stamp { margin: 16px 0 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 2px solid var(--rc-em); border-radius: 10px; color: var(--rc-em-d); font-weight: 800; font-size: 13px; transform: rotate(-3deg); }
.rcs-statrow { display: flex; gap: 40px; flex-wrap: wrap; }
.rcs-statrow b { display: block; font-family: var(--rc-display); font-size: 34px; letter-spacing: -0.03em; color: var(--rc-ink); }
.rcs-statrow span { font-size: 14px; color: var(--rc-mute); }
.rcs-empty { text-align: center; padding: 70px 20px; }
.rcs-empty .ic { width: 72px; height: 72px; border-radius: 20px; background: #fff; border: 1px solid var(--rc-line); display: grid; place-items: center; margin: 0 auto 18px; font-size: 34px; color: var(--rc-em); }
.rcs-alert { padding: 14px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; }
.rcs-alert.ok { background: #ECFDF5; color: #065F46; border: 1px solid #BBF0D9; }
.rcs-alert.err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
