:root {
  --public-bg: #ffffff;
  --public-section-alt-bg: rgb(246, 245, 244);
  --public-surface: #ffffff;
  --public-border: #1c13011c;
  --public-text: #2c2c2b;
  --public-muted: #7d7a75;
  --public-primary: #3b82f6;
  --public-primary-hover: #2563eb;

  /* The --color-* / --direction set that used to be duplicated here has moved to
     app/assets/tailwind/application.css, which both layouts already load: the
     public site via stylesheet_link_tag "tailwind", the app via :app. Duplicating
     them meant this file quietly won on app pages — harmless while the values
     matched, fatal to a theme override the moment they did not. */
}

/* Public theme text utilities */
.public-text-primary { color: var(--color-text-primary); }
.public-text-secondary { color: var(--color-text-secondary); }
.public-text-tertiary { color: var(--color-text-tertiary); }
.public-text-accent { color: var(--color-text-accent-primary); }
.public-text-inverse-primary { color: var(--color-text-inverse-primary); }
.public-text-inverse-secondary { color: var(--color-text-inverse-secondary); }

.public-hover-text-primary:hover { color: var(--color-text-primary); }
.public-hover-text-secondary:hover { color: var(--color-text-secondary); }

.public-placeholder::placeholder { color: var(--color-text-placeholder); }

.public-icon-primary { color: var(--color-icon-primary); }
.public-icon-secondary { color: var(--color-icon-secondary); }

body {
  background: var(--public-bg);
  color: var(--public-text);
}

.public-layout {
  background: var(--public-bg);
  font-family: Inter, -apple-system, "system-ui", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Anchor / in-page navigation (e.g. help topic sections) — public layout only */
html:has(body.public-layout) {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.public-layout) {
    scroll-behavior: auto;
  }
}

.footer-social {
  margin-top: 30px;
  background: #333;
  background: #2A2B2C;
  padding: 20px 0 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #fff;
  font-size: 14px;
}
