/* Static site pages in the game's graphite look (same tokens as admin.css / "Cam HUD" in ui-modern-a.css): near-black surfaces, light ink,
   one Boğaz-blue accent (#38b2c9 fills with dark text, #6cd0e2 for text and lines), self-hosted Outfit (/fonts.css loads before this file). */
:root { color-scheme: dark; --bg: #0e1011; --nav-bg: #131517; --surface: #16181a; --surface-raised: #1c1e20; --surface-selected: rgba(56, 178, 201, .18); --key-soft: rgba(255, 255, 255, .08);
  --border: rgba(255, 255, 255, .14); --border-soft: rgba(255, 255, 255, .08); --accent: #38b2c9; --accent-hover: #5cc4d6; --on-accent: #06181d; --accent-text: #6cd0e2;
  --ink: #f2f0ea; --text: #dcdad4; --muted: #b4b8bd; --radius-sm: 10px; --radius-md: 12px; --radius-lg: 14px; --radius-xl: 18px;
  --head: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif; --body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif; font-family: var(--body);
  background: radial-gradient(1100px 520px at 85% -8%, rgba(56, 178, 201, .09), transparent 70%), var(--bg); scrollbar-color: rgba(255, 255, 255, .28) transparent; scrollbar-width: thin; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-size: 17px; line-height: 1.7; }
