/* ============================================================
   TempoMail USA — Static / content pages (FIX-5 A1)
   Refund Policy · Write for Us · Roadmap
   Design System: pastel-glass, indigo #4f46e5 family, Jakarta.
   Replaces the old cream/orange/Space Grotesk inline styling.
   ============================================================ */

.dsp-wrap { max-width: 920px; margin: 0 auto; padding: 48px 20px 76px; }
.dsp-wrap-wide { max-width: 1200px; }

.dsp-hero { text-align: center; margin-bottom: 38px; }
.dsp-h1 {
    font-size: clamp(30px, 5vw, 42px); font-weight: 800; letter-spacing: -.03em;
    color: var(--ink); margin: 16px 0 12px; line-height: 1.12;
}
.dsp-lead { color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 640px; margin: 0 auto; }
.dsp-meta { color: var(--muted); font-size: 13px; margin-top: 16px; font-weight: 600; }
.dsp-hero-cta { margin-top: 24px; }
.dsp-hero-cta .btn { min-height: 50px; text-decoration: none; }
.dsp-meta i { color: #4f46e5; margin-right: 5px; }

.dsp-card {
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 24px;
    box-shadow: 0 24px 50px -18px rgba(76, 64, 180, .22), 0 4px 16px rgba(20, 24, 60, .05);
    padding: clamp(24px, 4.5vw, 42px);
    color: #3c4358; line-height: 1.8; font-size: 15px;
}
html[data-theme="dark"] .dsp-card {
    background: linear-gradient(150deg, rgba(23, 30, 48, .88), rgba(15, 20, 34, .84));
    border-color: rgba(255, 255, 255, .14);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .08);
    color: #c3cad9;
}
.dsp-card p { margin: 0 0 14px; }
.dsp-card strong { color: var(--ink); }

/* Notice (refund) */
.dsp-notice {
    display: flex; align-items: flex-start; gap: 14px;
    background: rgba(79, 70, 229, .07);
    border: 1px solid rgba(79, 70, 229, .18);
    border-radius: 18px; padding: 18px; margin-bottom: 10px;
}
html[data-theme="dark"] .dsp-notice { background: rgba(99, 102, 241, .13); border-color: rgba(165, 180, 252, .28); }
.dsp-notice-tile {
    width: 42px; height: 42px; flex: none; border-radius: 12px;
    display: grid; place-items: center; font-size: 17px; color: #4338ca;
    background: #e6e2ff;
}
html[data-theme="dark"] .dsp-notice-tile { background: rgba(99, 102, 241, .25); color: #c7d2fe; }
.dsp-notice strong { display: block; font-size: 14px; margin-bottom: 3px; }
.dsp-notice span { font-size: 13.5px; line-height: 1.65; }

/* Numbered section headings (refund) */
.dsp-sec-h {
    display: flex; align-items: center; gap: 12px;
    font-size: 19px; font-weight: 800; color: var(--ink);
    margin: 34px 0 12px; letter-spacing: -.01em;
}
.dsp-sec-h:first-of-type { margin-top: 26px; }
.dsp-num {
    width: 32px; height: 32px; flex: none; border-radius: 10px;
    display: grid; place-items: center;
    font-size: 14px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #6366f1, #4338ca);
    box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .6);
}

/* Mini cards + lists (refund) */
.dsp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 6px; }
.dsp-mini {
    background: rgba(79, 70, 229, .045);
    border: 1px solid var(--ds-line);
    border-radius: 16px; padding: 16px 18px;
}
html[data-theme="dark"] .dsp-mini { background: rgba(255, 255, 255, .045); }
.dsp-mini-h { font-weight: 800; color: var(--ink); font-size: 14.5px; margin-bottom: 5px; }
.dsp-mini-h i { color: #059669; margin-right: 6px; }
.dsp-mini p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

.dsp-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.dsp-list li { position: relative; padding-left: 20px; }
.dsp-list li::before {
    content: ""; position: absolute; left: 2px; top: .72em;
    width: 7px; height: 7px; border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4338ca);
}

