:root {
    --delete-red: #c7342d;
    --delete-red-dark: #9f251f;
    --delete-paper: #fffdf8;
    --delete-ink: #162035;
    --delete-muted: #667085;
}

.deletion-page { background: #f5f3ed; color: var(--delete-ink); }
.deletion-page .masthead { background: rgba(245, 243, 237, 0.92); }
.deletion-hero {
    display: grid;
    gap: clamp(36px, 6vw, 92px);
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
    margin: 0 auto;
    max-width: 1480px;
    padding: clamp(70px, 10vw, 138px) 24px 100px;
}
.deletion-hero h1 { font-family: Onest, Inter, sans-serif; font-size: clamp(52px, 7vw, 94px); letter-spacing: -0.065em; line-height: 0.92; margin: 24px 0; }
.deletion-hero h1 span { color: var(--delete-red); }
.deletion-hero > div > p { color: #495267; font-size: 19px; line-height: 1.6; max-width: 600px; }
.deletion-facts { color: #3f485c; display: grid; gap: 12px; line-height: 1.5; list-style: none; margin: 32px 0 0; padding: 0; }
.deletion-facts li::before { color: var(--delete-red); content: "✓"; font-weight: 800; margin-right: 10px; }
.deletion-flow { align-self: start; background: var(--delete-paper); border: 1px solid #dedbd2; border-radius: 28px; box-shadow: 0 24px 60px rgba(24, 32, 49, .10); min-height: 490px; padding: clamp(26px, 4vw, 42px); }
.flow-step { display: grid; gap: 14px; }
.flow-step-number { color: var(--delete-red); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.flow-step h2 { font-family: Onest, Inter, sans-serif; font-size: 30px; letter-spacing: -.035em; margin: 0; }
.flow-step p { color: var(--delete-muted); line-height: 1.55; margin: 0 0 8px; }
.flow-step label, .flow-step legend { font-size: 13px; font-weight: 700; }
.flow-step input[type="email"], .flow-step input[type="text"] { background: #fff; border: 1px solid #cfd3dc; border-radius: 12px; box-sizing: border-box; color: var(--delete-ink); font: inherit; min-height: 52px; padding: 0 14px; width: 100%; }
.flow-step input:focus { border-color: #335dba; box-shadow: 0 0 0 3px rgba(51, 93, 186, .12); outline: none; }
.flow-step button { align-items: center; background: #1b2d55; border: 0; border-radius: 12px; color: #fff; cursor: pointer; display: inline-flex; font: 700 15px Inter, sans-serif; justify-content: space-between; min-height: 52px; padding: 0 18px; }
.flow-step button:disabled { cursor: wait; opacity: .55; }
.flow-step .text-button { background: transparent; color: #425477; justify-content: center; min-height: 36px; }
.flow-step small { color: #7b8290; line-height: 1.5; }
.flow-message { background: #fff4e4; border: 1px solid #f1d49e; border-radius: 12px; color: #714b0c; font-size: 14px; line-height: 1.45; margin-bottom: 18px; padding: 12px 14px; }
.flow-message.error { background: #fff0ef; border-color: #efbfbc; color: #8c231d; }
.subscription-box { background: #eef4ff; border-radius: 14px; color: #23447f; font-size: 14px; line-height: 1.5; padding: 14px; }
.flow-step fieldset { border: 0; display: grid; gap: 10px; margin: 2px 0; padding: 0; }
.flow-step legend { margin-bottom: 10px; }
.choice-card { align-items: center; background: #fff; border: 1px solid #d8dce4; border-radius: 14px; cursor: pointer; display: flex; gap: 12px; padding: 14px; }
.choice-card span { display: grid; gap: 3px; }
.choice-card small { font-weight: 400; }
.choice-card:has(input:checked) { border-color: #315fb8; box-shadow: inset 0 0 0 1px #315fb8; }
.confirm-row { align-items: flex-start; display: flex; gap: 11px; line-height: 1.45; margin-top: 4px; }
.confirm-row input { margin-top: 3px; }
.flow-step .danger-button { background: var(--delete-red); justify-content: center; }
.flow-step .danger-button:hover { background: var(--delete-red-dark); }
.success-step { place-items: center; text-align: center; }
.success-mark { align-items: center; background: #e1f3e7; border-radius: 50%; color: #247340; display: flex; font-size: 30px; height: 72px; justify-content: center; width: 72px; }
.request-reference { background: #f1f3f6; border-radius: 10px; color: #475467 !important; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 10px; word-break: break-all; }
.deletion-rules { background: #fff; padding: 90px max(24px, calc((100vw - 1480px) / 2)); }
.rule-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); margin-top: 38px; }
.rule-grid article { background: #f5f3ed; border-radius: 18px; padding: 24px; }
.rule-grid article > span { color: var(--delete-red); font-size: 12px; font-weight: 800; }
.rule-grid h3 { font: 700 19px Onest, Inter, sans-serif; margin: 30px 0 10px; }
.rule-grid p, .legal-note { color: #60697b; font-size: 14px; line-height: 1.65; }
.legal-note { border-top: 1px solid #e1e3e7; margin: 32px 0 0; padding-top: 22px; }

@media (max-width: 900px) {
    .deletion-hero { grid-template-columns: 1fr; padding-top: 64px; }
    .deletion-flow { max-width: 620px; }
    .rule-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .deletion-hero { padding-left: 16px; padding-right: 16px; }
    .deletion-flow { border-radius: 20px; min-height: 0; padding: 24px 18px; }
    .rule-grid { grid-template-columns: 1fr; }
    .deletion-rules { padding-left: 16px; padding-right: 16px; }
}
