/* Foldsmith LP — the paper, colors and type of the app icon and the App Store screenshots. */
:root {
  --ink: #1c1a29;
  --sub: #5a5466;
  --paper: #f6f0e5;
  --amber: #f7b733;
  --violet: #8e6cf2;
  --coral: #f2706b;
  --card: rgba(255, 253, 248, .8);
  --line: rgba(60, 40, 20, .1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper) url(/foldsmith/images/paper.webp) center top / 1440px auto;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans", "PingFang TC", "Kohinoor Devanagari", "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Navigation */
.site-nav {
  max-width: 1280px; margin: 0 auto; padding: 22px 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
}
.brand { font-weight: 800; text-decoration: none; }
.nav-links { display: flex; gap: 20px; margin-right: auto; }
.nav-links a { text-decoration: none; color: var(--sub); font-weight: 600; }
.langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.langs a { font-size: .92rem; text-decoration: none; color: var(--sub); padding-bottom: 2px; }
.langs a[aria-current] { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--violet); }

/* Hero: big wordmark on the left, the real Finder screen with the app icon on the right */
.hero {
  position: relative; overflow: visible;
  max-width: 1280px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) 28px clamp(56px, 8vw, 110px);
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center;
}
.deco { position: absolute; right: -120px; bottom: -120px; width: 420px; transform: rotate(-12deg); opacity: .9; pointer-events: none; }
.hero-text, .hero-visual { position: relative; }
.eyebrow { margin: 0 0 18px; font-size: .95rem; font-weight: 700; letter-spacing: .32em; color: var(--sub); }
.wordmark {
  margin: 0; font-size: clamp(3.6rem, 7.6vw, 7.2rem); line-height: .95; font-weight: 800; letter-spacing: -.045em;
}
.hero-sub { margin: 22px 0 0; font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--sub); }
.hero-copy {
  margin: 26px 0 0; font-size: clamp(1.45rem, 2.55vw, 2.2rem); line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; font-weight: 800; letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--violet) 0%, #c45fd0 55%, var(--coral) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { margin: 24px 0 0; font-size: 1.12rem; color: var(--sub); max-width: 34em; }
.pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li {
  font-size: .95rem; font-weight: 700; padding: 8px 18px; border-radius: 999px;
  background: #fffdf8; border: 1px solid var(--line);
}
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.badges .store-badge { margin: 0; }
.both-line { margin: 12px 0 0; font-size: .95rem; font-weight: 700; color: var(--sub); }
.store-badge { display: inline-flex; margin: 28px 0 0; line-height: 0; transition: transform .2s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { width: auto; height: 50px; }
.hero-finder { filter: drop-shadow(0 34px 60px rgba(60, 40, 20, .3)); }
.hero-icon {
  position: absolute; right: -2%; top: -14%; width: 30%;
  filter: drop-shadow(0 20px 36px rgba(28, 26, 41, .35));
}

/* Gallery of icons made in Foldsmith */
.gallery { max-width: 1180px; margin: 0 auto 96px; padding: 0 28px; text-align: center; }
.gallery h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0 0 6px; }
.gallery p { color: var(--sub); margin: 0 auto 28px; max-width: 40em; }
.icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px 10px; }
.icons img { width: 100%; filter: drop-shadow(0 10px 16px rgba(60, 40, 20, .18)); }

/* Features */
main { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.feature {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 52px; align-items: center;
  margin: 0 0 110px;
}
.feature.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature.flip figure { order: 2; }
.feature figure { margin: 0; }
.feature h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.35; margin: 0 0 14px; }
.feature .copy p:last-child { color: var(--sub); margin: 0; font-size: 1.05rem; }
.tab {
  display: inline-block; margin: 0 0 12px; padding: 5px 18px 4px;
  border-radius: 12px 12px 0 0; color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .04em;
  background: linear-gradient(100deg, var(--violet), #b07cf0);
}
.v-shot img { border-radius: 14px; box-shadow: 0 30px 70px rgba(60, 40, 20, .24), 0 0 0 1px var(--line); }
.v-menu img { border-radius: 10px; box-shadow: none; filter: drop-shadow(0 26px 50px rgba(28, 26, 41, .3)); }
.v-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 26px;
  box-shadow: 0 26px 60px rgba(60, 40, 20, .12);
}
.v-card img { filter: drop-shadow(0 8px 14px rgba(60, 40, 20, .18)); }
.v-grid { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 12px 10px; align-items: center; justify-items: center; }
.dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 3px #fff; }
.dot.blue { background: #3fa9f5; } .dot.red { background: #f05454; } .dot.green { background: #5cc93a; } .dot.purple { background: #c05ed1; }
.row-label, .row-name, .col { font-size: .82rem; font-weight: 700; color: var(--sub); text-align: center; }
.row-label { justify-self: end; padding-right: 4px; }
.col, .feature h2 { word-break: keep-all; overflow-wrap: anywhere; }
.v-compare { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px 14px; align-items: center; justify-items: center; }
.v-compare img { max-width: 150px; }
.row-name { justify-self: end; text-align: right; font-size: .9rem; color: var(--ink); }
.row-name.on { color: #c27a00; font-size: 1rem; font-weight: 800; }
.arrow { color: #c98a1a; font-size: 1.6rem; font-weight: 700; }
.v-import { display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(0, 1fr); gap: 16px; align-items: center; }
.v-import img { border-radius: 14px; box-shadow: 0 24px 54px rgba(60, 40, 20, .24); }
.v-finish { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: center; }
.v-finish span { display: inline-block; margin-top: 8px; font-size: .85rem; font-weight: 700; color: var(--sub); }

/* Price & FAQ */
.price, .faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  padding: 32px 36px; margin: 0 0 40px; box-shadow: 0 20px 50px rgba(60, 40, 20, .08);
}
.price h2, .faq h2 { margin: 0 0 12px; font-size: 1.5rem; }
.price p { margin: 0; color: var(--sub); }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 8px 0 0; color: var(--sub); }

footer { text-align: center; padding: 30px 20px 50px; color: var(--sub); font-size: .9rem; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 8px; }

@media (max-width: 860px) {
  .hero, .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip figure { order: 0; }
  .feature { margin-bottom: 72px; }
  .hero-icon { width: 26%; top: -10%; }
  .deco { display: none; }
  .icons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v-card { padding: 16px; }
  .hero-copy { font-size: 1.3rem; }
  .v-compare { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px 10px; }
  .v-compare > span:first-child { display: none; }
  .v-compare .row-name { grid-column: 1 / -1; justify-self: center; text-align: center; margin-top: 10px; }
  .v-compare img { max-width: 120px; }
  .price, .faq { padding: 24px 20px; }
}

/* Windows version */
.winsec { max-width: 760px; margin: 0 auto 96px; padding: 0 28px; text-align: center; }
.winsec h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0 0 12px; }
.winsec p { color: var(--sub); margin: 0 auto 12px; max-width: 40em; text-align: left; }
.winsec .win-note { font-size: .95rem; }
.winsec .badges { justify-content: center; margin-top: 20px; }
.winsec .winshots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 4px; }
.winsec .winshots img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.12); }
@media (max-width: 560px) { .winsec .winshots { grid-template-columns: 1fr; } }
