/* FunBadge – 2026 Warm Luxury Landing
   - Clean, fast, accessible
   - Warm palette (ivory) with deep ink + gold accents
*/

:root{
  --bg0:#F3EBDD;      /* warm ivory */
  --bg1:#FFFDF8;      /* warm white */
  --card:rgba(34,22,12,.04);
  --card2:rgba(34,22,12,.06);
  --stroke:rgba(34,22,12,.10);
  --text:#141218;     /* deep espresso text */
  --muted:#4A3F33;    /* muted navy */
  --gold:#C6A15A;
  --gold2:#F2E1B2;
  --shadow: 0 18px 70px rgba(24,18,12,.14);
  --radius: 22px;
  --radius2: 28px;
  --max: 1160px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 18% 10%, rgba(200,163,58,.22), transparent 60%),
    radial-gradient(900px 700px at 82% 30%, rgba(138,104,62,.10), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 65%, #F8F6F1);
  overflow-x:hidden;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }

.skip{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip:focus{
  left:16px; top:16px;
  width:auto;height:auto;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--stroke);
  z-index:9999;
}

.wrap{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(255,253,248,.78);
  border-bottom:1px solid rgba(7,16,40,.08);
}
.topbar .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand img{ filter: drop-shadow(0 8px 24px rgba(10,18,38,.12)); }

.nav{
  display:flex;
  align-items:center;
  gap:8px;
}
.nav a{
  text-decoration:none;
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  font-weight:700;
  letter-spacing:.2px;
}
.nav a:hover, .nav a:focus-visible{
  color:var(--text);
  background:rgba(34,22,12,.05);
  outline:none;
}
.nav .nav-cta{
  color:#0B1226;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border: 1px solid rgba(7,16,40,.10);
  box-shadow: 0 12px 30px rgba(200,163,58,.20);
}
.nav .nav-cta:hover, .nav .nav-cta:focus-visible{
  filter: brightness(1.02);
}

.nav-toggle{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(7,16,40,.10);
  background:rgba(7,16,40,.03);
  box-shadow: 0 10px 30px rgba(10,18,38,.10);
}
.nav-toggle span{
  display:block;
  width:18px;
  height:2px;
  margin:0 auto 4px auto;
  background:rgba(11,18,38,.80);
  border-radius:3px;
}
.nav-toggle span:last-child{ margin-bottom:0; }

/* Hero */
.hero{
  position:relative;
  padding: 64px 0 34px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    linear-gradient(90deg, rgba(243,235,221,.92), rgba(243,235,221,.72) 55%, rgba(243,235,221,.92)),
    url("img/ai-people-caps.jpg");
  background-size: cover;
  background-position: center;
  opacity:.95;
  filter: saturate(1.03) contrast(1.03);
  z-index:-2;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 420px at 22% 22%, rgba(200,163,58,.20), transparent 60%),
    radial-gradient(700px 380px at 65% 10%, rgba(162,120,80,.12), transparent 60%);
  z-index:-1;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 26px;
  align-items:stretch;
}

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(7,16,40,.10);
  color:var(--muted);
  width:fit-content;
}

.hero-copy h1{
  font-family:Poppins, Inter, system-ui, sans-serif;
  font-weight:800;
  letter-spacing:-.6px;
  font-size: clamp(2.2rem, 4.0vw, 3.25rem);
  line-height:1.05;
  margin: 14px 0 10px;
}

.gold{
  position:relative;
  display:inline-block;
  color: var(--gold);
  -webkit-text-stroke: 1.25px rgba(91, 64, 12, 0.92); /* mörkguld bård */
  /* Fallback-outline för Firefox/andra: multipel shadow som stroke */
  text-shadow:
    -1px -1px 0 rgba(91, 64, 12, 0.80),
     0   -1px 0 rgba(91, 64, 12, 0.80),
     1px -1px 0 rgba(91, 64, 12, 0.80),
    -1px  0   0 rgba(91, 64, 12, 0.80),
     1px  0   0 rgba(91, 64, 12, 0.80),
    -1px  1px 0 rgba(91, 64, 12, 0.80),
     0    1px 0 rgba(91, 64, 12, 0.80),
     1px  1px 0 rgba(91, 64, 12, 0.80),
     0 12px 28px rgba(0,0,0,.14);
  padding: 0 .06em;}

.gold::after{
  content:"";
  position:absolute;
  left:-0.14em;
  right:-0.14em;
  bottom:0.12em;
  height:0.42em;
  background: linear-gradient(90deg, rgba(122,90,32,.18), rgba(198,161,90,.22), rgba(122,90,32,.16));
  border: 1px solid rgba(122,90,32,.16);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  border-radius: 0.26em;
  z-index:-1;
  filter: blur(0.0px);
}

 (-webkit-text-stroke: 1px black){
  .gold{
    -webkit-text-stroke: .35px rgba(122,90,32,.35);
  }
}


.lead{
  color: rgba(11,18,38,.78);
  max-width: 58ch;
  font-size: 1.08rem;
  line-height:1.6;
  margin: 0 0 18px;
}

.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:800;
  border:1px solid rgba(7,16,40,.12);
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:active{ transform: translateY(1px); }

.btn.primary{
  color:#0B1226;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  box-shadow: 0 18px 44px rgba(200,163,58,.22);
}
.btn.ghost{
  color: var(--text);
  background: rgba(255,253,248,.78);
}
.btn:hover, .btn:focus-visible{ filter: brightness(1.02); outline:none; }

