:root { --ink: #0b1018; --raised: #131b28; --line: #243044; --text: #e9eef6; --dim: #9aa8bd; --amber: #ffb833; --green: #5fd08a; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 17px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif; }
img { display: block; width: 100%; height: auto; }
a { color: var(--amber); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; color: var(--amber); text-decoration: none; }
.brand img { width: auto; height: 48px; }
.foot-logo { width: auto; height: 40px; margin: 22px auto 6px; opacity: .9; }
nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
nav a { color: var(--dim); text-decoration: none; padding: 7px 10px; border-radius: 9px; font-size: .93rem; font-weight: 600; }
nav a:hover { color: var(--text); background: var(--raised); }
nav a.on { color: var(--amber); background: var(--raised); }
.button { display: inline-block; padding: 14px 26px; border-radius: 12px; background: var(--amber); color: #14100a; font-weight: 700; text-decoration: none; transition: transform .12s, box-shadow .12s; box-shadow: 0 6px 24px rgba(255, 184, 51, .25); }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 184, 51, .35); }
nav a.button.small, .button.small { padding: 9px 18px; border-radius: 10px; box-shadow: none; color: #14100a; background: var(--amber); margin-left: 6px; }
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; padding: 36px 0 64px; }
.tag { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); font-size: .85rem; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.05; margin: 16px 0 18px; letter-spacing: -.02em; }
h1 span { color: var(--amber); }
.lead { color: var(--dim); font-size: 1.15rem; max-width: 36em; margin: 0 0 26px; }
.note { color: var(--dim); font-size: .9rem; margin-top: 12px; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 8px; letter-spacing: -.01em; }
.sub { color: var(--dim); margin: 0 0 30px; max-width: 46em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--dim); font-size: .97rem; }
.card .mark { width: 36px; height: 4px; border-radius: 2px; background: var(--amber); margin-bottom: 14px; }
a.card { display: block; text-decoration: none; color: var(--text); transition: border-color .12s, transform .12s; }
a.card:hover { border-color: var(--amber); transform: translateY(-2px); }
a.card .more { display: inline-block; margin-top: 12px; color: var(--amber); font-weight: 600; font-size: .95rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
figure { margin: 0; }
figcaption { color: var(--dim); font-size: .9rem; padding: 8px 2px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats b { display: block; font-size: 2.2rem; color: var(--amber); line-height: 1.1; }
.stats span { color: var(--dim); font-size: .95rem; }
.get { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; text-align: left; }
.steps .n, .n { color: var(--amber); font-weight: 800; font-size: 1.4rem; }
.page-head { padding: 30px 0 48px; max-width: 46em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split p { color: var(--dim); }
.split ul, .plain { color: var(--dim); padding-left: 1.2em; margin: 0; }
.split li, .plain li { margin-bottom: 8px; }
.split li b, .plain li b { color: var(--text); }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare th { color: var(--dim); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.compare td:first-child { font-weight: 700; width: 22%; }
.compare td:nth-child(2) { color: var(--dim); width: 34%; }
.compare td:nth-child(3) { color: var(--text); }
.post { padding: 22px 0; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post time { color: var(--amber); font-size: .85rem; font-weight: 700; }
.post h3 { margin: 4px 0 6px; font-size: 1.25rem; }
.post p { margin: 0 0 8px; color: var(--dim); }
.post ul { margin: 0 0 10px; padding-left: 1.3em; color: var(--dim); }
.post li { margin-bottom: 4px; }
.post strong { color: var(--text); }
footer { padding: 30px 0 50px; color: var(--dim); font-size: .9rem; text-align: center; border-top: 1px solid var(--line); }
footer a { color: var(--dim); margin: 0 8px; }
@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 16px; }
  .split.flip > :first-child { order: 0; }
  .grid, .grid.two, .gallery, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .compare th:nth-child(2), .compare td:nth-child(2) { display: none; }
  .compare td:first-child { width: 34%; }
}

/* ---------------------------------------------------------------- The City brand (2026 redesign)
   The game's own palette and typeface (Jost), so the site and the game feel like one thing. */
@font-face { font-family: "Jost"; src: url("fonts/Jost.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root { --ink: #070b14; --deep: #0d1424; --raised: #121b30; --line: #22304d; --text: #f5efe3; --dim: #aeb7cc; --amber: #f5b80c; --amber-hi: #ffc93a; --green: #7fd1ff; }
body { font-family: "Jost", "Segoe UI", system-ui, sans-serif; font-size: 18px; background: var(--ink); color: var(--text); }
h1, h2, h3 { font-family: "Jost", sans-serif; letter-spacing: -.01em; }
h1 { font-weight: 700; }
h2 { font-weight: 700; }
.lead, .sub, .card p, .note { color: var(--dim); }
.button { border-radius: 4px; padding: 15px 30px; font-weight: 600; letter-spacing: .02em; background: var(--amber); color: #120d02; box-shadow: none; }
.button:hover { background: var(--amber-hi); transform: none; box-shadow: 0 0 0 4px rgba(245, 184, 12, .2); }
nav a.button.small, .button.small { border-radius: 4px; padding: 10px 18px; background: var(--amber); color: #120d02; }
.button.ghost { background: rgba(7, 11, 20, .35); color: var(--text); border: 1px solid rgba(245, 239, 227, .5); }
.button.ghost:hover { border-color: var(--text); background: rgba(245, 239, 227, .1); box-shadow: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.strip { display: flex; justify-content: center; gap: 6px 18px; flex-wrap: wrap; background: #0b1120; color: var(--dim); border-bottom: 1px solid var(--line); text-align: center; text-decoration: none; padding: 9px 20px; font-size: .88rem; }
.strip b { color: var(--amber); font-weight: 600; }
.strip:hover b { text-decoration: underline; }

header.site-top { padding: 16px 0; }
.site-top .brand img { height: 44px; }
.site-top nav { gap: 6px; }
.site-top nav a { color: var(--text); font-size: .98rem; font-weight: 500; padding: 8px 14px; border-radius: 4px; opacity: .85; }
.site-top nav a:hover { opacity: 1; background: rgba(245, 239, 227, .08); }
.site-top nav a.on { opacity: 1; color: var(--amber); background: transparent; box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.site-top nav a.button { opacity: 1; margin-left: 12px; color: #120d02; }
.menu-btn { display: none; font: inherit; font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; cursor: pointer; }
body.over-art .bar { position: fixed; z-index: 30; left: 0; right: 0; top: 0; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
body.over-art .bar.withstrip { top: auto; }
body.over-art .bar.solid, body.over-art .site-top.solid { background: rgba(7, 11, 20, .94); }
.bar-wrap { background: transparent; }

footer.site-foot { text-align: left; padding: 64px 0 36px; margin-top: 40px; color: var(--dim); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-brand img { width: 150px; height: auto; margin: 0 0 14px; }
.foot-brand p { margin: 0 0 18px; }
.foot-brand a:not(.button) { color: var(--text); }
.foot-col h4 { margin: 4px 0 14px; color: var(--text); font-size: .95rem; font-weight: 600; }
.foot-col a { display: block; color: var(--dim); text-decoration: none; margin: 0 0 9px; }
.foot-col a:hover { color: var(--text); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .85rem; }
footer > div { display: grid; }
footer > div.foot-legal { display: flex; }

@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .site-top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; flex-direction: column; align-items: stretch; padding: 10px 20px 18px; background: rgba(7, 11, 20, .98); border-bottom: 1px solid var(--line); }
  .site-top.open nav { display: flex; }
  .site-top { position: relative; }
  .site-top nav a.button { margin: 8px 0 0; text-align: center; }
  .site-top nav a.on { box-shadow: inset 2px 0 0 var(--amber); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* Full-width pictures never grow past their own size (1920 x 1080): on very wide screens they stay centred,
   at their real resolution, and fade into the page at the sides instead of being blown up. */
.key, .moment, .finale, .banner { max-width: 1920px; margin-left: auto; margin-right: auto; }
.key { min-height: min(100vh, 1080px) !important; }
.moment { min-height: min(88vh, 1000px) !important; max-height: 1080px; }
.banner { max-height: 1080px; }
@media (min-width: 1921px) {
  .key, .moment, .finale, .banner { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); }
}

/* The email sign-up above every footer */
.signup { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: 34px 36px; margin-bottom: 52px; border-radius: 6px; background: linear-gradient(120deg, #1a2238, #121b30); border: 1px solid var(--line); }
.signup h3 { margin: 0 0 6px; font-size: 1.6rem; color: var(--text); }
.signup p { margin: 0; color: var(--dim); }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-form input[type=email] { flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 16px; font: inherit; color: var(--text); background: var(--ink); border: 1px solid var(--line); border-radius: 4px; }
.signup-form input[type=email]:focus { outline: 2px solid var(--amber); border-color: transparent; }
.signup-form .button { height: 52px; padding: 0 28px; }
.signup-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.signup-msg { flex-basis: 100%; min-height: 1.3em; font-weight: 600; font-size: .95rem; }
.signup-msg.ok { color: var(--green); } .signup-msg.bad { color: #ff9a7a; }
.signup-fine { flex-basis: 100%; font-size: .85rem; }
.signup-fine a { color: var(--dim); }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; padding: 26px 22px; gap: 18px; } }

/* Links inside sentences in the footer: no side gaps */
.foot-brand p a, .signup-fine a { margin: 0; }

/* Things waiting for data (like the Discord buttons) stay hidden until it arrives */
[hidden] { display: none !important; }

/* Founder Login: the gold button in the header, for play testers */
.site-top nav a.founder-login, a.founder-login { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--amber); border-radius: 4px; color: var(--amber); font-weight: 600; opacity: 1; background: rgba(245, 184, 12, .08); }
.site-top nav a.founder-login:hover, a.founder-login:hover { background: rgba(245, 184, 12, .18); color: #ffd04a; }
a.founder-login img { width: 22px; height: auto; display: block; }
a.founder-login.mobile { display: none; }
@media (max-width: 860px) {
  .site-top nav a.founder-login { display: none; }
  header.site-top { flex-wrap: nowrap; gap: 8px; }
  .site-top .brand img { height: 38px; width: auto; }
  a.founder-login.mobile { display: inline-flex; margin-left: auto; margin-right: 0; padding: 6px 10px 6px 8px; font-size: .9rem; white-space: nowrap; flex: none; }
  .menu-btn { flex: none; }
}
@media (max-width: 380px) {
  a.founder-login.mobile img { display: none; }
  a.founder-login.mobile { padding: 6px 9px; font-size: .85rem; }
  .site-top .brand img { height: 32px; }
  .menu-btn { padding: 8px 10px; }
}

/* A status line above a form (play tester page) */
.note-box { margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--amber); border-radius: 6px; background: rgba(245, 184, 12, .08); color: var(--text); }
.note-box a { color: var(--amber); }

/* News lists: pinned posts, previews and links to the whole post */
.post h3 a { color: inherit; text-decoration: none; } .post h3 a:hover { color: var(--amber); }
.post .pin { display: inline-block; margin-right: 10px; padding: 2px 8px; border-radius: 3px; background: var(--amber); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; vertical-align: 1px; }
.post.pinned { border-left: 3px solid var(--amber); padding-left: 18px; }
.post .readmore { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--amber); text-decoration: none; } .post .readmore:hover { text-decoration: underline; }
