:root {
  --bg: #1a1612; --bg-alt: #211c17; --accent: #c9a24b; --accent-soft: #d8b96e;
  --text: #ece6da; --muted: #9a9079; --border: #322a22;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header / nav ───────────────────────────────────────── */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); flex-wrap: wrap; gap: 0.5rem; z-index: 10;
}
.brand { font-size: 1.35rem; font-weight: 700; color: var(--accent); letter-spacing: -0.01em; text-decoration: none; }
nav a { color: var(--muted); text-decoration: none; margin-left: 1.4rem; font-size: 0.95rem; }
nav a:hover { color: var(--text); }
nav a.active { color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ── Buttons / badges ───────────────────────────────────── */
.btn {
  display: inline-block; padding: 0.7rem 1.3rem; border-radius: 8px; font-weight: 600;
  text-decoration: none; font-size: 0.98rem; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #1a1612; }
.btn-primary:hover { background: var(--accent-soft); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; }

.kicker { color: var(--accent); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.8rem; }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 999px; padding: 0.18rem 0.65rem;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { text-align: center; padding: 5rem 1.5rem 4rem; }
.hero h1 { font-size: clamp(2.1rem, 6.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; margin: 0.8rem 0 1rem; }
.hero p { font-size: clamp(1.05rem, 3vw, 1.3rem); color: var(--muted); max-width: 42rem; margin: 0 auto 2rem; }
.hero .cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.hero-logo { width: 84px; height: 84px; border-radius: 18px; margin-bottom: 0.5rem; }

/* ── Sections ───────────────────────────────────────────── */
section { padding: 3.75rem 0; border-top: 1px solid var(--border); }
section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 0.6rem; }
.lead { color: var(--muted); max-width: 44rem; margin: 0 0 2rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 1.3rem; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 0.4rem; font-size: 1.06rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Feature card that links to the product page */
.feature-link {
  display: block; text-decoration: none; color: inherit;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px;
  padding: 2rem; transition: border-color 0.15s ease;
}
.feature-link:hover { border-color: var(--accent); }
.feature-link h3 { margin: 0.6rem 0 0.5rem; font-size: 1.4rem; color: var(--text); }
.feature-link p { margin: 0 0 0.8rem; color: var(--muted); }
.feature-link .more { color: var(--accent); font-weight: 600; font-size: 0.95rem; }

/* ── Steps ──────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent);
  display: grid; place-items: center; font-weight: 700;
}
.step h3 { margin: 0.1rem 0 0.2rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ── Screenshots ────────────────────────────────────────── */
.shot { margin: 2rem 0 0.5rem; }
.shot img {
  width: 100%; height: auto; display: block; border-radius: 10px;
  border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.shot figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 0.6rem; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--border); }
.gallery figcaption { color: var(--muted); font-size: 0.82rem; margin-top: 0.5rem; }

/* ── Lightbox (CSS-only, :target) ───────────────────────── */
.shot a, .gallery a { display: block; cursor: zoom-in; }
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.88); padding: 2rem; cursor: zoom-out;
  align-items: center; justify-content: center;
}
.lightbox:target { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 8px; border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

/* ── Misc ───────────────────────────────────────────────── */
.about p { color: var(--muted); max-width: 44rem; }
.note { color: var(--muted); font-size: 0.9rem; margin-top: 1.5rem; }
.contact a.email { font-size: 1.2rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding-bottom: 2px; }
.detail-list { color: var(--muted); list-style: none; padding: 0; margin: 1.5rem 0 0; }
.detail-list li { margin: 0.35rem 0; }
.detail-list strong { color: var(--text); font-weight: 600; }

footer { border-top: 1px solid var(--border); padding: 2rem 1.5rem; text-align: center; color: var(--muted); font-size: 0.82rem; }
footer a { color: var(--muted); }
footer .footer-nav { margin-bottom: 0.6rem; }
footer .footer-nav a { margin: 0 0.6rem; }
.footer-legal { max-width: 48rem; margin: 0.8rem auto 0; font-size: 0.72rem; opacity: 0.55; line-height: 1.5; }
