:root {
  --bg: #ffffff;
  --bg-soft: #faf5ff;
  --accent-soft: #f3e8ff;
  --orchid: #9333ea;
  --fuchsia: #c026d3;
  --ink-1: #0f0a1a;
  --ink-2: #4b3b66;
  --ink-3: #6b5b85;
  --hairline: rgba(147, 51, 234, 0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-1);
  background: var(--bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--orchid);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(480px circle at 88% 6%, rgba(192, 38, 211, 0.12), transparent 60%),
    radial-gradient(420px circle at 8% 18%, rgba(147, 51, 234, 0.10), transparent 60%),
    var(--bg);
}

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

/* ---------- Hero / one-page layout ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
}

.hero-copy h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  background: linear-gradient(135deg, var(--orchid), var(--fuchsia));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .subhead {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 460px;
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.store-badges a {
  display: inline-block;
  line-height: 0;
}

.store-badges img {
  height: 48px;
  width: auto;
}

.support-line {
  font-size: 13px;
  color: var(--ink-3);
}

.support-line a {
  color: var(--ink-2);
  font-weight: 600;
}

.hero-previews {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  position: relative;
}

.preview-shot {
  width: 46%;
  max-width: 230px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(147, 51, 234, 0.35), 0 1px 0 rgba(147, 51, 234, 0.08);
  border: 1px solid var(--hairline);
  background: var(--bg-soft);
}

.preview-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-shot.front {
  transform: translateY(-12px) rotate(-2deg);
  z-index: 2;
}

.preview-shot.back {
  transform: translateY(12px) rotate(3deg);
  z-index: 1;
}

footer.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-3);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-2);
  font-weight: 600;
}

/* ---------- Legal / support pages ---------- */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-page .back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 14px;
}

.legal-page h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
}

.legal-page .updated {
  color: var(--ink-3);
  font-size: 13px;
  margin: 0 0 32px;
}

.legal-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 8px;
}

.legal-page p,
.legal-page li {
  color: var(--ink-2);
  font-size: 15px;
}

.legal-page a.mail {
  font-weight: 700;
}

.support-actions {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

.support-actions a.button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orchid), var(--fuchsia));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.support-actions a.button:hover {
  text-decoration: none;
  opacity: 0.92;
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-previews {
    margin-top: 8px;
  }

  .hero-copy .subhead {
    max-width: none;
  }

  footer.site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
