/* SolveSnap — solve-snap.com
   Brand: violet #6C4DF6 → blue #00A8FF. Static, dependency-free (one web font). */

:root {
  --violet: #6C4DF6;
  --blue: #00A8FF;
  --grad: linear-gradient(135deg, #6C4DF6 0%, #00A8FF 100%);
  --ink: #12131A;
  --ink-2: #5E6172;
  --ink-3: #9A9DB0;
  --bg: #F6F7FC;
  --surface: #FFFFFF;
  --surface-2: #FBFBFF;
  --line: #E7E8F0;
  --soft: #EDE9FF;
  --success: #18A957;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw: 1120px;
  --shadow: 0 8px 28px rgba(20, 19, 40, 0.07);
  --shadow-lg: 0 30px 70px rgba(76, 61, 150, 0.20);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F4F5FA;
    --ink-2: #A6A9BC;
    --ink-3: #71748A;
    --bg: #0A0A11;
    --surface: #15151F;
    --surface-2: #191924;
    --line: #2A2A38;
    --soft: #211D38;
    --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--violet); margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: inline-flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(76, 61, 150, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(76, 61, 150, 0.34); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Store buttons ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 11px 18px;
  position: relative; transition: transform .15s ease, opacity .15s ease;
}
@media (prefers-color-scheme: dark) { .store-btn { background: #fff; color: #0A0A11; } }
.store-btn:hover { text-decoration: none; transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .s-sub { font-size: 11px; line-height: 1.1; opacity: 0.75; }
.store-btn .s-main { font-size: 18px; font-weight: 600; line-height: 1.15; }
.store-btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.store-btn .soon {
  position: absolute; top: -9px; right: -8px; background: var(--violet); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero { padding: 70px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.07; letter-spacing: -0.02em; font-weight: 800; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-2); margin: 22px 0 30px; max-width: 33ch; }
.hero .store-row { margin-bottom: 16px; }
.hero .micro { font-size: 14px; color: var(--ink-3); }

/* trust badges */
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust span {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 999px;
}
.trust span svg { width: 16px; height: 16px; color: var(--success); }

/* ---------- Hero app screenshot ---------- */
.hero-shot {
  display: block; width: 100%; height: auto; max-width: 280px; margin: 0 auto;
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
/* Offset in-page anchor jumps so targets aren't hidden behind the sticky header. */
section[id], #download { scroll-margin-top: 92px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; font-weight: 800; line-height: 1.12; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 1.1rem; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .chip {
  width: 50px; height: 50px; border-radius: 14px; background: var(--soft);
  display: flex; align-items: center; justify-content: center; color: var(--violet); margin-bottom: 18px;
}
.feature .chip svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 0.98rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step .num {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 10px 22px rgba(76, 61, 150, 0.28);
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 0.98rem; max-width: 30ch; margin: 0 auto; }

/* languages */
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; margin: 0 auto; }
.langs span {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--ink-2);
}

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; margin: 0 auto; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
}
.price-card.featured { border: 2px solid var(--violet); position: relative; box-shadow: var(--shadow-lg); }
.price-card.featured .ribbon {
  position: absolute; top: -13px; left: 32px; background: var(--grad); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.3rem; }
.price-card .price { font-size: 2.4rem; font-weight: 800; margin: 8px 0 4px; }
.price-card .price small { font-size: 1rem; font-weight: 500; color: var(--ink-3); }
.price-card ul { list-style: none; margin: 20px 0 0; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--ink-2); font-size: 0.97rem; }
.price-card li svg { width: 19px; height: 19px; color: var(--success); flex: none; margin-top: 2px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 16px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--ink-3); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 18px; font-size: 0.99rem; }

/* CTA band */
.cta-band { background: var(--grad); border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; color: #fff; }
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { opacity: 0.92; margin: 14px auto 28px; max-width: 46ch; font-size: 1.1rem; }
.cta-band .store-row { justify-content: center; }
.cta-band .store-btn { background: #fff; color: var(--ink); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 54px 0 40px; margin-top: 40px; }
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.foot-brand { max-width: 300px; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { color: var(--ink-3); font-size: 0.92rem; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--ink-2); font-size: 0.95rem; padding: 5px 0; }
.foot-col a:hover { color: var(--violet); text-decoration: none; }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Legal / prose pages ---------- */
.page-hero { padding: 60px 0 20px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; }
.page-hero .updated { color: var(--ink-3); margin-top: 10px; font-size: 0.95rem; }
.prose { max-width: 760px; margin: 0 auto; padding-bottom: 60px; }
.prose h2 { font-size: 1.4rem; font-weight: 700; margin: 38px 0 12px; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.12rem; font-weight: 600; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--ink); }
.prose .note {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 20px; margin: 20px 0; font-size: 0.95rem; color: var(--ink-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 44px 0 10px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .store-row, .trust { justify-content: center; }
  .hero-visual { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .nav { height: 60px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .nav-cta { padding: 9px 15px; font-size: 14px; }
  .features, .steps, .pricing { grid-template-columns: 1fr; }
  .hero-shot { max-width: 215px; }
  .cta-band { padding: 40px 22px; }
  .foot-cols { gap: 36px; }
}
@media (max-width: 360px) {
  .nav-cta { display: none; }
}