::selection { background: rgba(56, 178, 201, .38); color: var(--ink); }
[hidden] { display: none !important; }
a { color: var(--accent-text); text-underline-offset: .22em; }
@media (hover: hover) { a:hover { color: var(--ink); } }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
h1, h2, h3 { color: var(--ink); font-family: var(--head); font-weight: 650; line-height: 1.15; letter-spacing: -.02em; }
/* header */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px 28px; padding: 12px max(24px, calc((100vw - 1176px)/2)); background: rgba(19, 21, 23, .94); border-bottom: 1px solid var(--border-soft); backdrop-filter: blur(8px); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); text-decoration: none; font: 700 22px var(--head); letter-spacing: -.02em; }
/* the name plate of the game's sign-in card: the isometric mark, the name in Cinzel (self-hosted by /fonts.css) */
.brand img { width: 40px; height: 40px; }
.brand span { font: 600 21px/1 'Cinzel', 'Times New Roman', serif; letter-spacing: .03em; }
@media (hover: hover) { .brand:hover { color: var(--ink); } }
.site-nav { display: flex; align-items: center; gap: 4px 24px; }
.site-nav a { padding: 6px 0; color: var(--muted); font: 500 15px var(--head); text-decoration: none; white-space: nowrap; box-shadow: inset 0 -2px transparent; transition: box-shadow .15s, color .15s; }
@media (hover: hover) { .site-nav a:hover { color: var(--ink); box-shadow: inset 0 -2px var(--border); } }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px var(--accent); }
.language-switcher { display: inline-flex; gap: 2px; margin-left: auto; }
.language-switcher button { padding: 5px 7px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font: 500 13px var(--head); cursor: var(--cursor-pointer, pointer); }
.language-switcher button { display: inline-flex; align-items: center; gap: 5px; }
.language-switcher svg { flex: none; width: 20px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
@media (hover: hover) { .language-switcher button:hover { color: var(--ink); background: var(--key-soft); } }
.language-switcher button[aria-pressed="true"] { color: var(--accent-text); background: var(--surface-selected); box-shadow: inset 0 0 0 1px var(--accent); }
@media (pointer: coarse) { .language-switcher button { min-height: 40px; min-width: 40px; } }
.nav-cta { padding: 8px 18px; border-radius: var(--radius-sm); color: var(--on-accent); background: var(--accent); box-shadow: 0 6px 16px -6px rgba(56, 178, 201, .55); font: 700 15px var(--head); text-decoration: none; transition: background .15s; }
@media (hover: hover) { .nav-cta:hover { color: var(--on-accent); background: var(--accent-hover); } }
/* hero: copy left, map crop right, caravan route drawn once; the picture fades into the dark ground */
.hero, .info-hero { position: relative; overflow: hidden; }
.hero::before, .info-hero::before { content: ''; position: absolute; inset: 0 0 0 auto; width: min(46%, 560px); background: url('/intro-poster.jpg') center / cover; filter: saturate(.8) brightness(.62) contrast(1.05); -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%); }
.hero::after, .info-hero::after { content: ''; position: absolute; inset: 0 0 0 auto; width: min(46%, 560px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 300' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M40 250C120 120 200 260 290 150S450 60 520 110' fill='none' stroke='%236cd0e2' stroke-width='3' stroke-dasharray='2 9' stroke-linecap='round'/%3E%3Ccircle cx='40' cy='250' r='7' fill='%2338b2c9' stroke='%23f2f0ea' stroke-width='2'/%3E%3Ccircle cx='520' cy='110' r='7' fill='%2338b2c9' stroke='%23f2f0ea' stroke-width='2'/%3E%3C/svg%3E") center / cover; clip-path: inset(0 100% 0 0); animation: route 2.2s .3s ease-out forwards; pointer-events: none; }
@keyframes route { to { clip-path: inset(0); } }
.hero { min-height: 400px; display: flex; align-items: center; border-bottom: 1px solid var(--border-soft); }
.hero-copy { position: relative; z-index: 1; width: min(100%, 1176px); margin: auto; padding: 72px 24px; }
.hero-copy > * { max-width: 600px; }
h1 { margin: 0 0 18px; font-size: clamp(38px, 5.2vw, 60px); letter-spacing: -.035em; }
.lead { margin: 0; color: var(--text); font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }
.content { max-width: 1176px; margin: auto; padding: 56px 24px 96px; }
.info-main { max-width: 1000px; margin: auto; padding: 32px 24px 96px; }
.info-hero { display: block; min-height: 260px; margin-bottom: 8px; padding: 56px 0; border-bottom: 1px solid var(--border-soft); }
.info-hero > * { position: relative; z-index: 1; max-width: 560px; }
.info-section { padding: 36px 0; border-bottom: 1px solid var(--border-soft); }
.info-section:last-child { border-bottom: 0; }
.info-section h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 31px); }
.info-main article > p { margin: 0; padding: 0 0 8px; }
.info-main article > p, .info-section p, .info-section li { max-width: 68ch; color: var(--text); }
.steps, .content > .entry, .content > .callout { max-width: 880px; }
.intro { max-width: 62ch; margin: 0 0 40px; color: var(--text); font-size: 20px; }
/* guide steps: real sequence, so numbered; ruled list, no card chrome */
.steps { counter-reset: guide; border-bottom: 1px solid var(--border-soft); }
.step { position: relative; margin: 0; padding: 30px 0 30px 92px; border-top: 1px solid var(--border-soft); counter-increment: guide; }
.step::before { content: counter(guide); position: absolute; left: 0; top: 22px; color: var(--accent-text); font: 700 52px/1 var(--head); letter-spacing: -.04em; }
.step h2, .entry h2 { margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 28px); }
.step p, .entry p { max-width: 64ch; margin: 0 0 12px; color: var(--text); }
.step p:last-child, .entry p:last-child { margin-bottom: 0; }
.step ul, .entry ul { max-width: 64ch; margin: 10px 0 0; padding-left: 22px; color: var(--text); }
.step li, .entry li { margin: 5px 0; }
/* dev notes: topic in the margin, text beside it */
.entry { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 32px; padding: 30px 0; border-top: 1px solid var(--border-soft); }
.entry > * { grid-column: 2; }
.entry .tag { grid-column: 1; grid-row: 1 / span 4; align-self: start; padding-top: 6px; color: var(--accent-text); font: 700 15px var(--head); }
.callout { margin: 36px 0; padding: 18px 24px; border-radius: 0 var(--radius-md) var(--radius-md) 0; border-left: 4px solid var(--accent); background: var(--surface-raised); color: var(--ink); }
.callout p { max-width: 64ch; margin: 0; }
.cta { display: inline-block; margin-top: 18px; padding: 12px 22px; border-radius: var(--radius-md); color: var(--on-accent); background: var(--accent); box-shadow: 0 6px 16px -6px rgba(56, 178, 201, .55); font: 700 16px var(--head); text-decoration: none; transition: background .15s; }
@media (hover: hover) { .cta:hover { color: var(--on-accent); background: var(--accent-hover); } }
/* footer */
.site-footer { background: var(--nav-bg); border-top: 1px solid var(--border-soft); color: var(--muted); font-size: 15px; line-height: 1.6; }
.footer-inner { max-width: 1176px; margin: auto; padding: 56px 24px 32px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 36px 40px; }
.footer-brand p { max-width: 30ch; margin: 14px 0 0; }
.site-footer .brand { color: var(--ink); }
@media (hover: hover) { .site-footer .brand:hover { color: var(--ink); } }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.footer-title { margin: 0 0 4px; color: var(--ink); font: 700 15px var(--head); }
.site-footer a { color: var(--muted); text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { color: var(--ink); text-decoration: underline; } }
.site-footer .brand { text-decoration: none; }
/* store buttons: compact brand buttons in the "Get the game" column */
.site-footer .store-btn { display: flex; align-items: center; gap: 10px; box-sizing: border-box; width: 100%; max-width: 250px; min-height: 56px; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); font: 600 14px/1.25 var(--head); text-decoration: none; transition: border-color .15s, background .15s; }
.store-btn svg, .store-btn img { flex: none; width: 20px; height: 20px; }
.store-btn span { min-width: 0; }
.site-footer .footer-get { display: grid; grid-template-columns: minmax(0, 250px); grid-template-rows: auto; grid-auto-rows: 1fr; align-items: stretch; }
@media (hover: hover) { .site-footer .store-btn:hover { border-color: var(--accent); background: var(--surface-selected); color: var(--ink); text-decoration: none; } }
/* credit pushed to the right edge of the bottom line, legal text on the left */
.footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid var(--border-soft); font-size: 13px; }
.site-footer .made-by { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: var(--muted); font: 500 11px/1.4 var(--head); opacity: .85; vertical-align: baseline; }
.site-footer .made-by img { display: block; flex: none; width: 12px; height: 16px; }
.site-footer .made-by strong { color: var(--ink); font-weight: 700; }
@media (hover: hover) { .site-footer .made-by:hover { opacity: 1; color: var(--ink); text-decoration: underline; } }
.site-footer .made-by:focus-visible { opacity: 1; outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 3px; }
@media (max-width: 860px) { .site-header { flex-wrap: wrap; position: static; } .nav-cta { order: 2; margin-left: auto; } .language-switcher { order: 3; margin-left: 0; } .site-nav { order: 4; flex-basis: 100%; overflow-x: auto; } .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero::before, .info-hero::before { inset: 0 0 auto; width: 100%; height: 130px; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); }
  .hero::after, .info-hero::after { display: none; }
  .hero { min-height: 0; } .hero-copy { padding: 150px 20px 48px; }
  .info-hero { padding: 150px 0 36px; min-height: 0; }
  .content, .info-main { padding-inline: 20px; } .info-main { padding-top: 12px; }
  .step { padding-left: 62px; } .step::before { font-size: 38px; }
  .entry { display: block; } .entry .tag { display: block; margin-bottom: 6px; padding: 0; }
  .footer-inner { grid-template-columns: 1fr; padding-inline: 20px; }
  .footer-meta { flex-direction: column; align-items: flex-start; } .site-footer .made-by { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero::after, .info-hero::after { animation: none; clip-path: none; } * { transition: none !important; } }
