/* ============================================================
   CYBER GUARD SWEDEN — Design System
   Hardened static site. No CMS, no plugins, no attack surface.
   ============================================================ */

/* ---- Fonts (loaded via <link> in each page <head> for faster, parallel fetch) ---- */

/* ---- Tokens: DARK (default) ---- */
:root {
  --bg:          #060910;
  --bg-2:        #0A0F1A;
  --surface:     #0D131F;
  --surface-2:   #111927;
  --surface-3:   #16202F;
  --border:      rgba(150,170,210,0.10);
  --border-2:    rgba(150,170,210,0.18);
  --text:        #EEF2F8;
  --text-soft:   #AFBDD2;
  --text-muted:  #76849C;
  --navy:        #3C7BC4;
  --navy-deep:   #1C4B82;
  --navy-glow:   rgba(46,108,181,0.16);

  --accent:      #2FD4D9;
  --accent-2:    #1E9FB8;
  --accent-ink:  #041417;
  --accent-soft: color-mix(in oklch, var(--accent) 12%, transparent);
  --accent-line: color-mix(in oklch, var(--accent) 30%, transparent);

  --ok:          #3FD89B;
  --warn:        #F5C56B;

  --maxw: 1200px;
  --radius: 13px;
  --radius-sm: 9px;
  --radius-lg: 20px;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 20px 50px -30px rgba(0,0,0,0.8);
  --shadow-accent: 0 0 0 1px var(--accent-line), 0 14px 44px -26px color-mix(in oklch, var(--accent) 24%, transparent);

  --grid-line: rgba(120,150,200,0.055);
  --hero-glow: rgba(46,108,181,0.20);
}

[data-theme="light"] {
  --bg:          #EEF3FA;
  --bg-2:        #FFFFFF;
  --surface:     #FFFFFF;
  --surface-2:   #F3F7FC;
  --surface-3:   #E9F0F9;
  --border:      rgba(22,46,86,0.12);
  --border-2:    rgba(22,46,86,0.20);
  --text:        #0C1726;
  --text-soft:   #33435B;
  --text-muted:  #5C6B83;
  --navy:        #1C4B82;
  --navy-deep:   #14365E;
  --navy-glow:   rgba(28,75,130,0.12);

  --accent:      #0C8FBC;
  --accent-2:    #0A6E92;
  --accent-ink:  #FFFFFF;
  --accent-soft: color-mix(in oklch, var(--accent) 12%, transparent);
  --accent-line: color-mix(in oklch, var(--accent) 30%, transparent);

  --shadow: 0 1px 2px rgba(20,40,80,0.04), 0 22px 48px -30px rgba(20,40,80,0.30);
  --shadow-accent: 0 0 0 1px var(--accent-line), 0 18px 50px -24px color-mix(in oklch, var(--accent) 28%, transparent);

  --grid-line: rgba(28,75,130,0.06);
  --hero-glow: rgba(28,75,130,0.16);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Accessibility: skip link + visible keyboard focus */
.skip-link {
  position: absolute; left: 14px; top: -64px; z-index: 2000;
  background: var(--accent); color: var(--accent-ink);
  padding: 11px 18px; border-radius: 9px; font-weight: 600; font-size: 14.5px;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 5px; }
main:focus { outline: none; }

/* Cookie / privacy notice */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500;
  max-width: 760px; margin: 0 auto;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); border-radius: 14px;
  padding: 18px 20px; display: flex; gap: 18px; align-items: center;
  box-shadow: var(--shadow);
  transform: translateY(160%); transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.cookie-bar.show { transform: none; }
.cookie-bar p { font-size: 13.5px; color: var(--text-soft); line-height: 1.55; flex: 1; }
.cookie-bar a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-bar .btn { width: 100%; }
}

