/* Lucky Junk as the game looks (sockpile repo, docs/GLUECKSKRAM.md "Look"): the inside of a teal-and-cream market
   tent, cream paper cards with dark brown outlines, gold for gains, the red ribbon for titles. Lilita One shouts,
   Nunito stands in for the game's Fredoka. */
:root {
  --tent: #2a9d9a;
  --tent-dark: #1d6466;
  --cream: #fff1dc;
  --paper: #fff7ea;
  --ink: #3b2a20;
  --gold: #ffd23f;
  --ribbon: #e8574a;
  --wood: #c98a52;
  --display: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --sans: 'Nunito', system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink);
  /* the tent: wide stripes, darker toward the floor */
  background:
    linear-gradient(rgba(16, 52, 53, 0) 30%, rgba(16, 52, 53, .45)),
    repeating-linear-gradient(90deg, var(--tent-dark) 0 80px, #3c8783 80px 160px);
  background-attachment: fixed;
  font: 600 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .3px; line-height: 1.05; }

.tile, .plan, .faq details, .contact, .btn, .hero, .legal {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 rgba(16, 52, 53, .55);
}

.bar {
  max-width: 1080px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between;
}
.bar .home {
  font-family: var(--display); font-size: 28px; color: #fff; text-decoration: none; display: inline-block;
  background: var(--ribbon); border: 3px solid var(--ink); border-radius: 12px; padding: 4px 16px 6px;
  text-shadow: 0 2px 0 var(--ink);
}
.bar .store { font-weight: 900; text-decoration: none; background: var(--gold); border: 3px solid var(--ink); padding: 8px 16px; border-radius: 999px; }

main { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter) 64px; }

.hero { margin-top: 28px; padding: 32px clamp(20px, 4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero .icon { border-radius: 30px; border: 3px solid var(--ink); box-shadow: 0 6px 0 rgba(59, 42, 32, .35); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); margin: 4px 0 0; }
.lede { font-size: clamp(18px, 2.4vw, 22px); max-width: 680px; margin: 0; font-weight: 700; }
.btn { display: inline-block; padding: 14px 26px; font-family: var(--display); font-size: 24px; text-decoration: none; }
.btn.cta { background: #7fd34e; color: #fff; text-shadow: 0 2px 0 var(--ink); }
.soon { font-weight: 900; margin: 0; }
.fine { font-size: 15px; margin: 0; }

section h2 { font-size: clamp(32px, 5vw, 46px); margin: 52px 0 18px; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.tile { padding: 18px 20px; }
.tile h3 { font-size: 26px; margin: 0 0 8px; }
.tile p { margin: 0; }

.plan-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.plan { padding: 20px 22px; }
.plan.pro { background: var(--gold); }
.plan h3 { font-size: 30px; margin: 0 0 10px; }
.plan ul { margin: 0 0 10px; padding-left: 20px; }
.plan li { margin: 4px 0; }
.plan p { margin: 0; font-size: 15px; }

.help-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 760px) { .help-cols { grid-template-columns: 1fr; } }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 14px 18px; }
.faq summary { font-weight: 900; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.contact { padding: 18px 20px; background: var(--cream); }
.contact-lede { margin: 0 0 8px; font-weight: 800; }
.mail { margin: 0; font-weight: 900; word-break: break-all; }

.legal { max-width: 760px; margin: 28px auto 0; padding: 8px clamp(20px, 4vw, 44px) 36px; }
.legal h1 { font-size: clamp(38px, 7vw, 60px); margin: 24px 0 6px; }
.legal .updated { margin: 0 0 18px; font-size: 15px; }
.legal .intro { font-size: 19px; font-weight: 800; }
.legal section h2 { font-size: 26px; margin: 30px 0 8px; color: var(--ink); text-shadow: none; }

.foot { background: rgba(16, 52, 53, .6); color: var(--cream); }
.foot a { color: var(--cream); }
.foot-in {
  max-width: 1080px; margin: 0 auto; padding: 22px var(--gutter) max(28px, env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 15px;
}
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 900; }
