:root {
  --bg: #ffffff;
  --fg: #1d1d1f;
  --fg-muted: #6e6e73;
  --rule: #e5e5e7;
  --teal: #35bdca;
  --teal-dark: #1e9aa6;
  --blue: #007aff;
  --surface: #f5f5f7;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top nav */
header.site {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 10;
}

header.site .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

header.site .brand:hover { text-decoration: none; }

header.site img {
  width: 28px;
  height: 28px;
}

header.site .wordmark {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}

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

header.site nav a {
  color: var(--fg);
  font-size: 15px;
  font-weight: 400;
}

header.site nav a:hover {
  color: var(--teal-dark);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero img.icon {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}

.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 600;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero p.tagline {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.cta {
  display: inline-block;
  background: var(--teal);
  color: white !important;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 17px;
  transition: background 0.15s ease;
}

.cta:hover {
  background: var(--teal-dark);
  text-decoration: none;
}

.cta[aria-disabled="true"] {
  background: var(--surface);
  color: var(--fg-muted) !important;
  cursor: default;
  pointer-events: none;
  border: 1px dashed var(--rule);
}

.cta-note {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--fg-muted);
}

/* Stats strip under hero CTA */
.stats {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 760px;
}

.stats li {
  font-size: 14px;
  color: var(--fg-muted);
}

.stats li strong {
  display: block;
  color: var(--fg);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Generic section */
section {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
}

section h2 {
  font-size: 32px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  font-weight: 600;
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 17px;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* How it works */
.how ol {
  margin: 0 auto;
  padding-left: 20px;
  max-width: 720px;
}

.how li {
  margin-bottom: 14px;
  color: var(--fg-muted);
}

.how li strong {
  color: var(--fg);
}

/* Screenshots */
.screenshot-single {
  margin: 0 0 32px;
}

.screenshot-single img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--rule);
  display: block;
  background: var(--surface);
}

.screenshot-single figcaption {
  margin-top: 12px;
  color: var(--fg-muted);
  font-size: 14px;
  text-align: center;
}

/* Lightbox */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.lightbox img {
  display: block;
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #1d1d1f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
  background: #fff;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.screenshots figure {
  margin: 0;
}

.screenshots img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--rule);
  display: block;
  background: var(--surface);
}

.screenshots .placeholder {
  background: var(--surface);
  border: 1px dashed var(--rule);
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  font-size: 14px;
  text-align: center;
  padding: 0 16px;
}

.screenshots figcaption {
  margin-top: 12px;
  color: var(--fg-muted);
  font-size: 14px;
  text-align: center;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
  max-width: 760px;
  margin: 0 auto;
}

.faq details:first-of-type {
  border-top: 1px solid var(--rule);
}

.faq summary {
  font-weight: 500;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--fg-muted);
  font-weight: 400;
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 12px 0 0;
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Final CTA */
.final-cta {
  text-align: center;
  background: var(--surface);
}

.final-cta h2 {
  margin-bottom: 12px;
}

.final-cta p {
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 24px;
}

.final-cta .cta-note-block {
  margin-top: 20px;
  font-size: 14px;
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  color: var(--fg-muted);
  font-size: 14px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer .links a {
  margin-right: 16px;
}

footer .made-by {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .made-by img {
  height: 36px;
  width: auto;
  display: block;
}

footer .made-by a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
}

footer .made-by .ascentreon-name {
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Privacy / long-form pages */
article.doc {
  padding: 56px 0 80px;
  max-width: 720px;
}

article.doc h1 {
  font-size: 36px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  font-weight: 600;
}

article.doc .updated {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

article.doc h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  font-weight: 600;
  text-align: left;
}

article.doc p, article.doc li {
  color: var(--fg);
}

article.doc ul {
  padding-left: 20px;
}

article.doc li {
  margin-bottom: 6px;
}

article.doc .callout {
  background: var(--surface);
  border-left: 3px solid var(--teal);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 16px 0;
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 36px; }
  .hero p.tagline { font-size: 17px; }
  section { padding: 48px 0; }
  section h2 { font-size: 26px; }
  .features, .screenshots { grid-template-columns: 1fr; }
  .stats { gap: 20px; }
  header.site nav { gap: 14px; }
  header.site nav a { font-size: 14px; }
}