/* ---- Layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  opacity: .7;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
.h-display { font-size: clamp(40px, 6vw, 76px); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
.h-section { font-size: clamp(30px, 3.6vw, 46px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-soft); max-width: 60ch; }
.text-accent { color: var(--accent); }
.text-navy { color: var(--navy); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand .brand-logo-light { display: block; }
.brand .brand-logo-dark { display: none; }
[data-theme="light"] .brand .brand-logo-light { display: none; }
[data-theme="light"] .brand .brand-logo-dark { display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px; color: var(--text-soft); padding: 9px 14px; border-radius: 8px;
  font-weight: 500; transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex; align-items: center; border: 1px solid var(--border-2);
  border-radius: 999px; overflow: hidden; font-family: var(--font-mono); font-size: 12px;
}
.lang-switch button { padding: 6px 11px; color: var(--text-muted); letter-spacing: .05em; transition: .2s; }
.lang-switch button.active { background: var(--navy); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  padding: 12px 20px; border-radius: 10px; transition: transform .15s ease, box-shadow .25s ease, background .25s, color .25s;
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-accent); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { color: var(--text); border: 1px solid var(--border-2); background: color-mix(in oklch, var(--surface) 50%, transparent); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-deep); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 9px; border: 1px solid var(--border-2); align-items:center; justify-content:center; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 168px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.binary-rain {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 78% 82% at 76% 16%, #000 0%, rgba(0,0,0,.55) 42%, transparent 76%);
  mask-image: radial-gradient(ellipse 78% 82% at 76% 16%, #000 0%, rgba(0,0,0,.55) 42%, transparent 76%);
}
.subhero .binary-rain { opacity: .4; }
@media (prefers-reduced-motion: reduce) { .binary-rain { opacity: .32; } }
@media (max-width: 720px) { .binary-rain { opacity: .38; } }
.hero-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 72% at 70% 16%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 72% at 70% 16%, #000 0%, transparent 72%);
}
.hero-glow {
  position: absolute; top: -18%; right: -6%; width: 680px; height: 680px;
  background: radial-gradient(circle, var(--hero-glow) 0%, transparent 60%);
  filter: blur(10px);
}

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero h1 { margin: 24px 0 24px; font-weight: 600; }
.hero h1 .accent-word { color: var(--accent); position: relative; white-space: nowrap; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-item b { font-family: var(--font-display); font-size: 26px; color: var(--text); font-weight: 600; }
.hero-meta-item span { font-size: 12.5px; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: .04em; }

/* Hero assurance panel */
.hero-panel {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.hero-panel::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.ap-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.ap-head .ap-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.ap-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ok); }
.ap-live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); position: relative; }
.ap-live .pulse::after { content:""; position:absolute; inset:-4px; border-radius:50%; border:1px solid var(--ok); opacity:.5; animation: apulse 2.4s ease-out infinite; }
@keyframes apulse { 0% { transform: scale(.6); opacity:.6; } 100% { transform: scale(1.6); opacity:0; } }
.ap-body { padding: 8px 22px 12px; }
.ap-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.ap-row:last-child { border-bottom: none; }
.ap-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); display: grid; place-items: center; flex: 0 0 auto; }
.ap-ico svg { width: 18px; height: 18px; }
.ap-row .ap-text { flex: 1; min-width: 0; }
.ap-row .ap-text b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text); letter-spacing: -.01em; }
.ap-row .ap-text span { font-size: 12.5px; color: var(--text-muted); }
.ap-check { color: var(--ok); flex: 0 0 auto; }
.ap-check svg { width: 19px; height: 19px; }
.ap-foot { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--border); background: color-mix(in oklch, var(--bg) 35%, transparent); font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); letter-spacing: .04em; flex-wrap: wrap; }
.ap-foot svg { width: 15px; height: 15px; color: var(--accent); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.trust-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.trust-items { display: flex; gap: 14px 30px; flex-wrap: wrap; align-items: center; }
.trust-chip { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text-soft); letter-spacing: .01em; }
.trust-chip svg { width: 17px; height: 17px; color: var(--accent); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.sec { padding: 104px 0; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 { margin-bottom: 18px; }

/* ---- Services ---- */
.pillars { display: flex; flex-direction: column; gap: 50px; }
.pillar-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.pillar-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .12em; padding-top: 7px; flex: 0 0 auto; }
.pillar-head h3 { font-size: 25px; margin-bottom: 7px; letter-spacing: -.01em; }
.pillar-head p { font-size: 15.5px; color: var(--text-muted); max-width: 64ch; line-height: 1.55; }
.pillar-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
@media (max-width: 720px) { .pillar-cards { grid-template-columns: 1fr; } }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px 28px; position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s;
}
.svc-card::before {
  content:""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow); }
