/* Shared shell for Cheqqa marketing subpages (plans, blog, etc.) */
:root {
  --bg-deep: #07080c;
  --bg-elevated: #0e1016;
  --surface: #141822;
  --surface-2: #1a1f2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6fb;
  --muted: #8b95a8;
  --accent: #5eead4;
  --warn: #fbbf24;
  --radius-md: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--accent);
  color: #042f2e;
  border-radius: 8px;
  z-index: 1000;
}
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  isolation: isolate;
  transform: translateZ(0);
  transition: padding 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(7, 8, 12, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img.logo-img {
  height: 40px;
  width: auto;
  max-height: 44px;
  max-width: min(250px, 55vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-links a[aria-current="page"] {
  color: var(--accent);
  background: rgba(94, 234, 212, 0.12);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), border-color 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.07); }
.btn-primary {
  background: #14b8a6;
  border: 1px solid rgba(94, 234, 212, 0.55);
  color: #042f2e;
}
.btn-primary:hover { background: #5eead4; border-color: #99f6e4; }
.btn-ghost { border-color: transparent; background: transparent; color: #fff; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.1); }

.plans-page {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.plans-page h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.15;
}
.plans-page .lede {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 42rem;
  margin: 0 0 28px;
  line-height: 1.6;
}
.plans-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow-x: visible;
}
@media (min-width: 701px) {
  .plans-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.plans-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
@media (min-width: 701px) {
  .plans-table {
    min-width: 640px;
  }
}
.plans-table th,
.plans-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.plans-table tr:last-child th,
.plans-table tr:last-child td { border-bottom: none; }
.plans-table thead th {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--surface-2);
}
.plans-table thead th:first-child { text-align: left; }
.plans-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  width: 40%;
  padding-right: 16px;
}
.plans-table td {
  text-align: center;
  color: var(--muted);
  white-space: nowrap;
}
.plans-table .plan-yes { color: var(--accent); font-weight: 600; font-size: 1rem; }
.plans-table .plan-no { color: var(--muted); font-size: 1rem; }
.plans-table .plan-future {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--warn);
  white-space: normal;
  max-width: 7rem;
  margin: 0 auto;
}
.plans-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 24px 64px;
  background: var(--bg-elevated);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr));
  gap: 32px;
  font-size: 0.875rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
footer h4 {
  font-family: "Syne", sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 14px;
}
footer a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  transition: color 0.2s;
}
footer a:hover { color: var(--text); }
.footer-brand { color: var(--muted); line-height: 1.6; }
.footer-brand strong { color: var(--text); }
