/* CatKart: the game's own look (ink purple panels, cream rows, orange highlight, Bungee headings,
   Rubik body) on the Arcade Night kit's fonts and arcade.js (the signup form). */

@font-face { font-family: "Bungee"; src: url(kit/fonts/Bungee.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Rubik"; src: url(kit/fonts/Rubik.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

:root { --ink: #2b1b3d; --panel: #3b2d5a; --panel2: #34264d; --cream: #fff6e8; --cream2: #f3e6d2; --orange: #ff8a1f; --pink: #ff5fa2; --teal: #18b5b0; --sun: #ffd23f; --r: 18px; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--cream); background: var(--ink); font: 400 18px/1.6 "Rubik", system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, .btn, .tag, .menu a, .brand span { font-family: "Bungee", "Rubik", system-ui, sans-serif; font-weight: 400; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--sun); color: var(--ink); font-weight: 600; padding: 12px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Nav: the mark and name, links, and the signup button. */
nav { position: sticky; top: 0; z-index: 20; background: rgba(43,27,61,.95); border-bottom: 3px solid var(--orange); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand span { font-size: 24px; color: var(--orange); letter-spacing: .02em; }
.menu { display: flex; gap: 6px; align-items: center; }
.menu a:not(.btn) { text-decoration: none; white-space: nowrap; padding: 12px 10px; font-size: 13px; color: var(--cream); }
.menu a:not(.btn):hover { color: var(--orange); }
.menu .btn { padding: 12px 18px; font-size: 13px; white-space: nowrap; }
@media (max-width: 1100px) { .menu a:not(.btn) { display: none; } }
.menu .btn .short { display: none; }
@media (max-width: 760px) { .menu .btn .long { display: none; } .menu .btn .short { display: inline; } }
@media (max-width: 420px) { .brand span { font-size: 20px; } .brand img { width: 32px; height: 32px; } }

/* Buttons: orange like the game's selected row, ink text. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background: var(--orange); color: var(--ink); text-decoration: none; padding: 14px 24px; border: 0; border-radius: 999px; font-size: 15px; line-height: 1.2; cursor: pointer; box-shadow: 0 4px 0 #b85a00; position: relative; top: 0; transition: top .08s, box-shadow .08s; }
.btn:hover { top: -2px; box-shadow: 0 6px 0 #b85a00; }
.btn:active { top: 3px; box-shadow: 0 1px 0 #b85a00; }
.btn[disabled] { opacity: .7; cursor: wait; }

.tag { display: inline-block; font-size: 12px; letter-spacing: .04em; background: var(--orange); color: var(--ink); padding: 6px 12px; border-radius: 999px; }
.title { font-size: clamp(24px, 3vw, 38px); color: var(--cream); }
.title em { font-style: normal; color: var(--orange); }
.lede { font-size: 20px; max-width: 58ch; margin: 14px 0 0; color: var(--cream); }

/* Pictures: a real capture in a rounded frame. */
.pic { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--ink); border: 4px solid var(--cream); box-shadow: 0 12px 0 rgba(0,0,0,.28); }
.pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

section { padding: 64px 0; }

/* Hero: the line, what it is, the signup; the title screen beside it. */
.hero { padding: 56px 0 64px; background: linear-gradient(135deg, var(--ink) 0 60%, var(--panel) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.2vw, 56px); margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { font-size: 20px; margin: 0 0 28px; max-width: 46ch; }
.hero .small { font-size: 16px; margin: 20px 0 0; color: var(--cream2); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 36px 0 48px; } }

/* Split sections: a picture and the words beside it. */
.split .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.split.flip .wrap { grid-template-columns: 1fr 1.15fr; }
.split.flip .pic { order: 2; }
.split p { margin: 18px 0 0; max-width: 52ch; }
.together, .help, .faq { background: var(--panel); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; max-width: 52ch; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; background: var(--orange); border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); }
@media (max-width: 900px) { .split .wrap, .split.flip .wrap { grid-template-columns: 1fr; gap: 28px; } .split.flip .pic { order: 0; } }

/* Make it yours: two cream cards, each a picture over its words. */
.make { padding: 44px 0; }
.make .head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.make .lede { margin: 0; font-size: 18px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.card { background: var(--cream); color: var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 0 8px 0 rgba(0,0,0,.28); }
.card img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 30%; }
.card .body { padding: 18px 26px 22px; }
.card .tag { background: var(--ink); color: var(--cream); }
.card h3 { font-size: 22px; margin: 12px 0 8px; }
.card p { margin: 0; font-size: 17px; }
@media (max-width: 900px) { .make .head { grid-template-columns: 1fr; gap: 14px; } .duo { grid-template-columns: 1fr; } .card img { aspect-ratio: 16 / 9; } }

/* FAQ: answers on cream cards, two across. */
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 26px; }
.answers .card { padding: 20px 26px; box-shadow: 0 6px 0 rgba(0,0,0,.28); }
.answers .card h3 { font-size: 17px; margin: 0 0 8px; line-height: 1.3; }
.answers .card p { font-size: 17px; }
.answers .card a { font-weight: 600; }
@media (max-width: 900px) { .answers { grid-template-columns: 1fr; } }

/* The signup on an orange band. */
.notify { background: var(--orange); color: var(--ink); }
.board { background: var(--ink); color: var(--cream); border-radius: var(--r); padding: clamp(24px, 5vw, 52px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; box-shadow: 0 10px 0 rgba(0,0,0,.28); }
.board p { margin: 14px 0 0; }
.signup form { display: grid; gap: 14px; }
.signup label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; }
.signup input { font: 500 18px "Rubik", sans-serif; padding: 13px 18px; min-height: 50px; border: 3px solid var(--cream); border-radius: 12px; background: var(--cream); color: var(--ink); width: 100%; }
.signup input:focus { outline: 3px solid var(--sun); outline-offset: 2px; }
.signup .btn { justify-self: start; }
.signup .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .notice { font-size: 15px; margin: 16px 0 0; color: var(--cream2); }
.signup .notice a { font-weight: 600; }
.form-msg { font-size: 17px; margin: 16px 0 0; }
.form-msg:empty { display: none; }
.form-msg.ok { background: var(--teal); color: var(--ink); font-weight: 600; padding: 14px 16px; border-radius: 12px; }
.form-msg.err { background: #ffd9d2; color: #7a1a0a; font-weight: 600; padding: 12px 16px; border-radius: 12px; border: 3px solid #7a1a0a; }
.sent form, .sent .notice { display: none; }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; gap: 28px; } }

/* Footer. */
footer { background: #20132f; color: var(--cream2); padding: 24px 0 48px; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; }
footer span:first-child { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
footer img { border-radius: 6px; }
footer .studio-links { flex-basis: 100%; }
footer a { color: var(--cream); }

/* The privacy page, and the confirm and leave pages the signup app renders in this stylesheet. */
.prose { padding: 56px 0 72px; }
.prose > * { max-width: 70ch; }
.prose h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; color: var(--orange); }
.prose h2 { font-size: 18px; margin: 30px 0 8px; }
.prose a { font-weight: 600; }
