:root{
  /* Theme (Cluely inspired dark) */
  --bg: #07080B;
  --fg: #F6F7FB;
  --muted: rgba(246,247,251,.72);
  --line: rgba(246,247,251,.12);

  --panel: rgba(255,255,255,.04);
  --panel2: rgba(255,255,255,.06);

  --accent-lime: #B7FF3C;
  --accent-cyan: #00D4FF;
  --accent-violet: #6B5CFF;

  --shadow: 0 20px 50px rgba(0,0,0,.45);
  --shadow2: 0 30px 80px rgba(0,0,0,.55);

  --radius: 18px;
  --radius2: 22px;

  --max: 1200px;
  --padX: clamp(16px, 4vw, 80px);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";

  --ease: cubic-bezier(.2,.8,.2,1);

  /* Premium polish */
  --ring: 0 0 0 4px rgba(0,212,255,.16), 0 0 0 1px rgba(246,247,251,.18);
}

*{ box-sizing: border-box; }
html, body { height: 100%; }

/* STOPPA vit bakgrund / overscroll */
html{
  background: var(--bg);
  overscroll-behavior: none;
  scroll-behavior: smooth; /* premium feel (ok även om JS finns) */
}

body{
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle selection */
::selection{
  background: rgba(0,212,255,.22);
  color: var(--fg);
}

/* Scrollbar (WebKit) */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: rgba(255,255,255,.02); }
::-webkit-scrollbar-thumb{
  background: rgba(246,247,251,.14);
  border-radius: 999px;
  border: 2px solid rgba(7,8,11,.9);
}
::-webkit-scrollbar-thumb:hover{ background: rgba(246,247,251,.18); }

a{ color: inherit; text-decoration: none; }
h1,h2,h3{ margin: 0; letter-spacing: -0.3px; }
p{ margin: 0; }

.muted{ color: var(--muted); }

/* Better keyboard accessibility */
:focus{ outline: none; }
:focus-visible{
  box-shadow: var(--ring);
  border-radius: 12px;
}
a:focus-visible, button:focus-visible{ border-radius: 999px; }

/* Accessibility */
.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 16px; top: 16px; width:auto; height:auto;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
}

/* Layout */
.wrap{
  width: min(var(--max), calc(100% - (var(--padX) * 2)));
  margin: 0 auto;
}
.center{ text-align: center; }

