/* Shared styles for the delete-account, privacy and terms pages.
   Tokens mirror index.html ("Volt on graphite"); keep them in sync. */
:root {
  --bg: #0E0F11;
  --surface: #1C1C1E;
  --surface-2: #26272B;
  --line: #34363B;
  --text: #F4F5F2;
  --muted: #A3A6AD;
  --lime: #C9F24C;
  --lime-press: #AFDC2D;
  --on-lime: #0E0F11;
  --danger: #FF7A6B;

  --font-display: "Fredoka", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-control: 14px; --r-card: 20px; --r-pill: 999px;
  --dur-fast: 150ms; --ease-out: cubic-bezier(.2,.8,.2,1);
  --nav-h: 72px;
  --page: 1100px;
}
.narrow { --page: 720px; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.wrap { width: min(100% - 48px, 1200px); margin-inline: auto; }

/* ---------- Nav (same as index.html) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(14,15,17,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; flex: none; }
.logo-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; white-space: nowrap; border-radius: var(--r-pill); transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface); }
@media (hover: hover) { .nav-links a:hover { color: var(--text); background: var(--surface); } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--lime); color: var(--on-lime); }
@media (hover: hover) { .btn-primary:hover { background: var(--lime-press); } }
@media (max-width: 719px) { .nav .btn { display: none; } .nav .wrap { gap: 8px; } .logo { font-size: 22px; } .nav-links a { padding: 0 8px; font-size: 14px; } }
@media (max-width: 419px) { .nav .logo { font-size: 0; gap: 0; } } /* mark only; aria-label still names it */

/* ---------- Page hero ---------- */
.hero, .content-wrap, .cta-card, .warning-card, .section, .form-card, .info-grid, .success-screen { width: min(100% - 48px, var(--page)); margin-inline: auto; }
.hero { display: grid; gap: 24px; justify-items: start; padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 64px); }
.hero h1 { font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -.025em; }
.hero h1 span { display: block; color: var(--lime); }
.hero p, .hero-sub { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; }
.hero p strong { color: var(--text); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.badge, .hero-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge-green, .badge-yellow { background: rgba(201,242,76,.12); color: var(--lime); }
.badge-muted { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.hero-tag { background: rgba(255,122,107,.12); color: var(--danger); }

/* ---------- Legal pages ---------- */
.content-wrap { display: grid; gap: 48px; align-items: start; padding-bottom: 64px; }
@media (min-width: 900px) { .content-wrap { grid-template-columns: 240px minmax(0, 1fr); } .toc { position: sticky; top: calc(var(--nav-h) + 24px); } }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.toc-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc-list { list-style: none; display: grid; }
.toc-list a { display: block; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
@media (hover: hover) { .toc-list a:hover { color: var(--lime); } }
article { min-width: 0; }
.policy-section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.policy-section:last-child { border-bottom: 0; margin-bottom: 0; }
.section-number { font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--lime); margin-bottom: 12px; }
.policy-section h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 16px; }
.policy-section h3 { font-family: var(--font-body); font-size: 19px; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin: 32px 0 12px; }
.policy-section p { color: var(--muted); margin-bottom: 16px; max-width: 72ch; }
.policy-section strong { color: var(--text); }
.policy-section ul { list-style: none; display: grid; gap: 8px; margin-bottom: 16px; }
.policy-section ul li { padding: 14px 18px; border-radius: var(--r-control); background: var(--surface); color: var(--muted); font-size: 16px; }
.highlight-box { margin-top: 16px; padding: 18px 20px; border-radius: var(--r-control); background: rgba(201,242,76,.08); border: 1px solid rgba(201,242,76,.25); }
.highlight-box.red { background: rgba(255,122,107,.08); border-color: rgba(255,122,107,.3); }
.highlight-box p { margin: 0; color: var(--text); }
a.inline-link { color: var(--lime); text-underline-offset: 3px; }

.cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 64px; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.cta-card > div { flex: 1 1 320px; display: grid; gap: 8px; }
.cta-card h3 { font-size: clamp(26px, 2.6vw, 34px); }
.cta-card p { color: var(--muted); }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 1.5px solid var(--danger); color: var(--danger); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
@media (hover: hover) { .cta-btn:hover { background: var(--danger); color: var(--bg); } }

/* ---------- Delete account ---------- */
.warning-card { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 40px; padding: 20px 24px; border-radius: var(--r-card); background: rgba(255,122,107,.08); border: 1px solid rgba(255,122,107,.3); }
.warning-card .icon { font-size: 20px; flex: none; }
.warning-card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--danger); margin-bottom: 4px; }
.warning-card p { color: var(--muted); font-size: 15px; }
.warning-card p strong { color: var(--text); }
.section { margin-bottom: 40px; }
.section-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.delete-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 480px) { .delete-list, .info-grid { grid-template-columns: 1fr; } }
.delete-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-control); background: var(--surface); font-size: 15px; font-weight: 600; }
.delete-item .di { font-size: 18px; }

