/* Marketing sticky header + footer (Home/About/Contact/Privacy) */

.mkt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: auto;
  background: color-mix(in oklab, var(--background) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}

.mkt-header-inner {
  margin: 0 auto;
  max-width: 80rem;
  height: var(--header-h);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.mkt-logo img {
  height: 2.5rem;
  width: auto;
  display: block;
}

.mkt-nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.mkt-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.mkt-nav a:hover {
  color: var(--ink);
}

.mkt-header-cta {
  display: none;
}

.mkt-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: filter 0.15s ease;
}

/* Beat `.mkt-page a { color: inherit }` (0,1,1) so pink CTAs stay white */
.mkt-page a.mkt-btn-primary,
a.mkt-btn-primary {
  color: var(--primary-foreground);
}

.mkt-btn-primary:hover {
  filter: brightness(1.1);
}

.mkt-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--ink);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background 0.15s ease;
}

.mkt-btn-secondary:hover {
  background: var(--muted);
}

.mkt-btn-try {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: filter 0.15s ease;
}

.mkt-page a.mkt-btn-try,
a.mkt-btn-try {
  color: var(--primary-foreground);
}

.mkt-btn-try:hover {
  filter: brightness(1.1);
}

.mkt-btn-try small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
  color: inherit;
}

.mkt-menu-toggle {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.mkt-menu-toggle:hover {
  background: var(--muted);
}

.mkt-menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mkt-mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 1rem 1.5rem 1.25rem;
  flex-direction: column;
  gap: 1rem;
}

.mkt-header.is-open .mkt-mobile-nav {
  display: flex;
}

.mkt-mobile-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .mkt-nav,
  .mkt-header-cta {
    display: flex;
  }

  .mkt-menu-toggle,
  .mkt-mobile-nav,
  .mkt-header.is-open .mkt-mobile-nav {
    display: none;
  }
}

/* Footer */
.mkt-footer {
  background: var(--background);
  border-top: 1px solid var(--border);
}

.mkt-footer-grid {
  margin: 0 auto;
  max-width: 80rem;
  padding: 2rem 1.5rem;
  display: grid;
  gap: 2.5rem;
}

.mkt-footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.mkt-footer-brand + p {
  margin-top: 1.5rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.mkt-footer h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mkt-footer ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mkt-footer ul a {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.mkt-footer ul a:hover {
  color: var(--primary);
}

.mkt-footer-bottom {
  border-top: 1px solid var(--border);
}

.mkt-footer-bottom-inner {
  margin: 0 auto;
  max-width: 80rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.mkt-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.mkt-footer-links a:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .mkt-footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .mkt-footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
