@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-BlackItalic.woff2") format("woff2"), url("fonts/BarlowCondensed-BlackItalic.ttf") format("truetype"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff2") format("woff2"), url("fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff2") format("woff2"), url("fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Bold.woff2") format("woff2"), url("fonts/Inter-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

/* Legal pages. Colors: palette.css only (light / dark / system); the top band stays dark in both themes. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font: 400 16px/1.6 Inter, system-ui, sans-serif; }
a { color: var(--link); text-underline-offset: 2px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

.band { position: relative; overflow: hidden; background: var(--photo-ink); color: var(--on-photo); }
.band { border-bottom: 4px solid transparent; border-image: var(--grad) 1; }
.band::after { content: ""; position: absolute; top: 0; right: -60px; width: 200px; height: 100%; background: var(--grad); clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%); display: none; }
@media (min-width: 1100px) { .band::after { display: block; } }
.bar { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 38px; width: auto; }
.bar nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.bar nav a { color: var(--on-photo); font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 0; }
.bar nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }

main { padding-top: 32px; padding-bottom: 40px; }
h1 { margin: 0 0 12px; font: italic 900 clamp(36px, 7vw, 52px)/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
h2 { margin: 32px 0 8px; font: italic 900 26px/1.1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.lead { font-size: 18px; color: var(--muted); }
.legal p, .legal li { color: var(--text); }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
thead th { border-top: 0; color: var(--muted); font-weight: 600; }
.updated { margin-top: 40px; font-size: 14px; color: var(--muted); }

.hero { padding: 24px 0 8px; }
.hero h1 { font-size: clamp(44px, 10vw, 76px); }
.soon { display: inline-block; margin-top: 8px; padding: 10px 16px; border-radius: 10px; background: var(--orange); color: var(--on-orange); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 24px; }
.grid article { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.grid h2 { margin-top: 0; }
.grid p { margin: 0; color: var(--muted); }
.links ul { list-style: none; padding: 0; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.band .theme-btn { color: var(--on-photo); border-color: var(--on-photo-line); }
.band .theme-btn:hover { background: var(--on-photo-hover); }
.bar .bar-end { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.grid article { box-shadow: var(--card-shadow); }
