/* Snapfind site. No third-party fonts, scripts or trackers (the privacy policy promises this). */
:root {
  --bg: #fbfbfd;
  --bg-alt: #f1f3f8;
  --surface: #ffffff;
  --text: #16171b;
  --muted: #595d6e;
  --line: #e1e4ec;
  --accent: #2155d6;
  --accent-soft: #e7eeff;
  --accent-ink: #ffffff;
  --mark: #ffd666;
  --mark-ink: #16171b;
  --shadow: 0 30px 80px -30px rgba(22, 40, 90, .35);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1160px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1013;
    --bg-alt: #15171c;
    --surface: #1a1c22;
    --text: #ececf1;
    --muted: #a4a8b8;
    --line: #2a2d35;
    --accent: #6b95ff;
    --accent-soft: #1b2440;
    --accent-ink: #0b0c10;
    --mark: #8a6d12;
    --mark-ink: #fff7df;
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, label:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
mark { background: var(--mark); color: var(--mark-ink); padding: 0 .15em; border-radius: 3px; }
kbd { font: 600 .88em/1 -apple-system, sans-serif; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 3px 7px; background: var(--surface); color: var(--text); white-space: nowrap; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; z-index: 30; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; padding: 8px 0; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: grid; }
.menu nav a { color: var(--text); text-decoration: none; padding: 12px 14px; border-radius: 8px; }
.menu nav a:hover { background: var(--bg-alt); }
@media (max-width: 860px) {
  .site-header .nav, .site-header .header-cta { display: none; }
  .menu { display: block; }
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  padding: 12px 22px; border-radius: 12px; min-height: 48px; border: 1px solid transparent;
  transition: transform .2s cubic-bezier(.16,1,.3,1), filter .2s;
}
.button:hover { filter: brightness(1.08); }
.button:active { transform: translateY(1px) scale(.99); }
.button.secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.button.small { min-height: 40px; padding: 8px 16px; font-size: 15px; border-radius: 10px; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; padding: 10px 0; }
.arrow-link::after { content: "\2192"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(3px); }

/* Hero */
.hero { padding-block: 72px 0; }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; max-width: 13ch; font-weight: 750; }
.hero .lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 34em; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.page-hero { padding-block: 72px 40px; }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; max-width: 18ch; }
.page-hero .lede { font-size: 19px; color: var(--muted); max-width: 38em; margin: 0; }

