/* Shared by the app (public/index.html) and the policy pages (scripts/legal.mjs). */
/* The site's own chrome, the same on every page we make (src/SiteBar.jsx, the policy pages): the logo, and a round back
   button that also says where it goes on wider screens. Fixed colours, so it reads the same on every template theme. */
.gf-bar { --gf-wax: #8E1F2E; --gf-rose: #A9666D; --gf-paper: #FFFBFA; --gf-line: #EBD3D3; --gf-ink: #4A3236;
  position: relative; z-index: 6; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px max(16px, env(safe-area-inset-left)) 10px max(16px, env(safe-area-inset-right));
  background: #FBF2F1; border-bottom: 1px solid var(--gf-line); color: var(--gf-ink); }
.gf-bar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.gf-mark { display: inline-flex; align-items: center; gap: 8px; font: 400 2.4rem/1 'Great Vibes', 'Brush Script MT', cursive; color: #A9666D; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.gf-mark-name { translate: 0 .06em; }
.gf-mark-box { display: block; line-height: 0; }
.gf-box { width: 44px; height: 46px; flex: none; display: block; overflow: visible; }
.gf-bar .gf-mark { font-size: 2rem; }
.gf-bar .gf-box { width: 34px; height: 36px; }
@media (max-width: 520px) { .gf-mark { font-size: 1.9rem; gap: 6px; } .gf-box { width: 34px; height: 36px; } .gf-bar { min-height: 58px; } .gf-bar .gf-mark { font-size: 1.8rem; } .gf-bar .gf-box { width: 30px; height: 32px; } }
.gf-back { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; padding: 0; border: 1px solid var(--gf-line, #EBD3D3); border-radius: 999px;
  background: var(--gf-paper, #FFFBFA); color: var(--gf-wax, #8E1F2E); font: 500 .875rem/1 var(--font-text, Literata, Georgia, serif); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 10px -8px rgb(142 31 46 / .5); transition: background-color .2s, border-color .2s, translate .2s; -webkit-tap-highlight-color: transparent; }
.gf-back:hover { background: #F6E4E3; border-color: #DDA9AD; }
.gf-back:active { translate: -2px 0; }
.gf-back:focus-visible { outline: 2px solid #A9666D; outline-offset: 2px; }
.gf-back svg { flex: none; }
.gf-back-label { display: none; }
@media (min-width: 720px) { .gf-back { padding: 0 16px 0 10px; } .gf-back-label { display: inline; } }
.gf-step { font-size: .875rem; color: #7A5A5E; white-space: nowrap; }

/* The logo burst (src/lib/logo.js) */
.gf-burst { position: fixed; inset: 0; z-index: 1000; cursor: pointer; }
.gf-burst-veil { position: absolute; inset: 0; background: #FBF2F1; opacity: 0; }
.gf-burst-stage { position: absolute; left: 50%; top: 50%; translate: -50% -50%; transform-origin: 50% 50%; will-change: transform, opacity; }
.gf-burst-box { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 30px rgb(142 31 46 / .25)); }
.gf-burst-box .gf-lid { transform-box: fill-box; transform-origin: 0% 100%; }
.gf-burst-sparks { position: absolute; width: 0; height: 0; pointer-events: none; }
.gf-burst-spark, .gf-burst-glow { position: absolute; left: 0; top: 0; opacity: 0; }
.gf-burst-spark { clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.gf-burst-glow { border-radius: 50%; background: radial-gradient(circle, rgb(255 236 190 / .95), rgb(241 208 138 / .45) 35%, transparent 70%); }
