:root {
  --bg:        #0b1016;
  --bg-2:      #121a24;
  --surface:   #17222f;
  --line:      #29394c;
  --ink:       #eaf2fb;
  --ink-dim:   #a6b8cd;
  --ink-faint: #70849b;
  --accent:    #3e9bff;
  --ok:        #30c48d;
  --warn:      #f4b740;
  --danger:    #e5484d;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1060px, 100% - 44px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 44px); }
.center { text-align: center; }

/* ------------------------------------------------------------------ hero */
.hero {
  padding: clamp(64px, 13vw, 128px) 0 clamp(56px, 10vw, 104px);
  text-align: center;
  background:
    radial-gradient(90% 120% at 50% -10%, #1d3350 0%, transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.mark { display: inline-flex; align-items: flex-end; gap: 6px; height: 54px; margin-bottom: 20px; }
.mark span { width: 9px; border-radius: 5px; background: var(--accent); }
.mark span:nth-child(1) { height: 22px; }
.mark span:nth-child(2) { height: 52px; background: var(--ok); }
.mark span:nth-child(3) { height: 36px; background: var(--warn); }
.mark span:nth-child(4) { height: 16px; background: var(--danger); }
.mark.small { height: 26px; gap: 4px; margin-bottom: 12px; }
.mark.small span { width: 5px; }
.mark.small span:nth-child(1) { height: 11px; }
.mark.small span:nth-child(2) { height: 25px; }
.mark.small span:nth-child(3) { height: 17px; }
.mark.small span:nth-child(4) { height: 8px; }

h1 { font-size: clamp(46px, 11vw, 82px); letter-spacing: -2.5px; line-height: 1; font-weight: 850; }
.lead { font-size: clamp(19px, 3.4vw, 25px); color: var(--ink); margin-top: 18px; font-weight: 600; }
.lead-small { font-size: 18px; color: var(--ink-dim); max-width: 60ch; margin-inline: auto; }
.sub { font-size: 17px; color: var(--ink-dim); margin-top: 14px; max-width: 56ch; margin-inline: auto; }
.micro { font-size: 14px; color: var(--ink-faint); margin-top: 14px; }

.cta {
  display: inline-block; margin-top: 30px; padding: 17px 38px;
  background: var(--accent); color: #04121f; border-radius: 15px;
  font-size: 18px; font-weight: 800; text-decoration: none;
  transition: transform .09s, filter .15s;
}
.cta:hover { filter: brightness(1.08); }
.cta:active { transform: scale(.97); }
.cta.small { margin-top: 20px; padding: 14px 28px; font-size: 16px; }

/* ----------------------------------------------------------------- bands */
.band { padding: clamp(54px, 9vw, 92px) 0; border-bottom: 1px solid var(--line); }
.band.alt { background: var(--bg-2); }
.band.support { background: linear-gradient(var(--bg-2), #14212e); }
h2 { font-size: clamp(27px, 5vw, 38px); letter-spacing: -0.9px; margin-bottom: 26px; font-weight: 800; }
.band.center h2, .center h2 { margin-inline: auto; }

.story p { font-size: 18.5px; color: var(--ink-dim); margin-bottom: 18px; max-width: 64ch; }
.story p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 26px 24px;
}
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
       background: rgba(62,155,255,.12); color: var(--accent); margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 9px; font-weight: 750; }
.card p { font-size: 15.5px; color: var(--ink-dim); }

/* -------------------------------------------------------------------- qr */
.qr-block { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.qr-card {
  background: #fff; border-radius: 22px; padding: 18px 18px 14px;
  flex: none; text-align: center; box-shadow: 0 16px 44px rgba(0,0,0,.42);
}
.qr-card img { width: clamp(180px, 42vw, 220px); }
.qr-label { color: #0b1016; font-size: 14px; margin-top: 10px; font-weight: 650; }
.qr-card.swish .qr-label strong { font-size: 19px; display: block; }
.qr-text { flex: 1; min-width: 265px; }
.qr-text p { font-size: 17px; color: var(--ink-dim); margin-bottom: 14px; }
.qr-text strong { color: var(--ink); }

/* ---------------------------------------------------------------- footer */
footer { padding: 46px 0 56px; color: var(--ink-faint); }
footer p { font-size: 15px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ------------------------------------------------------------ användning */
.uses { display: grid; gap: 14px 30px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.use { padding: 18px 0 18px 20px; border-left: 3px solid var(--line); }
.use h3 { font-size: 17.5px; margin-bottom: 7px; font-weight: 750; }
.use p { font-size: 15.5px; color: var(--ink-dim); }
.use:nth-child(6n+1) { border-left-color: var(--accent); }
.use:nth-child(6n+2) { border-left-color: var(--ok); }
.use:nth-child(6n+3) { border-left-color: var(--warn); }
.use:nth-child(6n+4) { border-left-color: #9d7bff; }
.use:nth-child(6n+5) { border-left-color: #26b5a8; }
.use:nth-child(6n+6) { border-left-color: #e08a3c; }