/* Product window */
.window { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #1e1e1e; box-shadow: var(--shadow); }
.window-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; background: #2b2b2e; color: #d6d6db; font-size: 14px; }
.dots { display: flex; gap: 7px; flex: none; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.query { flex: 1; max-width: 440px; background: #3a3a3d; border-radius: 8px; padding: 6px 12px; color: #f2f2f5; display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; }
.query svg { width: 14px; height: 14px; color: #9a9aa2; flex: none; }
.typed { display: inline-block; overflow: hidden; border-right: 2px solid #6b95ff; padding-right: 2px; }
.hero-shot { margin: 64px 0 0; position: relative; }
.hero-shot::before { content: ""; position: absolute; inset: 12% 0 -10%; background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%); z-index: -1; filter: blur(30px); }
.caption { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Sections */
section { padding: 96px 0; }
section.tint { background: var(--bg-alt); border-block: 1px solid var(--line); }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 16px; max-width: 20ch; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.01em; }
.section-lede { color: var(--muted); max-width: 40em; margin: 0 0 44px; font-size: 18px; }
p { margin: 0 0 1em; }

/* Search marquee */
.marquee { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); background: var(--bg-alt); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; width: max-content; }
.marquee li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 18px 8px 14px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.marquee li svg { width: 14px; height: 14px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent); font-weight: 750; }
.steps p { color: var(--muted); margin: 0; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cell { border-radius: 20px; border: 1px solid var(--line); background: var(--surface); padding: 28px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.cell p { color: var(--muted); margin: 0; }
.cell.span-4 { grid-column: span 4; }
.cell.span-3 { grid-column: span 3; }
.cell.span-2 { grid-column: span 2; }
.cell .media { margin: 24px -28px -28px; border-top: 1px solid var(--line); }
.cell .media img { width: 100%; }
.cell.accent { background: linear-gradient(160deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #0b1b4d)); color: #fff; border-color: transparent; }
.cell.accent p, .cell.accent li { color: rgba(255,255,255,.86); }
.cell.dark { background: #16171b; color: #ececf1; border-color: #26282f; }
.cell.dark p { color: #a4a8b8; }
.keys { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }
.keys kbd { font-size: 22px; padding: 12px 16px; border-radius: 12px; background: #23252c; color: #fff; border-color: #3a3d46; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); opacity: .9; }
.icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.cell.accent .icon { color: #fff; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .window { border-radius: 14px; }
.shot-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #1e1e1e; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.feature-list svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.feature-list strong { display: block; }
.feature-list span { color: var(--muted); }

/* Feature grid (features page) */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tile { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tile p { color: var(--muted); margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 14px 20px; vertical-align: top; }
thead th { font-size: 14px; color: var(--muted); font-weight: 600; background: var(--bg-alt); }
tbody tr + tr td { border-top: 1px solid var(--line); }
td:first-child { white-space: nowrap; }

/* Pricing */
.billing { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); margin-bottom: 36px; }
input[name="billing"] { position: absolute; opacity: 0; pointer-events: none; }
.billing label { padding: 9px 18px; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--muted); min-height: 40px; display: flex; align-items: center; gap: 8px; }
.billing label small { font-weight: 600; font-size: 12px; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 99px; }
#bill-m:checked ~ .billing label[for="bill-m"], #bill-y:checked ~ .billing label[for="bill-y"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.price-y { display: none; }
#bill-y:checked ~ .plans .price-y { display: block; }
#bill-y:checked ~ .plans .price-m { display: none; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: var(--surface); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.badge { font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 99px; letter-spacing: .01em; }
.price { font-size: 48px; font-weight: 750; letter-spacing: -.03em; line-height: 1; margin: 18px 0 4px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-note { color: var(--muted); font-size: 14px; margin: 0 0 24px; min-height: 1.6em; }
.plan .ticks { margin: 0 0 32px; }
.plan .ticks li::before { color: var(--accent); }
.plan .button { margin-top: auto; width: 100%; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: -4px 0 20px; max-width: 46em; }
.faq h2 { font-size: 24px; margin: 48px 0 4px; }
.faq h2:first-child { margin-top: 0; }

/* Prose (help, legal) */
.prose { max-width: 760px; padding-block: 8px 96px; }
.prose h2 { font-size: 26px; margin: 48px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; text-decoration: none; color: var(--text); font-size: 15px; background: var(--surface); }

/* CTA band */
.cta-band { text-align: left; }
.cta-card { border-radius: 28px; padding: 64px; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 55%, #0b1b4d), #0e1a3d 70%); color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-card h2 { color: #fff; margin: 0 0 10px; }
.cta-card p { color: rgba(255,255,255,.8); margin: 0; max-width: 32em; }
.cta-card .button { background: #fff; color: #0e1a3d; }
.cta-card .button.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }

/* Notice (download / early access) */
.notice { border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 32px; max-width: 760px; }
.notice h2 { font-size: 26px; }
.store-soon { display: inline-flex; align-items: center; gap: 12px; border-radius: 12px; padding: 10px 18px; background: #16171b; color: #fff; min-height: 56px; }
.store-soon svg { width: 26px; height: 26px; }
.store-soon span { display: grid; line-height: 1.2; font-size: 19px; font-weight: 650; }
.store-soon small { font-size: 12px; font-weight: 500; opacity: .75; }
@media (prefers-color-scheme: dark) { .store-soon { background: #f2f2f5; color: #16171b; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; color: var(--muted); background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid h3 { font-size: 14px; color: var(--text); margin: 0 0 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a { color: var(--muted); text-decoration: none; display: inline-block; padding: 7px 0; min-height: 36px; }
.footer-grid a:hover { color: var(--text); }
.footer-grid .brand { margin-bottom: 8px; }
.footer-grid p { max-width: 26em; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.footer-base a { color: var(--text); font-weight: 600; text-decoration: none; }

/* Mobile */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .steps, .grid-2 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .cell.span-4, .cell.span-3, .cell.span-2 { grid-column: auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .plans { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 36px 24px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .hero { padding-block-start: 48px; }
  .hero-shot { margin-top: 44px; }
  .page-hero { padding-block-start: 48px; }
  th, td { padding: 12px 14px; }
}

/* Motion: entry, typed query, marquee, scroll reveal. All off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .rise { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .26s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  .typed { width: 0; animation: type 1.1s steps(9) .9s forwards, caret 1s step-end infinite; }
  @keyframes type { to { width: 9ch; } }
  @keyframes caret { 50% { border-color: transparent; } }
  .marquee ul { animation: slide 48s linear infinite; }
  .marquee:hover ul { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
