/* The Guide to Everything: flat, round, and a little too much. Fredoka for the shouting, Nunito for the reading. */
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka.woff") format("woff"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito.woff") format("woff"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-italic.woff") format("woff"); font-weight: 200 1000; font-style: italic; font-display: swap; }

:root {
  --yellow: #F7E02A; --yellow-2: #ECC41C; --navy: #12163A; --navy-2: #0E1238; --ink: #241F06; --paper: #FFFBE0; --white: #fff;
  --indigo: #4A4FE0; --blue: #3D8FEF; --cyan: #1FBED6; --red: #B03A4C; --green: #41C053; --orange: #E8962F; --purple: #8A3DDD; --teal: #00B5A5; --pink: #E04A9B;
  --bg: var(--paper); --fg: var(--navy); --muted: #4a4a63; --card: #fff; --line: rgba(18, 22, 58, .14);
  --display: "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 28px; --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0E1238; --fg: #F6F1D0; --muted: #b9b9d6; --card: #171c52; --line: rgba(246, 241, 208, .18); }
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: .12em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .2em; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: var(--yellow); } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--yellow); padding: 10px 16px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.015em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.4; font-weight: 600; max-width: 30ch; }
.eyebrow { font-family: var(--display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; margin: 0 0 .8em; opacity: .8; }
.sub { color: var(--muted); }
.on-yellow, .on-yellow .sub, .hero .sub { color: var(--navy); }

/* ------------------------------------------------------------ header and the pill row */
header.top { position: sticky; top: 0; z-index: 30; background: var(--yellow); }
/* As in the app's own header: the crumbs start flat against the left edge of the screen, and the name sits at the far end. */
.top .wrap { display: flex; align-items: center; gap: 14px; height: 64px; max-width: none; padding: 0 20px 0 0; }
.brand { order: 2; margin-left: auto; flex: none; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--navy); white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.pillnav { order: 1; display: flex; align-items: center; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 6px 4px 6px 0; -webkit-overflow-scrolling: touch; }
.pillnav::-webkit-scrollbar { display: none; }
/* As in the app: each pill ends in a round joint, and the next pill starts flat underneath it (the joint wears the next pill's colour). */
.pill { --c: var(--blue); --t: var(--navy); --n: var(--cyan); --z: 1; --i: 0; position: relative; z-index: var(--z); flex: none; display: inline-flex; align-items: center; height: 36px; max-width: 260px; padding: 0 44px 0 14px; margin-left: -18px;
  background: var(--c); color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .14); border-radius: 0 999px 999px 0; font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; overflow: hidden;
  transform-origin: 0 50%; animation: pill-in .6s cubic-bezier(.2, .9, .25, 1.2) backwards; animation-delay: calc(.15s + var(--i) * .1s);
  transition: max-width .55s cubic-bezier(.2, .9, .3, 1), padding .55s cubic-bezier(.2, .9, .3, 1), margin .55s cubic-bezier(.2, .9, .3, 1), opacity .3s, transform .45s cubic-bezier(.2, .9, .3, 1.15); }