.form-card { margin-bottom: 40px; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.form-card > h2 { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.field { display: grid; gap: 6px; margin-bottom: 20px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field label > span { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 0 16px; border-radius: var(--r-control); background: var(--surface-2); border: 2px solid transparent; font-size: 17px; outline: none; transition: border-color var(--dur-fast) var(--ease-out); }
.field textarea { min-height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); }
.field-hint { color: var(--muted); font-size: 14px; }
.field ::placeholder { color: var(--muted); opacity: .7; }
.field select { appearance: none; cursor: pointer; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A3A6AD' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.method-group { display: flex; flex-wrap: wrap; gap: 8px; }
.method-btn { flex: 1 1 160px; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: none; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
@media (hover: hover) { .method-btn:not(.active):hover { border-color: var(--text); } }
.method-btn.active { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.mb-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.method-btn.active .mb-dot { background: currentColor; }
.confirm-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; padding: 16px 18px; border-radius: var(--r-control); background: rgba(255,122,107,.06); border: 1px solid rgba(255,122,107,.25); cursor: pointer; }
.confirm-row input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--danger); cursor: pointer; }
.confirm-row p { color: var(--muted); font-size: 15px; }
.confirm-row p strong { color: var(--text); }
.submit-btn { width: 100%; min-height: 56px; border: 0; border-radius: var(--r-pill); background: var(--danger); color: var(--bg); font-size: 17px; font-weight: 700; cursor: pointer; transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.submit-btn:active:not(:disabled) { transform: scale(.98); }
.submit-btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-inner { display: flex; align-items: center; justify-content: center; gap: 8px; }
.error-banner { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--r-control); background: rgba(255,122,107,.1); border: 1px solid rgba(255,122,107,.35); color: var(--danger); font-size: 15px; }
.error-banner.visible { display: block; }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 64px; }
.info-card { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.info-card .ic-icon { font-size: 22px; }
.info-card h4 { font-size: 17px; font-weight: 700; }
.info-card p { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }

.success-screen { display: none; margin-bottom: 40px; padding: 48px 32px; border-radius: 28px; background: var(--surface); border: 1px solid rgba(201,242,76,.3); text-align: center; }
.success-screen.visible { display: block; }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-size: 32px; font-weight: 700; }
.success-screen h2 { font-size: 40px; margin-bottom: 12px; }
.success-screen p { color: var(--muted); max-width: 400px; margin: 0 auto 24px; }
.ticket { display: inline-block; padding: 6px 14px; border-radius: 8px; background: rgba(201,242,76,.08); border: 1px solid rgba(201,242,76,.25); color: var(--lime); font-family: ui-monospace, monospace; font-size: 13px; letter-spacing: .05em; }

/* ---------- Footer (same as index.html) ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 48px; color: var(--muted); font-size: 15px; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.footer ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; }
.footer .logo { color: var(--text); }
@media (hover: hover) { .footer ul a:hover { color: var(--text); text-decoration: underline; } }

/* ---------- Motion ---------- */
.fade-up { animation: fadeUp .5s var(--ease-out) both; }
.fade-up:nth-of-type(2) { animation-delay: .05s; }
.fade-up:nth-of-type(3) { animation-delay: .1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
