@font-face { font-family: "Fraunces"; src: url("/assets/Fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/assets/Fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --ink: #182536; --deep: #0f1824; --slate: #293f4b; --moss: #4f8a7a; --mint: #b6d8bb;
  --amber: #f2b85b; --amber-deep: #e39a3b; --parch: #f6e7c9; --berry: #c86675; --lilac: #aea0d8;
  --text: #e9dfcb; --muted: #b9c2bf; --line: rgba(182, 216, 187, .16); --card: rgba(41, 63, 75, .55);
  --radius: 18px; --wrap: min(1120px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--deep) radial-gradient(1200px 700px at 15% -10%, rgba(242, 184, 91, .10), transparent 60%) no-repeat; color: var(--text); font: 400 1.0625rem/1.65 "Fredoka", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--parch); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; color: var(--parch); line-height: 1.08; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--amber); }
strong { color: var(--parch); font-weight: 600; }
.eyebrow { font: 600 .8rem/1.4 "Fredoka", sans-serif; letter-spacing: .16em; color: var(--mint); margin: 0 0 .9em; text-transform: uppercase; }
.spark { color: var(--amber); }
.dot { color: var(--amber); }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; z-index: 10; }
.skip-link:focus { top: 12px; }

.site-header { width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--parch); }
.brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(242, 184, 91, .5), 0 6px 18px rgba(0, 0, 0, .4); }
.brand span { font: 800 1.45rem/1 "Fraunces", serif; display: flex; flex-direction: column; gap: 4px; }
.brand small { font: 600 .68rem/1 "Fredoka", sans-serif; letter-spacing: .3em; color: var(--amber); }
.site-header nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-header nav a { color: var(--text); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.site-header nav a:hover { background: rgba(182, 216, 187, .1); color: var(--parch); }
.site-header nav a[aria-current="page"] { background: var(--slate); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(242, 184, 91, .35); }
main { width: var(--wrap); margin: 0 auto; }

.button { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(180deg, var(--amber), var(--amber-deep)); color: var(--ink); text-decoration: none; font-weight: 600; padding: 13px 24px; border-radius: 14px; box-shadow: 0 3px 0 #9c5f1c, 0 10px 24px rgba(242, 184, 91, .22); }
.button:hover { color: var(--ink); filter: brightness(1.06); }
.text-link { font-weight: 600; text-decoration: none; color: var(--mint); }
.text-link:hover { color: var(--parch); }

/* Home */
.hero { position: relative; border-radius: 28px; overflow: hidden; margin: 8px 0 28px; background: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, .45); }
.hero-art { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 70% 50%; }
.hero-copy { position: absolute; inset: 0 auto 0 0; width: min(560px, 58%); padding: clamp(28px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(90deg, rgba(15, 24, 36, .94) 55%, rgba(15, 24, 36, 0)); }
.hero-copy > p:not(.eyebrow):not(.coming-soon) { font-size: 1.15rem; color: var(--text); max-width: 30em; }
.coming-soon { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: rgba(41, 63, 75, .85); border: 1px solid rgba(242, 184, 91, .4); color: var(--parch); padding: 9px 16px; border-radius: 999px; font-weight: 600; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242, 184, 91, .6); animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 7px rgba(242, 184, 91, 0); } }
.hero-actions { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.ticker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; padding: 16px 20px; margin-bottom: 64px; border-block: 1px solid var(--line); font: 600 .95rem/1.4 "Fredoka", sans-serif; color: var(--mint); letter-spacing: .03em; }
.ticker span[aria-hidden] { color: var(--amber); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; align-items: end; margin-bottom: 34px; }
.section-heading h2 { margin: 0; }
.section-heading > p { color: var(--muted); margin: 0; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 44px; }
.shots figure { margin: 0; }
.shots img { border-radius: 16px; box-shadow: 0 0 0 2px rgba(242, 184, 91, .45), 0 18px 40px rgba(0, 0, 0, .5); }
.shots figcaption { text-align: center; margin-top: 12px; font-weight: 600; color: var(--parch); font-size: .98rem; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 70px; }
.feature-row > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature-row p { color: var(--muted); margin: 0; }
.feature-number { display: block; font: 600 .78rem/1 "Fredoka", sans-serif; letter-spacing: .16em; color: var(--amber); margin-bottom: 14px; }
.fair { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px 48px; align-items: center; padding: clamp(28px, 5vw, 52px); border-radius: 26px; background: linear-gradient(135deg, rgba(79, 138, 122, .28), rgba(41, 63, 75, .5)); border: 1px solid var(--line); margin-bottom: 40px; }
.fair ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fair li { padding-left: 30px; position: relative; color: var(--text); }
.fair li::before { content: "✦"; position: absolute; left: 0; color: var(--amber); }
.help-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px clamp(24px, 4vw, 44px); border-radius: 22px; background: var(--ink); border: 1px solid rgba(242, 184, 91, .3); margin-bottom: 70px; }
.help-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.help-banner p:last-child { margin: 0; color: var(--muted); }

