/* heistplanner.app: the game's own look (night-blue, cream, gold, the cyan route) on a plain, fast page */
:root {
  --night: #0b1a40;
  --navy: #14213d;
  --panel: #13254a;
  --line: #2a4378;
  --cream: #fff4de;
  --dim: #a9badb;
  --gold: #f7c548;
  --route: #5be7f5;
  --mint: #5cf0b4;
  --cone: #ff7a59;
  --ink: #0f2440;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Fredoka", system-ui, -apple-system, sans-serif;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--cream); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--route); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* header */
.top { position: absolute; inset: 0 0 auto; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.logo { font: 400 26px/1 var(--display); letter-spacing: .01em; color: var(--cream); text-decoration: none; text-shadow: 0 3px 0 rgba(5, 12, 28, .55); }
.logo b { font-weight: 400; color: #49b8ff; }
.top nav { display: flex; gap: 22px; font-weight: 600; font-size: 16px; }
.top nav a { color: var(--cream); text-decoration: none; opacity: .85; }
.top nav a:hover { opacity: 1; text-decoration: underline; }

/* hero: the title screen's blue, the headline, the key art */
.hero { position: relative; overflow: hidden; padding: 112px 0 72px;
  background: radial-gradient(110% 80% at 70% 40%, #1f56cf 0%, #133d9e 38%, #0b2161 70%, var(--night) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin: 0; font: 400 clamp(46px, 7.4vw, 92px)/.95 var(--display); letter-spacing: .005em; text-shadow: 0 5px 0 rgba(5, 12, 28, .45); }
.hero h1 span { display: block; }
.hero p { margin: 22px 0 0; max-width: 34ch; font-size: 20px; color: #d9e4ff; }
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 14px 22px; border-radius: 18px; background: var(--mint); color: var(--ink);
  font: 400 22px/1 var(--display); box-shadow: 0 5px 0 #24b57c; }
.soon svg { width: 22px; height: 22px; }
.art { position: relative; }
.art img { border-radius: 40px; border: 5px solid var(--gold); box-shadow: 0 10px 0 rgba(5, 12, 28, .5), 0 30px 80px rgba(0, 0, 0, .35); }

/* the route: a dashed cyan line from stop to stop, like a plan drawn in the game */
.how { padding: 96px 0 40px; }
.how h2, .hide h2, .city h2 { margin: 0 0 12px; font: 400 clamp(34px, 4.6vw, 54px)/1.02 var(--display); }
.lede { margin: 0; max-width: 52ch; color: var(--dim); font-size: 19px; }
.plan { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 48px; }
.stops { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; counter-reset: stop; }
.stops::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 30px; border-left: 4px dashed var(--route); opacity: .9;
  animation: draw 1.6s ease-out .2s both; transform-origin: top; }
.stops li { position: relative; padding: 0 0 40px 22px; counter-increment: stop; }
.stops li::before { content: counter(stop); position: absolute; left: -40px; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); font: 400 18px/1 var(--display); border: 3px solid var(--route); box-shadow: 0 3px 0 rgba(5, 12, 28, .5); }
.stops li:last-child::before { background: var(--mint); border-color: #24b57c; }
.stops h3 { margin: 0 0 4px; font: 400 26px/1.15 var(--display); }
.stops p { margin: 0; color: var(--dim); max-width: 40ch; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: sticky; top: 24px; }
.phone { margin: 0; }
.phone img { border-radius: 30px; border: 4px solid #22396b; box-shadow: 0 8px 0 rgba(5, 12, 28, .5); }
.phone figcaption { margin-top: 10px; font-size: 15px; color: var(--dim); text-align: center; }
.phone.lift { margin-top: 56px; }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* hideout */
.hide { padding: 72px 0; }
.hide .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.hide .phone { max-width: 320px; justify-self: center; }
.facts { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.facts li { padding-left: 34px; position: relative; color: var(--dim); }
.facts li strong { color: var(--cream); font-weight: 600; }
.facts li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 6px; background: var(--gold); box-shadow: 0 3px 0 #b8892a; }

/* the city: twelve districts */
.city { padding: 72px 0 96px; }
.badges { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 12px; }
.badges li { text-align: center; font-weight: 600; font-size: 15px; color: var(--dim); }
.badges img { width: 96px; margin: 0 auto 6px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }

/* footer */
.foot { border-top: 2px solid var(--line); padding: 32px 0 48px; color: var(--dim); font-size: 16px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* text pages: support, privacy */
.page { padding: 120px 0 72px; }
.page .wrap { max-width: 760px; }
.page h1 { margin: 0 0 8px; font: 400 clamp(38px, 6vw, 60px)/1 var(--display); }
.page h2 { margin: 40px 0 8px; font: 400 26px/1.2 var(--display); }
.page p, .page li { color: #d6e0f5; max-width: 66ch; }
.page .meta { color: var(--dim); margin: 0 0 28px; }
.boss { display: flex; gap: 18px; align-items: center; margin: 24px 0 8px; padding: 18px 20px; border-radius: 24px; background: var(--panel); border: 3px solid var(--line); }
.boss img { width: 96px; flex: none; }
.boss p { margin: 0; }
.mail { display: inline-block; margin-top: 6px; font: 400 24px/1.2 var(--display); color: var(--gold); text-decoration: none; word-break: break-all; }
.mail:hover { text-decoration: underline; }
details { border-bottom: 2px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--display); color: var(--route); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 4px; }

@media (max-width: 860px) {
  .hero { padding-top: 96px; }
  .hero .wrap, .plan, .hide .wrap { grid-template-columns: 1fr; gap: 36px; }
  .art { max-width: 420px; }
  .phones { position: static; }
  .badges { grid-template-columns: repeat(4, 1fr); }
  .badges img { width: 76px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .top nav { gap: 14px; font-size: 15px; }
  .logo { font-size: 22px; }
  .badges { grid-template-columns: repeat(3, 1fr); }
  .phone.lift { margin-top: 32px; }
  .boss { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
