:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --ink: #1c1d1f;
  --muted: #5d6066;
  --line: #e6e3de;
  --brand: #2e2055;
  --accent: #ec57b5;
  --accent-soft: #fce8f5;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-thickness: 2px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand-logo { width: 40px; height: 40px; border-radius: 8px; display: block; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 88px 16px 72px; background: var(--brand); color: #fff; box-shadow: 0 0 0 100vmax var(--brand); clip-path: inset(0 -100vmax); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.hero h1 { color: #fff; font-size: clamp(36px, 7vw, 56px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 16px; }
.hero p { font-size: 19px; color: rgba(255, 255, 255, 0.85); max-width: 34em; margin: 0 0 28px; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 550; font-size: 15px; }
.btn:hover { background: #fff; color: var(--brand); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); margin-left: 8px; }
.btn-ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { color: var(--brand); font-size: 26px; letter-spacing: -0.015em; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 32px; max-width: 40em; }

/* App grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; font-size: 18px; }
.card p { margin: 0; color: var(--muted); flex: 1; }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }
.card a { font-weight: 550; font-size: 15px; text-decoration: none; }
.card a:hover { text-decoration: underline; }

/* About / support */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts span:first-child { color: var(--muted); }
.support-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.support-box .email { color: var(--brand); font-size: 20px; font-weight: 600; word-break: break-all; }
.support-box p { margin: 8px 0 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--brand); border-top: 1px solid var(--brand); padding: 32px 0 48px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.site-footer p { margin: 4px 0; }

/* Legal pages */
.legal { padding: 56px 0 72px; max-width: 720px; }
.legal h1 { color: var(--brand); font-size: clamp(30px, 5vw, 40px); letter-spacing: -0.02em; margin: 0 0 8px; }
.legal .meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal h2 { color: var(--brand); font-size: 20px; margin: 36px 0 8px; }
.legal p, .legal li { color: #34363a; }
.legal ul { padding-left: 20px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 8px; font-size: 15px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.ph { background: #fff4d6; color: #7a5a00; padding: 1px 6px; border-radius: 4px; font-size: 13px; font-weight: 600; }
.back { display: inline-block; margin-bottom: 24px; font-size: 14px; text-decoration: none; }

@media (max-width: 680px) {
  .nav { display: none; }
  .hero { padding: 56px 0 48px; }
  .grid, .two-col { grid-template-columns: 1fr; }
  .btn-ghost { margin: 10px 0 0; }
}

/* Products grid and contact rows */
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-3 { grid-template-columns: 1fr; } }
.contact-row { align-items: center; }
.contact-row .reveal a { font-weight: 600; word-break: break-all; }
.reveal-btn { font: inherit; font-size: 14px; color: var(--brand); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; cursor: pointer; }
.reveal-btn:hover { color: var(--accent); border-color: var(--accent); }
