/* Jot landing page, plain static CSS, no framework. */

:root {
  --violet: #7c5cf6;
  --violet-2: #9a5cf2;
  --ink: #15131f;
  --body: #3a3550;
  --muted: #6b6580;
  --bg: #ffffff;
  --bg-alt: #f6f4fc;
  --line: #e9e5f5;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(70, 50, 160, 0.10);
  --maxw: 1080px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

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

kbd {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82em;
  line-height: 1;
  padding: 3px 6px;
  margin: 0 1px;
  border-radius: 6px;
  background: rgba(124, 92, 246, 0.12);
  color: var(--violet);
  border: 1px solid rgba(124, 92, 246, 0.22);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  box-shadow: 0 8px 22px rgba(124, 92, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(124, 92, 246, 0.45); }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-lg { font-size: 16px; padding: 15px 26px; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav-wrap { position: sticky; top: 14px; z-index: 50; padding: 0 16px; }
.nav-pill {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 9px 9px 9px 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(40, 20, 90, 0.06);
}
.nav-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); font-size: 17px; }
.nav-brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { color: var(--body); font-weight: 500; font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { padding: 9px 18px; font-size: 14px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 86px 0 70px; text-align: center; }
.hero-bg {
  position: absolute; inset: -12% -10% auto -10%; height: 760px; z-index: 0;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(124, 92, 246, 0.16), transparent 70%),
    radial-gradient(40% 60% at 80% 10%, rgba(154, 92, 242, 0.12), transparent 70%),
    url(assets/hero-bg.webp) top center / cover no-repeat;
  /* Fade the image out toward the content so the headline stays crisp. */
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 92%);
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--violet); background: rgba(124, 92, 246, 0.10);
  padding: 6px 14px; border-radius: 999px; margin: 0 0 22px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 60px); line-height: 1.06; letter-spacing: -0.02em;
  color: var(--ink); font-weight: 800; margin: 0 0 18px;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--violet), var(--violet-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 600px; margin: 0 auto 28px; font-size: 18px; color: var(--body); }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-fineprint { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* Hero demo video */
.hero-art { position: relative; max-width: 760px; margin: 50px auto 0; }
.hero-video {
  width: 100%; display: block; border-radius: 16px;
  box-shadow: 0 30px 70px rgba(40, 20, 90, 0.22);
  border: 1px solid var(--line);
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-eyebrow { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin: 0 0 10px; }
.section-title { text-align: center; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); font-weight: 800; margin: 0 0 12px; }
.section-sub { text-align: center; max-width: 560px; margin: 0 auto 44px; color: var(--body); font-size: 17px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--violet), var(--violet-2));
}
.step h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink); }
.step p { margin: 0; color: var(--body); font-size: 15px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.feature-ico { font-size: 26px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink); }
.feature p { margin: 0; color: var(--body); font-size: 15px; }

/* Pricing */
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); text-align: center; max-width: 460px; margin: 0 auto; }
.price-tag { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 22px; }
.price-amount { font-size: 56px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.price-unit { font-size: 16px; color: var(--muted); font-weight: 600; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; display: inline-block; }
.price-list li { position: relative; padding: 8px 0 8px 30px; color: var(--body); font-size: 15.5px; }
.price-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--violet); font-weight: 800; }
.price-buy { width: 100%; }
.price-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.download-note { text-align: center; margin: 26px 0 0; font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--ink); font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet); font-size: 22px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--body); font-size: 15px; }

/* Footer */
.footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); }
.footer-brand img { border-radius: 7px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--body); font-size: 14.5px; }
.footer-copy { color: var(--muted); font-size: 13.5px; margin: 0; width: 100%; text-align: center; }

/* Responsive */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .steps, .features { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
