:root {
  --bg: #0a0f1e;
  --surface: #1a2540;
  --surface-deep: #10192e;
  --line: #1e2d47;
  --brand: #F5A623;
  --brand-dark: #C99400;
  --text: #ffffff;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --text-muted: #64748b;
  --success: #4ade80;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin: 0.5rem 0;
  color: var(--text-2);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.site-header nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.site-header nav a {
  color: var(--text-3);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--brand);
  border-radius: 8px;
  color: #000;
  font-weight: 900;
  font-size: 1.1rem;
}

.logo.small {
  width: 24px;
  height: 24px;
  font-size: 0.85rem;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  padding: 4rem 0 5rem;
  max-width: 760px;
}

.hero .accent {
  color: var(--brand);
}

.hero .lede {
  font-size: 1.125rem;
  color: var(--text-3);
  margin-top: 1rem;
  max-width: 620px;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.1s ease, background 0.15s;
}

.btn-primary {
  background: var(--brand);
  color: #000;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--text-3);
}

.pilot {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.feature h3 {
  color: var(--text);
  margin-bottom: 0.25rem;
}

.feature p {
  color: var(--text-3);
  font-size: 0.925rem;
}

.pricing .plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 760px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  position: relative;
}

.plan-featured {
  background: var(--surface-deep);
  border: 2px solid var(--brand);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.plan h3 {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
}

.plan .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.5rem 0 0.125rem;
}

.plan .price span {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan .yearly {
  color: var(--success);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--text-2);
}

.plan li {
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.plan li::before {
  content: '✓';
  color: var(--brand);
  margin-right: 0.5rem;
  font-weight: 700;
}

.plan .fineprint {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 1rem;
}

.download {
  text-align: center;
}

.download p {
  max-width: 560px;
  margin: 0.5rem auto 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-inner nav {
  display: flex;
  gap: 1.25rem;
}

.footer-inner nav a {
  color: var(--text-3);
}

/* Legal pages */
.legal {
  max-width: 760px;
  padding: 3rem 1.5rem;
  margin: 0 auto;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: var(--text-2);
  font-size: 0.95rem;
}

.legal a.back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--brand);
}

@media (max-width: 560px) {
  .site-header nav {
    gap: 1rem;
    font-size: 0.875rem;
  }
  .site-header nav a:not(:last-child) {
    display: none;
  }
}
