/* smartpullpuzzle.com — the game's own look: sage gradient, charcoal ink, Krona One wordmark, Manrope text, Quicksand credit.
   Layout: one narrow column, generous air, the real puzzle as the picture. */
@font-face{font-family:"Krona One";src:url(/assets/fonts/KronaOne-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Manrope";src:url(/assets/fonts/Manrope-VF.ttf) format("truetype");font-weight:200 800;font-display:swap}
@font-face{font-family:"Quicksand";src:url(/assets/fonts/Quicksand-VF.ttf) format("truetype");font-weight:300 700;font-display:swap}
:root{
  --bg:#E7EBE3; --bg2:#DCE2D7; --card:#F4F3EE; --ink:#34363A; --muted:#56625B; --line:#CBD3C6;
  --orange:#FF6C10; --teal:#007C92; --olive:#B2BB1E; --dot:#FF6C10;
  --display:"Krona One","Arial Black",system-ui,sans-serif;
  --body:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;
  --credit:"Quicksand",system-ui,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){:root{
  --bg:#191E1C; --bg2:#222926; --card:#2A322F; --ink:#E9ECE6; --muted:#97A39B; --line:#3A443F; --dot:#FD9357; --teal:#1F97AC; color-scheme:dark}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0; min-height:100vh; background:radial-gradient(120% 90% at 50% 30%, var(--bg) 0%, var(--bg2) 100%); background-color:var(--bg);
  color:var(--ink); font-family:var(--body); font-size:17px; line-height:1.55; -webkit-font-smoothing:antialiased}
a{color:inherit; text-decoration-color:color-mix(in srgb, currentColor 35%, transparent); text-underline-offset:3px}
a:hover{text-decoration-color:currentColor}
a:focus-visible{outline:2px solid var(--teal); outline-offset:3px; border-radius:4px}
.wrap{max-width:720px; margin:0 auto; padding-inline:20px; padding-block:28px 56px}
/* the official logo: rendered by the game's own drawSetLogo code (Settings credits), light and dark */
.mark{display:inline-block; line-height:0; text-decoration:none}
.mark img{display:block; height:20px; width:auto}
.lockup{margin:0; line-height:0}
.lockup img{display:block; width:min(440px, 86vw); height:auto}
.credit{font-family:var(--credit); font-weight:500; font-size:12px; color:var(--muted); letter-spacing:0}
.top{display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap}
.top nav{display:flex; gap:18px; font-size:15px; font-weight:600}
.top nav a{text-decoration:none; color:var(--muted)}
.top nav a:hover,.top nav a[aria-current="page"]{color:var(--ink)}
/* home */
.hero{display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; padding-block:56px 8px}
.tagline{font-size:clamp(20px, 4.4vw, 26px); font-weight:600; margin:14px 0 0; text-wrap:balance; letter-spacing:-.01em}
.pill{display:inline-flex; align-items:center; gap:8px; margin-top:6px; padding:9px 16px; border-radius:8px; background:var(--card); font-weight:600; font-size:15px;
  box-shadow:0 1px 0 rgba(0,0,0,.06)}
.pill b{font-family:var(--display); font-weight:400; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted)}
.puzzle{display:block; width:min(420px, 82%); height:auto; margin:28px auto 0}
.points{list-style:none; padding:0; margin:48px 0 0; display:grid; gap:26px}
.points li{display:grid; grid-template-columns:44px minmax(0,1fr); gap:16px; align-items:start}
.points .chip{width:44px; height:44px; border-radius:10px; display:grid; place-items:center; color:#fff}
.points .chip svg{width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.points h2{font-size:18px; margin:0 0 2px; line-height:1.3}
.points p{margin:0; color:var(--muted)}
.modes{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:44px}
.modes figure{margin:0; border-radius:14px; padding:18px 14px 12px; display:flex; flex-direction:column; align-items:center; gap:10px}
.modes figure.sp{background:var(--card)}
.modes figure.ne{background:#000; color:#F4ECFF}
.modes img{width:100%; max-width:240px; height:auto}
.modes figcaption{font-family:var(--display); font-size:11px; letter-spacing:.12em; text-transform:uppercase}
.follow{margin-top:52px; text-align:center}
.follow h2{font-family:var(--display); font-weight:400; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin:0 0 12px}
.follow .links{display:flex; gap:12px; justify-content:center; flex-wrap:wrap}
.btn{display:inline-flex; align-items:center; gap:8px; padding:11px 16px; border-radius:8px; background:var(--card); font-weight:700; font-size:15px; text-decoration:none;
  box-shadow:0 1px 0 rgba(0,0,0,.06)}
.btn svg{width:18px; height:18px; fill:currentColor}
/* text pages */
.doc{margin-top:40px}
.doc h1{font-size:clamp(28px, 6vw, 36px); line-height:1.15; margin:0 0 6px; letter-spacing:-.01em; text-wrap:balance}
.doc .sub{color:var(--muted); margin:0 0 28px}
.doc h2{font-size:19px; margin:34px 0 6px; line-height:1.3}
.doc p,.doc li{max-width:64ch}
.doc ul{padding-left:20px}
.doc li{margin:4px 0}
.card{background:var(--card); border-radius:14px; padding:18px 20px; margin:22px 0}
.card p{margin:0}
.email{font-weight:700; font-size:18px; user-select:all; -webkit-user-select:all; word-break:break-all}
details{border-top:1px solid var(--line); padding:14px 0}
details:last-of-type{border-bottom:1px solid var(--line)}
summary{cursor:pointer; font-weight:700; list-style:none; display:flex; justify-content:space-between; gap:12px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+"; font-family:var(--display); color:var(--muted); font-size:15px}
details[open] summary::after{content:"–"}
details p{margin:8px 0 0; color:var(--muted)}
footer{margin-top:64px; padding-top:20px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:12px 20px; flex-wrap:wrap;
  font-size:14px; color:var(--muted)}
footer nav{display:flex; gap:16px}
footer a{text-decoration:none}
footer a:hover{color:var(--ink)}
.demo-section{margin:32px auto 0; width:100%; max-width:600px}
.demo-selector{display:flex; gap:10px; justify-content:center; margin-bottom:20px}
.demo-btn{padding:10px 20px; border:2px solid var(--line); border-radius:8px; background:var(--bg); color:var(--ink); font-weight:600; font-size:15px; cursor:pointer; transition:all .2s ease}
.demo-btn:hover{border-color:var(--muted); color:var(--muted)}
.demo-btn.active{border-color:var(--orange); color:var(--orange); background:var(--card)}
html.brandtheme .demo-btn.active{border-color:var(--orange); color:var(--ink); background:var(--card)}
html.neon .demo-btn.active{border-color:#FF2E97; color:#FF2E97; background:var(--chip)}
#demo-container{position:relative; background:var(--bg2); border-radius:8px; overflow:hidden; aspect-ratio:1/1.2; box-shadow:0 4px 12px rgba(0,0,0,.1)}
.game-mode{position:absolute; inset:0; width:100%; height:100%}
@media (max-width:480px){.modes{grid-template-columns:minmax(0,1fr)}.top nav{gap:14px} .demo-selector{gap:8px} .demo-btn{padding:8px 16px; font-size:14px}}
@media (prefers-reduced-motion: no-preference){.puzzle{animation:rise .9s cubic-bezier(.2,.7,.2,1) both}@keyframes rise{from{opacity:0; transform:translateY(14px)}to{opacity:1; transform:none}}}
