:root {
  --violet: #6d5bff;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --ink: #14101f;
  --body: #4a4458;
  --muted: #8a86a0;
  --line: #ece9f3;
  --bg: #ffffff;
  --bg-soft: #faf9ff;
  --radius: 18px;
  --maxw: 1080px;
  --grad: linear-gradient(135deg, #6d5bff 0%, #8b5cf6 50%, #ec4899 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; margin: 0; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 19px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--body); font-size: 15px; font-weight: 500; }

/* Hero */
.hero { text-align: center; padding: 88px 0 72px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero img.mark { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 20px 50px rgba(109, 91, 255, 0.28); }
.hero h1 { font-size: clamp(34px, 6vw, 58px); margin: 26px 0 0; }
.hero .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--body); max-width: 620px; margin: 18px auto 0; }
.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.pill { font-size: 13px; font-weight: 600; color: var(--purple); background: #f1ecff; border: 1px solid #e3dbff; padding: 7px 14px; border-radius: 999px; }
.cta-row { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 16px; padding: 14px 26px; border-radius: 14px;
  background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(124, 58, 237, 0.32);
}
.btn:hover { text-decoration: none; opacity: 0.94; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20, 16, 31, 0.07); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; color: var(--body); }

.privacy-band { background: var(--ink); color: #cfc9e0; }
.privacy-band h2 { color: #fff; }
.privacy-band .section-head p { color: #b3adc7; }
.privacy-band .grid { grid-template-columns: repeat(3, 1fr); }
.privacy-band .card { background: #1e1830; border-color: #2a2340; }
.privacy-band .card h3 { color: #fff; }
.privacy-band .card p { color: #b3adc7; }

/* Article (support / privacy) */
.article { padding: 56px 0 80px; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: clamp(30px, 5vw, 44px); }
.article .updated { color: var(--muted); font-size: 14px; margin-top: 8px; }
.article h2 { font-size: 22px; margin: 40px 0 12px; }
.article h3 { font-size: 17px; margin: 26px 0 6px; }
.article p, .article li { font-size: 16px; color: var(--body); }
.article ul { padding-left: 22px; }
.article .faq { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px; margin-top: 22px; }
.article .faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.article .faq details:last-child { border-bottom: none; }
.article .faq summary { font-weight: 600; color: var(--ink); cursor: pointer; font-size: 16px; list-style: none; }
.article .faq summary::-webkit-details-marker { display: none; }
.article .faq summary::after { content: "+"; float: right; color: var(--purple); font-weight: 700; }
.article .faq details[open] summary::after { content: "–"; }
.article .faq p { margin: 12px 0 4px; }
.contact-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 28px; }

/* Footer */
footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 40px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .brand { font-size: 16px; }
footer .links { display: flex; gap: 22px; }
footer .links a, footer small { color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .grid, .privacy-band .grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 52px 0; }
}