/* Inside pages */
.page-heading { padding: 34px 0 30px; max-width: 760px; }
.page-heading > p:not(.eyebrow) { font-size: 1.15rem; color: var(--muted); }
.page-heading .updated { font-size: .92rem; color: var(--mint); margin: 0; }
.not-found { padding: 70px 0 110px; }
.support-layout { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 28px; align-items: start; margin-bottom: 44px; }
.contact-card { position: sticky; top: 20px; background: linear-gradient(160deg, var(--slate), var(--ink)); border: 1px solid rgba(242, 184, 91, .35); border-radius: 22px; padding: 30px; }
.contact-card .email { display: block; margin: 16px 0 18px; font-weight: 600; word-break: break-all; }
.contact-details { display: flex; flex-direction: column; padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 16px; color: var(--muted); }
.small { font-size: .92rem; color: var(--muted); margin: 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--parch); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 8px; color: var(--muted); }
.support-footer { text-align: center; padding: 30px 0 70px; }
.support-footer p:last-child { color: var(--muted); }
.policy-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; margin-bottom: 70px; }
.contents { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.contents a { color: var(--text); text-decoration: none; padding: 5px 0; font-size: .95rem; }
.contents a:hover { color: var(--amber); }
.policy-copy { max-width: 760px; min-width: 0; }
.policy-copy section { padding: 6px 0 22px; scroll-margin-top: 20px; }
.policy-copy h2 { font-size: 1.6rem; margin-top: .4em; }
.policy-copy p { color: var(--text); overflow-wrap: anywhere; }
.policy-note { background: linear-gradient(135deg, rgba(242, 184, 91, .16), rgba(41, 63, 75, .5)); border: 1px solid rgba(242, 184, 91, .35); border-radius: 16px; padding: 20px 24px; margin-bottom: 26px; }
.policy-note p { margin: .4em 0 0; }
.credits { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.credits li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.credits li span { display: block; font-size: .92rem; color: var(--muted); }
pre.license { background: #0b121b; border: 1px solid var(--line); border-radius: 12px; padding: 16px; max-height: 320px; overflow: auto; white-space: pre-wrap; word-break: break-word; font: .82rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
pre.license.long { max-height: 520px; }

.site-footer { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; padding: 36px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.footer-brand { font: 800 1.4rem/1.2 "Fraunces", serif; color: var(--parch); text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.footer-brand span { font: 400 .95rem/1.4 "Fredoka", sans-serif; color: var(--muted); }
.footer-contact, .site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.footer-contact strong { color: var(--parch); }
.site-footer nav a { color: var(--text); text-decoration: none; }
.site-footer nav a:hover { color: var(--amber); }

@media (max-width: 900px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .section-heading, .fair, .feature-row { grid-template-columns: 1fr; }
  .support-layout, .policy-layout { grid-template-columns: 1fr; }
  .contact-card, .contents { position: static; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-copy { position: static; width: 100%; background: var(--ink); padding: 26px 22px 30px; }
  .hero-art { aspect-ratio: 16 / 10; }
  .site-header { justify-content: center; }
  .site-header nav { justify-content: center; }
  .site-header nav a { padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot { animation: none; }
}