/* Guide: flat against the edge, the same as the first crumb in the app's header. */
.pill.first { margin-left: 0; padding-left: 18px; }
.pill:not(.first) { padding-left: 32px; }
.pill::after { content: ""; position: absolute; right: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--n); transition: background .35s; }
.pill:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.pill[aria-current="true"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 3px; }
/* Opening: the chain builds itself pill by pill, as the home dock does. */
@keyframes pill-in { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
/* Scrolling: the pills you are not in fold away in place, leaving Guide and the section you are in. */
.pillnav .pill.fold, html.home .pillnav .pill { max-width: 0; padding-left: 0; padding-right: 0; margin-left: 0; opacity: 0; transform: scaleY(.15); pointer-events: none; }
@media (max-width: 1000px) { .brand span { display: none; } }

/* ------------------------------------------------------------ the home screen: the dock down the left, the hero on the right */
:root { --dh: 40px; --dw: 176px; }
/* Pill by pill the dock builds itself when the page opens (as the app's home dock does); once you scroll it folds away, deepest pill
   first, and the same pills are the crumbs in the header. Only on a wide screen: on a phone the crumbs are there from the start. */
.dock { position: fixed; left: 0; bottom: max(7vh, 36px); z-index: 20; pointer-events: none; }
.dock ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.dock li { --c: var(--blue); --t: var(--navy); transform-origin: 0 100%; pointer-events: auto;
  animation: dock-in .6s cubic-bezier(.2, .9, .25, 1.2) backwards; animation-delay: calc(.25s + var(--i) * .11s);
  transition: transform .5s cubic-bezier(.2, .9, .3, 1), opacity .3s; transition-delay: calc(var(--i) * 70ms); }
@keyframes dock-in { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
html:not(.home) .dock li { transform: scale(.3, .15); opacity: 0; pointer-events: none; transition-delay: calc((7 - var(--i)) * 45ms); }
/* Flat against the edge; the round end is the joint, a circle the height of the pill, in a darker shade. */
.dp { position: relative; display: flex; align-items: center; justify-content: flex-end; width: var(--dw); height: var(--dh); padding: 0 calc(var(--dh) + 4px) 0 12px; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .14);
  font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: width .38s cubic-bezier(.2, .9, .3, 1.15); }
.dp::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; right: calc(var(--dh) / 2); background: var(--c); }
.dp::after { content: ""; position: absolute; right: 0; top: 0; width: var(--dh); height: var(--dh); border-radius: 50%; background: color-mix(in srgb, var(--c) 76%, #000); }
.dp span { position: relative; z-index: 1; }
.dp:hover, .dp:focus-visible { width: calc(var(--dw) + 26px); text-decoration: none; }
.dp:focus-visible { outline-offset: 2px; }
@media (max-height: 620px) { :root { --dh: 32px; } .dp { font-size: .72rem; } }
.peek { display: none; }
/* A phone: the app's own portrait home screen. The words are at the top, the dock is at the bottom-left, and there is nothing in between. */
@media (max-width: 999px) {
  :root { --dh: 36px; --dw: 158px; }
  .dock { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .hero .front { position: relative; min-height: calc(100svh - 64px - 24px); }
  .hero .front > :not(.peek) { position: relative; z-index: 1; }
  /* The phone behind the pills: the top of an entry rising from the foot of the first screen, fading as it goes. */
  .peek { display: block; position: absolute; z-index: 0; right: 4vw; bottom: 0; width: min(64vw, 260px); height: clamp(190px, calc(100svh - 88px - 300px), 380px); overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .peek .phone { --w: min(64vw, 260px); }
}
@media (max-width: 999px) and (max-height: 720px) { :root { --dh: 30px; } .dp { font-size: .7rem; } }
/* The hero is the right-hand side of the home screen; the left is the dock's. */
@media (min-width: 1000px) {
  .hero { min-height: calc(100vh - 64px); display: flex; align-items: center; }
  .hero .wrap { max-width: min(1100px, calc(100% - 250px)); margin: 0 clamp(24px, 4vw, 64px) 0 auto; }
  .hero h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) { .dock li { animation: none; } }

.c1 { --c: var(--blue); } .c2 { --c: var(--cyan); } .c3 { --c: var(--red); --t: #fff; } .c4 { --c: var(--green); } .c5 { --c: var(--orange); } .c6 { --c: var(--purple); --t: #fff; } .c7 { --c: var(--teal); } .c8 { --c: var(--pink); }
@media (max-width: 760px) { .brand span { display: none; } }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.5em; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; text-decoration: none; background: var(--navy); color: var(--yellow); border: 3px solid var(--navy); transition: transform .15s; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.soon { background: rgba(18, 22, 58, .1); color: var(--navy); border-style: dashed; cursor: default; }
.btn.soon:hover { transform: none; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0 1.2rem; }

/* ------------------------------------------------------------ the phone */
.phone { --w: 280px; position: relative; width: var(--w); margin: 0; aspect-ratio: 600 / 1304; background: #15151c; border-radius: calc(var(--w) * .14); padding: calc(var(--w) * .028);
  box-shadow: 0 0 0 2px #75798a, 0 28px 50px -14px rgba(10, 14, 40, .55); flex: none; }
.phone::after { content: ""; position: absolute; top: calc(var(--w) * .04); left: 50%; width: 27%; height: 2.6%; transform: translateX(-50%); background: #08080a; border-radius: 99px; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .115); }
.phone.lg { --w: 330px; } .phone.sm { --w: 230px; }
.tilt-l { transform: rotate(-4deg); } .tilt-r { transform: rotate(4deg); }
.split > *, .hero .wrap > * { min-width: 0; }
@media (max-width: 560px) {
  .phone { --w: min(64vw, 250px); } .phone.lg { --w: min(72vw, 290px); } .phone.sm { --w: min(40vw, 170px); }
  .art { gap: 12px; } .reel .phone { --w: min(58vw, 230px); } .tilt-l, .tilt-r { transform: none; }
  .wrap { padding: 0 18px; } .reel { padding-left: 18px; padding-right: 18px; }
}

/* ------------------------------------------------------------ sections */
section { padding: clamp(56px, 9vw, 112px) 0; position: relative; }
.hero { background: linear-gradient(var(--yellow), var(--yellow-2)); color: var(--navy); overflow: hidden; padding-top: clamp(40px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 .a { display: inline-block; background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink), var(--orange), var(--green), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .hero h1 .a { background-image: linear-gradient(90deg, #1b5fbf, #6a1fbb, #c42578, #c47410, #2a9c3b, #0a8aa0); } }
.hero .stage { display: flex; justify-content: center; position: relative; min-height: 520px; align-items: center; }
.hero .stage .phone { transition: transform .4s; }
.hero .stage::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.hero .stage .phone { position: relative; z-index: 1; }
.hero .stage img { transition: opacity .5s; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero .stage { min-height: 0; padding-top: 8px; } }

.divider { display: flex; height: 18px; }
.divider i { flex: 1; }
.divider i:first-child { border-radius: 99px 0 0 99px; } .divider i:last-child { border-radius: 0 99px 99px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split.flip .art { order: -1; }
.art { display: flex; justify-content: center; gap: 22px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip .art { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 2.1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--c, var(--blue)); box-shadow: inset -4px -4px 0 rgba(0, 0, 0, .18); }
.ticks li:nth-child(5n+1)::before { --c: var(--blue); } .ticks li:nth-child(5n+2)::before { --c: var(--teal); } .ticks li:nth-child(5n+3)::before { --c: var(--orange); }
.ticks li:nth-child(5n+4)::before { --c: var(--purple); } .ticks li:nth-child(5n)::before { --c: var(--pink); }

.band-blue { background: var(--blue); color: var(--navy); }
.band-purple { background: var(--purple); color: #fff; }
.band-teal { background: var(--teal); color: var(--navy); }
.band-rose { background: #FFE3E7; color: #6b1624; }
.band-cyan { background: var(--cyan); color: var(--navy); } .band-maroon { background: var(--red); color: #fff; } .band-green { background: var(--green); color: var(--navy); }
.band-orange { background: var(--orange); color: var(--navy); } .band-pink { background: var(--pink); color: var(--navy); }
.band-navy { background: var(--navy-2); color: #F6F1D0; }
.band-paper { background: var(--paper); color: var(--navy); }
@media (prefers-color-scheme: dark) { .band-paper { background: #0E1238; color: #F6F1D0; } .band-rose { background: #3a1020; color: #ffd9de; } }
.band-blue .sub, .band-teal .sub, .band-cyan .sub, .band-green .sub, .band-orange .sub, .band-pink .sub { color: var(--navy); } .band-maroon .sub { color: #ffe9ec; } .band-purple .sub { color: #f1e6ff; } .band-rose .sub { color: #6b1624; } .band-navy .sub { color: #c9c9e8; }

/* the looks */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2rem 0; }
.chip { font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 3px solid var(--navy); background: transparent; color: inherit; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--yellow); }
.band-blue .chip, .band-teal .chip { border-color: var(--navy); color: var(--navy); } .band-blue .chip[aria-pressed="true"], .band-teal .chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.stack { position: relative; }
.stack .phone + .phone { margin-left: -60px; margin-top: 40px; }

/* the games row */
.reel { display: flex; gap: 22px; overflow-x: auto; padding: 8px 24px 28px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 1.5rem 0 0; }
.reel figure { margin: 0; scroll-snap-align: center; text-align: center; font-family: var(--display); font-weight: 600; letter-spacing: .05em; font-size: .8rem; text-transform: uppercase; }
.reel figcaption { margin-top: 14px; }
.reel .phone { --w: 230px; }
.sample { background: var(--card); color: var(--fg); border-radius: var(--radius); padding: 1.6rem 1.8rem; border: 3px solid var(--navy); max-width: 640px; margin-top: 2rem; }
.sample h3 { font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.sample ul { padding-left: 1.2rem; margin: .6rem 0 0; }
.sample li { margin-bottom: .4rem; }
.sample .by { font-size: .9rem; color: var(--muted); margin-top: .8rem; }

/* the no's */
.nos { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5rem 0; }
.nos span { font-family: var(--display); font-weight: 700; font-size: 1.3rem; padding: .4em 1em; border-radius: 999px; background: var(--c); color: var(--navy); }
.nos span:nth-child(1) { --c: var(--yellow); } .nos span:nth-child(2) { --c: var(--cyan); } .nos span:nth-child(3) { --c: var(--pink); } .nos span:nth-child(4) { --c: var(--green); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.2rem; }
.card { background: var(--card); color: var(--fg); border-radius: var(--radius); padding: 1.5rem 1.6rem; border: 3px solid var(--navy); }
.card h3 { margin-bottom: .3em; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ the occasions, and the rest of the evidence */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 2.2rem; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }
.card.case { display: flex; flex-direction: column; }
.case .tag { margin: 0 0 .5rem; font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case h3 { margin-bottom: .5rem; }
.case dl { margin: auto 0 0; padding-top: .6rem; }
.case dl div { display: grid; grid-template-columns: 7.2rem 1fr; gap: .8rem; padding: .55rem 0; border-top: 2px dashed var(--line); }
.case dt { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
.case dd { margin: 0; font-style: italic; }
@media (max-width: 480px) { .case dl div { grid-template-columns: 1fr; gap: .1rem; } }
.case.reserved { background: transparent; border-style: dashed; color: inherit; justify-content: center; }
.case.reserved .tag { color: inherit; opacity: .8; }

.facts { list-style: none; padding: 0; margin: 1.8rem 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { --n: 0; padding: .5em 1.1em; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 2px solid rgba(255, 255, 255, .55); font-weight: 700; transform: rotate(calc((var(--n) % 3 - 1) * 1.3deg)); }
.aside { margin: 1.4rem 0; padding: .8rem 1.2rem; border-left: 6px solid currentColor; background: rgba(0, 0, 0, .14); font-style: italic; font-weight: 700; }
.share { margin: 0; }
.share img { width: min(340px, 78vw); border-radius: 22px; border: 3px solid var(--navy); box-shadow: 0 28px 50px -16px rgba(10, 14, 40, .55); transform: rotate(2.5deg); }
.closing { margin: 2.4rem 0 0; text-align: center; font-family: var(--display); font-weight: 600; font-size: 1.4rem; }

/* the entry about itself */
.entry { max-width: 720px; margin: 0 auto; background: var(--card); color: var(--fg); border: 3px solid var(--navy); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 3rem); font-style: italic; }
.entry h2 { font-style: normal; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; margin: 2rem 0 .6rem; border-bottom: 4px solid var(--yellow); display: inline-block; padding-bottom: 2px; }
.entry .hatnote { font-size: .95rem; border-left: 4px solid var(--navy); padding-left: 14px; margin-bottom: 1.6rem; color: var(--muted); }
.entry blockquote { margin: 1.4rem 0; padding: .6rem 1.2rem; border-left: 6px solid var(--navy); background: rgba(247, 224, 42, .3); font-weight: 700; }
.entry .credit { font-style: normal; font-size: .85rem; color: var(--muted); margin-top: 2rem; }
.entry-title { font-family: var(--display); font-style: normal; font-weight: 700; text-align: center; }

/* films */
.films { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 2rem; }
.film { border-radius: var(--radius); overflow: hidden; border: 3px solid var(--navy); background: #000; }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film p { margin: 0; padding: .8rem 1.1rem; background: var(--yellow); color: var(--navy); font-family: var(--display); font-weight: 600; }
@media (max-width: 860px) { .films { grid-template-columns: 1fr; } }

/* faq */
details { border-top: 3px solid var(--navy); padding: 1rem 0; }
details:last-of-type { border-bottom: 3px solid var(--navy); }
summary { font-family: var(--display); font-weight: 600; font-size: 1.3rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-size: 1.6rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
summary::-webkit-details-marker { display: none; }
details p { margin: .7rem 0 .2rem; max-width: 62ch; }

/* sign-up */
form.signup { display: flex; flex-wrap: wrap; gap: 10px; margin-top: .6rem; max-width: 520px; }
form.signup input[type="email"] { flex: 1 1 240px; padding: .8em 1.2em; font: inherit; border: 3px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); }
form.signup button { font: inherit; font-family: var(--display); font-weight: 600; cursor: pointer; }
.fine { font-size: .9rem; opacity: .85; margin-top: .6rem; }

/* footer */
footer { background: var(--navy-2); color: #F6F1D0; padding: 56px 0 40px; font-size: .95rem; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
footer h3 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
footer a { text-decoration: none; } footer a:hover { text-decoration: underline; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(246, 241, 208, .2); padding-top: 22px; color: #b9b9d6; font-size: .85rem; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* inner pages */
.page { padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 9vw, 112px); }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-top: 2.2em; }
.page ul { padding-left: 1.3rem; } .page li { margin-bottom: .5rem; }
.dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; margin: 1.4rem 0; }
.dl a { display: block; text-decoration: none; border: 3px solid var(--navy); border-radius: 20px; overflow: hidden; background: var(--card); }
.dl img { width: 100%; aspect-ratio: 330 / 717; object-fit: cover; }
.dl.logos img { aspect-ratio: 16 / 10; object-fit: contain; padding: 18px; background: var(--yellow); }
.dl span { display: block; padding: .6rem .9rem; font-family: var(--display); font-weight: 600; font-size: .9rem; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; background: linear-gradient(var(--yellow), var(--yellow-2)); color: var(--navy); padding: 40px 24px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
