/* 5 Quid Formula — site styles.
   Base rules are the subset of the "Broadsheet" design system the page uses;
   page colours: navy #07182D, gold #D6AD52, white #FFFFFF, mist #AAB4C2. */

:root {
  --navy: #07182D;
  --gold: #D6AD52;
  --mist: #AAB4C2;
  --color-bg: #07182D;
  --color-text: #FFFFFF;
  --color-accent: #D6AD52;
  --font-heading: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-heading-weight: 600;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius-md: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #07182D;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  text-align: center;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 10px;
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
p { margin: 0 0 15px; }
a { color: #D6AD52; text-decoration-color: #D6AD52; text-underline-offset: 3px; }
a:hover { color: #FFFFFF; }
img { display: block; max-width: 100%; height: auto; }
table { text-align: left; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #D6AD52; outline-offset: 2px; }
::selection { background: rgba(214, 173, 82, 0.35); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: 10px 18px;
  border-radius: var(--radius-md);
}
.btn-gold:hover { background: #e3c47e !important; color: #07182D !important; }
.btn-outline:hover { border-color: #D6AD52 !important; color: #D6AD52 !important; }
.btn-join:hover { background: #e3c47e !important; color: #07182D !important; transform: translateY(-2px); }
.btn-join:active { transform: translateY(0) scale(.98) !important; }

/* spreadsheet + FAQ hover states */
.row-hover:hover { background: rgba(214, 173, 82, 0.10) !important; }
.day-row:hover { background: rgba(214, 173, 82, 0.12) !important; }
.faq-q:hover { color: #D6AD52 !important; }

/* animations */
@keyframes su-shine { 0%, 55% { transform: translateX(-120%) skewX(-20deg); } 85%, 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes su-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(214,173,82,0.5); } 50% { box-shadow: 0 0 0 8px rgba(214,173,82,0); } }
@keyframes ty-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ty-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
