/* FolderTint site styles.
   Radius system: surfaces 16px, interactive controls pill. Accent locked: #1E88E5. */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1c1c1e;
  --text-soft: #55555c;
  --line: #e6e6ea;
  --accent: #1e88e5;
  --accent-deep: #1976d2;
  --tint-blue: rgba(30, 136, 229, 0.08);
  --tint-purple: rgba(142, 36, 170, 0.08);
  --tint-teal: rgba(0, 137, 123, 0.09);
  --tint-pink: rgba(216, 27, 96, 0.07);
  --tint-orange: rgba(251, 140, 0, 0.09);
  --shadow: 0 24px 60px rgba(25, 45, 80, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131316;
    --surface: #1c1c21;
    --text: #f2f2f5;
    --text-soft: #a7a7b3;
    --line: #2c2c33;
    --tint-blue: rgba(30, 136, 229, 0.14);
    --tint-purple: rgba(171, 71, 188, 0.13);
    --tint-teal: rgba(0, 150, 136, 0.14);
    --tint-pink: rgba(236, 64, 122, 0.12);
    --tint-orange: rgba(255, 152, 0, 0.13);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 17px; color: var(--text);
  text-decoration: none; margin-right: auto;
}
.brand img { width: 22px; height: 22px; }
nav a.link {
  color: var(--text-soft); text-decoration: none; font-size: 14.5px;
}
nav a.link:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px;
  padding: 12px 24px; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--text-soft); }
.btn-small { padding: 8px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.06; letter-spacing: -0.03em; font-weight: 750;
}
.hero h1 .tinted { color: var(--accent); }
.hero p.sub {
  margin: 20px 0 30px; font-size: 1.13rem; color: var(--text-soft); max-width: 42ch;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-shot { position: relative; }
.hero-shot img {
  width: 100%; height: auto;
  border-radius: 16px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-grid > * { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-shot { animation-delay: 0.12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}

/* ---------- Color band ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; gap: 8px; flex-wrap: wrap;
}
.band img { width: 44px; height: 44px; transition: transform 0.18s ease; }
.band img:hover { transform: translateY(-4px) scale(1.08); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.15;
}
.section-head p { color: var(--text-soft); margin-top: 12px; font-size: 1.05rem; }

/* ---------- Bento ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
}
.cell {
  border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; background: var(--surface);
}
.cell h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.cell p { color: var(--text-soft); font-size: 0.97rem; }
.cell-a { grid-column: span 4; background: var(--tint-blue); }
.cell-b { grid-column: span 2; background: var(--tint-purple); }
.cell-c { grid-column: span 2; background: var(--tint-teal); }
.cell-d { grid-column: span 2; background: var(--surface); }
.cell-e { grid-column: span 2; background: var(--tint-orange); }
.cell-icons { display: flex; gap: 10px; margin-top: 18px; }
.cell-icons img { width: 34px; height: 34px; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; }
.steps-grid h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.15;
  position: sticky; top: 96px;
}
.step { border-top: 1px solid var(--line); padding: 26px 0; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--text-soft); }

/* ---------- Pricing ---------- */
.pricing { background: var(--tint-blue); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; max-width: 860px; margin: 0 auto;
}
.price-col { padding: 40px 36px; }
.price-col + .price-col { border-left: 1px solid var(--line); }
.price-col h3 { font-size: 1.05rem; color: var(--text-soft); font-weight: 600; }
.price-col .amount { font-size: 2.4rem; font-weight: 750; letter-spacing: -0.02em; margin: 6px 0 18px; }
.price-col .amount small { font-size: 1rem; font-weight: 500; color: var(--text-soft); }
.price-col ul { list-style: none; }
.price-col li {
  padding: 9px 0; color: var(--text-soft); font-size: 0.98rem;
  border-top: 1px solid var(--line);
}
.price-col li strong { color: var(--text); font-weight: 600; }
.price-cta { text-align: center; margin-top: 36px; }

/* ---------- FAQ ---------- */
.faq details {
  border-top: 1px solid var(--line); padding: 20px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--text-soft); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 12px; color: var(--text-soft); max-width: 65ch; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  color: var(--text-soft); font-size: 14px;
}
.foot a { color: var(--text-soft); text-decoration: none; margin-left: 22px; }
.foot a:hover { color: var(--text); }

/* ---------- Prose pages (privacy / support) ---------- */
.prose { max-width: 72ch; padding: 64px 0 96px; }
.prose h1 { font-size: 2.1rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.prose .updated { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 36px; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--text-soft); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--accent); }
.prose code {
  font-family: "Cascadia Code", Consolas, monospace; font-size: 0.9em;
  background: var(--tint-blue); border-radius: 6px; padding: 1px 6px;
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .hero { padding: 40px 0 24px; }
  .hero-grid, .steps-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-grid h2 { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-a { grid-column: span 2; }
  .price-panel { grid-template-columns: 1fr; }
  .price-col + .price-col { border-left: none; border-top: 1px solid var(--line); }
  section { padding: 60px 0; }
  nav .link-hide { display: none; }
}
