/*
 * ABL Survival Kit — store landing page.
 *
 * Palette taken from the app itself (constants/theme.ts) so the page and the
 * product look like the same thing: deep teal brand, warm cream ground, coral
 * used only for the primary call to action.
 *
 * Hand-edited HTML by design — three language files, one stylesheet, no build
 * step. Edit the copy directly in index.html / nl.html / en.html.
 */

:root {
  --teal: #184552;
  --teal-bright: #008991;
  --cream: #f5f1e9;
  --surface: #ffffff;
  --ink: #2f2f2f;
  --heading: #00081a;
  --muted: #737373;
  --border: #e7e7e7;
  --coral: #c74e4e;

  /* The four components, matching the in-app tiles. */
  --land: #4b6043;
  --air: #4862a5;
  --marine: #1b3057;
  --medical: #c74e4e;

  --max: 1080px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Language switcher ─────────────────────────────────────────────────── */
.langbar { background: var(--teal); border-bottom: 1px solid rgba(255,255,255,0.12); }
.langbar .wrap { display: flex; justify-content: flex-end; gap: 4px; padding-top: 8px; padding-bottom: 8px; }
.langbar a {
  color: rgba(245,241,233,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
}
.langbar a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.langbar a[aria-current='true'] { color: #fff; background: rgba(255,255,255,0.16); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1b4d5c 0%, var(--teal) 55%, #123a45 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Belgian tricolour edge, as on the store feature graphic. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: linear-gradient(180deg, #000 0 33.33%, #fdda24 33.33% 66.66%, #ef3340 66.66% 100%);
}
.hero .wrap { padding-top: 64px; padding-bottom: 64px; }
.hero-inner { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }

.appicon {
  width: 132px; height: 132px;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  flex: none;
}

.hero-copy { flex: 1 1 340px; min-width: 0; }
.hero h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  font-weight: 800;
  margin-bottom: 10px;
}
.hero .tagline { font-size: clamp(17px, 2.4vw, 21px); color: rgba(245,241,233,0.92); font-weight: 500; }
.hero .lead { margin-top: 14px; color: rgba(245,241,233,0.78); max-width: 46ch; }

/* ── Store buttons ─────────────────────────────────────────────────────── */
.stores { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 11px 20px 11px 17px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.store:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.5); }
.store:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; }
.store svg { flex: none; }
.store .s1 { display: block; font-size: 11px; line-height: 1.2; opacity: 0.8; }
.store .s2 { display: block; font-size: 17px; line-height: 1.25; font-weight: 600; letter-spacing: -0.2px; }

/* ── Unofficial notice ─────────────────────────────────────────────────── */
.notice {
  background: var(--surface);
  border: 1px solid var(--coral);
  border-left-width: 5px;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 40px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.notice svg { flex: none; margin-top: 2px; }
.notice strong { display: block; color: var(--heading); margin-bottom: 3px; }
.notice p { font-size: 15px; }

/* ── Sections ──────────────────────────────────────────────────────────── */
section { padding: 8px 0 48px; }
h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--heading);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  font-weight: 800;
}
.section-lead { color: var(--muted); margin-bottom: 26px; max-width: 62ch; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { font-size: 17px; color: var(--heading); margin-bottom: 6px; font-weight: 700; }
.card p { font-size: 15px; color: var(--ink); }

/* Component chips — same colours as the in-app force headers. */
.forces { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.force {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}
.force.land { background: var(--land); }
.force.air { background: var(--air); }
.force.marine { background: var(--marine); }
.force.medical { background: var(--medical); }

/* ── Screenshots ───────────────────────────────────────────────────────── */
.shots { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.shots img {
  width: 100%;
  max-width: 290px;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  background: var(--surface);
}

/* ── Closing call to action ────────────────────────────────────────────── */
.cta {
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  margin-bottom: 48px;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(245,241,233,0.82); margin-bottom: 22px; }
.cta .stores { justify-content: center; margin-top: 0; }

/* ── Footer ────────────────────────────────────────────────────────────── */
footer { background: #11333d; color: rgba(245,241,233,0.72); padding: 30px 0; font-size: 14px; }
footer .wrap { display: flex; gap: 10px 26px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
footer a { color: rgba(245,241,233,0.9); text-decoration: underline; text-underline-offset: 3px; }
footer a:hover { color: #fff; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 620px) {
  .hero .wrap { padding-top: 44px; padding-bottom: 44px; }
  .appicon { width: 96px; height: 96px; border-radius: 21px; }
  .store { flex: 1 1 220px; }
}
