/* getfindy.xyz. Light, with the app's colours as accents: each shelf and collection keeps its tint. */
:root {
  color-scheme: light;
  --bg: #fbfaff;
  --surface: #ffffff;
  --ink: #17151f;
  --ink-2: #5e5a6e;
  --ink-3: #8f8b9e;
  --line: rgba(23, 21, 31, 0.09);
  --accent: #5b4cf0;
  --accent-2: #8c6cff;
  /* macOS system colours, as SwiftUI draws them in Findy. */
  --blue: #007aff;
  --purple: #af52de;
  --pink: #ff2d55;
  --orange: #ff9500;
  --yellow: #ffcc00;
  --green: #34c759;
  --teal: #30b0c7;
  --brown: #a2845e;
  --indigo: #5856d6;
  --red: #ff3b30;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
q { quotes: "“" "”"; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
kbd { font: 600 0.82em/1 -apple-system, sans-serif; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 3px 6px; background: var(--surface); margin: 0 1px; }
.fine { font-size: 14px; color: var(--ink-3); }

/* Icons: one stroke drawing per class, coloured by currentColor. */
.ic { display: inline-block; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ic.home { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.ic.recents { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ic.images { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E"); }
.ic.videos { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Cpath d='M7.5 4v16M16.5 4v16M3 9h4.5M3 15h4.5M16.5 9H21M16.5 15H21'/%3E%3C/svg%3E"); }
.ic.music { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l11-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='17' cy='16' r='3'/%3E%3C/svg%3E"); }
.ic.documents { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8zM14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.ic.archives { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='5' rx='1'/%3E%3Cpath d='M5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9M10 13h4'/%3E%3C/svg%3E"); }
.ic.apps { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4' y='4' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='13.5' y='4' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='4' y='13.5' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='6.5' height='6.5' rx='1.5'/%3E%3C/svg%3E"); }
.ic.shots { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.ic.large { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='m5 13 2-8h10l2 8'/%3E%3C/svg%3E"); }
.ic.downloads { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v8.5M8 12.5l4 4 4-4'/%3E%3C/svg%3E"); }
.ic.cleanup { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m11 3 1.9 5.1L18 10l-5.1 1.9L11 17l-1.9-5.1L4 10l5.1-1.9zM18.5 14.5l.9 2.1 2.1.9-2.1.9-.9 2.1-.9-2.1-2.1-.9 2.1-.9z'/%3E%3C/svg%3E"); }
.ic.dupes { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3'/%3E%3C/svg%3E"); }
.ic.glass { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E"); }
.ic.text { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 11h9M4 16h6'/%3E%3Ccircle cx='17' cy='15.5' r='3'/%3E%3Cpath d='m19.3 17.8 2.2 2.2'/%3E%3C/svg%3E"); }
.ic.menubar { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 9h18M15.5 6.5h2.5'/%3E%3C/svg%3E"); }
.ic.mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.ic.phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='3'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E"); }
.ic.globe { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E"); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px;
  border-radius: 999px; font-weight: 600; font-size: 17px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(23, 21, 31, 0.05); transition: transform 0.15s, box-shadow 0.15s; }
.button:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(23, 21, 31, 0.09); }
.button.primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 6px 20px rgba(91, 76, 240, 0.32); }
.button.primary:hover { box-shadow: 0 10px 26px rgba(91, 76, 240, 0.4); }
.button.small { height: 36px; padding: 0 16px; font-size: 15px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; height: 64px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2)); background: rgba(251, 250, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--ink-2); font-size: 15px; }
.nav nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 76px 20px 40px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -80px 0 auto; height: 620px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 30% 30%, rgba(140, 108, 255, 0.18), transparent 70%),
              radial-gradient(35% 45% at 72% 25%, rgba(255, 149, 0, 0.12), transparent 70%),
              radial-gradient(35% 40% at 55% 60%, rgba(52, 199, 89, 0.09), transparent 70%); }
.eyebrow { display: inline-block; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--accent); background: rgba(91, 76, 240, 0.08); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 800; max-width: 900px; margin: 0 auto; }
.mark { background: linear-gradient(120deg, var(--accent-2), var(--accent) 45%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 700px; margin: 24px auto 0; font-size: 20px; color: var(--ink-2); }
.lede q { color: var(--ink); font-weight: 600; white-space: nowrap; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero > .fine { margin-top: 14px; }

/* A Findy window drawn in HTML: the Videos shelf as it looks in the app. */
.window { position: relative; max-width: 1080px; margin: 0 auto; text-align: left; background: var(--surface); border-radius: 16px;
  border: 1px solid rgba(23, 21, 31, 0.12); box-shadow: 0 30px 80px rgba(40, 30, 90, 0.18), 0 6px 18px rgba(40, 30, 90, 0.08); overflow: hidden; }
.hero-window { margin-top: 56px; }
.titlebar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fcfcfd; }
.titlebar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.titlebar i:nth-child(2) { background: #febc2e; }
.titlebar i:nth-child(3) { background: #28c840; }
.search-pill { margin-left: auto; width: 300px; max-width: 45%; height: 28px; border-radius: 8px; background: rgba(23, 21, 31, 0.05);
  color: var(--ink-3); font-size: 13px; line-height: 28px; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app { display: flex; font-size: 13px; }
.sidebar { flex: none; width: 212px; padding: 10px 10px 16px; background: #f6f5f9; border-right: 1px solid var(--line); }
.sidebar p { margin: 0; }
.sidebar .group { font-size: 11px; font-weight: 600; color: var(--ink-3); padding: 12px 8px 4px; }
.sidebar .row { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px; color: var(--ink); white-space: nowrap; }
.sidebar .row span { margin-left: auto; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sidebar .row.on { background: var(--indigo); color: #fff; }
.sidebar .row.on span { color: rgba(255, 255, 255, 0.8); }
.sidebar .ic { width: 15px; height: 15px; }
.sidebar .ic.home, .sidebar .ic.recents { color: var(--ink-2); }
.sidebar .ic.images { color: var(--blue); }
.sidebar .ic.videos { color: var(--purple); }
.sidebar .ic.music { color: var(--pink); }
.sidebar .ic.documents { color: var(--orange); }
.sidebar .ic.archives { color: var(--brown); }
.sidebar .ic.apps { color: var(--teal); }
.sidebar .ic.shots { color: var(--indigo); }
.sidebar .ic.large { color: var(--red); }
.sidebar .ic.downloads { color: var(--green); }
.sidebar .ic.cleanup { color: var(--yellow); }
.sidebar .ic.dupes { color: var(--pink); }
.sidebar .row.on .ic { color: #fff; }

.shelf { flex: 1; min-width: 0; padding: 18px 24px 24px; }
.shelf p { margin: 0; }
.crumbs { font-size: 12px; color: var(--ink-3); }
.shelf-title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px !important; }
.shelf-sum { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.heading { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; margin-top: 20px !important; }
.count { font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: rgba(23, 21, 31, 0.07); color: var(--ink-2); }

.folders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.folder { --tint: var(--purple); position: relative; padding: 26px 14px 12px; border-radius: 0 13px 13px 13px; margin-top: 12px;
  background: color-mix(in srgb, var(--tint) 28%, white); }
.folder::before { content: ""; position: absolute; left: 0; top: -12px; width: 42%; height: 14px; border-radius: 12px 14px 0 0;
  background: color-mix(in srgb, var(--tint) 28%, white); }
.folder::after { content: ""; position: absolute; inset: 9px 0 0; border-radius: 12px; background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8); }
.folder > * { position: relative; z-index: 1; }
.folder.orange { --tint: var(--orange); }
.folder.green { --tint: var(--green); }
.folder.yellow { --tint: var(--yellow); }
.folder.blue { --tint: var(--blue); }
.folder .name { font: 500 13px/1.2 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding-bottom: 10px; border-bottom: 1px solid rgba(23, 21, 31, 0.09); }
.folder .foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.dots { display: flex; }
.dots i, .dots em { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-right: -7px; }
.dots em { display: grid; place-items: center; font: normal 600 9px/1 -apple-system, sans-serif; color: var(--ink-2); background: #fff; }
.stat { margin-left: auto; text-align: right; font-weight: 600; font-size: 12px; line-height: 1.3; white-space: nowrap; }
.stat small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-2); }

.files-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.pills { display: flex; gap: 6px; margin-top: 20px !important; }
.pills span { height: 24px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; line-height: 22px; color: var(--ink-2); white-space: nowrap; }
.pills span::after { content: " ⌄"; font-size: 10px; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.card { padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(23, 21, 31, 0.05); min-width: 0; }
.card p { font-size: 12.5px; font-weight: 600; margin: 7px 3px 0 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card small { display: block; margin: 1px 3px 2px; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; background: #ddd; overflow: hidden; }
.thumb.doc { aspect-ratio: 4 / 5; }
.len { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 6px; font-size: 10.5px; font-weight: 600;
  color: #fff; background: rgba(0, 0, 0, 0.55); font-variant-numeric: tabular-nums; }

/* Made-up thumbnails: skies, seas and screens in CSS, no photos. Also the round samples on the folders. */
.t1 { background: radial-gradient(circle at 70% 42%, #fff4c2 0 9%, transparent 10%), linear-gradient(180deg, #ffb36b 0%, #ff7a8a 56%, #4b3b6b 57%, #2b2540 100%); }
.t2 { background: radial-gradient(ellipse 60% 18% at 30% 70%, rgba(255, 255, 255, 0.35), transparent 70%), linear-gradient(180deg, #a8dcff 0%, #5fb2e6 48%, #1f76b0 49%, #0f4c75 100%); }
.t3 { background: linear-gradient(90deg, transparent 22%, rgba(23, 21, 31, 0.06) 22% 23%, transparent 23%),
  linear-gradient(180deg, #ffffff 0 14%, #eceaf4 14% 15%, transparent 15%),
  radial-gradient(circle at 60% 55%, rgba(140, 108, 255, 0.55) 0 12%, transparent 13%), linear-gradient(135deg, #f5f4fb, #e6e3f3); }
.t4 { background: radial-gradient(circle at 25% 35%, #fff 0 6%, transparent 7%), linear-gradient(180deg, #d4eeb9 0%, #79b672 46%, #2f6b3d 47%, #1d4a2a 100%); }
.t5 { background: linear-gradient(180deg, transparent 0 62%, rgba(255, 255, 255, 0.14) 62% 70%, transparent 70%),
  radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.9) 0 7%, transparent 8%), linear-gradient(135deg, #2a2440, #5b4cf0); }
.t6 { background: radial-gradient(circle at 65% 40%, rgba(255, 255, 255, 0.85) 0 14%, transparent 15%), linear-gradient(135deg, #ffd36e, #ff8a5c); }
.t7 { background: radial-gradient(circle at 78% 26%, #fff8e1 0 8%, transparent 9%), linear-gradient(180deg, #ffe7c2 0%, #a8d8ea 45%, #3b8ea5 46%, #245d73 100%); }
.t8 { background: linear-gradient(180deg, #c6ecff 0%, #82cbea 40%, #f1fafd 41% 45%, #3aa0c8 46%, #1d6f94 100%); }
.dots i.t3 { background: linear-gradient(135deg, #f5f4fb, #c9c1f5); }

/* Sections */
.section { padding: 110px 20px 0; max-width: 1120px; margin: 0 auto; scroll-margin-top: -40px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2, .faq h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.section-head p { margin: 18px 0 0; font-size: 19px; color: var(--ink-2); }

/* Search demo */
.demo { max-width: 860px; margin: 0 auto; text-align: center; }
.examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.examples button { font: 500 15px/1 -apple-system, sans-serif; height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); }
.examples button:hover { color: var(--ink); border-color: rgba(91, 76, 240, 0.35); }
.examples button[aria-selected="true"] { color: var(--accent); background: rgba(91, 76, 240, 0.08); border-color: rgba(91, 76, 240, 0.35); }
.demo-body { padding: 22px 24px 24px; }
.demo-body p { margin: 0; }
.field { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 12px; font-size: 19px;
  background: rgba(23, 21, 31, 0.04); border: 1px solid var(--line); }
.field .ic { width: 20px; height: 20px; color: var(--ink-3); }
.caret { width: 2px; height: 24px; margin-left: -8px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 30px; margin-top: 14px !important; }
.understood { font-size: 13px; color: var(--ink-3); margin-right: 4px; }
.chip { font-size: 14px; font-weight: 500; padding: 3px 11px; border-radius: 999px; color: var(--accent); background: rgba(91, 76, 240, 0.1);
  animation: pop 0.3s ease-out both; }
.chip::after { content: " ×"; opacity: 0.6; }
.chip.text { color: var(--ink); background: rgba(23, 21, 31, 0.06); }
@keyframes pop { from { opacity: 0; transform: translateY(4px) scale(0.96); } }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; min-height: 230px; }
.results .card { animation: pop 0.35s ease-out both; }
.results .card:nth-child(2) { animation-delay: 0.06s; }
.results .card:nth-child(3) { animation-delay: 0.12s; }
.results .card small { display: flex; align-items: center; gap: 5px; }
.results .card small .ic { width: 12px; height: 12px; }
.snippet { margin: 6px 3px 2px !important; font-size: 11.5px !important; font-weight: 400 !important; color: var(--ink-2); white-space: normal !important; }
.snippet mark { background: rgba(255, 204, 0, 0.45); color: inherit; border-radius: 3px; padding: 0 2px; }
.doc-thumb { display: grid; place-items: center; background: linear-gradient(180deg, #fff, #f3f2f7); border: 1px solid var(--line); }
.doc-thumb::before { content: ""; width: 46%; height: 70%; border-radius: 4px; background:
  linear-gradient(var(--tint, var(--red)) 0 0) 14% 16% / 40% 7% no-repeat,
  repeating-linear-gradient(180deg, rgba(23, 21, 31, 0.13) 0 3px, transparent 3px 9px) 14% 60% / 72% 52% no-repeat, #fff;
  box-shadow: 0 2px 8px rgba(23, 21, 31, 0.12); }
.zip-thumb { display: grid; place-items: center; background: linear-gradient(180deg, #fbf8f3, #efe8dc); }
.zip-thumb::before { content: ""; width: 34%; height: 62%; border-radius: 5px; background:
  repeating-linear-gradient(180deg, #a2845e 0 4px, transparent 4px 8px) 50% 0 / 12% 60% no-repeat, linear-gradient(180deg, #e4d6bf, #cdb995);
  box-shadow: 0 2px 8px rgba(23, 21, 31, 0.15); }
.shot-thumb { background: linear-gradient(180deg, #ffffff 0 16%, #ecebf3 16% 17%, transparent 17%),
  linear-gradient(90deg, transparent 10%, rgba(23, 21, 31, 0.1) 10% 60%, transparent 60%) 0 34% / 100% 6% no-repeat,
  linear-gradient(90deg, transparent 10%, rgba(255, 204, 0, 0.7) 10% 48%, transparent 48%) 0 50% / 100% 6% no-repeat,
  linear-gradient(90deg, transparent 10%, rgba(23, 21, 31, 0.08) 10% 70%, transparent 70%) 0 66% / 100% 6% no-repeat, #f7f6fb; }
.demo > .fine { margin-top: 18px; }

/* Feature tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { --tint: var(--blue); padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(23, 21, 31, 0.04); position: relative; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tint); }
.tile .ic { width: 44px; height: 44px; padding: 0; color: var(--tint); -webkit-mask-size: 26px; mask-size: 26px;
  background: var(--tint); }
.tile .ic { display: block; width: 26px; height: 26px; margin-bottom: 18px; }
.tile h3 { font-size: 21px; font-weight: 700; }
.tile p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.tile q { color: var(--ink); font-weight: 600; }
.tile.orange { --tint: var(--orange); }
.tile.green { --tint: var(--green); }
.tile.purple { --tint: var(--purple); }
.tile.pink { --tint: var(--pink); }
.tile.teal { --tint: var(--teal); }

/* Privacy */
.privacy { max-width: none; margin-top: 110px; padding: 90px max(20px, calc((100vw - 1120px) / 2)); background: #17151f; color: #fff; }
.privacy .section-head p { color: rgba(255, 255, 255, 0.7); }
.promises { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.promises li { padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72); font-size: 16px; }
.promises b { color: #fff; }

/* Pricing */
.pricing { text-align: center; }
.plan { max-width: 420px; margin: 0 auto; padding: 36px 32px 28px; border-radius: 26px; background: var(--surface);
  border: 1px solid rgba(91, 76, 240, 0.25); box-shadow: 0 24px 60px rgba(91, 76, 240, 0.16); }
.plan-icon { display: block; margin: 0 auto 10px; }
.plan h3 { font-size: 24px; }
.price { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 0; line-height: 1; }
.price span { font-size: 30px; vertical-align: 24px; margin-right: 2px; }
.plan-note { margin: 6px 0 0; color: var(--ink-2); }
.plan-list { list-style: none; padding: 0; margin: 22px auto 26px; display: grid; gap: 8px; text-align: left; width: fit-content; }
.plan-list li { padding-left: 28px; position: relative; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--green); margin-top: 3px; }
.plan .button { width: 100%; }
.plan .fine { margin: 16px 0 0; }
.pricing > .fine { margin-top: 22px; }

/* FAQ */
.faq { max-width: 780px; }
.faq h2 { text-align: center; margin-bottom: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--ink-3); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); }

.footer { text-align: center; padding: 100px 20px 48px; color: var(--ink-2); }
.footer p { margin: 6px 0; }
.footer .fine { max-width: 640px; margin: 10px auto 0; }

/* Thanks and 404 */
.page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 20px; }
.page h1 { font-size: clamp(40px, 8vw, 64px); font-weight: 800; margin-top: 18px; }
.page .lede { margin-top: 14px; }
.steps { text-align: left; max-width: 520px; margin: 30px auto 0; padding-left: 22px; color: var(--ink-2); display: grid; gap: 10px; }
.steps strong { color: var(--ink); font-family: var(--mono); font-size: 0.92em; }
.page .cta { align-items: center; }
.page > .fine { max-width: 520px; margin-top: 28px; }

/* Appear on scroll (only with JavaScript and motion allowed). */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .results .card { animation: none; }
  .caret { animation: none; }
}

@media (max-width: 960px) {
  .sidebar { display: none; }
  .folders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards .card:nth-child(n+7) { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pills span:nth-child(-n+2) { display: none; }
}
@media (max-width: 720px) {
  .nav { gap: 12px; }
  .nav nav { display: none; }
  .nav .button { margin-left: auto; }
  .hero { padding-top: 48px; }
  .lede { font-size: 18px; }
  .lede q { white-space: normal; }
  .hero-window { margin-top: 40px; border-radius: 12px; }
  .search-pill { display: none; }
  .shelf { padding: 14px 14px 16px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards .card:nth-child(n+5) { display: none; }
  .pills { display: none; }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results .card:nth-child(3) { display: none; }
  .field { font-size: 16px; }
  .demo-body { padding: 16px; }
  .tiles, .promises { grid-template-columns: 1fr; }
  .section { padding-top: 80px; }
  .privacy { margin-top: 80px; padding-top: 70px; padding-bottom: 70px; }
}
