/* Sodai Lagbe - Data Deletion Rights
   Mobile-first stylesheet. Brand red taken from the logo. */

:root {
    --red: #e31b0c;
    --red-dark: #b81206;
    --red-soft: #fdecea;
    --ink: #1c1412;
    --text: #40342f;
    --muted: #7a6d67;
    --line: #eee3de;
    --bg: #fbf7f4;
    --card: #ffffff;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(60, 20, 10, .05), 0 12px 32px -16px rgba(60, 20, 10, .18);
    --font: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-bn: 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-wrap: break-word;
}

body.lang-bn { font-family: var(--font-bn); font-size: 17px; line-height: 1.8; }

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; text-wrap: balance; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding-inline: 18px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid #ffb199; outline-offset: 3px; border-radius: 8px; }

/* ---------- Top bar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; min-height: 60px;
}
.brand {
    display: flex; align-items: center; gap: 10px; min-width: 0;
    font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lang-switch {
    display: flex; flex: none; padding: 4px; gap: 2px;
    background: #f4ebe7; border-radius: 999px;
}
.lang-switch a {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 36px; padding: 0 14px; border-radius: 999px;
    font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: none;
}
.lang-switch a[lang="bn"] { font-family: var(--font-bn); }
.lang-switch a.is-active { background: #fff; color: var(--red-dark); box-shadow: 0 1px 3px rgba(60, 20, 10, .15); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background: var(--red);
    background-image:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .16) 0 120px, transparent 121px),
        radial-gradient(circle at 6% 110%, rgba(0, 0, 0, .14) 0 180px, transparent 181px);
    padding: 40px 0 96px;
}
.hero__inner { display: flex; flex-direction: column-reverse; gap: 24px; }
.hero__logo {
    width: 84px; height: 84px; border-radius: 22px;
    border: 3px solid rgba(255, 255, 255, .9);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
}
.eyebrow {
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    opacity: .85; margin-bottom: 10px;
}
.lang-bn .eyebrow { letter-spacing: 0; font-size: .95rem; }
.hero h1 {
    color: #fff; font-weight: 800; letter-spacing: -.025em;
    font-size: clamp(2rem, 8.5vw, 3.6rem); line-height: 1.08;
}
.lang-bn .hero h1 { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
.hero__tagline { margin-top: 12px; font-size: 1.1rem; opacity: .92; }
.hero__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 22px; border-radius: 14px;
    font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
    border: 2px solid transparent; cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--light { background: #fff; color: var(--red-dark); }
.btn--light:hover { background: #fff3f0; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--red); color: var(--red-dark); }
.btn.is-done { border-color: #1f9d55; color: #15803d; }

/* ---------- Content ---------- */
.content { margin-top: -64px; position: relative; padding-bottom: 56px; }

.card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 22px 20px;
}
.card > * + * { margin-top: 14px; }
.card h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.015em; }
.card h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.lang-bn .card h2, .lang-bn .card h3 { letter-spacing: 0; font-weight: 700; }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
    padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
    background: var(--red-soft); color: var(--red-dark);
}

.section-title {
    margin: 36px 2px 16px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em;
}
.lang-bn .section-title { letter-spacing: 0; font-weight: 700; }

.methods { display: grid; gap: 16px; }
.method { scroll-margin-top: 80px; }
.method--primary { border-color: #f6c9c2; box-shadow: var(--shadow), inset 0 4px 0 var(--red); }
.method__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.method__num {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
    background: var(--ink); color: #fff; font-weight: 800; font-size: 1.15rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.method--primary .method__num { background: var(--red); }

.badge {
    padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700;
    background: #f4ebe7; color: var(--muted);
}
.badge--solid { background: var(--red-soft); color: var(--red-dark); }

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 10px; margin-top: 18px; }
.steps li {
    counter-increment: step; display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line);
}
.steps li::before {
    content: counter(step); flex: none;
    display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px;
    border-radius: 50%; background: #fff; border: 2px solid var(--red);
    color: var(--red-dark); font-weight: 800; font-size: .85rem; line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.steps strong { color: var(--ink); }

.muted { color: var(--muted); font-size: .95em; }

.email-box {
    padding: 16px; border-radius: 14px;
    background: var(--bg); border: 1px dashed #e2cfc7;
}
.email-box__addr {
    display: block; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 1.05rem; font-weight: 700; color: var(--red-dark);
    text-decoration: none; word-break: break-all;
}
.email-box__addr:hover { text-decoration: underline; }
.email-box__actions { display: grid; gap: 8px; margin-top: 14px; }

.more { margin-top: 16px; }
.link { color: var(--red-dark); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.link:hover { color: var(--red); }
.note {
    padding: 14px 16px; border-radius: 14px; border-left: 4px solid var(--red);
    background: var(--red-soft); color: #5b1d15;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d9cdc7; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .92rem; }
.footer__inner { display: grid; gap: 18px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { border-radius: 10px; }
.footer__brand strong { display: block; color: #fff; font-size: 1rem; }
.footer__brand span { color: #a8998f; }
.footer__meta p + p { margin-top: 2px; }
.footer__meta strong { color: #fff; }

/* ---------- Tablet and up ---------- */
@media (min-width: 640px) {
    .wrap { padding-inline: 28px; }
    .hero { padding: 64px 0 124px; }
    .hero__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
    .hero__logo { width: 150px; height: 150px; border-radius: 36px; flex: none; }
    .hero__actions { flex-direction: row; flex-wrap: wrap; }
    .content { margin-top: -80px; }
    .card { padding: 30px; }
    .card h2 { font-size: 1.6rem; }
    .email-box__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
    .footer__meta { text-align: right; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
    .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .intro p { max-width: 75ch; }
    .email-box__actions { grid-template-columns: 1fr; }
}
@media (min-width: 1040px) {
    .email-box__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}

@media print {
    .topbar, .hero__actions, .email-box__actions { display: none; }
    .hero { background: none; color: #000; padding: 0 0 16px; }
    .hero h1 { color: #000; }
    .content { margin-top: 0; }
    .card { box-shadow: none; }
}
