@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

:root { color-scheme: dark; --ink: #f8fafc; --muted: #aeb9c8; --surface: #111d2e; --line: rgba(255,255,255,.1); --accent: #ff6247; --green: #49d69a; --amber: #ffca67; --red: #ff7e73; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #08111f; color: var(--ink); font-family: 'DM Sans', sans-serif; }
body { background-image: radial-gradient(circle at 75% -20%, rgba(42,118,156,.35), transparent 35rem), linear-gradient(180deg, #08111f, #0b1524 70%); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.shell { max-width: 1180px; margin: 0 auto; padding: 72px 24px 90px; }
.hero { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; margin-bottom: 52px; }
.hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.9rem, 7vw, 5.8rem); line-height: .94; letter-spacing: -.06em; max-width: 850px; margin: 8px 0 24px; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 8px; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 670px; line-height: 1.65; }
.service-mark { color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; display: flex; gap: 9px; align-items: center; font-size: .8rem; }
.service-mark span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(73,214,154,.12); }
.subscription-strip { display: flex; gap: 12px; align-items: center; margin: -24px 0 28px; padding: 13px 16px; border: 1px solid rgba(73,214,154,.25); border-radius: 13px; background: rgba(73,214,154,.07); color: var(--muted); font-size: .86rem; }
.subscription-strip strong { color: var(--green); white-space: nowrap; }
.subscription-strip.payment-required { border-color: rgba(255,126,115,.35); background: rgba(255,126,115,.08); }
.subscription-strip.payment-required strong { color: var(--red); }
.consent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.panel { background: linear-gradient(145deg, rgba(22,36,55,.96), rgba(14,26,43,.96)); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: 0 24px 80px rgba(0,0,0,.18); }
.panel h2 { font-family: 'Space Grotesk', sans-serif; margin: 0 0 20px; font-size: 1.55rem; letter-spacing: -.03em; }
.consent-card { border-top: 3px solid var(--green); }
.consent-card.disabled { border-top-color: var(--red); }
.consent-card.pending { border-top-color: var(--amber); }
.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.status-pill { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 6px 9px; color: var(--muted); font-size: .72rem; white-space: nowrap; }
.phone { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; margin: 30px 0; }
.enabled-copy, .fine-print, .empty { color: var(--muted); line-height: 1.6; }
.fine-print { font-size: .8rem; }
.stop-notice, .pending-notice { display: grid; gap: 7px; border-radius: 14px; padding: 18px; margin-bottom: 20px; background: rgba(255,126,115,.1); color: #ffd3cf; }
.pending-notice { background: rgba(255,202,103,.1); color: #ffe7b5; }
.stop-notice small { color: var(--muted); }
form { display: grid; gap: 16px; }
.checkbox-label { display: flex; align-items: start; gap: 10px; }
.checkbox-label input { width: auto; margin-top: 3px; }
a.primary, a.secondary { display: inline-block; text-decoration: none; margin: 8px 8px 16px 0; }
label { display: grid; gap: 7px; color: var(--muted); font-size: .82rem; font-weight: 600; }
input, textarea, select { width: 100%; color: var(--ink); background: rgba(5,12,22,.55); border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; outline: none; }
input:focus, textarea:focus, select:focus, button:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,98,71,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.primary, .secondary, .quiet { border-radius: 11px; border: 0; padding: 12px 16px; font-weight: 700; }
.primary { background: var(--accent); color: #101522; }
.primary:disabled { opacity: .45; cursor: not-allowed; }
.secondary, .quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.quiet { padding: 8px 12px; }
.result { color: var(--amber); line-height: 1.5; }
.danger { border-color: rgba(255,126,115,.5); }
.history { margin-top: 22px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.validation-message { color: var(--red); }
.invalid { border-color: var(--red); }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } .service-mark { width: max-content; } .consent-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .shell { padding-top: 44px; } .panel { padding: 22px; } .form-row { grid-template-columns: 1fr; } .section-heading { display: block; } .status-pill { margin-bottom: 12px; } }