.trust{ list-style:none; padding:0; margin: 18px 0 0; display:grid; gap:10px; }
.trust li{ display:flex; gap:10px; align-items:flex-start; color: rgba(11,18,38,.72); font-weight:600; }
.trust .dot{ width:10px;height:10px; border-radius:999px; margin-top:6px; background: linear-gradient(135deg, var(--gold), var(--gold2)); box-shadow: 0 0 0 6px rgba(200,163,58,.18); }

.hero-card{
  border-radius: var(--radius2);
  background: rgba(255,253,248,.82);
  border:1px solid rgba(7,16,40,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.mini{ padding: 18px 18px 16px; }
.mini-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.mini-title{ font-weight:900; letter-spacing:.2px; }
.mini-pill{ font-weight:900; padding:6px 10px; border-radius:999px; background: rgba(200,163,58,.18); border:1px solid rgba(200,163,58,.35); }
.mini-text{ color: rgba(11,18,38,.70); line-height:1.55; margin: 10px 0 12px; }
.mini-grid{ display:grid; gap:10px; }
.mini-item{ padding:12px 12px; border-radius:16px; background: rgba(34,22,12,.04); border:1px solid rgba(34,22,12,.08); }
.mini-k{ display:block; font-weight:900; }
.mini-v{ display:block; color: rgba(11,18,38,.70); font-weight:700; margin-top:4px; }

/* Choices */
.choices{ padding: 44px 0; }
.choices h2{ font-family:Poppins, Inter, sans-serif; font-size: clamp(1.6rem, 2.2vw, 2.1rem); margin:0 0 8px; }
.sub{ color: rgba(11,18,38,.70); margin:0 0 18px; }

.grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }

.card{
  border-radius: var(--radius);
  background: rgba(255,253,248,.82);
  border:1px solid rgba(7,16,40,.10);
  box-shadow: 0 16px 46px rgba(10,18,38,.10);
  padding: 16px 16px 14px;
  cursor:pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover{ transform: translateY(-2px); box-shadow: 0 20px 60px rgba(10,18,38,.14); }
.card-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tag{ font-weight:900; font-size:.85rem; padding:6px 10px; border-radius:999px; background: rgba(7,16,40,.05); border:1px solid rgba(34,22,12,.08); }
.icon{ font-size: 1.25rem; }
.card h3{ margin: 12px 0 8px; font-family:Poppins, Inter, sans-serif; }
.card p{ margin:0 0 12px; color: rgba(11,18,38,.72); line-height:1.55; }
.link{ font-weight:900; text-decoration:none; border-bottom: 1px solid rgba(200,163,58,.6); }

/* Split */
.split{ padding: 44px 0 52px; }
.split-inner{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; align-items:center; }
.split-media{
  min-height: 360px;
  border-radius: var(--radius2);
  background:
    radial-gradient(900px 450px at 25% 20%, rgba(200,163,58,.22), transparent 60%),
    linear-gradient(135deg, rgba(7,16,40,.06), rgba(7,16,40,.00)),
    url("img/ai-jacket-badges.jpg");
  background-size: cover;
  background-position: center;
  border:1px solid rgba(7,16,40,.10);
  box-shadow: var(--shadow);
}
.split-copy h2{ font-family:Poppins, Inter, sans-serif; margin:0 0 10px; }
.split-copy p{ margin:0 0 14px; color: rgba(11,18,38,.72); line-height:1.65; }
.bullets{ margin:0 0 16px; padding-left: 18px; color: rgba(11,18,38,.72); }
.bullets li{ margin: 8px 0; }

/* CTA */
.cta{ padding: 44px 0 64px; }
.cta-inner{
  border-radius: var(--radius2);
  background: rgba(255,253,248,.84);
  border:1px solid rgba(7,16,40,.10);
  box-shadow: var(--shadow);
  padding: 26px 18px;
  text-align:center;
}
.cta h2{ font-family:Poppins, Inter, sans-serif; margin:0 0 8px; }
.cta p{ margin:0 0 14px; color: rgba(11,18,38,.70); }
.cta-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* Footer */
.footer{ padding: 26px 0 34px; border-top: 1px solid rgba(34,22,12,.10); background: rgba(255,253,248,.62); }
.footer-inner{ display:grid; grid-template-columns: 1.2fr .8fr; gap:14px; align-items:start; }
.footer-brand p{ margin:8px 0 0; color: rgba(11,18,38,.70); }
.footer-links{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.footer-links a{ color: rgba(11,18,38,.72); text-decoration:none; font-weight:800; padding:8px 10px; border-radius:999px; }
.footer-links a:hover, .footer-links a:focus-visible{ background: rgba(7,16,40,.05); outline:none; }
.footer-bottom{ margin-top: 14px; display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; color: rgba(11,18,38,.62); font-weight:700; }

/* Responsive */
@media (max-width: 960px){
  .hero-inner{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .split-inner{ grid-template-columns: 1fr; }
  .split-media{ min-height: 280px; }

  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav{
    position: fixed;
    right: 16px;
    top: 70px;
    width: min(320px, calc(100% - 32px));
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,253,248,.96);
    border: 1px solid rgba(7,16,40,.12);
    box-shadow: 0 30px 80px rgba(10,18,38,.16);
  }
  .nav.is-open{ display:flex; }
  .nav a{ padding: 12px 12px; }
}

@media (max-width: 520px){
  .gold::after{ bottom:0.10em; height:0.46em; }
}
