/* FileSift marketing site — calm & native, flat single-blue accent.
   See FileSift-Web-Design-System.md. No gradients, no emoji icons. */
:root {
  --paper: #FAF9F7;
  --surface: #FFFFFF;
  --surface-alt: #F2F0EC;
  --ink: #1C1A17;
  --ink-soft: #57534C;
  --ink-faint: #8A857C;
  --line: #E7E3DC;
  --accent: #2B5FD9;
  --accent-press: #1F49B0;
  --accent-wash: #EAF0FF;
  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1080px;
  --shadow-sm: 0 1px 2px rgba(20,18,15,.06);
  --shadow-card: 0 1px 3px rgba(20,18,15,.06), 0 10px 30px rgba(20,18,15,.06);
  --font-display: "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141312; --surface: #1C1B19; --surface-alt: #211F1C;
    --ink: #F3F1EC; --ink-soft: #B8B4AC; --ink-faint: #8A8077;
    --line: #312E2A; --accent: #5B86F0; --accent-press: #3E6BDB; --accent-wash: #1A2540;
    --shadow-card: 0 1px 3px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.45);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); background: var(--paper); color: var(--ink);
  line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }

/* icons */
.icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* nav */
header.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 62px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; margin-right: auto; font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.brand-icon { width: 28px; height: 28px; border-radius: 7px; display: block; }
.nav nav { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.nav nav a:not(.btn) { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav nav a:not(.btn):hover { color: var(--ink); }
/* On narrow screens the brand + two links + CTA cram the fixed-height row.
   Drop the secondary text links and keep brand + the Mac App Store button. */
@media (max-width: 860px) {
  .nav .wrap { gap: 10px; }
  .nav nav { gap: 12px; margin-left: 0; }
  /* Drop the text links; keep brand + the App Store button, which stays on one line. */
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  /* On phones even brand + pill can overflow; the hero badge is the CTA here. */
  .nav nav a.btn { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 980px; background: var(--accent); color: #fff; white-space: nowrap; flex-shrink: 0; transition: background .15s, transform .08s; }
.btn:hover { background: var(--accent-press); }
.btn:active { transform: scale(.98); }
.btn.small { padding: 9px 18px; font-size: 14px; }
.link-arrow { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.link-arrow:hover { gap: 9px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Mac App Store badge — official Apple lockup (black on light, white on dark) */
.mas-badge { display: inline-flex; }
.mas-badge img { height: 44px; width: auto; display: block; }
@media (max-width: 400px) { .mas-badge img { height: 40px; } }

/* hero */
.hero { padding: 84px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 60px); font-weight: 800; }
.hero p.sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); margin-top: 20px; max-width: 46ch; }
.hero .cta { margin-top: 30px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 56px 0 40px; } }

/* window-framed visual */
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; background: var(--surface); }
.shot svg, .shot img { display: block; width: 100%; height: auto; }
.shot-cap { text-align: center; font-size: 12px; color: var(--ink-faint); margin-top: 10px; }
/* full-window screenshots carry their own macOS shadow + rounded corners, so they
   float directly on the page rather than sitting in the bordered .shot frame */
.appshot { display: block; width: 100%; height: auto;
  /* The captures are wide window crops that end mid-content; fade the hard bottom
     edge into the page so it reads as "peeking up," not clipped. */
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 86%, transparent 100%); }

/* sections */
section { padding: 76px 0; }
section.alt { background: var(--surface-alt); }
.section-head { max-width: 60ch; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.section-head p { color: var(--ink-soft); font-size: 18px; margin-top: 12px; }

/* two-ways (move or tag) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.duo .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.duo h3 { font-size: 21px; }
.duo p { color: var(--ink-soft); margin-top: 10px; font-size: 16px; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent); width: 34px; height: 34px; border: 1.5px solid var(--accent); border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 18px; }
.step p { color: var(--ink-soft); margin-top: 6px; font-size: 15px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 22px; } }

/* feature rows (alternating) */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.row:nth-child(even) .row-text { order: 2; }
.row .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.row h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.row p { color: var(--ink-soft); font-size: 17px; margin-top: 12px; max-width: 42ch; }
.row .reassure { font-size: 14px; color: var(--ink-faint); margin-top: 14px; }
@media (max-width: 820px) { .row { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; } .row:nth-child(even) .row-text { order: 0; } }

/* privacy band */
.privacy { text-align: center; }
.privacy .ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-wash); color: var(--accent); margin-bottom: 16px; }
.privacy h2 { font-size: clamp(26px, 3vw, 34px); }
.privacy p { color: var(--ink-soft); font-size: 18px; margin: 12px auto 0; max-width: 52ch; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-faint); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { color: var(--ink-soft); margin-top: 12px; font-size: 16px; }

/* final cta */
.final { text-align: center; }
.final h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.final p { color: var(--ink-soft); font-size: 18px; margin-top: 12px; }
.final .cta { margin-top: 26px; display: flex; justify-content: center; }
.final .note { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }

/* features page */
.page-intro { text-align: center; padding: 84px 0 8px; }
.page-intro .eyebrow { display: block; margin-bottom: 14px; }
.page-intro h1 { font-size: clamp(36px, 4.8vw, 54px); font-weight: 800; }
.page-intro p { color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 20px); margin: 16px auto 0; max-width: 52ch; }
.page-intro .cta { margin-top: 28px; display: flex; justify-content: center; gap: 16px; align-items: center; flex-wrap: wrap; }
.page-intro .note { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; box-shadow: var(--shadow-sm); }
.feat .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.feat .icon { width: 22px; height: 22px; }
.feat h3 { font-size: 17px; font-weight: 700; }
.feat p { color: var(--ink-soft); margin-top: 7px; font-size: 15px; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* compact enumerated list (the thorough groups) */
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; max-width: 880px; margin: 0 auto; }
.more-grid .item { display: flex; gap: 13px; padding: 16px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.more-grid .item .icon { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.more-grid .item h3 { font-size: 16px; font-weight: 700; font-family: var(--font-display); }
.more-grid .item p { color: var(--ink-soft); font-size: 15px; margin-top: 3px; }
@media (max-width: 720px) { .more-grid { grid-template-columns: 1fr; } }

/* doc page */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 0; }
.doc h1 { font-size: 38px; }
.doc .updated { color: var(--ink-faint); margin-top: 6px; }
.doc h2 { font-size: 21px; margin-top: 34px; }
.doc p { margin-top: 12px; color: var(--ink); }
.doc a { color: var(--accent); }
.doc .note { margin-top: 40px; font-size: 13px; color: var(--ink-faint); }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 36px 0; color: var(--ink-faint); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; gap: 20px; }
footer.site a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
