:root {
  --bg: #0a0a0a;
  --surface: #161616;
  --border: #1f1f1f;
  --text: #ffffff;
  --muted: #8a8a8e;
  --accent: #ff4d67;
  --radius: 16px;
  --max: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.4px; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; margin-left: 20px; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 80px 0 48px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.05; }
.hero p { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 540px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); background: rgba(255, 77, 103, 0.12); padding: 6px 12px; border-radius: 100px; margin-bottom: 24px; }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 16px 0 80px; }
.card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.card p { color: var(--muted); font-size: 14px; }
.card .arrow { color: var(--accent); font-weight: 700; margin-top: 14px; display: inline-block; }

/* Legal document pages */
.doc { padding: 56px 0 96px; }
.doc .badge { margin-bottom: 16px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.doc .updated { color: var(--muted); font-size: 14px; margin-top: 12px; }
.doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; margin: 40px 0 12px; }
.doc h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.doc p, .doc li { color: #d8d8da; font-size: 16px; }
.doc p { margin: 12px 0; }
.doc ul, .doc ol { margin: 12px 0 12px 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.callout {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 16px 20px; margin: 24px 0; color: #d8d8da; font-size: 15px;
}
.back { display: inline-block; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 28px; }
.back:hover { color: var(--text); text-decoration: none; }

/* Deletion request form */
.del-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 20px 0; }
.del-form label { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin: 16px 0 7px; }
.del-form label:first-child { margin-top: 0; }
.del-form input, .del-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; color: var(--text); font-size: 16px; font-family: inherit; outline: none; }
.del-form input:focus, .del-form textarea:focus { border-color: var(--accent); }
.del-form textarea { resize: vertical; }
.del-form button { margin-top: 22px; width: 100%; background: var(--accent); color: #fff; border: none; border-radius: 12px; padding: 16px; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; transition: opacity 0.2s; }
.del-form button:hover { opacity: 0.92; }
.del-form button:disabled { opacity: 0.5; cursor: default; }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.form-msg.ok { color: var(--success, #32d74b); }
.form-msg.err { color: #ff453a; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.site-footer p { color: var(--muted); font-size: 13px; }
.site-footer .links a { color: var(--muted); font-size: 13px; margin-left: 18px; }
.site-footer .links a:first-child { margin-left: 0; }
.site-footer .links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 600px) {
  .nav a { margin-left: 14px; }
  .hero { padding: 56px 0 32px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .site-footer .links a:first-child { margin-left: 0; }
}
