/* Shared styles for crawlable marketing pages */
:root {
  --bg: #080b13;
  --bg-elevated: #0f141f;
  --ink: #e2e8f0;
  --muted: #94a3b8;
  --heading: #ffffff;
  --accent: #a5b4fc;
  --accent-strong: #818cf8;
  --rule: rgba(148, 163, 184, 0.18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79, 70, 229, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(6, 182, 212, 0.08), transparent 45%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: #c7d2fe;
  text-decoration: underline;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 1rem 0 1.75rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--heading);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #6366f1, #4f46e5 50%, #06b6d4);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: #fff;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin-left: auto;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a[aria-current="page"] {
  color: var(--accent-strong);
  font-weight: 600;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.28);
}

.cta:hover {
  filter: brightness(1.06);
}

h1 {
  color: var(--heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

h2 {
  color: #c7d2fe;
  font-size: 1.15rem;
  margin: 2rem 0 0.55rem;
  letter-spacing: -0.01em;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
}

ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}

li + li {
  margin-top: 0.4rem;
}

.lede {
  font-size: 1.08rem;
  color: #cbd5e1;
}

.footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: #64748b;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.featured-on {
  margin: 0.35rem 0 0.85rem;
}

.featured-on-label {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.featured-on-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.featured-on-list li,
.featured-on-list li + li {
  margin: 0;
}

.featured-on-list a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.featured-on-list a:hover {
  text-decoration: none;
  opacity: 0.92;
}

.featured-on-list img {
  display: block;
  max-width: 100%;
}

a.featured-on-text {
  box-sizing: border-box;
  height: var(--featured-h, 40px);
  padding: 0 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 20, 31, 0.9);
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: calc(var(--featured-h, 40px) - 2px);
  white-space: nowrap;
}

details {
  border-top: 1px solid var(--rule);
  padding: 0.9rem 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--rule);
}

summary {
  cursor: pointer;
  color: var(--heading);
  font-weight: 600;
  list-style: none;
}

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

summary::after {
  content: "+";
  float: right;
  color: var(--accent-strong);
  font-weight: 700;
}

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

details p {
  margin: 0.65rem 0 0.15rem;
}

.plan-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.plan {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem 1.2rem;
}

.plan h2 {
  margin-top: 0;
}

.price {
  color: var(--heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}

.price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
