/* careechgame.com – the CAREECH look from the App and the printed material: dark background, rounded bands with a
   coloured stripe, Michroma headlines, Inter text, the four area colours. */
:root {
  --black: #07090C; --base: #12161C; --panel: #1E242C; --line: #2E3640; --silver: #C9CFD8; --muted: #9AA3AF;
  --white: #F2F4F7; --streak: #7FD8FF; --gold: #B8902E;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--black); color: var(--silver); font: 16px/1.6 Inter, system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--streak); }
h1, h2, h3, h4, .kicker { font-family: Michroma, Inter, sans-serif; color: var(--white); font-weight: 400; }
h3 { font-size: 1.05rem; margin: 1.6em 0 .5em; letter-spacing: .03em; }
h4 { font-size: .9rem; margin: 0 0 .4em; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 10px 24px;
  background: rgba(7, 9, 12, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.toplogo img { height: 42px; width: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; }
.topicon img { height: 38px; width: 38px; border-radius: 9px; }
.top nav a { color: var(--white); text-decoration: none; font-size: 1.05rem; font-weight: 600; }
.top nav a:hover { color: var(--streak); }

/* Welcome */
.hero { position: relative; overflow: hidden; text-align: center; padding: 90px 24px 80px;
  background: radial-gradient(ellipse at 50% 0%, #1B2A36 0%, var(--black) 70%); }
.hero .kicker { font-size: clamp(.8rem, 2.6vw, 1.1rem); letter-spacing: .25em; color: var(--muted); margin: 0; }
.hero h1 { font-size: clamp(2rem, 8vw, 4.2rem); margin: .2em 0 0; letter-spacing: .08em; }
.streak { height: 3px; width: min(420px, 70%); margin: 18px auto 28px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--streak), transparent); }
.lead { max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
[hidden] { display: none !important; }   /* also for buttons, whose class sets display */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--white);
  font: 600 1rem Inter, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--streak); border-color: var(--streak); color: var(--black); }

/* Sections and the rounded bands */
main { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 56px 0 8px; }
/* the last section must be able to scroll up under the top bar, like the others (Niels 27 Oct 2026) */
#im { min-height: calc(100vh - 70px); }
.band { position: relative; background: var(--panel); border-radius: 14px; padding: 18px 24px 18px 30px;
  margin-bottom: 24px; overflow: hidden; }
.band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--c); }
.band .kicker { font-size: .7rem; letter-spacing: .2em; color: var(--c); }
.band h2 { margin: 2px 0 0; font-size: clamp(1.3rem, 4vw, 1.8rem); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cols > div > h3:first-child { margin-top: 0; }
/* "What is CAREECH?": the text first in two columns, the general information below (Niels 27 Oct 2026) */
.intro { columns: 2; column-gap: 40px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.intro p { margin: 0 0 1em; }

.info { margin: 0; }
.info dt { font-weight: 700; color: var(--white); margin-top: 10px; }
.info dd { margin: 0; }
.info ul, .box { margin: 4px 0 0; padding-left: 20px; }
.box { columns: 1; }

.board { margin: 0 0 8px; }
.board img { border-radius: 14px; width: 100%; max-width: 820px; margin: 0 auto; }
figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 8px; }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 8px; }
.steps li { counter-increment: s; position: relative; padding: 10px 14px 10px 54px; background: var(--base);
  border: 1px solid var(--line); border-radius: 10px; }
.steps li::before { content: counter(s); position: absolute; left: 12px; top: 10px; width: 28px; height: 28px;
  border-radius: 50%; background: var(--streak); color: var(--black); font: 700 .9rem/28px Inter; text-align: center; }
.steps b { color: var(--white); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cards article { background: var(--base); border: 1px solid var(--line); border-top: 4px solid var(--c);
  border-radius: 12px; padding: 14px 16px; }
.cards p { margin: 0; font-size: .93rem; }
.win { background: var(--base); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-top: 18px; }
.win b { color: var(--white); }

.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 20px; }
.phones img { border-radius: 22px; border: 6px solid var(--panel); box-shadow: 0 10px 30px rgba(0,0,0,.5); }

.trybox { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; padding: 18px 22px;
  background: var(--base); border: 1px solid var(--line); border-top: 4px solid #1E8E4E; border-radius: 12px; }
.trybox > div { flex: 1 1 320px; } .trybox h3 { margin: 0 0 .3em; } .trybox p { margin: 0; }
/* Get ready: one column; the QR code with "Open the App" between step 2 and step 3 (Niels 27 Oct 2026) */
.steps-ready { max-width: 760px; }
.qrbox { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; text-align: center;
  background: var(--base); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 20px 0 8px; }
#qr { display: inline-block; background: #fff; padding: 12px; border-radius: 10px; }
#qr img, #qr canvas { width: 200px; height: 200px; }
.qrbox p { font-family: "Share Tech Mono", monospace; color: var(--white); margin: 10px 0 16px; }

/* The Information Memorandum book */
.book-wrap { display: flex; justify-content: center; margin: 12px auto 0; max-width: 1100px; }
#book { width: 100%; }
#book .page { background: #fff; }
#book .page img { width: 100%; height: 100%; object-fit: contain; }
.bookbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin: 18px 0 0; }
#im:fullscreen { background: var(--black); padding: 16px 24px; overflow: auto; }
#im:fullscreen .band, #im:fullscreen > p { display: none; }
#im:fullscreen .book-wrap { max-width: none; }
#pageno { font-family: "Share Tech Mono", monospace; color: var(--white); min-width: 70px; text-align: center; }

footer { text-align: center; padding: 60px 24px 40px; margin-top: 60px; border-top: 1px solid var(--line); }
footer img { height: 36px; width: auto; margin: 0 auto 14px; }
footer .small { font-size: .8rem; color: var(--muted); }

@media (max-width: 760px) {
  .top { padding: 8px 16px; gap: 10px; flex-wrap: wrap; }
  .toplogo img { height: 32px; }
  .topicon { position: absolute; right: 16px; top: 8px; }
  .topicon img { height: 32px; width: 32px; border-radius: 8px; }
  .intro { columns: 1; }
  .top nav { margin-left: 0; gap: 2px 14px; }
  .top nav a { font-size: .95rem; }
  main { padding: 0 16px; }
  .hero { padding: 60px 16px 56px; }
  .cols { grid-template-columns: 1fr; gap: 8px; }
  .box { columns: 1; }
  .phones { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  html { scroll-padding-top: 100px; }
}
