/* Raccollect website: the app's look (Paper / Night, Unbounded + Figtree, bold outlines, hard shadows). No external requests. */
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded_extrabold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree_medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree_semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree_bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #FFF8EC; --surface: #FFFFFF; --text: #18161D; --muted: #5B5662; --line: #18161D; --shadow: #18161D;
  --yellow: #F6CB45; --rays: #F8D561; --red: #EF4B36; --cream: #F3EBDD;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #18161D; --surface: #25222C; --text: #F3EBDD; --muted: #B8B0BF; --line: #F3EBDD; --shadow: #F3EBDD; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 17px/1.6 "Figtree", system-ui, sans-serif; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 "Unbounded", sans-serif; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--line); }
nav.lang a { font-weight: 700; text-decoration: none; border: 2px solid var(--line); border-radius: 999px; padding: 4px 12px; }

h1, h2, h3 { font-family: "Unbounded", sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(34px, 6vw, 56px); margin: 0 0 16px; }
h2 { font-size: clamp(22px, 3.2vw, 28px); margin: 40px 0 12px; }
h3 { font-size: 18px; margin: 28px 0 8px; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 24px 0 48px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 24px; }
.hero .art { background: var(--yellow) url("rays.jpg") center / cover; border: 3px solid var(--line); border-radius: 28px; box-shadow: 6px 6px 0 var(--shadow); overflow: hidden; aspect-ratio: 1; display: flex; justify-content: center; align-items: flex-end; }
.hero .art img { display: block; width: 62%; }
.badge { display: inline-block; background: var(--yellow); color: #18161D; border: 2px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 700; box-shadow: 3px 3px 0 var(--shadow); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 48px; }
.card { background: var(--surface); border: 3px solid var(--line); border-radius: 22px; box-shadow: 5px 5px 0 var(--shadow); padding: 22px 24px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }

.legal { padding-bottom: 56px; }
.legal .meta { color: var(--muted); font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 2px solid var(--line); }
.legal th { background: var(--yellow); color: #18161D; }
.legal .summary { background: var(--surface); border: 3px solid var(--line); border-radius: 18px; box-shadow: 4px 4px 0 var(--shadow); padding: 4px 22px; }
.legal li { margin: 4px 0; }

footer.site { border-top: 3px solid var(--line); padding: 24px 0 40px; font-weight: 600; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hero .art { order: -1; max-width: 360px; }
  .cards { grid-template-columns: 1fr; }
}