.section{
  padding: clamp(56px, 7vw, 92px) 0;
}
.section-alt{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(255,255,255,.03), rgba(255,255,255,0));
}
.section-split{
  background: radial-gradient(800px 320px at 50% 0%, rgba(183,255,60,.10), transparent 68%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head{
  max-width: 860px;
  margin: 0 auto 24px;
}
.section-title{
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.6px;
}
.section-sub{
  margin: 10px auto 0;
  color: var(--muted);
  max-width: 720px;
  font-size: clamp(15px, 1.3vw, 18px);
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;

  /* FIX: undvik vit flärp/seam genom att alltid ha en mörk bakgrund */
  background: rgba(7,8,11,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(246,247,251,.08);

  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

/* lite tydligare när man scrollar */
.site-header.is-scrolled{
  background: rgba(7,8,11,.92);
  border-bottom: 1px solid var(--line);
}

/* seam-cover fångar 1px-glitch i vissa browsers (särskilt safari/subpixel) */
.seam-cover{
  position:absolute;
  left:0; right:0; bottom:-2px;
  height: 2px;
  background: rgba(7,8,11,.92);
  pointer-events:none;
}

/* extra subtle shadow (prevents seam look) */
.site-header::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-16px;
  height: 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,.22), transparent);
  pointer-events:none;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.brand-dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-lime), var(--accent-cyan));
  box-shadow:
    0 0 0 6px rgba(183,255,60,.08),
    0 0 50px rgba(0,212,255,.10);
}
.brand-name{
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav{
  position: relative;
  display:flex;
  align-items:center;
  gap: 12px;
}
.nav-menu{
  display:flex;
  align-items:center;
  gap: 18px;
}

.nav-menu a{
  opacity: .86;
  font-size: 14px;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-menu a:hover{
  opacity: 1;
  transform: translateY(-1px);
}

/* pill button */
.nav-pill{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(246,247,251,.14);
  background: rgba(255,255,255,.04);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.nav-pill:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(246,247,251,.18);
}

/* premium CTA in navbar */
.nav-cta{
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(246,247,251,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: 0 14px 36px rgba(0,0,0,.25);
  overflow:hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nav-cta:hover{
  transform: translateY(-1px);
  border-color: rgba(246,247,251,.18);
  box-shadow: 0 18px 44px rgba(0,0,0,.32);
}

/* shine sweep (pro, men subtilt) */
.nav-cta::before{
  content:"";
  position:absolute;
  inset:-40px -140px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.14), rgba(183,255,60,.14), transparent);
  transform: translateX(-45%);
  opacity: 0;
  transition: opacity .2s ease, transform .7s ease;
}
.nav-cta:hover::before{
  opacity: 1;
  transform: translateX(45%);
}

.nav-toggle{
  display:none;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--fg);
  font-size: 13px;
}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Hero */
.hero{
  position: relative;
  padding: clamp(70px, 8vw, 110px) 0 clamp(50px, 6vw, 80px);
  overflow: hidden;
}

.hero-bg{
  position:absolute;
  inset: 0;
  pointer-events:none;
}

.hero-orb{
  position:absolute;
  width: 720px;
  height: 720px;
  border-radius: 999px;
  filter: blur(44px);
  opacity: .18;
  animation: orbFloat 9s ease-in-out infinite;
  transform: translateZ(0);
  will-change: transform;
}
.hero-orb--a{
  left: -240px; top: -320px;
  background: radial-gradient(circle at 30% 30%, var(--accent-lime), transparent 60%);
}
.hero-orb--b{
  right: -260px; top: -340px;
  background: radial-gradient(circle at 30% 30%, var(--accent-cyan), transparent 60%);
  animation-delay: -3s;
}
.hero-orb--c{
  left: 20%; bottom: -520px;
  background: radial-gradient(circle at 30% 30%, var(--accent-violet), transparent 60%);
  opacity: .14;
  animation-delay: -6s;
}

@keyframes orbFloat{
  0%,100%{ transform: translateY(0) scale(1); }
  50%{ transform: translateY(18px) scale(1.02); }
}

.hero-gridline{
  position:absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(246,247,251,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(246,247,251,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(420px 240px at 50% 20%, rgba(0,0,0,.85), transparent 70%);
  opacity: .22;
}

.hero-noise{
  position:absolute;
  inset: 0;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
}

.badge-row{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
}
.badge{
  border: 1px solid rgba(246,247,251,.14);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
}
.badge-accent{
  border-color: rgba(0,212,255,.22);
  box-shadow: 0 0 0 6px rgba(0,212,255,.06);
}

.hero-title{
  margin-top: 14px;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.03;
  letter-spacing: -1.1px;
}
.hero-title-accent{
  background: linear-gradient(90deg, var(--accent-lime), var(--accent-cyan), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub{
  margin: 14px auto 0;
  max-width: 720px;
  color: rgba(246,247,251,.82);
  font-size: clamp(15px, 1.3vw, 18px);
}

.cta-row{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  user-select: none;
  will-change: transform;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  color: #07080B;
  border: none;
  background: linear-gradient(90deg, #B7FF3C, #00D4FF);
  box-shadow:
    0 10px 30px rgba(183,255,60,.25),
    0 10px 30px rgba(0,212,255,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.btn-secondary{
  color: var(--fg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: none;
}
.btn-secondary:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(246,247,251,.16);
}

.btn-wide{ min-width: 170px; }

.proof-row{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.proof{
  text-align:left;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, background .2s ease;
}
.proof:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.04);
}
.proof-title{ font-weight: 700; }
.proof-sub{ margin-top: 2px; color: var(--muted); font-size: 13px; }

/* Hero visual mock */
.hero-visual{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 12px;
}
.mock{
  width: min(520px, 100%);
  border-radius: var(--radius2);
  border: 1px solid rgba(246,247,251,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow2);
  overflow:hidden;
  position: relative;
  transform: translateZ(0);
  animation: floatCard 10s ease-in-out infinite;
  will-change: transform;
}
@keyframes floatCard{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.mock-top{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(246,247,251,.12);
  background: rgba(7,8,11,.35);
}
.dot{ width: 10px; height: 10px; border-radius: 999px; opacity: .9; }
.dot-red{ background:#ff5f57; }
.dot-yellow{ background:#febc2e; }
.dot-green{ background:#28c840; }
.mock-title{
  margin-left: 8px;
  font-size: 13px;
  color: rgba(246,247,251,.75);
}
.mock-body{
  padding: 16px;
  display:grid;
  gap: 12px;
  position: relative;
}
.mock-card{
  border: 1px solid rgba(246,247,251,.12);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding: 14px;
}
.mock-kicker{
  font-size: 12px;
  color: rgba(246,247,251,.72);
  margin-bottom: 10px;
}
.mock-line{
  height: 10px;
  border-radius: 999px;
  background: rgba(246,247,251,.12);
}
.mock-line.short{ width: 72%; margin-top: 10px; }
.mock-glow{
  position:absolute;
  inset: auto -60px -80px -60px;
  height: 180px;
  background: radial-gradient(300px 120px at 50% 30%, rgba(0,212,255,.22), transparent 65%);
  pointer-events:none;
}
.visual-note{
  max-width: 520px;
  color: rgba(246,247,251,.55);
  font-size: 12px;
  text-align:center;
}

/* Cards, grids */
.bento{
  margin-top: 24px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  text-align:left;
}
.card{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}
.card:hover{
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border-color: rgba(246,247,251,.16);
}
.card-icon{
  width: 36px;
  height: 36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(246,247,251,.12);
  margin-bottom: 12px;
  font-weight: 700;
}
.card h3{ font-size: 18px; }
.card p{ margin-top: 8px; color: rgba(246,247,251,.78); }

.card-large{
  grid-column: span 7;
  padding: 22px;
}
.bento > article:nth-child(2){ grid-column: span 5; }
.bento > article:nth-child(3){ grid-column: span 4; }
.bento > article:nth-child(4){ grid-column: span 4; }
.bento > article:nth-child(5){ grid-column: span 4; }

.list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(246,247,251,.82);
}
.list li{ margin: 7px 0; }

/* Steps */
.steps{
  margin-top: 24px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align:left;
}
.step{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 16px;
  display:flex;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform .22s var(--ease), background .22s var(--ease);
}
.step:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.04);
}
.step-num{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(246,247,251,.14);
}
.step-body h3{ font-size: 18px; }
.step-body p{ margin-top: 6px; color: var(--muted); }

/* Pricing */
.pricing-grid{
  margin-top: 24px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align:left;
}
.price-card{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}
.price-card:hover{
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border-color: rgba(246,247,251,.16);
}
.price-top p{
  margin-top: 6px;
  color: var(--muted);
}
.price-card--featured{
  border-color: rgba(0,212,255,.22);
  box-shadow: 0 28px 90px rgba(0,212,255,.10), var(--shadow2);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}
.featured-badge{
  position:absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(7,8,11,.95);
  background: linear-gradient(90deg, var(--accent-lime), var(--accent-cyan));
  padding: 7px 10px;
  border-radius: 999px;
}

/* About */
.about-grid{
  margin-top: 24px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align:left;
}

/* Resultat: metrics */
.metrics-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric{
  border: 1px solid rgba(246,247,251,.12);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 16px;
  box-shadow: var(--shadow);
  text-align:left;
}
.metric-kicker{
  font-size: 12px;
  color: rgba(246,247,251,.70);
}
.metric-value{
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.metric-sub{
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

/* Testimonials carousel */
.testimonials{
  margin-top: 20px;
  text-align:left;
  border: 1px solid rgba(246,247,251,.12);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  padding: 18px;
}
.testimonials-head h3{ font-size: 18px; }
.testimonials-head p{ margin-top: 8px; }

.testimonial-slider{
  margin-top: 14px;
  display:flex;
  align-items:center;
  gap: 10px;
}
.ts-btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(246,247,251,.14);
  background: rgba(255,255,255,.03);
  color: rgba(246,247,251,.88);
  font-size: 22px;
  cursor:pointer;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.ts-btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.05); }
.ts-btn:active{ transform: translateY(0); }

.ts-track{
  display:flex;
  gap: 12px;
  overflow:hidden;
  scroll-behavior: smooth;
  flex: 1;
}
.ts-card{
  min-width: 100%;
  border: 1px solid rgba(246,247,251,.12);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding: 16px;
}
.ts-quote{ font-size: 15px; color: rgba(246,247,251,.88); }
.ts-meta{ margin-top: 12px; display:flex; flex-direction:column; gap: 2px; }
.ts-name{ font-weight: 800; }
.ts-role{ color: var(--muted); font-size: 13px; }

.ts-dots{
  margin-top: 12px;
  display:flex;
  gap: 8px;
  justify-content:center;
}
.ts-dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  border: 1px solid rgba(246,247,251,.18);
  background: rgba(255,255,255,.04);
  cursor:pointer;
}
.ts-dot.is-active{
  background: linear-gradient(90deg, var(--accent-lime), var(--accent-cyan));
  border-color: rgba(0,212,255,.30);
}

/* FAQ accordion */
.faq{
  width: min(900px, 100%);
  margin: 18px auto 0;
  display:grid;
  gap: 10px;
  text-align:left;
}
.faq-item{
  width: 100%;
  text-align:left;
  border: 1px solid rgba(246,247,251,.12);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 14px 16px;
  color: var(--fg);
  cursor:pointer;
  box-shadow: var(--shadow);
  display:grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 8px 12px;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.faq-item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.04);
}
.faq-q{ font-weight: 800; }
.faq-icon{
  grid-column: 2;
  grid-row: 1;
  font-size: 18px;
  opacity: .9;
  transition: transform .25s var(--ease);
}
.faq-a{
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
  max-height: 0;
  overflow:hidden;
  transition: max-height .35s var(--ease);
}
/* Höjt lite så text inte klipps om svaren blir längre */
.faq-item[aria-expanded="true"] .faq-a{ max-height: 340px; }
.faq-item[aria-expanded="true"] .faq-icon{ transform: rotate(45deg); }

/* Tally embed shell */
.tally-shell{
  margin: 22px auto 0;
  width: min(980px, 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(246,247,251,.14);
  box-shadow: var(--shadow2);
  position: relative;
  height: clamp(640px, 80vh, 920px);
  background: #F5F5F7;
}
.tally-shell::before{
  content:"";
  position:absolute;
  inset:-160px -160px auto -160px;
  height: 240px;
  background:
    radial-gradient(520px 190px at 20% 45%, rgba(183,255,60,.18), transparent 70%),
    radial-gradient(540px 190px at 72% 45%, rgba(0,212,255,.14), transparent 70%);
  pointer-events:none;
}
.tally-shell::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
  pointer-events:none;
}
.tally-iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact */
.contact-card{
  margin: 22px auto 0;
  width: min(760px, 100%);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow2);
  text-align:left;
}
.contact-row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-of-type{ border-bottom: none; }
.label{ color: var(--muted); }
.value{ font-weight: 600; }
.link{
  text-decoration: underline;
  text-decoration-color: rgba(246,247,251,.28);
  text-underline-offset: 3px;
  transition: opacity .2s ease, text-decoration-color .2s ease;
}
.link:hover{
  opacity: 1;
  text-decoration-color: rgba(0,212,255,.42);
}
.contact-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.fine{
  margin-top: 12px;
  color: rgba(246,247,251,.58);
  font-size: 12px;
}

/* Footer */
.footer{
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.footer-sub{
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.footer-right{
  display:flex;
  gap: 14px;
  color: rgba(246,247,251,.78);
  font-size: 13px;
  align-items:center;
  flex-wrap: wrap;
}
.footer-right a{
  opacity: .85;
  border-bottom: 1px solid rgba(246,247,251,.18);
}
.footer-right a:hover{ opacity: 1; }
.footer-copy{ color: rgba(246,247,251,.60); }

/* Scroll reveal */
.animate{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease-out, transform .8s var(--ease), filter .8s var(--ease);
  filter: blur(4px);
}
.animate.show{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events:none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(246,247,251,.16);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(246,247,251,.90);
  font-size: 13px;
  box-shadow: var(--shadow2);
  transition: opacity .25s ease, transform .25s var(--ease);
  z-index: 999;
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Page (integritet/cookies) */
.page-hero{
  padding: clamp(70px, 8vw, 110px) 0 26px;
  border-bottom: 1px solid rgba(246,247,251,.08);
  background: linear-gradient(to bottom, rgba(255,255,255,.03), rgba(255,255,255,0));
  position: relative;
  overflow: hidden;
}
/* lite premium glow på policy-hero (subtil) */
.page-hero::before{
  content:"";
  position:absolute;
  inset:-140px -140px auto -140px;
  height: 220px;
  background:
    radial-gradient(520px 180px at 22% 48%, rgba(183,255,60,.10), transparent 70%),
    radial-gradient(520px 180px at 76% 48%, rgba(0,212,255,.10), transparent 70%);
  pointer-events:none;
}

.page-title{
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.8px;
}

/* FIX + premium: centerad + snyggare spacing */
.page-sub{
  margin: 10px auto 0;
  color: var(--muted);
  max-width: 820px;
  text-align: center;
  font-size: clamp(14px, 1.2vw, 17px);
}

.page-content{
  padding: 26px 0 70px;
}

.content-card{
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(246,247,251,.12);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 18px;
  text-align:left;
  position: relative;
  overflow: hidden;
}

/* premium “glass” highlight */
.content-card::before{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(183,255,60,.10),
    rgba(0,212,255,.10),
    rgba(107,92,255,.08),
    rgba(255,255,255,0)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity: .55;
}

.content-card h2{
  margin-top: 14px;
  font-size: 18px;
  letter-spacing: -0.2px;
}

/* FIX: bättre läsbarhet i policy-text (p är globalt 0 annars) */
.content-card p,
.content-card ul{
  margin-top: 10px;
}
.content-card h2 + p,
.content-card h2 + ul{
  margin-top: 10px;
}

.content-card p,
.content-card li{
  color: rgba(246,247,251,.82);
}

.content-card ul{
  padding-left: 18px;
}
.content-card li{ margin: 7px 0; }

/* premium länkar i policy */
.content-card a.link{
  text-decoration: underline;
  text-decoration-color: rgba(246,247,251,.28);
  text-underline-offset: 3px;
}
.content-card a.link:hover{
  text-decoration-color: rgba(0,212,255,.42);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .animate{ transition: none; transform: none; opacity: 1; filter:none; }
  .btn, .card, .step, .proof, .price-card, .nav-pill, .nav-cta, .ts-btn{ transition: none; }
  .hero-orb, .mock{ animation: none; }
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .proof-row{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .metrics-grid{ grid-template-columns: 1fr 1fr; }
  .tally-shell{ height: clamp(680px, 82vh, 980px); }
}

@media (max-width: 820px){
  .bento{ grid-template-columns: 1fr; }
  .card-large,
  .bento > article:nth-child(2),
  .bento > article:nth-child(3),
  .bento > article:nth-child(4),
  .bento > article:nth-child(5){ grid-column: auto; }
}

@media (max-width: 768px){
  .nav-toggle{ display:inline-flex; }

  .nav-menu{
    display:none;
    position:absolute;
    right: 0;
    top: 48px;
    width: min(300px, calc(100vw - 32px));
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(246,247,251,.14);
    background: rgba(7,8,11,.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow2);
  }
  .nav-menu.open{ display:flex; }

  .testimonial-slider{ flex-direction: column; align-items: stretch; }
  .ts-btn{ width: 100%; height: 44px; }
}

@media (max-width: 520px){
  .metrics-grid{ grid-template-columns: 1fr; }
}