/* CTA panel (refund / shared) */
.dsp-cta {
    margin-top: 38px; text-align: center;
    border-radius: 24px; padding: 34px 26px;
    background: linear-gradient(120deg, #e6e2ff, #ffe9d6);
    border: 1px solid rgba(255, 255, 255, .9);
}
html[data-theme="dark"] .dsp-cta {
    background: linear-gradient(120deg, #1b2450, #312e81);
    border-color: rgba(255, 255, 255, .14);
}
.dsp-cta h4 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.dsp-cta h4 i { color: #4f46e5; margin-right: 7px; }
html[data-theme="dark"] .dsp-cta h4 i { color: #a5b4fc; }
.dsp-cta p { color: var(--muted); font-size: 14px; max-width: 540px; margin: 0 auto 20px; line-height: 1.65; }
.dsp-cta .btn { min-height: 48px; text-decoration: none; }

/* Feature cards (write for us) */
.dsp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.dsp-feat {
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 22px; padding: 24px;
    box-shadow: 0 16px 36px -18px rgba(76, 64, 180, .22);
    height: 100%;
}
html[data-theme="dark"] .dsp-feat {
    background: linear-gradient(150deg, rgba(23, 30, 48, .88), rgba(15, 20, 34, .84));
    border-color: rgba(255, 255, 255, .14);
}
.dsp-tile {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center; color: #fff; font-size: 19px;
    margin-bottom: 15px;
}
.dsp-tile-indigo { background: linear-gradient(135deg, #6366f1, #4338ca); box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .6); }
.dsp-tile-mint { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 10px 22px -10px rgba(5, 150, 105, .55); }
.dsp-tile-sky { background: linear-gradient(135deg, #38bdf8, #0284c7); box-shadow: 0 10px 22px -10px rgba(2, 132, 199, .55); }
.dsp-feat h5 { font-size: 16px; font-weight: 800; color: var(--ink); margin: 0 0 7px; }
.dsp-feat p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

/* Rules rows (write for us) */
.dsp-rule { display: flex; align-items: flex-start; gap: 13px; padding: 11px 0; }
.dsp-rule + .dsp-rule { border-top: 1px solid var(--ds-line); }
.dsp-rule > i { color: #059669; font-size: 17px; margin-top: 4px; flex: none; }
html[data-theme="dark"] .dsp-rule > i { color: #34d399; }
.dsp-rule strong { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.dsp-rule span { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.dsp-rules-h { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }

/* ---------- Roadmap ---------- */
.dsr-head { text-align: center; max-width: 800px; margin: 0 auto; }
.dsr-tabs-wrap { display: flex; justify-content: center; margin: 30px 0 34px; position: sticky; top: 92px; z-index: 20; }
.dsr-tabs {
    display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
    padding: 6px; border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: blur(14px) saturate(1.5);
    backdrop-filter: blur(14px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 14px 30px -16px rgba(76, 64, 180, .3);
}
html[data-theme="dark"] .dsr-tabs {
    background: linear-gradient(150deg, rgba(23, 30, 48, .9), rgba(15, 20, 34, .86));
    border-color: rgba(255, 255, 255, .14);
}
.dsr-tab {
    min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px;
    background: transparent; cursor: pointer;
    font-family: inherit; font-weight: 700; font-size: 13.5px; color: var(--muted);
    transition: background .2s ease, color .2s ease;
}
.dsr-tab:hover { background: rgba(79, 70, 229, .09); color: #4338ca; }
html[data-theme="dark"] .dsr-tab:hover { background: rgba(99, 102, 241, .18); color: #c7d2fe; }
.dsr-tab.active {
    background: linear-gradient(135deg, #6366f1, #4338ca); color: #fff;
    box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .65);
}
.dsr-new {
    font-size: 9.5px; font-weight: 800; letter-spacing: .04em;
    background: #4f46e5; color: #fff; padding: 2px 7px; border-radius: 6px;
    margin-left: 5px; vertical-align: 2px;
}
.dsr-tab.active .dsr-new { background: rgba(255, 255, 255, .28); }

.dsr-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px; transition: opacity .3s ease;
}
.dsr-card {
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 20px; padding: 22px;
    display: flex; flex-direction: column;
    box-shadow: 0 14px 30px -18px rgba(76, 64, 180, .25);
    animation: dsrIn .45s ease both;
    transition: transform .25s ease, box-shadow .25s ease;
}
html[data-theme="dark"] .dsr-card {
    background: linear-gradient(150deg, rgba(23, 30, 48, .88), rgba(15, 20, 34, .84));
    border-color: rgba(255, 255, 255, .14);
}
.dsr-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -18px rgba(76, 64, 180, .35); }
@keyframes dsrIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dsr-card { animation: none; } .dsr-card:hover { transform: none; } }

.dsr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.dsr-status {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    padding: 5px 11px; border-radius: 8px;
}
.dsr-status.progress { background: #d7f6e6; color: #067647; border: 1px solid rgba(5, 150, 105, .3); }
.dsr-status.planned { background: #e6e2ff; color: #4338ca; border: 1px solid rgba(79, 70, 229, .28); }
html[data-theme="dark"] .dsr-status.progress { background: rgba(52, 211, 153, .15); color: #34d399; }
html[data-theme="dark"] .dsr-status.planned { background: rgba(99, 102, 241, .18); color: #c7d2fe; }

.dsr-upvote {
    min-width: 46px; min-height: 46px; padding: 5px 8px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .65); color: var(--muted);
    border: 1px solid var(--ds-line); border-radius: 12px; cursor: pointer;
    font-family: inherit; transition: all .2s ease;
}
.dsr-upvote i { font-size: 11px; line-height: 1; }
.dsr-upvote:hover { border-color: rgba(79, 70, 229, .45); color: #4338ca; }
.dsr-upvote.voted { background: linear-gradient(135deg, #6366f1, #4338ca); border-color: transparent; color: #fff; }
.dsr-count { font-weight: 800; font-size: 12px; line-height: 1.25; }

.dsr-title { font-size: 16.5px; font-weight: 800; color: var(--ink); margin: 0 0 8px; line-height: 1.35; }
.dsr-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.dsr-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 44px 20px; font-weight: 600; }

.dsr-suggest {
    margin: 56px auto 0; max-width: 620px; text-align: center;
    background: rgba(255, 255, 255, .6);
    border: 1.5px dashed rgba(79, 70, 229, .4);
    border-radius: 24px; padding: 36px 28px;
}
html[data-theme="dark"] .dsr-suggest { background: rgba(23, 30, 48, .55); border-color: rgba(165, 180, 252, .4); }
.dsr-suggest h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.dsr-suggest p { color: var(--muted); font-size: 14.5px; margin: 0 0 6px; }
.dsr-suggest .btn { min-height: 48px; margin-top: 14px; text-decoration: none; }

@media (max-width: 768px) {
    .dsp-grid2, .dsp-grid3 { grid-template-columns: 1fr; }
    .dsr-tabs-wrap { position: relative; top: 0; }
    .dsr-tabs { border-radius: 22px; }
    .dsp-wrap { padding: 36px 16px 60px; }
}
