/* Reef Remix base - tokens, type and the sticker parts shared by the public page
   and the back of house. v2.0, Nov 2026. Palette and logo carried over from the
   April 2026 build (team/colors). ASCII only. */

@font-face {
  font-family: "Fredoka";
  src: url("/fonts/fredoka.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: only light;
  --rr-hotpink: #FF3D85;
  --rr-lime: #7FD636;
  --rr-turquoise: #3CC4D4;
  --rr-yellow: #FFD93D;
  --rr-orange: #FF8A3D;
  --rr-navy: #0E3266;
  --rr-navy-mid: #1A4A8A;
  --rr-cream: #FFF8E8;
  --rr-foam: #E8F8FA;
  --rr-ink-soft: #3A5A8C;
  --rr-on-dark-soft: #B8D4F0;
  --rr-display: "Fredoka", "Trebuchet MS", sans-serif;
  --rr-read: "Nunito", "Segoe UI", Helvetica, Arial, sans-serif;
  --rr-line: 3px solid var(--rr-navy);
  --rr-drop: 0 5px 0 var(--rr-navy);
  --rr-round: 22px;
}

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

html {
  background: #0E3266;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--rr-read);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--rr-cream);
  background: var(--rr-navy);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--rr-display); font-weight: 600; line-height: 1.1; margin: 0; }
p { margin: 0 0 12px; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

:focus-visible { outline: 4px solid var(--rr-yellow); outline-offset: 3px; border-radius: 8px; }

.rr-wrap { max-width: 980px; margin: 0 auto; padding: 0 18px; }

/* the sticker: light face, navy outline, hard drop. The one shape the brand owns. */
.rr-sticker {
  background: var(--rr-cream);
  color: var(--rr-navy);
  border: var(--rr-line);
  border-radius: var(--rr-round);
  box-shadow: var(--rr-drop);
}

.rr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px;
  font-family: var(--rr-display); font-weight: 600; font-size: 18px; text-decoration: none;
  background: var(--rr-yellow); color: var(--rr-navy);
  border: var(--rr-line); border-radius: 999px; box-shadow: 0 4px 0 var(--rr-navy);
}
.rr-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--rr-navy); }
.rr-btn.is-pink { background: var(--rr-hotpink); color: #fff; }
.rr-btn.is-plain { background: var(--rr-cream); }
.rr-btn.is-small { min-height: 44px; padding: 8px 16px; font-size: 16px; }

/* top bar. The gear from the Rattle UI kit sits top right, so the bar keeps clear of it. */
.rr-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 76px 12px 18px;
}
.rr-bar img { width: 44px; height: 44px; }
.rr-bar b { font-family: var(--rr-display); font-weight: 600; font-size: 20px; letter-spacing: .01em; }
.rr-bar small { display: block; font-size: 13px; font-weight: 700; color: var(--rr-on-dark-soft); }
.rr-bar a { text-decoration: none; display: flex; align-items: center; gap: 10px; }

/* in-page dialogs (rr-ui.js). Native alert / confirm / prompt are never used. */
.rr-veil {
  position: fixed; inset: 0; z-index: 900; display: none;
  align-items: center; justify-content: center; padding: 18px;
  background: rgba(8, 28, 60, .72);
}
.rr-veil.is-open { display: flex; }
.rr-dialog { width: 100%; max-width: 440px; max-height: 88vh; overflow: auto; padding: 22px; }
.rr-dialog h2 { font-size: 26px; margin-bottom: 10px; }
.rr-dialog p { font-size: 17px; }
.rr-dialog input[type="text"] {
  width: 100%; min-height: 50px; padding: 10px 14px; margin: 4px 0 6px;
  font: inherit; color: var(--rr-navy); background: #fff;
  border: var(--rr-line); border-radius: 14px;
}
.rr-dialog-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.rr-note {
  position: fixed; left: 50%; bottom: 20px; z-index: 950; transform: translateX(-50%);
  max-width: calc(100vw - 32px); padding: 12px 18px; display: none;
  font-weight: 800; text-align: center;
}
.rr-note.is-open { display: block; }

.rr-foot { padding: 34px 18px 44px; text-align: center; color: var(--rr-on-dark-soft); font-size: 15px; }
.rr-foot b { display: block; font-family: var(--rr-display); font-size: 22px; color: var(--rr-cream); margin-bottom: 6px; }
.rr-foot button { background: none; border: 0; padding: 6px 4px; text-decoration: underline; color: inherit; min-height: 44px; }

html[data-rui-motion="off"] * { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
