:root {
  --bg: #0b0d12;
  --bg-alt: #12151c;
  --card: #171b24;
  --border: #262b38;
  --text: #eef0f4;
  --text-dim: #9aa2b1;
  --accent: #ff7a59;
  --accent-dim: #ff9478;
  --accent-contrast: #1a0e08;
  --green: #33d69f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-dim); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,13,18,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1080px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand .logo { font-size: 22px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.06s ease, opacity 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { background: var(--accent-dim); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent-dim); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.hero { padding: 88px 0 64px; text-align: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--green); background: rgba(51,214,159,0.1); border: 1px solid rgba(51,214,159,0.25);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 22px;
}
h1 { font-size: 44px; line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.01em; }
.hero p.lead { font-size: 19px; color: var(--text-dim); max-width: 620px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { font-size: 13px; color: var(--text-dim); }
.hero-shot { margin-top: 56px; }
.hero-shot img {
  width: 100%; max-width: 820px; border-radius: 12px; border: 1px solid var(--border);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}

section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: 30px; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--text-dim); font-size: 16px; margin: 0; }

.problem { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem .wrap { max-width: 760px; text-align: center; }
.problem h2 { font-size: 26px; margin-bottom: 16px; }
.problem p { color: var(--text-dim); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 26px;
}
.feature-card .icon { font-size: 26px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; margin: 0 0 8px; }
.feature-card p { font-size: 14px; color: var(--text-dim); margin: 0; }

.shots { display: flex; flex-direction: column; gap: 28px; max-width: 720px; margin: 0 auto; }
.shot-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.shot-card .shot-img-wrap { background: var(--bg); padding: 22px; display: flex; justify-content: center; }
.shot-card img { width: 100%; max-width: 480px; height: auto; display: block; border-radius: 6px; }
.shot-card .cap { padding: 16px 22px; font-size: 15px; color: var(--text-dim); border-top: 1px solid var(--border); text-align: center; }

.pricing { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price-card .plan { font-size: 14px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.price-card .amount { font-size: 34px; font-weight: 700; margin-bottom: 4px; }
.price-card .amount span { font-size: 15px; color: var(--text-dim); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.price-card li { font-size: 14px; color: var(--text-dim); padding: 7px 0; padding-left: 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 17px; margin: 0 0 10px; }
.faq-item p { font-size: 15px; color: var(--text-dim); margin: 0; }

.cta-final { text-align: center; }
.cta-final h2 { font-size: 30px; margin-bottom: 14px; }
.cta-final p { color: var(--text-dim); margin-bottom: 30px; }

footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-dim); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-brand { font-size: 13px; color: var(--text-dim); }

@media (max-width: 720px) {
  h1 { font-size: 32px; }
  .features { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 56px 0 40px; }
}

/* Scroll-reveal: the .js class is only added if JS actually runs, so
   content stays fully visible by default for crawlers / no-JS clients
   instead of ever depending on JS to become visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.typewriter-cursor {
  display: inline-block; width: 2px; height: 1em;
  background: var(--accent); margin-left: 2px; vertical-align: text-bottom;
  animation: tw-blink 0.9s step-end infinite;
}
@keyframes tw-blink { 50% { opacity: 0; } }

/* ---- Blog ---- */
.blog-hero { padding: 64px 0 40px; text-align: center; }
.blog-hero h1 { font-size: 36px; }
.blog-hero p { color: var(--text-dim); font-size: 17px; max-width: 560px; margin: 0 auto; }

.post-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; padding-bottom: 72px; }
.post-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px;
  text-decoration: none; color: var(--text); display: block;
  transition: border-color 0.15s ease;
}
.post-card:hover { border-color: var(--accent-dim); }
.post-card .post-date { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.post-card h2 { font-size: 21px; margin: 0 0 10px; letter-spacing: -0.01em; }
.post-card p { color: var(--text-dim); font-size: 15px; margin: 0; }

.post { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
.post-header { margin-bottom: 40px; }
.post-header .post-date { font-size: 14px; color: var(--text-dim); margin-bottom: 12px; }
.post-header h1 { font-size: 36px; line-height: 1.2; margin: 0 0 16px; }
.post-header .post-dek { font-size: 18px; color: var(--text-dim); margin: 0 0 22px; }
.post-toc {
  display: flex; flex-wrap: wrap; gap: 8px 10px; padding-top: 20px; border-top: 1px solid var(--border);
}
.post-toc a {
  font-size: 13px; color: var(--text-dim); text-decoration: none; padding: 6px 12px;
  border: 1px solid var(--border); border-radius: 999px; transition: color 0.15s ease, border-color 0.15s ease;
}
.post-toc a:hover { color: var(--text); border-color: var(--accent-dim); }
.post-body { font-size: 17px; }
.post-body h2 { font-size: 26px; margin: 44px 0 16px; letter-spacing: -0.01em; }
.post-body h3 { font-size: 20px; margin: 32px 0 12px; }
.post-body p { color: #d5d9e0; margin: 0 0 18px; }
.post-body ul, .post-body ol { color: #d5d9e0; margin: 0 0 18px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--text); }
.post-body .callout {
  background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 18px 22px; margin: 28px 0; color: #d5d9e0; font-size: 15px;
}
.post-body table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; font-size: 14px; }
.post-body th, .post-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.post-body th { color: var(--text-dim); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
.post-body td { color: #d5d9e0; }
.post-body .table-wrap { overflow-x: auto; margin: 24px 0 32px; }
.post-body .table-wrap table { margin: 0; }
.post-footnote { font-size: 13px; color: var(--text-dim); border-top: 1px solid var(--border); padding-top: 20px; margin-top: 40px; }
.post-cta {
  margin-top: 48px; padding: 28px; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; text-align: center;
}
.post-cta h3 { margin: 0 0 8px; font-size: 20px; }
.post-cta p { color: var(--text-dim); margin: 0 0 20px; }
