
:root{
  --primary: #584DE4;
  --bg-light: #ffffff;
  --bg-dark: #000000;
  --text-main: #111111;
  --text-muted: #555555;
  --card-bg: #f7f7f7;
  --border-subtle: #e0e0e0;
}

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

body{
  font-family:"Avenir Next","Avenir Next Pro",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background-color:var(--bg-light);
  color:var(--text-main);
  -webkit-font-smoothing:antialiased;
}

.container{
  width:min(1120px,92%);
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background-color:rgba(255,255,255,0.96);
  border-bottom:1px solid var(--border-subtle);
  backdrop-filter:blur(12px);
}

.header-inner{
  display:flex;
  align-items:center;
  gap:16px;
  padding:10px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}

.brand img{
  width:40px;
  height:40px;
  border-radius:999px;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.2;
}

.brand-title{
  font-weight:700;
  letter-spacing:0.02em;
}

.brand-tagline{
  font-size:0.8rem;
  color:var(--text-muted);
}

.site-nav{
  margin-left:auto;
  display:flex;
  gap:18px;
  font-size:0.9rem;
}

.site-nav a{
  text-decoration:none;
  color:var(--text-main);
  position:relative;
}

.site-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background-color:var(--primary);
  transition:width 0.18s ease-out;
}

.site-nav a:hover::after{
  width:100%;
}

.nav-toggle{
  display:none;
  margin-left:auto;
  border-radius:999px;
  padding:6px 10px;
  border:1px solid var(--border-subtle);
  background:#ffffff;
}

.hero{
  background-color:var(--bg-dark);
  color:#ffffff;
  padding:56px 0 72px;
}

.hero-inner{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,1.3fr);
  gap:40px;
  align-items:center;
}

.hero-content h1{
  font-size:clamp(2.2rem,4vw,3.4rem);
  margin:6px 0 12px;
}

.hero-text{
  max-width:34rem;
  color:rgba(255,255,255,0.8);
}

.hero-meta {
  margin-top: -10px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-logo-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-logo-wrapper img{
  max-width:260px;
  width:90%;
}
.hero {
  background: radial-gradient(circle at center, #4B2D5C 0, var(--bg-dark) 60%);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: left;
}


.eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: #584DE4; /* lilla accent */
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-cta{
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:999px;
  border:1px solid transparent;
  text-decoration:none;
  font-size:0.9rem;
  font-weight:600;
  cursor:pointer;
}

.btn.primary{
  background-color:var(--primary);
  color:#ffffff;
}

.btn.ghost{
  background-color:transparent;
  color:#ffffff;
  border-color:rgba(255,255,255,0.35);
}

.section{
  padding:64px 0;
}

.section-alt{
  background-color:#fafafa;
}

.section-inner>h2{
  font-size:1.6rem;
  margin:0 0 12px;
}

.section-inner>p{
  max-width:40rem;
  margin-bottom:20px;
}

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #584DE4;
  background-color: rgba(88, 77, 228, 0.08); /* lys lilla bakgrunn */
  font-size: 0.9rem;
  font-weight: 500;
  color: #111111;
}

.card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:20px;
}

.card{
  background-color:var(--card-bg);
  border-radius:14px;
  padding:16px 16px 18px;
  border:1px solid var(--border-subtle);
}

.section-alt .card{
  background-color:#ffffff;
}

.card h3{
  margin:0 0 6px;
  font-size:1.05rem;
}

.card .meta{
  font-size:0.8rem;
  color:var(--text-muted);
  margin-bottom:8px;
}

.text-link{
  font-size:0.85rem;
  color:var(--primary);
  text-decoration:none;
  font-weight:600;
}

.text-link:hover{
  text-decoration:underline;
}

.note{
  margin-top:16px;
  font-size:0.8rem;
  color:var(--text-muted);
}

.join-grid .card-link{
  text-decoration:none;
  color:inherit;
  transition:transform 0.15s ease-out,box-shadow 0.15s ease-out,border-color 0.15s ease-out;
}

.join-grid .card-link:hover{
  transform:translateY(-2px);
  border-color:var(--primary);
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
}

.site-footer{
  border-top:1px solid var(--border-subtle);
  padding:18px 0 24px;
  font-size:0.8rem;
  color:var(--text-muted);
  text-align:center;
}

/* Responsive */
@media(max-width:900px){
  .hero-inner{
    grid-template-columns:minmax(0,1fr);
  }
  .hero-logo-wrapper{
    order:-1;
  }
  .card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:640px){
  .site-nav{
    display:none;
    position:absolute;
    right:16px;
    top:54px;
    flex-direction:column;
    gap:10px;
    background-color:#ffffff;
    padding:10px 14px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
  }
  .nav-toggle{
    display:inline-flex;
  }
  .card-grid{
    grid-template-columns:minmax(0,1fr);
  }
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  z-index: 9999;
}

.cookie-banner p {
  margin: 0;
  color: #333;
  line-height: 1.4;
}

.cookie-banner a {
  color: #7a4bff;
  font-weight: 600;
  text-decoration: none;
}

.cookie-banner button {
  background: #7a4bff; /* lilla fargen */
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-banner button:hover {
  background: #623acc;
}
