/* FolderForge — same family as the Zenith & ClipVault sites, tuned to Finder blue. */
:root {
  --paper: #fbfaf7; --tint: #f3f1ec; --ink: #16181d; --ink-2: #4a4f59; --ink-3: #868b94; --line: #e4e1da;
  --accent: #2b6fd6; --folder: #6fb1f5;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
code { font: .86em var(--mono); background: rgba(0,0,0,.05); padding: .1em .35em; border-radius: 4px; }
kbd { display: inline-block; min-width: 1.75em; padding: .05em .45em; margin: 0 .1em; font: 600 .82em/1.55 var(--sans); text-align: center; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

.eyebrow { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 22px; }
.display em { font-style: italic; color: var(--accent); }
.display.sm { font-size: clamp(36px, 5vw, 60px); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 46px); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 16px; }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 560px; margin: 0 0 30px; }
.lede b { color: var(--ink); font-weight: 600; }
.lede.center { margin-left: auto; margin-right: auto; }
.sub { color: var(--ink-2); max-width: 560px; margin: 0 auto; }
h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -.005em; }

.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border-radius: 999px; font: 600 15.5px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 6px 20px -8px rgba(0,0,0,.45); }
.btn-ghost { background: #fff; border-color: var(--line); }
.btn-light { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251,250,247,.84); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; }
.brand-mark { position: relative; width: 28px; height: 22px; border-radius: 4px 6px 6px 6px; background: linear-gradient(180deg, #8cc3fa, #4b97ec); margin-top: 3px; }
.brand-mark::before { content: ""; position: absolute; left: 0; top: -4px; width: 12px; height: 6px; border-radius: 3px 3px 0 0; background: #6aaaf2; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-home { text-decoration: none; font-size: 15px; font-weight: 550; }
.nav-home:hover { color: var(--accent); }
.download-pending { opacity: .62; cursor: not-allowed; user-select: none; }

/* hero */
.hero { padding: 84px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, auto); gap: 28px; justify-content: start; }
.facts li { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 14px; }
.facts b { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.facts span { font-size: 12.5px; color: var(--ink-3); }

.finder { margin: 0; background: #fff; border: 1px solid #dedad2; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(20,30,60,.35); }
.finder-bar { display: flex; align-items: center; gap: 14px; padding: 11px 14px; background: #f6f5f2; border-bottom: 1px solid #ebe8e2; }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.finder-title { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.toggle { margin-left: auto; display: inline-flex; padding: 2px; border-radius: 7px; background: #e9e7e2; border: 0; font: 600 12px var(--sans); cursor: pointer; }
.toggle span { padding: 4px 10px; border-radius: 5px; color: var(--ink-3); }
.toggle[aria-pressed="true"] span:last-child, .toggle[aria-pressed="false"] span:first-child { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.finder-body { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 10px; padding: 28px 22px 22px; }
.f { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; text-align: center; }
.f img { width: 88px; height: 88px; object-fit: contain; transition: opacity .35s, transform .35s; }
.f { position: relative; }
.f::before { /* plain macOS folder, shown in "Before" */
  content: ""; position: absolute; top: 12px; width: 76px; height: 60px; border-radius: 5px 8px 8px 8px;
  background: linear-gradient(180deg, #9fcdfb, #5ea6f1); opacity: 0; transform: scale(.9); transition: opacity .35s, transform .35s;
  box-shadow: inset 0 10px 0 -6px rgba(255,255,255,.35);
}
.plain .f img { opacity: 0; transform: scale(.85); }
.plain .f::before { opacity: 1; transform: none; }
.finder figcaption { font-size: 12.5px; color: var(--ink-3); padding: 0 22px 16px; text-align: center; }

/* strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; gap: 28px; align-items: baseline; padding-top: 20px; padding-bottom: 20px; }
.strip p { margin: 0; flex: none; font-size: 14px; font-weight: 600; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
.strip li::after { content: "·"; margin: 0 10px; color: #c9c5bc; }
.strip li:last-child::after { content: ""; }

/* sections */
.section { padding: 112px 0; }
.tint { background: var(--tint); }
.head { text-align: center; margin-bottom: 52px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; }
.steps span { font-family: var(--serif); color: var(--accent); display: block; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filters button { font: 550 14px var(--sans); padding: 8px 15px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px 18px; transition: transform .2s ease, box-shadow .2s ease; will-change: transform; }
.gallery figure:hover { box-shadow: 0 24px 40px -28px rgba(20,30,60,.45); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery figcaption { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); display: flex; flex-direction: column; }
.gallery figcaption b { color: var(--ink); font-size: 15px; }
.gallery figure[hidden] { display: none; }
.more { text-align: center; color: var(--ink-3); margin: 32px 0 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features article { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; }
.features img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 18px; }
.features p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.dark { background: #12151b; color: #f1f0ec; }
.dark .eyebrow { color: #8ec0ff; }
.muted { color: rgba(255,255,255,.6); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.keys { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; }
.keys div { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: #181c23; }
.keys dt { color: rgba(255,255,255,.75); font-size: 15px; }
.keys dd { margin: 0; }
.keys kbd { background: #252a33; color: #fff; border-color: #343a45; }

details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 600; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-3); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); margin: 12px 0 0; }

.cta { background: #12151b; color: #fff; padding: 110px 0; }
.cta .lede { color: rgba(255,255,255,.62); }
.cta-icons { display: flex; justify-content: center; margin-bottom: 26px; }
.cta-icons img { width: 92px; height: 92px; object-fit: contain; margin: 0 -8px; filter: drop-shadow(0 14px 18px rgba(0,0,0,.4)); }
.cta-icons img:nth-child(2) { transform: translateY(-12px) scale(1.12); position: relative; z-index: 1; }

.foot { padding: 32px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; }
.foot .brand { color: var(--ink); }
.foot p { margin: 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid, .two { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, auto); }
  .section { padding: 84px 0; }
  .strip-inner { flex-direction: column; gap: 6px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 56px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .finder-body { grid-template-columns: repeat(3, 1fr); }
  .f:nth-child(n+7) { display: none; }
  .f img { width: 72px; height: 72px; }
  .keys { grid-template-columns: 1fr; }
}
