:root {
  --bg: #1b1a1a;
  --accent: #ffe600;
  --bg-alt: #211f1f;
  --surface: #262424;
  --surface-2: #2e2b2b;
  --border: #3a3737;
  --text: #f2f0ec;
  --muted: #a5a09a;
  --radius: 14px;
  --maxw: 1120px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

img { max-width: 100%; display: block; }

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .1em .4em;
  color: var(--accent);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #000; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(27, 26, 26, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(27, 26, 26, .92); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: #111;
}
.brand-text { font-size: 1.15rem; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: var(--muted); font-size: .93rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav-link.is-active { color: var(--accent); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 10px; width: 42px; height: 40px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 24px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-primary { background: var(--accent); color: #141313; }
.btn-primary:hover { background: #fff04d; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.2; margin: 0; letter-spacing: -.02em; }
.section-sub { color: var(--muted); margin: 10px 0 0; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { padding-top: 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% 40% 40% -20%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 230, 0, .12), transparent 62%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.7rem); line-height: 1.06; margin: 0 0 20px; letter-spacing: -.035em; }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 50ch; margin: 0 0 32px; }
.lead em { color: var(--text); font-style: italic; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin: 16px 0 0; font-size: .83rem; color: var(--muted); }

.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 32px; margin: 44px 0 0; padding: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.3rem; color: var(--accent); letter-spacing: -.02em; }
.hero-stats span { font-size: .8rem; color: var(--muted); }

/* Hero mock */
.mock-window {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #4a4646; }
.mock-url {
  flex: 1; margin-left: 10px; font-size: .72rem; color: var(--muted);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-body { padding: 40px 32px 34px; text-align: center; }
.lock-badge {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; color: var(--accent);
  background: rgba(255, 230, 0, .09); border: 1px solid rgba(255, 230, 0, .3);
  animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 230, 0, .22); }
  50% { box-shadow: 0 0 0 16px rgba(255, 230, 0, 0); }
}
.mock-body h3 { margin: 0 0 6px; font-size: 1.15rem; }
.mock-sub { margin: 0 0 20px; color: var(--muted); font-size: .88rem; }
.mock-input {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; letter-spacing: .35em;
  color: var(--text); min-height: 46px;
}
.mock-btn {
  margin-top: 12px; background: var(--accent); color: #141313;
  border-radius: 10px; padding: 12px; font-weight: 700;
}
.mock-note { margin: 16px 0 0; font-size: .74rem; color: var(--muted); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 230, 0, .45); background: var(--surface-2); }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: s; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.step { position: relative; padding: 26px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step-num { display: block; font-size: 1.6rem; font-weight: 800; color: rgba(255, 230, 0, .35); letter-spacing: -.04em; margin-bottom: 6px; }
.step h3 { margin: 0 0 8px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

.install-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.install { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 28px; }
.install-secondary { border-left-color: var(--border); }
.install-tag {
  display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 230, 0, .12); color: var(--accent); border: 1px solid rgba(255, 230, 0, .3);
}
.install-tag.muted-tag { background: var(--surface-2); color: var(--muted); border-color: var(--border); }
.install h3 { margin: 0 0 14px; font-size: 1.05rem; }
.install-list { margin: 0 0 20px; padding-left: 20px; color: var(--muted); font-size: .93rem; }
.install-list li { margin-bottom: 6px; }

/* ---------- Privacy ---------- */
.policy { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.policy-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.policy-block h3 { margin: 0 0 12px; font-size: 1.03rem; color: var(--accent); }
.policy-block p { margin: 0 0 10px; color: var(--muted); font-size: .93rem; }
.policy-block p:last-child { margin-bottom: 0; }
.policy-block ul { margin: 0 0 10px; padding-left: 20px; color: var(--muted); font-size: .93rem; }
.policy-block li { margin-bottom: 8px; }
.perms { list-style: none; padding: 0; }
.perms li { display: flex; flex-direction: column; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.perms li:last-child { border-bottom: 0; padding-bottom: 0; }
.perms code { align-self: flex-start; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: start; }
.about-copy p { color: var(--muted); margin: 0 0 16px; }
.about-copy strong { color: var(--text); }
.about-side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.about-side h3 { margin: 0 0 14px; font-size: 1.02rem; }
.tick { list-style: none; margin: 0; padding: 0; }
.tick li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); font-size: .92rem; }
.tick li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: var(--muted); font-size: .88rem; }
.footer-nav a:hover { color: var(--accent); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #141313; border: 0; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .mock-window { transform: none; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 14px 24px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-cta { margin: 8px 0 0; }
  .hero-stats { gap: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
