/* The signed-out pages of app.impactprotocolceo.com (home, terms, privacy, feedback) in the Impact Protocol+ look, like
   the iPhone app and entrar.html: white or true black (js/theme.js), black/white buttons, no gold on text or buttons;
   the gold gradient only on thin decorative bars. Loaded after css/style.css and css/ip.css. */

/* Header: the coin + IMPACT / PROTOCOL+ (the .ip-brand pieces from ip.css), and the ES/EN switch on the right. */
.pub-top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0; padding: max(10px, env(safe-area-inset-top)) 16px 10px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
}
.pub-right { display: flex; align-items: center; gap: 8px; }
.langsw { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.langsw button { font: 400 10px/1 var(--hud); letter-spacing: .12em; color: var(--muted); background: none; border: 0; padding: 8px 10px; border-radius: 999px; cursor: pointer; }
.langsw button.on { background: var(--accent); color: var(--on-accent); }
.pub-link { font: 600 13px var(--sans); color: var(--text); text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); white-space: nowrap; }
@media (min-width: 900px) { .pub-top { padding-left: 24px; padding-right: 24px; } }

/* The brand's gold, only as a thin bar. */
.gold-bar { display: block; height: 4px; width: 120px; border-radius: 2px; margin: 0 auto; background: var(--gold); }

/* Footer */
.pub-foot { text-align: center; font-size: 12px; color: var(--muted); padding: 40px 20px calc(28px + env(safe-area-inset-bottom)); line-height: 1.7; }
.pub-foot a { color: var(--muted); }
.pub-foot nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 6px; }
.pub-foot .gold-bar { margin-bottom: 18px; }

/* Reading pages (terms, privacy, health data): plain text on the page, section titles in Inter Tight. */
.legal-page .wrap { max-width: 720px; width: 100%; margin: 0 auto; padding: 24px 16px 40px; }
.legal-page h1 { margin: 8px 0 18px; }
.legal-page h2 { font: 700 15.5px/1.35 var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; margin: 28px 0 8px; color: var(--text); }
.legal-page p, .legal-page li { color: var(--text); }
.legal-page li { margin-bottom: 6px; }
.legal-page .muted { color: var(--muted); }
.legal-page .box { padding: 14px 16px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.legal-page a { color: var(--text); }

/* The sign-up window (js/signup.js) on these pages: its title in the brand's capitals. */
.gs h3 { font-size: 18px !important; text-transform: uppercase; letter-spacing: 0; }
