:root {
  color-scheme: dark;
  --ink: #f7f7f2;
  --muted: #bfc4b6;
  --paper: #10130f;
  --panel: #1b211a;
  --panel-strong: #232b20;
  --line: rgba(247, 247, 242, 0.14);
  --green: #83d16d;
  --mint: #b9f18f;
  --orange: #f2a45f;
  --red: #ee6d62;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(16, 19, 15, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 800;
  gap: 12px;
}

.brand img {
  border-radius: 8px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  outline: none;
}

.site-nav .nav-cta {
  background: var(--green);
  color: #10130f;
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.hero {
  min-height: 96vh;
  overflow: hidden;
  padding: 112px clamp(20px, 5vw, 72px) 44px;
  position: relative;
}

.hero-bg {
  inset: 0;
  opacity: 0.22;
  position: absolute;
  z-index: 0;
}

.hero-bg::after {
  background: linear-gradient(90deg, rgba(16, 19, 15, 0.98) 0%, rgba(16, 19, 15, 0.76) 48%, rgba(16, 19, 15, 0.25) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-bg img {
  height: 100%;
  object-fit: cover;
  object-position: right center;
  width: 100%;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 84px);
  grid-template-columns: minmax(0, 1.02fr) minmax(310px, 0.68fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(96vh - 156px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.88;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-lede {
  color: #e5eadf;
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  line-height: 1.45;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
}

.button.primary {
  background: var(--green);
  color: #10130f;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.08);
  outline: 2px solid rgba(185, 241, 143, 0.42);
  outline-offset: 3px;
}

.phone-stage {
  align-items: center;
  display: flex;
  justify-content: center;
}

.phone-frame {
  aspect-ratio: 9 / 16;
  background:
    radial-gradient(circle at 50% 8%, rgba(131, 209, 109, 0.22), transparent 30%),
    linear-gradient(180deg, #242d22, #11150f);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  box-shadow: var(--shadow);
  display: grid;
  justify-items: center;
  max-height: 610px;
  padding: 34px 24px;
  width: min(100%, 340px);
}

.phone-frame img {
  border-radius: 18px;
  margin-top: 16px;
  width: 72%;
}

.phone-frame p {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.mini-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 86px);
  margin-top: 12px;
}

.mini-grid span {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: center;
}

.mini-grid svg {
  color: var(--green);
  height: 34px;
  width: 34px;
}

.stats-strip {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
}

.stats-strip div {
  padding: 24px clamp(20px, 4vw, 64px);
}

.stats-strip div + div {
  border-left: 1px solid var(--line);
}

.stats-strip strong {
  color: var(--orange);
  display: block;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.stats-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 96px clamp(20px, 5vw, 48px);
}

.section-heading {
  max-width: 760px;
}

.feature-grid,
.setup-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.feature-card,
.setup-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 24px;
}

.feature-card svg {
  color: var(--green);
  height: 34px;
  margin-bottom: 24px;
  width: 34px;
}

.feature-card p,
.setup-grid p,
.showcase p,
.download p,
.privacy-band p {
  color: var(--muted);
  line-height: 1.65;
}

.legal-page {
  max-width: 900px;
  margin: 88px auto 0;
}

.legal-page h2 {
  margin-top: 2rem;
}

.legal-page p,
.legal-page li {
  line-height: 1.75;
}

.showcase {
  align-items: center;
  background: #181d16;
  border-block: 1px solid var(--line);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  padding: 86px clamp(20px, 7vw, 92px);
}

.showcase-copy {
  max-width: 680px;
}

.demo-section {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  margin: 0 auto;
  max-width: 1240px;
  padding: 96px clamp(20px, 5vw, 48px);
}

.demo-copy {
  max-width: 560px;
}

.demo-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.demo-stack {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-media {
  background:
    radial-gradient(circle at 50% 12%, rgba(242, 164, 95, 0.18), transparent 36%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.demo-media h3 {
  margin-bottom: 14px;
}

.demo-media video {
  aspect-ratio: 9 / 16;
  background: #080a07;
  border-radius: 8px;
  display: block;
  max-height: 680px;
  object-fit: contain;
  width: 100%;
}

.demo-stills {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.demo-stills img {
  aspect-ratio: 9 / 16;
  background: #080a07;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.permission-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.permission-summary span {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  padding: 9px 10px;
}

.permission-summary svg {
  color: var(--green);
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.permission-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 14px 0 0;
}

.rule-panel {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.rule-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
}

.rule-row span {
  color: var(--muted);
  font-weight: 700;
}

.rule-row strong {
  font-size: 1.7rem;
}

.progress-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  height: 12px;
  margin-top: 28px;
  overflow: hidden;
}

.progress-track span {
  background: linear-gradient(90deg, var(--green), var(--orange));
  display: block;
  height: 100%;
}

.rule-panel p {
  color: var(--mint);
  font-weight: 900;
  margin: 14px 0 0;
}

.setup-section {
  max-width: 1240px;
}

.setup-grid article {
  overflow: hidden;
  padding: 0 0 22px;
}

.setup-grid picture,
.setup-grid article > img {
  background:
    radial-gradient(circle at 50% 44%, rgba(131, 209, 109, 0.14), transparent 42%),
    #131811;
}

.setup-grid img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 18px;
  width: 100%;
}

.setup-grid h3,
.setup-grid p {
  padding-inline: 22px;
}

.setup-grid h3 {
  margin-top: 20px;
}

.privacy-band {
  align-items: center;
  background: #211d19;
  border-block: 1px solid var(--line);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding: 74px clamp(20px, 7vw, 92px);
}

.privacy-band div {
  max-width: 760px;
}

.privacy-band > svg {
  color: var(--orange);
  flex: 0 0 auto;
  height: 82px;
  width: 82px;
}

.download {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 96px 20px;
  text-align: center;
}

.download img {
  border-radius: 18px;
  margin-bottom: 22px;
}

.download p {
  max-width: 620px;
}

.download .button {
  margin-top: 16px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
}

.site-footer a {
  color: var(--ink);
}

svg {
  height: 20px;
  width: 20px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: rgba(16, 19, 15, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 12px 20px 20px;
    position: fixed;
    right: 0;
    top: 72px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .setup-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stats-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .privacy-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1080px) {
  .hero-inner,
  .showcase,
  .demo-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
  }

  .phone-stage {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .demo-stack {
    grid-template-columns: 1fr;
  }

  .permission-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-top: 96px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .phone-frame {
    border-radius: 24px;
    width: 100%;
  }

  .mini-grid {
    grid-template-columns: repeat(2, minmax(72px, 1fr));
    width: 100%;
  }

  h1 {
    font-size: 3.9rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
