:root {
  --accent: oklch(0.52 0.11 200);
  --accent-hover: oklch(0.40 0.10 200);
  --accent-light: oklch(0.62 0.12 200);
  --accent-dark-hover: oklch(0.42 0.10 200);
  --accent-on-dark: oklch(0.78 0.09 200);
  --ink: #0b0d0e;
  --ink-soft: #101416;
  --text: #0b0d0e;
  --text-body: #4a5153;
  --text-muted: #6b7275;
  --text-faint: #8a9092;
  --border: #e3e6e6;
  --border-soft: #dfe3e3;
  --bg: #f6f7f7;
  --card-bg: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.mono { font-family: "Geist Mono", monospace; }

/* ── Header ───────────────────────────────────────────── */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 247, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 32px; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand-link { display: flex; align-items: center; cursor: pointer; background: none; border: none; padding: 0; }
.brand-link img { height: 22px; width: auto; display: block; }
nav.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 14px; color: #3d4446; cursor: pointer; padding: 6px 0;
  border-bottom: 2px solid transparent; background: none; border-top: none; border-left: none; border-right: none;
  font-family: inherit;
}
.nav-link:hover { color: var(--ink); border-bottom: 2px solid var(--accent-light); }
.btn-buy-nav {
  font-size: 14px; font-weight: 500; color: var(--bg); background: var(--ink);
  padding: 9px 18px; border-radius: 2px; cursor: pointer; border: none; font-family: inherit;
}
.btn-buy-nav:hover { background: var(--accent-dark-hover); }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block; font-size: 15px; font-weight: 500; padding: 14px 26px;
  border-radius: 2px; cursor: pointer; border: none; font-family: inherit; text-align: center;
}
.btn-primary { color: var(--bg); background: var(--ink); }
.btn-primary:hover { background: var(--accent-dark-hover); }
.btn-secondary { color: var(--ink); background: transparent; border: 1px solid #c9cfcf; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-light { color: var(--ink-soft); background: #eceeee; }
.btn-light:hover { background: var(--accent-on-dark); }

/* ── Layout helpers ───────────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 26px;
}
.section-label {
  margin: 0 0 40px; font-size: 13px; font-family: "Geist Mono", monospace;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint);
}
.grid-line { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.grid-cell { background: var(--bg); }
.screenshot-frame {
  border: 1px solid var(--border-soft); border-radius: 3px; background: var(--card-bg); padding: 10px;
}
.screenshot-inner {
  display: flex; align-items: flex-end; justify-content: space-between; padding: 26px;
  background-image: repeating-linear-gradient(135deg, #eef0f0 0 2px, transparent 2px 9px);
  border: 1px solid #e8ebeb;
}
.screenshot-inner img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }

/* ── Gallery lightbox triggers ───────────────────────────── */
.gallery-item {
  display: block; width: 100%; padding: 0; margin: 0; border: none; background: none;
  font: inherit; color: inherit; text-align: left; cursor: zoom-in;
}
.gallery-item .screenshot-frame { position: relative; transition: border-color .15s ease; }
.gallery-item:hover .screenshot-frame,
.gallery-item:focus-visible .screenshot-frame { border-color: var(--accent); }
.gallery-item .screenshot-frame::after {
  content: "Enlarge"; position: absolute; top: 18px; right: 18px; padding: 5px 10px;
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(0,0,0,.65); color: #fff; border-radius: 3px; opacity: 0; transition: opacity .15s ease;
  pointer-events: none;
}
.gallery-item:hover .screenshot-frame::after,
.gallery-item:focus-visible .screenshot-frame::after { opacity: 1; }

.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000; padding: 6vh 6vw;
  background: rgba(10,12,13,.92); align-items: center; justify-content: center; flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-caption { margin-top: 18px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #b7bcbd; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.16); }

.gallery-theme-toggle {
  display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px;
}
.gallery-theme-opt {
  font: inherit; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.04em;
  padding: 5px 14px; border: none; border-radius: 999px; background: none; color: var(--text-muted); cursor: pointer;
}
.gallery-theme-opt.active { background: var(--ink); color: #fff; }

/* ── Pages ────────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ── Dark sections ────────────────────────────────────── */
.section-dark { background: var(--ink-soft); color: #eceeee; }

footer.site-footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 44px 32px 56px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-cols { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col-label {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.14em;
  color: var(--text-faint); text-transform: uppercase;
}
.footer-link { font-size: 14px; color: #3d4446; cursor: pointer; background: none; border: none; text-align: left; font-family: inherit; padding: 0; }
.footer-link:hover { color: var(--ink); }

/* ── Pricing card ─────────────────────────────────────── */
.pricing-card {
  border: 1px solid var(--border-soft); background: var(--card-bg); border-radius: 3px;
  padding: 40px 36px; display: flex; flex-direction: column; gap: 26px;
}
.addon-row {
  display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid #eceeee;
  padding-top: 22px; cursor: pointer; background: none; border-left: none; border-right: none; border-bottom: none;
  text-align: left; font-family: inherit; width: 100%;
}
.addon-box {
  width: 18px; height: 18px; border-radius: 3px; border: 1px solid #c9cfcf; flex-shrink: 0;
  margin-top: 1px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px;
}
.addon-box.checked { background: var(--ink); border-color: var(--ink); }

/* ── Contact form ─────────────────────────────────────── */
.contact-card {
  border: 1px solid var(--border-soft); background: var(--card-bg); border-radius: 3px;
  padding: 32px 30px 36px; display: flex; flex-direction: column; gap: 18px;
}
.field-label {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.14em;
  color: var(--text-muted); text-transform: uppercase;
}
.field { display: flex; flex-direction: column; gap: 7px; }
input[type="text"], input[type="email"], textarea {
  font-family: "Geist", sans-serif; font-size: 15px; padding: 11px 12px;
  border: 1px solid var(--border-soft); border-radius: 2px; background: #fbfbfb; color: var(--ink); outline: none;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1px solid var(--accent-light); background: #fff;
}
textarea { resize: vertical; font-family: "Geist", sans-serif; }
.form-msg { font-size: 14px; margin-top: 4px; }
.form-msg.ok { color: #1f7a4d; }
.form-msg.err { color: #b3261e; }

/* ── Requirements list ────────────────────────────────── */
.req-note {
  margin: 40px 0 0; border: 1px solid #242b2d; border-left: 2px solid var(--accent-on-dark);
  padding: 22px 26px; max-width: 70ch;
}

@media (max-width: 720px) {
  .header-inner { padding: 0 18px; }
  nav.site-nav { gap: 14px; }
  .wrap { padding: 0 18px; }
}
