:root{
  --bg:#ffffff;
  --surface:#f7f3ee;
  --card:#ffffff;
  --text:#1f2a36;
  --muted:#5a6b7c;
  --border:#e6e7ea;
  --blue:#2f5e8f;
  --blue-2:#3c6ea4;
  --accent:#d9773a;
  --shadow: 0 18px 40px rgba(20, 28, 38, .10);
  --radius: 22px;
  --radius-sm: 16px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  /* Diskret ljusblå bakgrund med långsam rörelse */
  background: linear-gradient(120deg, #f3f8ff 0%, #ffffff 45%, #f6fbff 100%);
  background-size: 180% 180%;
  animation: bgShift 18s ease-in-out infinite;
}

a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.header{
  position:sticky; top:0; background:rgba(255,255,255,.88);
  backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid rgba(230,231,234,.8);
  z-index:10;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
}
.brand img{height:38px; width:auto}
.nav-icons{
  display:flex; gap:10px; align-items:center;
}
.icon-link{
  width:38px; height:38px; border-radius:999px;
  display:grid; place-items:center;
  border:1px solid var(--border);
  background:#fff;
  box-shadow: 0 8px 18px rgba(20, 28, 38, .06);
}
.icon-link:hover{transform: translateY(-1px); text-decoration:none}
.icon-link svg{width:18px;height:18px; fill:var(--blue)}

.hero{
  padding:54px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:34px;
  align-items:center;
}
h1{
  font-size: clamp(34px, 4.2vw, 54px);
  line-height:1.06;
  margin:0 0 14px 0;
  letter-spacing:-0.02em;
}
.lead{
  font-size:18px;
  line-height:1.6;
  color:var(--muted);
  margin:0 0 20px 0;
  max-width: 52ch;
}
.tagline{
  font-size: 26px;
  color: var(--accent);
  font-weight: 750;
  margin: 10px 0 6px;
}
.sublead{
  color: var(--blue);
  font-weight: 650;
  margin: 0;
}
.hero-media{
  border-radius: 26px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid rgba(230,231,234,.8);
  background: #fff;
}
.hero-media img{
  width:100%;
  height:auto;
  display:block;
}
.section{padding:22px 0}
.card{
  background: var(--card);
  border:1px solid rgba(230,231,234,.9);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(20, 28, 38, .08);
  padding:22px;
}
.status{
  display:grid;
  grid-template-columns: 44px 1fr;
  gap:14px;
  align-items:flex-start;
}
.badge{
  width:44px;height:44px;border-radius:14px;
  background: rgba(47,94,143,.12);
  display:grid; place-items:center;
}
.badge svg{width:22px;height:22px; fill: var(--blue)}
.h2{
  font-size: 30px;
  margin: 0 0 8px;
  letter-spacing:-0.01em;
}
.h3{
  font-size: 22px;
  margin: 0 0 10px;
}
.small{color:var(--muted); line-height:1.6}
ul.clean{margin:10px 0 0 0; padding-left:18px; color:var(--muted); line-height:1.65}
.principles{
  display:grid; gap:14px;
}
.pill{
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: rgba(247,243,238,.55);
  color: var(--muted);
}
.pill strong{color:var(--text)}
.products-head{
  text-align:center;
  margin: 8px 0 18px;
}
.products-head h2{margin:0; font-size:34px}
.products-head p{margin:8px 0 0; color:var(--muted)}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.product-card{
  background:#fff;
  border:1px solid rgba(230,231,234,.95);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(20, 28, 38, .08);
  padding:18px;
  display:flex;
  flex-direction:column;
  min-height: 500px;
}
.product-top{
  display:flex; align-items:center; gap:12px;
}
.product-top img{
  width:68px; height:68px; object-fit:contain;
  border-radius: 18px;
  background:#fff;
  border:1px solid rgba(230,231,234,.9);
  box-shadow: 0 10px 22px rgba(20, 28, 38, .08);
  padding:6px;
}
.product-top h3{margin:0; font-size:26px}
.product-top .mini{margin-top:2px; color:var(--muted)}
.product-body{margin-top:14px}
.product-body p{margin:0 0 12px; color:var(--muted); line-height:1.65}
.meta{
  margin-top: 8px;
  display:grid; gap:6px;
  color: var(--muted);
}
.meta b{color:var(--text)}
.details{
  margin-top: 12px;
  border-top: 1px solid rgba(230,231,234,.85);
  padding-top: 10px;
}
details summary{
  cursor:pointer;
  font-weight: 650;
  color: var(--blue);
  list-style:none;
}
details summary::-webkit-details-marker{display:none}
details summary:after{
  content:"▾";
  margin-left:8px;
  color: var(--blue);
}
details[open] summary:after{content:"▴"}
.korthet{margin:10px 0 0; padding-left:18px; color:var(--muted); line-height:1.65}

.form{
  margin-top:auto;
  padding-top: 14px;
  border-top: 1px solid rgba(230,231,234,.85);
}
label{
  font-size: 14px;
  color: var(--muted);
  display:block;
  margin-bottom: 6px;
}
input[type="email"]{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(230,231,234,.95);
  font-size: 16px;
  outline:none;
}
input[type="email"]:focus{border-color: rgba(47,94,143,.65); box-shadow: 0 0 0 4px rgba(47,94,143,.12)}
.btn{
  margin-top:10px;
  width:auto;
  display:inline-block;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(47,94,143,.45);
  background: linear-gradient(180deg, rgba(47,94,143,.95) 0%, rgba(47,94,143,.85) 100%);
  color:#fff;
  font-weight: 700;
  font-size: 15px;
  cursor:pointer;
}
.btn:hover{filter:brightness(1.03)}
.helper{
  margin:10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height:1.5;
}
.footer{
  padding: 34px 0 46px;
  border-top: 1px solid rgba(230,231,234,.9);
  margin-top: 24px;
}
.footer .footer-grid{
  display:flex; align-items:flex-start; justify-content:space-between; gap:18px;
  flex-wrap:wrap;
}
.footer h4{
  margin:0 0 8px;
  font-size: 20px;
}
.footer p{margin:0; color:var(--muted); line-height:1.6}
.footer a{color:var(--blue)}
.footer .social{
  display:flex; gap:10px; align-items:center;
}
.footer .social a{width:40px;height:40px}
.footer .plainbrand{
  font-weight:750;
  letter-spacing:-0.01em;
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr; }
  .grid3{grid-template-columns: 1fr; }
  .product-card{min-height:auto}
}

@keyframes bgShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

.btn-wrap{
  text-align:center;
  margin-top: 10px;
}

/* Footer centrerad */
.footer .footer-grid{
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.footer .social{
  justify-content:center;
}
