/* GoWithHello: friendly editorial magazine look. Palette from the brand art. */
:root {
  --indigo: #2B2D6E;
  --indigo-2: #3A3D8F;
  --coral: #FF6B4A;
  --coral-dark: #E8512F;
  --yellow: #FFC93C;
  --sky: #7EC8E3;
  --cream: #FFF6E9;
  --paper: #FFFDF8;
  --ink: #23244F;
  --muted: #5D5F86;
  --line: #E9DFCF;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 45, 110, .10);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: ui-rounded, "Nunito", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.65 var(--font);
  color: var(--ink);
  background: var(--paper) url("/img/pattern_doodle.webp") repeat;
  background-size: 360px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); }
a:hover { color: var(--indigo); }
h1, h2, h3 { font-family: var(--display); color: var(--indigo); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 750; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(680px, 100% - 32px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 248, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--indigo); font: 800 1.35rem/1 var(--display); }
.brand b { color: var(--coral); font-weight: 800; }
.brand img { width: 44px; height: 44px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { background: var(--cream); color: var(--indigo); }
.nav a[aria-current] { box-shadow: inset 0 0 0 2px var(--yellow); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; margin: 4px 0; border-radius: 2px; background: var(--indigo); }

.crumbs { font-size: .88rem; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs .sep { margin: 0 6px; }

/* buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 0 var(--coral-dark); }
.btn-primary:hover { background: var(--coral-dark); color: #fff; }
.btn-ghost { color: var(--indigo); box-shadow: inset 0 0 0 2px var(--indigo); }
.btn-ghost:hover { background: var(--indigo); color: #fff; }
.btn-light { background: var(--yellow); color: var(--indigo); }
.btn-light:hover { color: var(--indigo); }

/* hero */
.hero { background: linear-gradient(180deg, var(--cream), rgba(255, 246, 233, 0)); padding: 36px 0 24px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.hero-art { width: 100%; border-radius: 28px; }
.hero-copy { position: absolute; left: 3.5%; top: 50%; transform: translateY(-50%); width: 33%; z-index: 1; }
.hero-copy h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
.hero-copy .lead { font-size: 1.02rem; }
.eyebrow { display: inline-block; background: var(--yellow); color: var(--indigo); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 span { color: var(--coral); }
.lead { font-size: 1.12rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* sections */
.section { padding: 56px 0; }
.section-cream { background: var(--cream); }
.section-indigo { background: var(--indigo) url("/img/bg_section_wave.w1200.webp") center / cover no-repeat; color: #E7E8FF; }
.section-indigo h2 { color: #fff; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head a { font-weight: 700; }
.page-head { padding: 28px 0 8px; }
.page-head .lead { max-width: 640px; }

/* cards */
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); color: var(--ink); }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 20px; }
.card-body p { color: var(--muted); font-size: .97rem; margin-bottom: .6em; }
.meta { font-size: .85rem; color: var(--muted); }

/* facts strip */
.facts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact-list li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px; }
.fact-list strong { display: block; color: #fff; }
.fact-list span { font-size: .93rem; }
.ico { width: 28px; height: 28px; flex: none; }
.fact-list .ico { width: 40px; height: 40px; background: var(--cream); border-radius: 12px; padding: 5px; }

/* split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.split-art { border-radius: var(--radius); }
.split-art.small { max-width: 300px; margin-inline: auto; }

/* article */
.article-head { padding-top: 20px; max-width: 820px; }
.article-cover img { border-radius: 24px; width: 100%; max-width: 980px; margin: 8px auto 0; }
.prose { max-width: 760px; padding-top: 28px; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; background: var(--cream); border-left: 5px solid var(--yellow); border-radius: 0 14px 14px 0; }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2em 0; }
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border-radius: 16px; padding: 16px 18px; margin: 2.2em 0 1em; font-size: .95rem; }
.note p { margin: 0; }
.icon-list { list-style: none; padding: 0 !important; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }

/* game card inside guides */
.game-card { border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 16px; margin: .2em 0 1.4em; }
.game-card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.game-card-head strong { font: 800 1.08rem var(--display); color: var(--indigo); }
.game-card-head span { font-size: .85rem; color: var(--muted); }
.game-card ul { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.game-card li { display: flex; align-items: center; gap: 6px; font-size: .9rem; margin: 0; }
.game-card .ico { width: 24px; height: 24px; }

/* forms */
.form { display: grid; gap: 16px; background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; padding: 11px 13px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky); }
.err { color: var(--coral-dark); font-size: .88rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.small { font-size: .88rem; color: var(--muted); }
.notice-ok { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.art-404 { max-width: 280px; margin: 0 auto 16px; }

/* footer */
.site-footer { background: var(--indigo); color: #C9CAF0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 44px 0 24px; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #E7E8FF; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.brand-light { color: #fff; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0 28px; font-size: .85rem; }

@media (max-width: 960px) {
  .hero-copy { position: static; transform: none; width: auto; margin-bottom: 20px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; background: var(--paper); padding: 12px 16px 18px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .hero { padding-top: 20px; }
  .hero-grid { display: flex; flex-direction: column-reverse; }
  .hero-art { border-radius: 20px; max-height: 58vh; width: 100%; object-fit: cover; object-position: center 62%; }
  .cards-3, .fact-list, .split, .footer-grid { grid-template-columns: 1fr; }
  .split > picture, .split > img { order: -1; }
  .section { padding: 40px 0; }
  .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .card { transition: none; }
}

/* our own games (disclosure page) */
.own-game { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.own-game-art { position: relative; }
.own-game-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.badge-18 { position: absolute; top: 12px; right: 12px; background: var(--indigo); color: #fff; font: 800 .95rem/1 var(--display); padding: 8px 10px; border-radius: 10px; box-shadow: 0 0 0 3px var(--yellow); }
.own-game-body { padding: 22px 24px 24px; }
.label-own { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 2px dashed var(--line); border-radius: 999px; padding: 4px 12px; }
.own-facts { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.own-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
