/* Reprise website. Layout and page rules on top of the Reprise DS (tokens.css + kit.css).
   Mirrors the "Website" page of the Reprise Screens artifact; change the boards first. */
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay.ttf") format("truetype"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Italic.ttf") format("truetype"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/HankenGrotesk.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/HankenGrotesk-Italic.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }

html { background: #faf6ee; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--text); }
img { max-width: 100%; }
a.rp-btn { text-decoration: none; }
a.w-link { color: var(--text-secondary); text-decoration: none; }
a.w-link:hover, a.w-link[aria-current="page"] { color: var(--text); }
a.w-foot { color: var(--text-secondary); }
a.w-foot:hover { color: var(--text); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
.w-skip { position: absolute; left: -9999px; top: 8px; }
.w-skip:focus { left: 16px; z-index: 10; background: var(--surface-2); padding: 10px 14px; border-radius: var(--r-sm); }

/* Support FAQ */
details.w-faq { border-top: 1px solid var(--divider); }
details.w-faq summary { cursor: pointer; list-style: none; min-height: 56px; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
details.w-faq summary::-webkit-details-marker { display: none; }
details.w-faq summary .i { transition: transform var(--dur-fast) var(--ease-standard); }
details.w-faq[open] summary .i { transform: rotate(90deg); }
details.w-faq p a { color: var(--accent-text); }

/* Legal documents */
a.w-toc { color: var(--text-secondary); text-decoration: none; display: flex; align-items: center; min-height: 36px; }
a.w-toc:hover { color: var(--text); }
a.rp-tabs__item { text-decoration: none; }
.w-doc h2 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 700; margin: 40px 0 12px; scroll-margin-top: 24px; }
.w-doc p, .w-doc li { font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
.w-doc p { margin: 0 0 12px; }
.w-doc ul { margin: 0 0 12px; padding-left: 22px; }
.w-doc strong { color: var(--text); }
.w-doc a { color: var(--accent-text); }
.w-table { overflow-x: auto; margin: 0 0 16px; }
.w-doc table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.w-doc th { text-align: left; font-weight: 700; color: var(--text); padding: 10px 12px; border-bottom: 1px solid var(--border-strong); }
.w-doc td { padding: 10px 12px; border-bottom: 1px solid var(--divider); color: var(--text-secondary); vertical-align: top; }

/* Invite: artist tiles fill their grid cell */
.w-tiles .rp-tile { width: auto; min-width: 0; }
.w-tiles .rp-art { width: 100%; height: auto; aspect-ratio: 1; }
.w-tiles .rp-tile__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

@media (prefers-reduced-motion: reduce) { .rp-vinyl--spin { animation: none !important; } }

[hidden] { display: none !important; }