.svc-card:hover::before { transform: scaleY(1); }
.svc-icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); margin-bottom: 22px;
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 20px; margin-bottom: 10px; }
.svc-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.62; }
.svc-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); opacity: .6; }

/* ---- Methodology ---- */
.method { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 18px; }
.method-step { padding: 30px 26px 30px 0; position: relative; }
.method-step:not(:last-child) { border-right: 1px solid var(--border); padding-right: 30px; }
.method-step:not(:first-child) { padding-left: 30px; }
.method-step:first-child { padding-left: 0; }
.step-n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.step-bar { height: 2px; background: var(--border-2); margin: 16px 0 20px; position: relative; overflow: hidden; }
.step-bar i { position: absolute; inset: 0; width: 40%; background: var(--accent); }
.method-step h3 { font-size: 19px; margin-bottom: 9px; }
.method-step p { font-size: 14px; color: var(--text-muted); }

/* ---- Why / differentiators ---- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-feature {
  grid-row: span 2; background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.why-feature .badge-row { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.shield-mark { width: 60px; height: 60px; color: var(--accent); margin-bottom: 24px; }
.why-feature h3 { font-size: 27px; margin-bottom: 14px; line-height: 1.12; }
.why-feature p { color: var(--text-soft); font-size: 15.5px; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 26px; display: flex; gap: 16px; align-items: flex-start; transition: border-color .2s, transform .2s; }
.why-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.why-card .ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); display: grid; place-items: center; }
.why-card .ico svg { width: 20px; height: 20px; }
.why-card h4 { font-size: 17px; margin-bottom: 6px; }
.why-card p { font-size: 13.8px; color: var(--text-muted); line-height: 1.55; }
.code-chip { display:inline-flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ok); background: color-mix(in oklch, var(--ok) 12%, transparent); border:1px solid color-mix(in oklch, var(--ok) 30%, transparent); padding: 6px 12px; border-radius: 999px; align-self: flex-start; }
.code-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

/* ---- NIS2 banner ---- */
.nis2 { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); position: relative; overflow: hidden; }
.nis2::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse 70% 100% at 90% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 100% at 90% 50%, #000, transparent 70%); }
.nis2-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; padding: 76px 0; }
.nis2 .eyebrow { color: #8FE6FF; }
.nis2 .eyebrow::before { background: #8FE6FF; }
.nis2 h2 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); margin: 16px 0 18px; }
.nis2 p { color: rgba(255,255,255,0.82); font-size: 16.5px; max-width: 56ch; }
.nis2-side { display: flex; flex-direction: column; gap: 14px; }
.nis2-pill { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 16px 18px; color: #fff; display: flex; gap: 13px; align-items: center; backdrop-filter: blur(4px); }
.nis2-pill svg { width: 22px; height: 22px; color: #8FE6FF; flex: 0 0 auto; }
.nis2-pill span { font-size: 14.5px; font-weight: 500; }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 64px; align-items: center; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: var(--text-soft); font-size: 16px; margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.stat-box b { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--accent); display: block; line-height: 1; margin-bottom: 8px; }
.stat-box span { font-size: 13.5px; color: var(--text-muted); }

/* ---- Contact / CTA ---- */
.cta-final { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta-final .glow { position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%); width: 760px; height: 520px; background: radial-gradient(circle, var(--hero-glow), transparent 65%); pointer-events: none; }
.cta-final-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-final h2 { font-size: clamp(34px, 4.5vw, 58px); margin-bottom: 20px; }
.cta-final p { font-size: 18px; color: var(--text-soft); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contactline { margin-top: 32px; font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.cta-contactline a { color: var(--text-soft); transition: color .2s; }
.cta-contactline a:hover { color: var(--accent); }

/* ---- Footer ---- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 56px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 32ch; }
.footer-col h5 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; font-weight: 500; }
.footer-col a, .footer-col p { display: block; color: var(--text-soft); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-secure { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12px; color: var(--ok); }
.footer-secure svg { width: 15px; height: 15px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
/* Entrance reveal.
   Some sandboxed preview iframes FREEZE the animation/transition timeline
   (currentTime never advances), which would trap opacity at 0 and blank the page.
   So content is VISIBLE BY DEFAULT and the hidden→reveal behaviour is gated behind
   html.anim-ok, which main.js only keeps if it verifies the timeline actually runs. */
@keyframes revealIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 1; transform: none; }
html.anim-ok .reveal { opacity: 0; transform: translateY(26px); }
html.anim-ok .reveal.in { animation: revealIn .7s cubic-bezier(.2,.7,.2,1) both; }
html.anim-ok .reveal.in[data-d="1"] { animation-delay: .08s; }
html.anim-ok .reveal.in[data-d="2"] { animation-delay: .16s; }
html.anim-ok .reveal.in[data-d="3"] { animation-delay: .24s; }
html.anim-ok .reveal.in[data-d="4"] { animation-delay: .32s; }
html.anim-ok .reveal.in[data-d="5"] { animation-delay: .40s; }
@media (prefers-reduced-motion: reduce) { html.anim-ok .reveal { opacity: 1; transform: none; animation: none !important; } .hero-scan { display: none; } }

/* ---- i18n visibility ---- */
[data-lang-en] { display: none; }
html[lang="en"] [data-lang-sv] { display: none; }
html[lang="en"] [data-lang-en] { display: revert; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 520px; width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-step { border-right: none !important; padding: 26px 0 !important; border-bottom: 1px solid var(--border); }
  .why-grid { grid-template-columns: 1fr; }
  .why-feature { grid-row: auto; }
  .nis2-inner, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 900px) {
  /* Nav collapses to a hamburger menu from tablet (incl. iPad portrait) down */
  .nav-cta { display: none !important; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 14px 20px 22px; gap: 4px;
  }
  .nav.menu-open .nav-links a { padding: 14px; font-size: 16px; }
}
/* iPad / tablet polish (portrait): keep comfortable 2-up grids */
@media (max-width: 900px) and (min-width: 721px) {
  .services-grid, .method-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid, .hub-grid, .values-grid, .related-grid, .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .blog-grid.feature-first .blog-card:first-child { grid-column: span 2; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav-inner { height: 68px; }
  .brand img { height: 38px; }
  html { scroll-padding-top: 80px; }
  .hero { padding: 116px 0 64px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .sec { padding: 64px 0; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-items { gap: 12px 22px; }
  .btn-lg { padding: 15px 22px; font-size: 15.5px; }
  .nav-actions { gap: 8px; }
}
@media (max-width: 460px) {
  .wrap { padding: 0 17px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .hero-meta { gap: 16px 22px; }
  .hero-meta-item b { font-size: 22px; }
  .ap-head { padding: 15px 18px; }
  .ap-body { padding: 6px 18px 10px; }
  .ap-foot { padding: 14px 18px; }
  .ap-row .ap-text b { font-size: 14px; }
  .lang-switch button { padding: 6px 9px; }
  .h-section { font-size: clamp(26px, 7vw, 34px); }
}
