/* Zecure Vault – landningssida. Bygger på designtokens i app.css. Inga externa resurser (CSP). */
.lp-body { background: var(--bg); }

/* Header */
.lp-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem; max-width: 1160px; margin: 0 auto;
}
.lp-brand { color: var(--ink); font-size: 1.15rem; }
.lp-brand .brand-mark { background: linear-gradient(140deg, #2f74bf, #1a5091); color: #fff; }
.lp-header-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.lp-btn-ghost { background: var(--surface); border-color: var(--line); }
/* Språkväljaren i landningssidans header (ljus bakgrund) – samma placering som topbaren på övriga sidor */
.lp-header .lang-switch { background: var(--surface-2); border: 1px solid var(--line); }
.lp-header .lang-btn { color: var(--muted); }
.lp-header .lang-btn.is-active { background: var(--accent); color: #fff; }
.lp-header .lang-btn:not(.is-active):hover { color: var(--ink); background: color-mix(in srgb, var(--accent) 10%, transparent); }

/* Main */
.lp-main { }
.lp-section { max-width: 1160px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.lp-section-head { text-align: center; max-width: 640px; margin: 0 auto 2.75rem; }
.lp-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.lp-section-sub { color: var(--muted); font-size: 1.08rem; line-height: 1.6; margin: 0; }
.lp-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }

/* Hero */
.lp-hero {
  max-width: 1160px; margin: 0 auto; padding: 3rem 1.5rem 4rem;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
}
.lp-h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 1.1rem; }
.lp-hero-lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); margin: 0 0 1.75rem; max-width: 34ch; }
.lp-hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.lp-btn-lg { padding: 0.8rem 1.5rem; font-size: 1rem; border-radius: var(--radius); }
.lp-hero-badges { list-style: none; margin: 1.9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.lp-hero-badges li { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.lp-check { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Hero visual: floating vault card */
.lp-hero-visual { display: flex; justify-content: center; }
.lp-card {
  width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.1rem; position: relative;
}
.lp-card-float { animation: lp-float 6s ease-in-out infinite; }
@keyframes lp-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .lp-card-float { animation: none; } }
.lp-card-head { display: flex; gap: 0.4rem; margin-bottom: 0.9rem; }
.lp-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.lp-dot-r { background: #e5695d; } .lp-dot-y { background: #e6b23f; } .lp-dot-g { background: #57b06f; }
.lp-vault-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; padding: 0.7rem 0.6rem; border-radius: var(--radius-sm); }
.lp-vault-row + .lp-vault-row { border-top: 1px solid var(--line-soft); }
.lp-vault-ico { width: 34px; height: 34px; border-radius: 8px; background: var(--accent-soft); flex: none; position: relative; }
.lp-vault-ico::after { content: ""; position: absolute; inset: 0; background: var(--accent); opacity: 0.85; -webkit-mask-size: 18px; mask-size: 18px; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.lp-ico-shield::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2l8 3.5V11c0 5-3.4 9-8 10-4.6-1-8-5-8-10V5.5L12 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2l8 3.5V11c0 5-3.4 9-8 10-4.6-1-8-5-8-10V5.5L12 2z'/%3E%3C/svg%3E"); }
.lp-ico-github::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E"); }
.lp-ico-mail::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3C/svg%3E"); }
.lp-ico-play::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E"); }
.lp-ico-bank::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 3l9 5H3l9-5zM5 10h2v7H5v-7zm6 0h2v7h-2v-7zm6 0h2v7h-2v-7zM3 19h18v2H3v-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 3l9 5H3l9-5zM5 10h2v7H5v-7zm6 0h2v7h-2v-7zm6 0h2v7h-2v-7zM3 19h18v2H3v-2z'/%3E%3C/svg%3E"); }
.lp-ico-music::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M9 17V5l10-2v12'/%3E%3Ccircle cx='6' cy='17' r='3'/%3E%3Ccircle cx='16' cy='15' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M9 17V5l10-2v12'/%3E%3Ccircle cx='6' cy='17' r='3'/%3E%3Ccircle cx='16' cy='15' r='3'/%3E%3C/svg%3E"); }
/* "EXEMPEL"-etikett i kortets rubrik så det tydligt framgår att posterna är exempel */
.lp-card-label { margin-left: auto; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); background: var(--surface-2); padding: 0.15rem 0.5rem; border-radius: 999px; }
.lp-vault-title { font-weight: 650; }
.lp-vault-sub { color: var(--muted); font-size: 0.88rem; }
.lp-vault-pill { font-family: var(--mono); color: var(--muted); letter-spacing: 0.08em; font-size: 0.95rem; }
.lp-lock-badge {
  position: absolute; right: -12px; bottom: -14px; display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--brand-bg); color: var(--brand-ink); padding: 0.5rem 0.85rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; box-shadow: var(--shadow);
}
.lp-lock-badge svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Trust strip */
.lp-trust { background: var(--brand-bg); color: var(--brand-ink-dim); text-align: center; padding: 1.1rem 1.5rem; }
.lp-trust p { margin: 0; max-width: 900px; margin-inline: auto; font-size: 0.98rem; }

/* Features grid */
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lp-feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform 150ms ease, box-shadow 150ms ease;
}
.lp-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lp-feature-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); margin-bottom: 1rem; }
.lp-feature-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lp-feature h3 { font-size: 1.18rem; font-weight: 680; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.lp-feature p { color: var(--muted); line-height: 1.6; margin: 0; }

/* How it works */
.lp-section-alt { background: var(--surface); border-block: 1px solid var(--line); max-width: none; }
.lp-section-alt > * { max-width: 1160px; margin-inline: auto; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1160px; margin: 0 auto; }
.lp-step { text-align: center; position: relative; }
.lp-step-n { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; box-shadow: 0 4px 12px rgba(31,95,166,0.3); }
.lp-step h3 { font-size: 1.2rem; font-weight: 680; margin: 0 0 0.5rem; }
.lp-step p { color: var(--muted); line-height: 1.6; margin: 0; max-width: 32ch; margin-inline: auto; }

/* Security section */
.lp-security { max-width: none; background: var(--brand-bg); color: var(--brand-ink); }
.lp-security-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.lp-security .lp-eyebrow { color: #7fb4e8; }
.lp-security h2 { color: var(--brand-ink); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.lp-security .lp-section-sub { color: var(--brand-ink-dim); }
.lp-sec-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.lp-sec-list li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--brand-ink); line-height: 1.5; }
.lp-security .lp-check { stroke: #6bd39a; margin-top: 0.15rem; }
.lp-security-visual { display: flex; justify-content: center; }
.lp-shield-big { width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(120,170,220,0.25), rgba(120,170,220,0.02)); }
.lp-shield-big svg { width: 130px; height: 130px; fill: none; stroke: #8fc0ef; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Final CTA */
.lp-cta { text-align: center; padding: 4.5rem 1.5rem 5rem; max-width: 720px; margin: 0 auto; }
.lp-cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 780; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.lp-cta p { color: var(--muted); font-size: 1.1rem; margin: 0 0 1.75rem; }
.lp-cta-buttons { justify-content: center; }

/* Footer */
.lp-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 2.5rem 1.5rem; }
.lp-footer-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.lp-footer-brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 650; color: var(--ink); }
.lp-footer-brand .brand-mark { background: linear-gradient(140deg, #2f74bf, #1a5091); color: #fff; }
.lp-footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.lp-footer-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.lp-footer-links a:hover { color: var(--accent); }
.lp-footer-copy { color: var(--muted); font-size: 0.88rem; margin: 0; flex-basis: 100%; }

/* Responsive */
@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; padding-top: 2rem; }
  .lp-hero-lead { margin-inline: auto; }
  .lp-hero-cta, .lp-hero-badges { justify-content: center; }
  .lp-grid { grid-template-columns: 1fr 1fr; }
  .lp-steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .lp-security-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .lp-sec-list li { text-align: left; }
  .lp-security-visual { order: -1; }
}
@media (max-width: 560px) {
  .lp-header { flex-wrap: wrap; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-section { padding: 3rem 1.25rem; }
  .lp-lock-badge { right: 8px; }
}

/* ---------- "Är det säkert?"-sidan ---------- */
.sec-hero { align-items: center; }
.sec-hero-visual { display: flex; justify-content: center; }
/* Enkelt kassaskåp i ren CSS/SVG (inga externa bilder) */
.sec-safe { position: relative; width: 210px; height: 210px; border-radius: 20px; background: linear-gradient(150deg, #2f74bf, #163a63); box-shadow: var(--shadow-lg), inset 0 2px 0 rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.sec-safe-door { position: relative; width: 150px; height: 150px; border-radius: 12px; background: linear-gradient(150deg, #3f83cc, #1d4b7e); box-shadow: inset 0 0 0 3px rgba(255,255,255,0.12), inset 0 0 22px rgba(0,0,0,0.25); }
.sec-safe-dial { position: absolute; top: 50%; left: 34%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #eaf1f9, #9db6cf); box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.sec-safe-dial::after { content: ""; position: absolute; top: 50%; left: 50%; width: 4px; height: 20px; background: #163a63; border-radius: 2px; transform: translate(-50%,-50%) rotate(35deg); }
.sec-safe-handle { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); width: 12px; height: 62px; border-radius: 6px; background: linear-gradient(90deg, #eaf1f9, #b3c6da); box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.sec-safe-lock { position: absolute; right: -14px; bottom: -14px; width: 54px; height: 54px; padding: 12px; border-radius: 50%; background: var(--brand-bg); color: var(--brand-ink); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) { .sec-safe { animation: lp-float 6s ease-in-out infinite; } }

.sec-analogy { max-width: 780px; }
.sec-analogy-inner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 720; letter-spacing: -0.02em; margin: 0 0 1rem; }
.sec-analogy-inner p { font-size: 1.1rem; line-height: 1.7; color: var(--ink); margin: 0 0 1rem; }

.sec-faq { max-width: 780px; }
.sec-faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; background: var(--surface); overflow: hidden; }
.sec-faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 620; font-size: 1.05rem; }
.sec-faq-item summary::-webkit-details-marker { display: none; }
.sec-faq-item summary:hover { background: var(--accent-soft); }
.sec-faq-q { min-width: 0; }
.sec-faq-plus { flex: none; position: relative; width: 18px; height: 18px; }
.sec-faq-plus::before, .sec-faq-plus::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent); border-radius: 2px; transition: transform 180ms ease; }
.sec-faq-plus::before { width: 14px; height: 2.5px; transform: translate(-50%,-50%); }
.sec-faq-plus::after { width: 2.5px; height: 14px; transform: translate(-50%,-50%); }
.sec-faq-item[open] .sec-faq-plus::after { transform: translate(-50%,-50%) scaleY(0); }
.sec-faq-a { padding: 0 1.25rem 1.2rem; }
.sec-faq-a p { color: var(--muted); line-height: 1.65; margin: 0; }

.sec-technical { max-width: 780px; }
.sec-tech-toggle { border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface-2); }
.sec-tech-toggle summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 620; color: var(--muted); }
.sec-tech-body { padding: 0 1.25rem 1.25rem; }
.sec-tech-body p { color: var(--muted); line-height: 1.6; }
.sec-tech-list { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.sec-tech-list li { color: var(--muted); line-height: 1.6; margin-bottom: 0.5rem; }
.sec-learn-link { display: inline-block; margin-top: 1.4rem; color: #7fb4e8; font-weight: 600; text-decoration: none; }
.sec-learn-link:hover { text-decoration: underline; }
