/* Folio — landing page styles. No build step, no dependencies. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --surface: #ffffff;
  --text: #101216;
  --muted: #626a76;
  --border: rgba(16, 18, 22, 0.09);
  --border-strong: rgba(16, 18, 22, 0.16);
  --accent: #2f6bff;
  --accent-soft: rgba(47, 107, 255, 0.1);
  --shadow-lg: 0 40px 80px -30px rgba(16, 24, 40, 0.28), 0 12px 28px -12px rgba(16, 24, 40, 0.16);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --radius: 18px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d11;
    --bg-soft: #12151b;
    --surface: #14171e;
    --text: #eceef3;
    --muted: #99a1ae;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --accent: #7aa2ff;
    --accent-soft: rgba(122, 162, 255, 0.14);
    --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 12px 28px -12px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 72px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 30px;
  color: var(--text);
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
}

.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(47, 107, 255, 0.7);
}

.btn-primary:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 12px 26px -10px rgba(47, 107, 255, 0.8); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover { background: var(--bg-soft); text-decoration: none; }

.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ---------- hero ---------- */

.hero { padding: 76px 0 32px; text-align: center; position: relative; overflow: hidden; }

.hero::before {
  content: "";
  position: absolute;
  inset: -30% 10% auto 10%;
  height: 520px;
  background: radial-gradient(50% 60% at 50% 0%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.hero > * { position: relative; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.dot { width: 6px; height: 6px; border-radius: 50%; background: #28c76f; }

h1 {
  margin: 22px 0 18px;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h1 .accent { color: var(--accent); }

.lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--muted);
  letter-spacing: -0.01em;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.cta-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.shot-hero {
  margin: 54px auto 0;
  max-width: 980px;
  border-radius: var(--radius);
  filter: drop-shadow(0 30px 60px rgba(16, 24, 40, 0.18));
}

/* ---------- sections ---------- */

section { padding: 76px 0; }

.section-head { max-width: 660px; margin: 0 auto 46px; text-align: center; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.02em; }

.sub { color: var(--muted); font-size: 17px; margin: 0; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 34px 0;
}

.feature.flip { grid-template-columns: 1.15fr 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature.flip .feature-shot { order: 1; }

.feature-shot img {
  width: 100%;
  border-radius: 14px;
  filter: drop-shadow(0 24px 48px rgba(16, 24, 40, 0.16));
}

.feature-copy ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.feature-copy li {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  color: var(--muted);
}

.feature-copy li strong { color: var(--text); font-weight: 600; }

.tick {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- extras grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

.icon {
  width: 22px;
  height: 22px;
  margin-bottom: 12px;
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- faq ---------- */

.faq { max-width: 760px; margin: 0 auto; }

details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: -0.01em;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

details[open] summary::after { content: "−"; }

details p { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; }

/* ---------- final cta ---------- */

.final {
  text-align: center;
  background: var(--bg-soft);
  border-radius: 24px;
  padding: 64px 24px;
  border: 1px solid var(--border);
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 48px;
  font-size: 14px;
  color: var(--muted);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

.foot-inner nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.foot-inner nav a { color: var(--muted); }

/* ---------- legal pages ---------- */

.legal { max-width: 720px; margin: 0 auto; padding: 56px 0 88px; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal ul { padding-left: 20px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-copy { order: 0; }
  .feature.flip .feature-shot { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 620px) {
  section { padding: 52px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
}
