:root {
  --purple: #6c4cf5;
  --purple-ink: #4f33d6;
  --purple-soft: #efebff;
  --teal: #3ccfc0;
  --orange: #ff8a1f;
  --lime: #c9f04a;
  --ink: #141414;
  --muted: #5d5d66;
  --line: #e7e7ea;
  --bg: #ffffff;
  --tile: #f6f5fb;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

/* Header */
.header { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.header nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.header nav a { text-decoration: none; color: var(--muted); }
.header nav a:hover, .header nav a[aria-current] { color: var(--purple-ink); }

/* Hero */
.hero-band { background: linear-gradient(180deg, var(--purple-soft) 0%, #fff 100%); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 36px 0 72px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--purple-ink); }
h1 { font-size: clamp(38px, 5.2vw, 60px); letter-spacing: -1.5px; font-weight: 850; }
.accent { color: var(--purple); }
.lead { font-size: 18px; color: var(--muted); max-width: 31em; margin: 20px 0 28px; }
.download { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.store-badge { display: inline-block; border-radius: 9px; }
.store-badge img { height: 50px; width: auto; }
.store-badge:hover { opacity: .85; }
.note { margin: 24px 0 0; font-size: 14px; color: var(--muted); max-width: 32em; padding-left: 12px; border-left: 3px solid var(--orange); }

.hero-shots { position: relative; height: 560px; }
.hero-shots::before { content: ""; position: absolute; inset: 60px 0 20px 10%; background: var(--teal); border-radius: 48% 52% 44% 56%; opacity: .35; z-index: 0; }
.shot { position: absolute; margin: 0; width: 250px; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 50px rgba(79, 51, 214, .22); background: #fff; }
.shot-front { left: 6%; top: 30px; z-index: 2; }
.shot-back { right: 4%; top: 0; transform: rotate(4deg); }

/* Features */
.features { background: var(--tile); padding: 72px 0; }
h2 { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -0.8px; font-weight: 850; }
.section-lead { color: var(--muted); font-size: 17px; margin: 12px 0 0; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card img { width: 112px; height: 112px; object-fit: contain; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
.pro { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .8px; color: var(--purple-ink); background: var(--purple-soft); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }

/* Gallery */
.gallery { padding: 72px 0; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 32px; }
.strip img { border-radius: 18px; border: 1px solid var(--line); }

/* Plans */
.plans { padding: 0 0 72px; }
.plan-box { background: var(--purple-soft); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.plan-box h3 { font-size: 18px; margin-bottom: 8px; }
.plan-box ul { margin: 0; padding-left: 20px; color: var(--muted); }
.plan-box li { margin-bottom: 4px; }
.fine { font-size: 13px; color: var(--muted); margin: 18px 0 0; max-width: 60em; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: #fff; padding: 32px 0 40px; }
.footer-inner { display: grid; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 600; margin: 4px 0; }
.legal-links a { text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }
.small { margin: 0; font-size: 13px; color: var(--muted); max-width: 60em; }

/* Legal and support pages */
.doc { width: min(780px, 100% - 40px); margin-inline: auto; padding: 40px 0 80px; }
.doc .back { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.doc .back:hover { color: var(--purple-ink); }
.doc h1 { font-size: clamp(34px, 5vw, 50px); letter-spacing: -1.4px; margin: 22px 0 12px; }
.doc .meta { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.doc h2 { font-size: 21px; letter-spacing: -.3px; line-height: 1.35; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 16px; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.75; color: #33333a; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc a:not(.back) { color: var(--purple-ink); text-underline-offset: 3px; }
.summary { background: var(--purple-soft); border-radius: 16px; padding: 22px 24px 8px; margin: 26px 0 8px; }
.summary h2 { border: 0; padding: 0; margin: 0 0 10px; font-size: 18px; }
.table-wrap { overflow-x: auto; margin: 6px 0 18px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.doc th { font-size: 12px; letter-spacing: .8px; text-transform: uppercase; background: var(--tile); }
.contact-card { background: var(--tile); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin: 20px 0; }
.contact-card p { margin: 0 0 6px; }
.contact-card .contact-line { font-size: 20px; font-weight: 800; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq details p { margin: 10px 0 0; }

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip img:nth-child(n+4) { display: none; }
  .hero { gap: 24px; }
  .shot { width: 210px; }
  .hero-shots { height: 480px; }
}

@media (max-width: 700px) {
  .header nav { gap: 14px; font-size: 14px; }
  .header nav .hide-sm { display: none; }
  .hero { grid-template-columns: 1fr; padding: 16px 0 48px; }
  .lead { font-size: 17px; }
  .hero-shots { height: 430px; max-width: 360px; width: 100%; margin: 12px auto 0; }
  .shot { width: 180px; border-radius: 20px; }
  .shot-front { left: 0; top: 24px; }
  .shot-back { right: 0; }
  .features, .gallery { padding: 52px 0; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip img:nth-child(n+3) { display: none; }
  .plan-box { grid-template-columns: 1fr; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
