:root{
  --bg: #f6f7fb;
  --surface: rgba(255,255,255,.78);
  --surfaceSolid: #ffffff;
  --text: #0f172a;
  --muted: #4b5563;
  --line: rgba(15,23,42,.10);

  --accent: #ff7a18;
  --accent2: #0b5fff;

  --radius: 18px;
  --radius2: 24px;

  --shadow: 0 12px 30px rgba(15,23,42,.10);
  --shadow2: 0 14px 40px rgba(15,23,42,.14);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(255,122,24,.12), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(11,95,255,.10), transparent 60%),
    var(--bg);
  line-height:1.45;
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.wrap{
  width:min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(246,247,251,.65);
  border-bottom: 1px solid var(--line);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
}
.brand__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 6px 18px rgba(255,122,24,.25);
}
.brand__text{ opacity:.92; }

.topnav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill{
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  font-size: 14px;
}
.pill:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
}
.pill--accent{
  border-color: rgba(255,122,24,.35);
  background: rgba(255,122,24,.10);
}

/* Hero */
.hero{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items:center;
  padding: 30px 0 8px;
}

.hero__logoCard{
  width: 240px;
  margin: 0 auto;
  border-radius: var(--radius2);
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.65));
  box-shadow: var(--shadow2);
  border: 1px solid rgba(15,23,42,.12);
  position: relative;
}

.hero__logoCard::before{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(255,122,24,.35), rgba(11,95,255,.18), rgba(255,255,255,0));
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity:.95;
}

.hero__logo{
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15,23,42,.12) inset;
}

.hero__title{
  margin: 0 0 8px;
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: .6px;
}

.hero__lead{
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 65ch;
}

.hero__ctaRow{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,122,24,.95), rgba(255,122,24,.72));
  color: #111;
  font-weight: 700;
  border: 1px solid rgba(255,122,24,.35);
  box-shadow: 0 12px 28px rgba(255,122,24,.18);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255,122,24,.22);
  filter: saturate(1.05);
}
.btn--ghost{
  background: rgba(255,255,255,.60);
  border: 1px solid var(--line);
  box-shadow: none;
  font-weight: 600;
}

.socialRow{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  font-size: 13px;
  transition: transform .12s ease, background .12s ease;
}
.chip:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.85);
}

/* Notice */
.notice{
  margin: 14px 0 6px;
}
.notice--hidden{ display:none; }

.notice__inner{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,122,24,.10);
  border: 1px solid rgba(255,122,24,.25);
  box-shadow: 0 10px 24px rgba(255,122,24,.08);
  color: rgba(15,23,42,.92);
}

/* Blocks */
.block{
  padding: 22px 0 6px;
}

.block__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.block__head h2{
  margin:0;
  font-size: 18px;
  letter-spacing: .4px;
}
.block__head p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}

/* Cards / Grid */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  min-height: 116px;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15,23,42,.14);
  background: rgba(255,255,255,.85);
  border-color: rgba(15,23,42,.16);
}

.card h3{
  margin:0 0 6px;
  font-size: 15px;
}

.card p{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  max-width: 60ch;
}

.card__path{
  display:inline-block;
  font-size: 12px;
  color: rgba(255,122,24,.95);
  font-weight: 700;
  letter-spacing: .2px;
}

.card--wide{
  min-height: auto;
}

/* Footer */
.footer{
  padding: 26px 0 40px;
}
.footer__line{
  height:1px;
  background: var(--line);
  margin: 10px 0 18px;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(15,23,42,.72);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px){
  .hero{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content{
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .topbar__inner{
    flex-direction: column;
    align-items: stretch;
  }
  .topnav{
    justify-content: center;
  }
  .grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px){
  .wrap{ width: min(1100px, calc(100% - 24px)); }
  .grid{ grid-template-columns: 1fr; }
  .pill{ font-size: 13px; padding: 9px 12px; }
  .hero__logoCard{ width: 210px; }
}

/* -----------------------------------------------------------
   Mobile polish / responsive layout upgrades
   Lägg denna längst ner i style.css
----------------------------------------------------------- */

/* 1) Bättre “container” och luft på mobil */
:root{
  --wrap: 1040px;
  --g: 18px;                /* default gap */
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-soft: 0 6px 18px rgba(0,0,0,.06);
}

/* Om din wrap redan finns: behåll men gör mobilvänlig */
.wrap{
  width: min(var(--wrap), calc(100% - 24px));
  margin-inline: auto;
}

/* 2) Topbar: gör den sticky + bättre mobilnav */
.topbar{
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.topbar__inner{
  padding: 10px 0;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
}

/* Mobil: nav blir horisontell “pills bar” som scrollar */
.topnav{
  display:flex;
  gap: 10px;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.topnav::-webkit-scrollbar{ display:none; }

/* Gör pills lite “tummvänligare” */
.pill{
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
}

/* 3) Hero: centrerad på mobil, side-by-side på desktop */
.hero{
  display:grid;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

/* logo-card: mindre och snyggare */
.hero__logoCard{
  width: fit-content;
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.7));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,.06);
}

.hero__logo{
  width: 140px;
  height: auto;
  display:block;
  border-radius: 16px;
}

/* text */
.hero__title{
  margin: 0;
  font-size: clamp(26px, 5vw, 44px);
  letter-spacing: .3px;
}

.hero__lead{
  margin: 8px 0 0 0;
  font-size: 15px;
  line-height: 1.45;
  opacity: .85;
  max-width: 56ch;
}

.hero__ctaRow{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Buttons: mer “app” */
.btn{
  padding: 11px 14px;
  border-radius: 999px;
}

/* social chips: mer compact */
.socialRow{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.chip{
  padding: 9px 12px;
  border-radius: 999px;
}

/* 4) Cards / grid */
.block{
  margin-top: 26px;
}

.block__head h2, .block__head h1{
  margin: 0;
}

.block__head p{
  margin: 6px 0 0 0;
  opacity: .82;
}

/* Default: 1 kolumn (mobil) */
.grid{
  display:grid;
  gap: var(--g);
  grid-template-columns: 1fr;
  margin-top: 14px;
}

/* Card: lite mer premium */
.card{
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .12s ease;
}

.card:active{
  transform: scale(.99);
}

/* Media-card (med bilder) */
.card--media{
  overflow:hidden;
}
.card__thumb{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display:block;
  background:#eef1f6;
}
.card__body{
  padding: 14px 14px 16px 14px;
}
.card__body h3{
  margin: 0;
  font-size: 16px;
}
.card__body p{
  margin: 6px 0 0 0;
  opacity: .82;
  line-height: 1.35;
  font-size: 13.5px;
}

/* 5) Notice: mindre “bannerig” på mobil */
.notice__inner{
  padding: 12px 14px;
  border-radius: 14px;
}

/* 6) Footer */
.footer{
  margin-top: 32px;
}
.footer__inner{
  display:flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* -----------------------------------------------------------
   Breakpoints
----------------------------------------------------------- */

/* 2 kolumner på lite bredare mobiler / små tablets */
@media (min-width: 680px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .footer__inner{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Desktop: hero sida-vid-sida + 3 kolumner */
@media (min-width: 980px){
  .hero{
    grid-template-columns: 220px 1fr;
    gap: 26px;
  }
  .hero__logo{
    width: 160px;
  }
  .grid{ grid-template-columns: repeat(3, 1fr); }
}

/* Supermobil (smal) – minska lite */
@media (max-width: 360px){
  .pill{ padding: 9px 12px; }
  .hero__logo{ width: 120px; }
}

