:root {
  --bg-top: #161023;
  --bg-bottom: #0e0a17;
  --surface: #211b33;
  --surface-2: #2c2442;
  --text: #f6f2ff;
  --text-dim: #9d95b8;
  --pink: #ff4fa3;
  --purple: #a855f7;
  --good: #34d399;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 22px;
  --maxw: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 70% -10%, #271a3d 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(var(--maxw), 92vw); margin: 0 auto; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(14, 10, 23, 0.6);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--text); }
.brand span { font-size: 1.3rem; }
nav a { color: var(--text-dim); font-weight: 600; font-size: 0.95rem; margin-left: 1.4rem; }
nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: clamp(3rem, 9vw, 6.5rem) 0 3rem; }
.hero .paw { font-size: clamp(3rem, 10vw, 4.5rem); }
.mascot { width: clamp(90px, 20vw, 130px); image-rendering: pixelated; }
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.1; letter-spacing: -0.02em; margin: 0.6rem 0 0.4rem;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { font-size: clamp(1.05rem, 2.6vw, 1.35rem); color: var(--text-dim); max-width: 30ch; margin: 0 auto 1.6rem; }

.cta { display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  color: #fff; font-weight: 700; padding: 0.85rem 1.6rem; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(255, 79, 163, 0.3); }
.cta:hover { text-decoration: none; filter: brightness(1.05); }
.cta.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.note { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.9rem; }

/* Sections */
section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.lead { color: var(--text-dim); max-width: 60ch; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 1.8rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.card .ic { display: flex; align-items: center; }
.card .ic svg { width: 2rem; height: 2rem; color: var(--pink); }
.card h3 { margin: 0.5rem 0 0.3rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--text-dim); font-size: 0.97rem; }

.banner {
  background: linear-gradient(135deg, rgba(255,79,163,0.12), rgba(168,85,247,0.12));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.4rem); margin-top: 1rem;
}
.banner h2 { margin-top: 0; }
.pill { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--good);
  background: rgba(52, 211, 153, 0.14); border-radius: 999px; padding: 0.25rem 0.7rem; margin-bottom: 0.8rem; }

.how-it-works { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-direction: column; gap: 1rem; }
.how-it-works li { color: var(--text-dim); padding-left: 1.4rem; position: relative; font-size: 0.97rem; }
.how-it-works li::before { content: "→"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.how-it-works li strong { color: var(--text); }

/* Article (privacy/support) */
.article { padding: clamp(2.5rem, 7vw, 4rem) 0 2rem; }
.article h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 0.3rem; }
.article h2 { margin-top: 2rem; font-size: 1.25rem; }
.article p, .article li { color: #d9d2ee; }
.article .updated { color: var(--text-dim); font-size: 0.9rem; }
.article ul { padding-left: 1.2rem; }

/* Mobile header */
@media (max-width: 600px) {
  header .wrap { height: auto; padding: 0.7rem 0; flex-wrap: wrap; gap: 0.3rem 0; }
  .brand { font-size: 1.1rem; }
  nav { width: 100%; border-top: 1px solid var(--line); padding-top: 0.5rem; }
  nav a { margin-left: 0; margin-right: 1.2rem; font-size: 0.85rem; }
}

/* Footer */
footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--text-dim); font-size: 0.92rem; margin-top: 2rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
footer a { color: var(--text-dim); font-weight: 600; }
footer a:hover { color: var(--text); }
footer .links a { margin-left: 1.4rem; }
footer .links a:first-child { margin-left: 0; }
