/* Shared styles for static pages + injected footer (matches home index.css / App.css) */

:root {
  --accent: #af5683;
  --accent-hover: #994a73;
  --accent-soft: #f9eef4;
  --accent-rgb: 175 86 131;
  --bg: #fafafa;
  --bg-dark: #0c0c0e;
  --text: #171717;
  --text-muted: #525252;
  --border: #e5e5e5;
  --max-width: 1120px;
  --nav-height: 72px;
  --shadow-accent: 0 2px 12px rgb(var(--accent-rgb) / 0.35);
  --shadow-accent-lg: 0 4px 20px rgb(var(--accent-rgb) / 0.45);
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Minimal navbar (logo + download) — matches home, without section menu */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(250 250 250 / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.navbar-brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.navbar-brand .brand-icon {
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-accent-lg);
  color: #fff;
  text-decoration: none;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.navbar-cta {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Static marketing pages (support, jobs, deals, subscribe, terms) */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 48px;
}

.page--wide {
  max-width: 860px;
}

.page--deals {
  max-width: 800px;
}

.logo-pages {
  text-align: center;
  margin-bottom: 24px;
}

.logo-pages a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.logo-pages a:hover {
  text-decoration: none;
  opacity: 0.85;
}

.logo-pages img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.page h1,
.page h2 {
  text-align: center;
}

.page h1 {
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.page h2 {
  font-size: 1.35rem;
  margin: 2rem auto 1rem;
}

.terms-content {
  padding: 0 12px 24px;
}

.terms-content h2 {
  text-align: center;
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}

.terms-content h3 {
  font-size: 1.1rem;
  margin: 2rem 0 1rem;
}

.terms-content p {
  margin: 0 0 1rem;
}

.terms-content center {
  display: block;
  text-align: center;
}

#faq {
  margin-top: 2.5rem;
}

.leaf {
  text-align: center;
  font-size: 3em;
  margin: 1rem 0;
}

.faq-item {
  margin: 0 0 1.5rem;
}

.faq-item strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

/* Footer — same as home App.css .footer */
.footer {
  width: 100%;
  padding: 3rem 0 2rem;
  background: var(--bg-dark);
  color: rgb(255 255 255 / 0.55);
  margin-top: 0;
}

/* Full-width when footer was left inside a narrow .page wrapper */
.page > #site-footer.footer,
.page > footer.footer.site-footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.footer.site-footer {
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.footer .site-footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.footer .site-footer-nav a {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.75);
  transition: color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.footer .site-footer-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.footer .site-footer-meta {
  text-align: center;
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.55);
  line-height: 1.5;
}

.footer .site-footer-meta p {
  margin: 0.25rem 0;
}
