/* Vistune website. Plain CSS, no build step; colours follow the app (src/theme). */
:root {
  --accent: #5e5ce6;
  --accent-soft: rgba(94, 92, 230, 0.12);
  --bg: #f2f2f7;
  --surface: #ffffff;
  --text: #000000;
  --text2: #3c3c43;
  --text3: #8e8e93;
  --line: rgba(60, 60, 67, 0.16);
  --hero: linear-gradient(160deg, #ffffff 0%, #ecebff 100%);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #7d7aff;
    --accent-soft: rgba(125, 122, 255, 0.16);
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #ffffff;
    --text2: #ebebf5;
    --text3: #8e8e93;
    --line: rgba(84, 84, 88, 0.6);
    --hero: linear-gradient(160deg, #1c1c1e 0%, #17162e 100%);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font: 0.88em ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--accent-soft);
  padding: 0.1em 0.35em;
  border-radius: 5px;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--text2); }
.top nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* Landing */
.hero { background: var(--hero); border-bottom: 0.5px solid var(--line); text-align: center; padding: 56px 0 48px; }
.hero .icon { width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 12px 32px rgba(94, 92, 230, 0.28); }
.hero h1 { font-size: clamp(34px, 7vw, 54px); line-height: 1.08; letter-spacing: -0.02em; margin: 24px 0 12px; }
.hero p { color: var(--text2); font-size: 19px; max-width: 600px; margin: 0 auto; }
.cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; background: var(--accent); color: #fff;
  font-weight: 600; padding: 13px 24px; border-radius: 14px; }
.cta:hover { text-decoration: none; filter: brightness(1.08); }
/* Apple's badges, unaltered, with the clear space around them that Apple asks for. */
.badges { display: flex; flex-wrap: wrap; gap: 14px 18px; justify-content: center; align-items: center; margin-top: 28px; }
.badges a { display: inline-flex; line-height: 0; }
.badges a:hover { filter: brightness(1.15); }
.badges img { height: 50px; width: auto; }
.fine, .hero .fine { color: var(--text3); font-size: 14px; margin-top: 12px; }

section { padding: 44px 0 8px; }
h2 { font-size: 28px; letter-spacing: -0.01em; margin: 0 0 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--surface); border-radius: 16px; padding: 20px; border: 0.5px solid var(--line); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text2); font-size: 16px; }
.dot { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft);
  color: var(--accent); font-size: 18px; margin-bottom: 10px; }

section > .fine { margin-top: 14px; }
.lead { color: var(--text2); margin: -6px 0 16px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.plan h3 { font-size: 20px; }
.plan .price { color: var(--text); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 2px; }
.plan .price span { font-size: 16px; font-weight: 500; color: var(--text3); letter-spacing: 0; }
.plan .alt { font-size: 15px; margin-bottom: 4px; }
.plan .alt strong { color: var(--text); }
.plan ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--text2); font-size: 16px; }
.plan li { margin: 4px 0; }
.plan.pro { border: 1.5px solid var(--accent); }

.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch; }
.shots img { flex: 0 0 auto; width: min(240px, 62vw); border-radius: 22px; scroll-snap-align: start;
  border: 0.5px solid var(--line); }

/* Text pages (privacy, support) */
.doc { padding-top: 32px; padding-bottom: 24px; }
.doc h1 { font-size: clamp(30px, 6vw, 40px); letter-spacing: -0.02em; line-height: 1.15; margin: 8px 0 8px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text2); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
details { background: var(--surface); border: 0.5px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--text); list-style-position: outside; }
details[open] summary { margin-bottom: 6px; }
details p, details ul { margin: 8px 0 0; }
.contact { background: var(--surface); border: 0.5px solid var(--line); border-radius: 16px; padding: 20px; margin: 20px 0; }
.contact .cta { margin-top: 10px; }

footer { border-top: 0.5px solid var(--line); margin-top: 48px; padding: 24px 0 40px; color: var(--text3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; gap: 16px; }
footer a { color: var(--text3); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .top nav { gap: 14px; }
  .hero { padding: 40px 0 36px; }
}
