/* OmniPrez / SocialPrez marketing site — shared styles.
   System font stack only. No web fonts, no CDN, no external requests. */

/* Theme tokens.
   Values below are the LIGHT theme; dark values are supplied by the
   `prefers-color-scheme: dark` media query and mirrored by the
   `[data-theme="dark"]` / `[data-theme="light"]` attribute overrides so an
   explicit in-app-style toggle (if one is ever added) wins in both
   directions. Everything else in this file reads from these variables —
   no color is hardcoded per-theme outside this block.
   Token values are kept in sync with social-poster-mobile's LIGHT_THEME /
   DARK_THEME (src/utils/theme.ts) so the site and the app agree. --violet is
   now reserved for small marks only (logo, links, focus rings, thin
   outlines); large surfaces (primary button, CTA band) use --neutral-accent,
   mirroring theme.ts's default accent — Graphite (#37474F) on light,
   a darker Graphite-family tone on dark, since the site's dark theme
   background is already near-black and needs its own dark surface to read
   as distinct. --violet-accent-on-dark mirrors theme.ts's Steel-adjacent
   dark-mode violet (#A78BFA) and is deliberately NOT re-declared per theme
   below — it exists to stay legible as a thin accent against the always-dark
   --neutral-accent surface regardless of which site theme is active.
   --hero-tint is separate from --violet-tint: --violet-tint still carries a
   faint violet cast for small contained accents (pillar icons, the featured
   pricing column), but the hero band is a large full-width area, so on dark
   it uses a neutral wash instead — a violet cast there would tint the whole
   top of the page and contradict "dark theme stays genuinely dark". */
:root {
  --bg: #F2F2F7;
  --surface: #FFFFFF;
  --surface-soft: #FBFAFE;
  --ink: #000000;
  --ink-soft: #333333;
  --ink-subtle: #999999;
  --line: #F0F0F0;
  --violet: #7C3AED;
  --violet-dark: #5B21B6;
  --violet-tint: #F5F0FE;
  --hero-tint: #F5F0FE;
  --violet-accent-on-dark: #A78BFA;
  --neutral-accent: #37474F;
  --neutral-accent-hover: #2C3940;
  --neutral-accent-ink: #FFFFFF;
  --ok: #15803D;
  --radius: 12px;
  --max-width: 1080px;
  font-size: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1C1C1E;
    --surface-soft: #1C1C1E;
    --ink: #F0F0F0;
    --ink-soft: #CCCCCC;
    --ink-subtle: #888888;
    --line: #2C2C2C;
    --violet: #A78BFA;
    --violet-dark: #8B5CF6;
    --violet-tint: #1A1030;
    --hero-tint: #101416;
    --neutral-accent: #2C3B42;
    --neutral-accent-hover: #3A4C55;
    --neutral-accent-ink: #F5F5F5;
    --ok: #86EFAC;
  }
}

:root[data-theme="dark"] {
  --bg: #000000;
  --surface: #1C1C1E;
  --surface-soft: #1C1C1E;
  --ink: #F0F0F0;
  --ink-soft: #CCCCCC;
  --ink-subtle: #888888;
  --line: #2C2C2C;
  --violet: #A78BFA;
  --violet-dark: #8B5CF6;
  --violet-tint: #1A1030;
  --hero-tint: #101416;
  --neutral-accent: #2C3B42;
  --neutral-accent-hover: #3A4C55;
  --neutral-accent-ink: #F5F5F5;
  --ok: #86EFAC;
}

:root[data-theme="light"] {
  --bg: #F2F2F7;
  --surface: #FFFFFF;
  --surface-soft: #FBFAFE;
  --ink: #000000;
  --ink-soft: #333333;
  --ink-subtle: #999999;
  --line: #F0F0F0;
  --violet: #7C3AED;
  --violet-dark: #5B21B6;
  --violet-tint: #F5F0FE;
  --hero-tint: #F5F0FE;
  --neutral-accent: #37474F;
  --neutral-accent-hover: #2C3940;
  --neutral-accent-ink: #FFFFFF;
  --ok: #15803D;
}


* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--ink);
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--violet-dark);
  text-decoration-color: var(--line);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.brand .brand-name {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-omni {
  color: var(--ink);
}

.brand-prez {
  background: linear-gradient(135deg, #3B82F6, #7C3AED);
  background-clip: text;
  -webkit-background-clip: text;
  color: #7C3AED;
  -webkit-text-fill-color: transparent;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

nav.primary-nav a:hover {
  color: var(--violet-dark);
}

@media (max-width: 600px) {
  .site-header .container {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  nav.primary-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

  nav.primary-nav a {
    font-size: 0.88rem;
  }
}

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--hero-tint) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero .container {
  padding-top: 72px;
  padding-bottom: 64px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-dark);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--neutral-accent);
  color: var(--neutral-accent-ink);
}

.btn-primary:hover {
  background: var(--neutral-accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--violet);
  color: var(--violet-dark);
}

.availability-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Sections */

section {
  padding: 64px 0;
}

section.alt {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

/* Pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.pillar .pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--violet-tint);
  color: var(--violet-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Product framing */

.framing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

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

.framing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.framing-card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.framing-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.framing-card li {
  margin-bottom: 8px;
}

/* Pricing */

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pricing-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: center;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 16px 16px 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.pricing-table th,
.pricing-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.pricing-table thead th {
  border-top: none;
  vertical-align: top;
  padding-top: 24px;
}

.pricing-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}

.plan-col-label {
  min-width: 180px;
}

.plan-col {
  min-width: 130px;
}

.plan-col-featured {
  background: var(--violet-tint);
  position: relative;
}

.plan-name {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.plan-price {
  display: block;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink);
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.plan-price .period {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.plan-badge {
  display: inline-block;
  background: var(--violet);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 6px;
}

.row-note {
  font-size: 0.78rem;
  color: var(--ink-subtle);
}

.pricing-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-top: 28px;
}

/* Company / trust */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.trust-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

/* Contact / CTA band */

.cta-band {
  background: var(--neutral-accent);
  color: var(--neutral-accent-ink);
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  color: var(--neutral-accent-ink);
  margin: 0 0 12px;
}

.cta-band p {
  color: #D6DCE0;
  margin: 0 0 28px;
}

/* Inside the CTA band, the button sits on the same dark neutral fill as
   .btn-primary itself, so it can't reuse that solid fill without vanishing.
   Use violet here instead — as a thin outline only, not a fill — which is
   exactly the "punctuation, not paint" role violet keeps everywhere else. */
.cta-band .btn-primary {
  background: transparent;
  border: 2px solid var(--violet-accent-on-dark);
  color: var(--neutral-accent-ink);
}

.cta-band .btn-primary:hover {
  background: rgba(167, 139, 250, 0.14);
  border-color: var(--violet-accent-on-dark);
}

.cta-band .container {
  text-align: center;
}

/* Footer */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--surface-soft);
}

footer.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-company {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-entity {
  color: var(--ink-subtle);
  font-size: 0.82rem;
  margin: 0;
}

.footer-entity a {
  color: var(--ink-subtle);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--violet-dark);
}

.footer-legal {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 0;
}

/* FAQ (support page) */

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.contact-card .email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--violet-dark);
  margin: 10px 0 6px;
}

.contact-card p.hint {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--violet);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}
