/* Colors: tweak these to match the app exactly */
:root {
  --bg: #0b0d0a;
  --bg-2: #121510;
  --card: #161a13;
  --line: #262c20;
  --text: #e8eee2;
  --muted: #9aa392;
  --lime: #a6e22e;
  --lime-2: #c4f25c;
  --lime-ink: #0b0d0a;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Keep jump targets clear of the sticky header (it wraps to two rows on phones) */
section[id] { scroll-margin-top: 16px; }
@media (max-width: 640px) { section[id] { scroll-margin-top: 88px; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-2); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.lime { color: var(--lime); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 10, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.brand:hover { color: var(--text); }
.logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--lime); color: var(--lime-ink);
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px; letter-spacing: -.04em;
}
.brand b { color: var(--lime); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); padding: 6px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--card); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; font-size: 1rem;
}
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: var(--lime-2); color: var(--lime-ink); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 72px 0; }
.hero { padding: 96px 0 64px; text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, rgba(166, 226, 46, .14), transparent 70%); }
.hero p { font-size: 1.15rem; max-width: 560px; margin: 0 auto 28px; }
.hero .btn-row { justify-content: center; }
.page-head { padding: 64px 0 24px; }
.page-head p { font-size: 1.1rem; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px;
  background: rgba(166, 226, 46, .12); color: var(--lime);
  display: grid; place-items: center; font-size: 20px;
}

/* Screenshots */
.shots { display: grid; gap: 24px 16px; grid-template-columns: repeat(2, 1fr); }
.shot { margin: 0; min-width: 0; }
.shot-main { grid-column: 1 / -1; }
@media (max-width: 640px) { .shots { grid-template-columns: 1fr; } }
.shot img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2);
}
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* Pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 20px 60px -30px rgba(166, 226, 46, .5); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--lime-ink); background: var(--lime); border-radius: 6px; padding: 2px 8px; margin-bottom: 12px; align-self: flex-start; }
.price { font-size: 2.6rem; font-weight: 800; margin: 4px 0; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 800; }
.plan .btn { width: 100%; }

/* Text pages */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.25rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lime); font-weight: 800; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 20px 16px; color: var(--muted); }

/* Download */
.download-box { text-align: center; padding: 48px 24px; }
.download-box .btn { font-size: 1.1rem; padding: 16px 32px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 12px 40px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--lime-ink);
  display: grid; place-items: center; font-weight: 800; font-size: .85rem; }

/* CTA band */
.cta { text-align: center; }
.cta .card { padding: 48px 24px; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--lime); }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  section { padding: 48px 0; }
  .hero { padding: 64px 0 40px; }
  .nav a { padding: 6px 8px; }
}

/* Disabled buttons ("Coming soon") */
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* Basic vs Full comparison */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare thead th:not(:first-child), .compare td { text-align: center; width: 90px; }
.compare tbody th { font-weight: 600; }
.compare tbody th span { display: block; margin-top: 2px; font-weight: 400; font-size: .9rem; color: var(--muted); }
.compare .yes { color: var(--lime); font-weight: 800; }
.compare .no { color: var(--muted); }
@media (max-width: 640px) {
  .compare th, .compare td { padding: 12px; }
  .compare thead th:not(:first-child), .compare td { width: 56px; }
}

/* Click-to-zoom screenshots (see zoom.js) */
.zoomable { position: relative; display: block; border-radius: var(--radius); cursor: zoom-in; }
.zoomable::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(11, 13, 10, .8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6e22e' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  border: 1px solid var(--line); opacity: 0; transform: scale(.9); transition: opacity .15s, transform .15s; pointer-events: none;
}
.zoomable:hover::after, .zoomable:focus-visible::after { opacity: 1; transform: none; }
.zoomable:hover img { border-color: var(--lime); }
.zoomable:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
@media (hover: none) { .zoomable::after { opacity: .9; transform: none; width: 32px; height: 32px; top: 8px; right: 8px; background-size: 17px; } }

.zoom-open, .zoom-open body { overflow: hidden; }
.zoom-overlay {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: 56px 16px 16px; background: rgba(5, 6, 5, .95); cursor: zoom-out;
  animation: zoom-fade .15s ease-out;
}
.zoom-overlay[hidden] { display: none; }
.zoom-overlay img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 10px; border: 1px solid var(--line); cursor: default; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.zoom-overlay.can-zoom img { cursor: zoom-in; }
.zoom-overlay.is-zoomed { display: block; place-items: start; overflow: auto; -webkit-overflow-scrolling: touch; }
.zoom-overlay.is-zoomed img { max-width: none; max-height: none; width: 1280px; cursor: zoom-out; }
.zoom-hint {
  display: none; position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0;
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; white-space: nowrap; pointer-events: none;
  background: var(--card); color: var(--muted); border: 1px solid var(--line);
}
.zoom-overlay.can-zoom:not(.is-zoomed) .zoom-hint { display: block; }
.zoom-close {
  position: fixed; top: 10px; right: 12px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--card); color: var(--text); border: 1px solid var(--line);
}
.zoom-close:hover, .zoom-close:focus-visible { color: var(--lime); border-color: var(--lime); outline: none; }
@keyframes zoom-fade { from { opacity: 0; } }
@media (min-width: 900px) { .zoom-overlay { padding: 48px; } }
