/* The landing page and guide pages. Everything sits under #landing so none of it reaches the game's own styles. */
:root { color-scheme: light; }
body { margin: 0; }
html.game #landing, #boot { display: none; }
html.game #boot { position: fixed; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 14px; background: #6fae35; color: #fff; font: 800 18px system-ui, sans-serif; text-align: center; padding: 16px; }
#boot img { width: 88px; height: 88px; }

#landing { --ink: #1b1b1f; --bark: #4c3a26; --soft: #6b4a2b; --paper: #fffaf0; --cream: #f4ead2; --line: #e2d3ae; --deep: #2f6d1f; --attack: #e8551c; --honey: #ffe27a; --blue: #1f5fbf;
  --title: 'Lilita One', 'Nunito', system-ui, sans-serif;
  min-height: 100vh; background: var(--cream); color: var(--bark); font: 700 17px/1.55 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-text-size-adjust: 100%; overflow-wrap: anywhere; }
#landing *, #landing *::before { box-sizing: border-box; }
#landing .wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
#landing a { color: var(--blue); }
#landing h1, #landing h2, #landing h3 { font-family: var(--title); font-weight: 400; line-height: 1.12; margin: 0; }
#landing h2 { font-size: 30px; color: var(--bark); margin-bottom: 12px; }
#landing h3 { font-size: 21px; color: var(--bark); }
#landing p, #landing ul, #landing ol { margin: 8px 0; }
#landing ul, #landing ol { padding-left: 22px; }
#landing li { margin: 6px 0; }

/* Top bar */
#landing .bar { background: var(--deep); }
#landing .bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
#landing .brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--title); font-size: 21px; text-decoration: none; white-space: nowrap; }
#landing .brand img { width: 32px; height: 32px; }
#landing .bar nav { display: flex; gap: 16px; font-size: 15px; }
#landing .bar nav a { color: #fff; padding: 12px 0; }

/* Hero */
#landing .hero { color: #fff; background: var(--deep) repeating-conic-gradient(#347a22 0 25%, #2f6d1f 0 50%) 0 0 / 64px 64px; padding: 14px 0 30px; }
#landing .hero .wrap { display: grid; gap: 22px; }
#landing .pitch { display: grid; gap: 12px; justify-items: start; align-content: center; }
#landing .hero h1 { color: #fff; font-size: clamp(36px, 10.6vw, 58px); line-height: 1.04; text-shadow: 0 3px 0 var(--ink); }
#landing .answer { margin: 0; font-size: 18px; line-height: 1.45; }
#landing .cta { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 34px; background: var(--attack); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 5px 0 var(--ink); color: #fff; font-family: var(--title); font-size: 25px; text-decoration: none; text-shadow: 0 2px 0 #0006; }
#landing .cta:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
#landing .cta:focus-visible, #landing a:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }
#landing .promises { margin: 2px 0 0; font-size: 15px; font-weight: 800; color: var(--honey); }
#landing .phones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 440px; margin: 0 auto; width: 100%; }
#landing .phones img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 5px 0 #0005; background: #6fae35; }

/* Sections */
#landing section.band { padding: 30px 0 8px; }
#landing .steps { display: grid; gap: 12px; }
#landing .card { background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; padding: 14px 16px; }
#landing .card p { margin-bottom: 0; }
#landing .modes { display: grid; gap: 12px; }
#landing .modes ul { list-style: none; padding: 0; margin: 10px 0 0; }
#landing .modes li { padding-top: 8px; border-top: 2px solid var(--line); }
#landing .modes li b { color: var(--ink); }
#landing table { width: 100%; border-collapse: collapse; background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; border-spacing: 0; overflow: hidden; }
#landing th, #landing td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 2px solid var(--line); }
#landing tr:first-child th, #landing tr:first-child td { border-top: 0; }
#landing th { width: 34%; color: var(--ink); font-weight: 900; overflow-wrap: normal; }
#landing #questions h3 { margin-top: 18px; }
#landing .again { text-align: center; padding: 26px 0 34px; }
#landing footer { background: var(--bark); color: var(--cream); font-size: 15px; padding: 18px 0 26px; }
#landing footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
#landing footer a { color: var(--cream); display: inline-block; padding: 8px 0; }
#landing footer p { margin: 6px 0 0; }

/* Guide pages */
#landing .page { padding-top: 26px; padding-bottom: 36px; max-width: 720px; }
#landing .page h1 { color: var(--bark); font-size: 38px; margin-bottom: 10px; }
#landing .page h2 { margin: 26px 0 8px; }
#landing .page figure { margin: 16px 0; }
#landing .page figure img { display: block; width: min(100%, 300px); height: auto; border: 3px solid var(--ink); border-radius: 20px; }
#landing .page figcaption { font-size: 15px; color: var(--soft); margin-top: 6px; }
#landing .updated { color: var(--soft); font-size: 15px; }
#landing .page table { margin: 12px 0; }
#landing .page .cta { margin-top: 10px; }

@media (min-width: 760px) {
  #landing .hero { padding: 34px 0 40px; }
  #landing .hero .wrap { grid-template-columns: 1fr 1fr; gap: 36px; }
  #landing .steps { grid-template-columns: repeat(3, 1fr); }
  #landing .modes { grid-template-columns: 1fr 2fr; }
  #landing .modes .account ul { columns: 2; column-gap: 24px; }
  #landing .modes .account li { break-inside: avoid; }
}
