/* Ace Overlay site — grayscale, matches the app icon */
:root {
  --bg: #121214;
  --bg-raise: #1b1b1f;
  --border: #2c2c31;
  --text: #ececef;
  --muted: #9a9aa2;
  --faint: #6d6d75;
  --white: #f4f4f6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
}

.brand img { border-radius: 7px; }

.nav nav { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

main { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

section { padding: 72px 0; border-bottom: 1px solid var(--border); }

h1 {
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -1px;
}

h1 span { color: var(--faint); }

h2 { font-size: 30px; letter-spacing: -0.5px; margin-bottom: 28px; }

.hero { padding-top: 96px; text-align: center; }
.hero h2, .pricing h2, .download h2, .faq h2, .features h2 { text-align: center; }

.lede {
  max-width: 640px;
  margin: 22px auto 30px;
  color: var(--muted);
  font-size: 17px;
}

.cta-row { display: flex; gap: 14px; justify-content: center; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  transition: transform 0.12s, background 0.12s;
}

.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--white); color: #111; border-color: var(--white); }
.btn.primary:hover { background: #fff; }
.btn.ghost { background: var(--bg-raise); color: var(--text); }
.btn.ghost:hover { background: #232327; }

.fineprint { margin-top: 18px; text-align: center; color: var(--faint); font-size: 12.5px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.card h3 { font-size: 15.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 13.5px; }

.tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--white);
  color: #111;
  border-radius: 4px;
  padding: 1px 6px;
  vertical-align: 2px;
  margin-left: 4px;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: start;
}

.tier {
  position: relative;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tier.highlight { border-color: var(--white); }

.ribbon {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 12px;
}

.tier h3 { font-size: 18px; }

.price { font-size: 36px; font-weight: 700; }
.price span { font-size: 13px; font-weight: 400; color: var(--faint); }

.tier ul { list-style: none; color: var(--muted); font-size: 14px; flex: 1; }
.tier li { padding: 5px 0 5px 24px; position: relative; }
.tier li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(-45deg);
}

.tier .btn { text-align: center; }

.download { text-align: center; }
.download > p { color: var(--muted); margin-bottom: 22px; }

.faq details {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}

.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.legal {
  padding: 56px 0 72px;
  max-width: 720px;
}

.legal h1 { font-size: 34px; letter-spacing: -0.5px; margin-bottom: 6px; }
.legal .updated { color: var(--faint); font-size: 13px; margin-bottom: 28px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 14.5px; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

footer {
  text-align: center;
  padding: 36px 24px 48px;
  color: var(--faint);
  font-size: 13px;
}

footer a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  h1 { font-size: 36px; }
  .nav nav { gap: 14px; }
  section { padding: 52px 0; }
}
