/* Nordvy – gemensam stil och startsidan. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #071428;
  --bg-2: #0a1c36;
  --bg-3: #0e2748;
  --ink: #f4f7fb;
  --mut: #a3b4ca;
  --dim: #6f829c;
  --ice: #5bc0eb;
  --ice-2: #a5e1fa;
  --ice-ink: #04162b;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.04);
  --danger: #ff9aa2;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --head: 72px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ice);
  text-underline-offset: 0.2em;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ice-2);
}
h2 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
}
h3 {
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p {
  text-wrap: pretty;
}
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: rgba(91, 192, 235, 0.35);
}

.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  background: var(--ice);
  color: var(--ice-ink);
  font-weight: 600;
}
.skip:focus {
  top: 1rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ice);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow.tag {
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(91, 192, 235, 0.4);
  border-radius: 99px;
  background: rgba(91, 192, 235, 0.08);
}
.star {
  width: 0.9em;
  height: 0.9em;
  fill: currentColor;
  flex: none;
}
.lead {
  color: var(--mut);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  max-width: 36rem;
}
.sec-head {
  display: grid;
  gap: 1.1rem;
  max-width: 46rem;
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
section {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) 0;
}
.alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

/* Knappar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, border-color 0.25s;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  transition: transform 0.35s var(--ease);
}
.btn:hover svg.arrow {
  transform: translateX(4px);
}
.btn-p {
  background: var(--ice);
  color: var(--ice-ink);
  box-shadow: 0 0 0 0 rgba(91, 192, 235, 0.5);
}
.btn-p:hover {
  transform: translateY(-2px);
  background: var(--ice-2);
  box-shadow: 0 12px 36px rgba(91, 192, 235, 0.35);
}
.btn-g {
  border-color: var(--line-2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}
.btn-g:hover {
  border-color: var(--ice);
  transform: translateY(-2px);
}
.btn-lg {
  min-height: 56px;
  padding: 1rem 1.9rem;
  font-size: 1.05rem;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
}
.link svg {
  width: 1em;
  height: 1em;
  transition: transform 0.35s var(--ease);
}
.link:hover svg {
  transform: translateX(4px);
}

/* Sidhuvud */
.head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.head.solid {
  background: rgba(7, 20, 40, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-color: var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--head);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font: 600 1.35rem/1 var(--sans);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo .star {
  color: var(--ice);
  width: 18px;
  height: 18px;
  transition: transform 0.8s var(--ease);
}
.logo:hover .star {
  transform: rotate(90deg) scale(1.15);
}
.nav {
  margin-inline: auto;
}
.nav ul {
  display: flex;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  padding: 0;
  list-style: none;
}
.nav a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--mut);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--ice);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover,
.nav a.on {
  color: var(--ink);
}
.nav a:hover::after,
.nav a.on::after {
  transform: scaleX(1);
}
.head .btn {
  min-height: 42px;
  padding: 0.55rem 1.2rem;
  font-size: 0.95rem;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: none;
  cursor: pointer;
}
.burger span,
.burger span::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.burger span::before {
  transform: translateY(6px);
}
.burger[aria-expanded="true"] span {
  transform: translateY(3px) rotate(45deg);
}
.burger[aria-expanded="true"] span::before {
  transform: rotate(-90deg);
}
@media (max-width: 900px) {
  .burger {
    display: grid;
  }
  .head .hd-cta {
    display: none;
  }
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    padding: 1rem var(--gutter) 1.5rem;
    background: rgba(7, 20, 40, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .nav.open {
    display: block;
  }
  .nav ul {
    flex-direction: column;
    gap: 0.2rem;
  }
  .nav a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.1rem;
  }
}

/* Hero */
.hero {
  min-height: 100svh;
  padding: calc(var(--head) + clamp(2rem, 6vh, 5rem)) 0 clamp(3rem, 8vh, 6rem);
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: 72% 40%;
  transform: scale(var(--hs, 1.04)) translate3d(0, var(--hy, 0px), 0);
  transform-origin: 72% 45%;
  animation: hero-in 1.2s var(--ease) both;
  will-change: transform;
}
@keyframes hero-in {
  from {
    opacity: 0.35;
    filter: blur(10px) brightness(0.6);
  }
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 4%, rgba(7, 20, 40, 0.86) 30%, rgba(7, 20, 40, 0.2) 58%, transparent 75%),
    linear-gradient(0deg, var(--bg) 0%, transparent 26%),
    linear-gradient(180deg, rgba(7, 20, 40, 0.75), transparent 22%);
}
.hero-glow {
  position: absolute;
  z-index: -1;
  left: 58%;
  top: 6%;
  width: 46vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(91, 192, 235, 0.22), transparent);
  mix-blend-mode: screen;
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  50% {
    opacity: 0.45;
    transform: scale(1.08);
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: end;
  flex: none;
}
.hero-copy > * {
  animation: rise 0.7s var(--ease) both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.05s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.1s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.15s;
}
.hero-copy > :nth-child(5) {
  animation-delay: 0.2s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.hero h1 {
  margin: 1.2rem 0 1.4rem;
  font-size: clamp(2.9rem, 7.4vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.hero .lead {
  max-width: 33rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
  color: var(--mut);
  font-size: 0.92rem;
}
.hero-note li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-note svg {
  width: 1em;
  height: 1em;
  color: var(--ice);
}

/* Den lilla demon i hero */
.demo {
  justify-self: end;
  width: min(100%, 430px);
  animation: rise 0.9s 0.25s var(--ease) both;
}
.demo-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: rgba(8, 22, 44, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.demo-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--mut);
  font-size: 0.8rem;
  font-weight: 500;
}
.demo-top b {
  color: var(--ink);
  font-weight: 600;
}
.demo-top .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ice);
}
.demo-top .live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ice);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
.demo-stage {
  position: relative;
  height: 292px;
}
.demo-chat,
.demo-site {
  position: absolute;
  inset: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.demo-chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: 1.1rem;
}
.demo-site {
  opacity: 0;
  transform: scale(1.04);
  overflow: hidden;
}
.demo-site .pv-frame {
  height: 100%;
}
.demo-stage.show-site .demo-chat {
  opacity: 0;
  transform: translateY(-14px);
}
.demo-stage.show-site .demo-site {
  opacity: 1;
  transform: none;
}
.bubble {
  max-width: 86%;
  padding: 0.65rem 0.95rem;
  border-radius: 16px 16px 16px 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.45;
  animation: bubble-in 0.5s var(--ease) both;
}
.bubble.me {
  align-self: flex-end;
  border-radius: 16px 16px 5px 16px;
  background: var(--ice);
  border-color: transparent;
  color: var(--ice-ink);
  font-weight: 500;
}
@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}
.caret::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: currentColor;
  animation: pulse 0.9s steps(2) infinite;
}
.demo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--mut);
}
.demo-foot a {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero {
    align-items: flex-start;
    min-height: 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-media img {
    object-position: 60% 30%;
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 20, 40, 0.55) 0%, rgba(7, 20, 40, 0.82) 38%, var(--bg) 72%),
      linear-gradient(90deg, rgba(7, 20, 40, 0.7), transparent 70%);
  }
  .hero-media {
    bottom: auto;
    height: 78svh;
  }
  .demo {
    justify-self: stretch;
    width: 100%;
    max-width: 480px;
  }
}

/* Fakta-rad */
.facts {
  padding: 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.facts ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  list-style: none;
}
.facts li {
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--line);
}
.facts li:first-child {
  border-left: 0;
  padding-left: 0;
}
.facts b {
  display: block;
  font: 500 clamp(1.7rem, 3.2vw, 2.6rem) / 1.05 var(--serif);
  letter-spacing: -0.02em;
}
.facts b small {
  font: 500 0.45em var(--sans);
  color: var(--mut);
  letter-spacing: 0;
  margin-left: 0.2em;
}
.facts span {
  display: block;
  margin-top: 0.4rem;
  color: var(--mut);
  font-size: 0.92rem;
}
@media (max-width: 760px) {
  .facts ul {
    grid-template-columns: 1fr 1fr;
  }
  .facts li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .facts li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* Självintervjun – presentation */
.iv-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.iv-steps {
  display: grid;
  gap: 0;
  margin: 2.4rem 0;
  padding: 0;
  list-style: none;
  counter-reset: iv;
}
.iv-steps li {
  position: relative;
  padding: 1.25rem 0 1.25rem 3.6rem;
  border-top: 1px solid var(--line);
  counter-increment: iv;
}
.iv-steps li:last-child {
  border-bottom: 1px solid var(--line);
}
.iv-steps li::before {
  content: counter(iv);
  position: absolute;
  left: 0;
  top: 1.2rem;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(91, 192, 235, 0.5);
  border-radius: 50%;
  color: var(--ice);
  font-weight: 600;
  font-size: 0.9rem;
}
.iv-steps h3 {
  font: 600 1.08rem/1.3 var(--sans);
  letter-spacing: 0;
}
.iv-steps p {
  margin-top: 0.25rem;
  color: var(--mut);
  font-size: 0.97rem;
}
.iv-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}
.iv-cta small {
  color: var(--mut);
  font-size: 0.9rem;
}
.iv-visual {
  position: relative;
}
.iv-visual .shot {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55);
  aspect-ratio: 5 / 4.6;
}
.iv-visual .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  transform: scale(1.06);
}
.iv-visual .float {
  position: absolute;
  display: grid;
  gap: 0.6rem;
}
.iv-visual .float.one {
  left: clamp(-2.4rem, -3vw, -0.6rem);
  top: 9%;
  width: min(74%, 310px);
}
.iv-visual .float.two {
  right: clamp(-1.6rem, -2vw, -0.4rem);
  bottom: 8%;
}
.iv-visual .bubble {
  max-width: 100%;
  background: rgba(8, 22, 44, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  animation: none;
}
.iv-visual .bubble.me {
  background: var(--ice);
  justify-self: end;
}
.done-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  border-radius: 99px;
  background: rgba(8, 22, 44, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(91, 192, 235, 0.5);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.done-chip svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--ice);
}
@media (max-width: 900px) {
  .iv-grid {
    grid-template-columns: 1fr;
  }
  .iv-visual {
    margin-inline: 0.8rem;
  }
}

/* Så funkar det */
.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.steps-grid .sec-head {
  position: sticky;
  top: calc(var(--head) + 2.5rem);
}
.tl-wrap {
  position: relative;
}
.tl {
  padding: 0;
  list-style: none;
}
.tl-wrap::before,
.tl-fill {
  content: "";
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.tl-fill {
  background: linear-gradient(var(--ice), var(--ice-2));
  box-shadow: 0 0 16px rgba(91, 192, 235, 0.8);
  transform: scaleY(var(--p, 0));
  transform-origin: top;
}
.tl li {
  position: relative;
  padding: 0 0 2.6rem 4.4rem;
}
.tl li:last-child {
  padding-bottom: 0;
}
.tl .n {
  position: absolute;
  left: 0;
  top: -2px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  color: var(--mut);
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 0.5s, color 0.5s, box-shadow 0.5s, background-color 0.5s;
}
.tl li.lit .n {
  border-color: var(--ice);
  color: var(--ice-ink);
  background: var(--ice);
  box-shadow: 0 0 24px rgba(91, 192, 235, 0.55);
}
.tl h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}
.tl p {
  margin-top: 0.5rem;
  color: var(--mut);
  max-width: 34rem;
}
.tl .link {
  margin-top: 0.8rem;
}
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid .sec-head {
    position: static;
  }
}

/* Kort med ljus som följer pekaren */
.glow {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--glass);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 192, 235, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.glow:hover::before {
  opacity: 1;
}
.glow:hover {
  border-color: var(--line-2);
}

/* Paket */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 3.5rem;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.plan.hl {
  border-color: rgba(91, 192, 235, 0.55);
  background: linear-gradient(180deg, rgba(91, 192, 235, 0.12), rgba(91, 192, 235, 0.02) 45%), var(--glass);
  box-shadow: 0 30px 90px rgba(91, 192, 235, 0.12);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.plan-top h3 {
  font-size: 1.75rem;
}
.plan-top {
  min-height: 2.2rem;
}
.badge {
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  background: var(--ice);
  color: var(--ice-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan > p {
  margin-top: 0.5rem;
  color: var(--mut);
  min-height: 3.3em;
}
.badge.soft {
  background: rgba(91, 192, 235, 0.14);
  color: var(--ice);
}
.price s {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--dim);
  font: 400 1rem var(--sans);
  letter-spacing: 0;
}
.price em {
  flex-basis: 100%;
  color: var(--ice);
  font-size: 0.82rem;
  font-style: normal;
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 1.4rem;
  align-content: flex-end;
  min-height: 9.6rem;
  margin: 1.8rem 0;
  padding-block: 1.5rem;
  border-block: 1px solid var(--line);
}
.price b {
  font: 500 clamp(2.4rem, 3.6vw, 3.1rem) / 1 var(--serif);
  letter-spacing: -0.03em;
}
.price b small,
.price span {
  color: var(--mut);
  font: 400 0.95rem var(--sans);
  letter-spacing: 0;
}
.price span b {
  font: 600 1.15rem var(--sans);
  letter-spacing: 0;
  color: var(--ink);
}
.feat {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin-bottom: 2.2rem;
  list-style: none;
  font-size: 0.98rem;
}
.feat li {
  position: relative;
  padding-left: 1.9rem;
}
.feat li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.42em;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--ice);
  border-bottom: 2px solid var(--ice);
  transform: rotate(-45deg);
}
.feat li.no {
  color: var(--dim);
}
.feat li.no::before {
  top: 0.75em;
  width: 0.7rem;
  height: 0;
  border-left: 0;
  border-color: var(--dim);
  transform: none;
}
.plan .btn {
  margin-top: auto;
  width: 100%;
}
.plan-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
  padding: 1.4rem clamp(1.4rem, 3vw, 2.2rem);
}
.plan-help p {
  color: var(--mut);
}
.plan-help p b {
  color: var(--ink);
  font-weight: 600;
}
.addons {
  margin-top: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.addons summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}
.addons summary::-webkit-details-marker {
  display: none;
}
.addons summary h3 {
  font-size: 1.5rem;
}
.addons summary span {
  color: var(--mut);
  font-size: 0.95rem;
}
.plus {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  inset: 50% 9px auto;
  height: 1.5px;
  background: var(--ice);
  transition: transform 0.4s var(--ease);
}
.plus::after {
  transform: rotate(90deg);
}
details[open] > summary .plus {
  border-color: var(--ice);
}
details[open] > summary .plus::after {
  transform: rotate(0deg);
}
.addons table {
  width: 100%;
  margin-top: 1.4rem;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.addons td {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.addons td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}
.addons td small {
  color: var(--mut);
  font-weight: 400;
}
.fine {
  margin-top: 1.4rem;
  color: var(--mut);
  font-size: 0.9rem;
}
@media (max-width: 1020px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
  .plan > p {
    min-height: 0;
  }
  .plan.hl {
    order: -1;
  }
}

/* Exempel: riktiga demosidor, visade som levande miniatyrer */
.demos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 3.5rem;
}
.demo-item {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}
.shot {
  display: block;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: #0f2038;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s;
}
.shot:hover,
.shot:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(91, 192, 235, 0.55);
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.6), 0 0 50px rgba(91, 192, 235, 0.14);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.shot-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.shot-bar b {
  flex: 1;
  margin-left: 8px;
  padding: 3px 12px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--mut);
  font: 500 11px/1.4 var(--sans);
}
.shot-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #12305a, #071428);
}
.shot-frame iframe {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1280px;
  height: 800px;
  border: 0;
  transform: scale(var(--s, 0.4));
  transform-origin: 0 0;
  pointer-events: none;
}
.demo-text h3 {
  font-size: 1.6rem;
}
.demo-text > p {
  margin-top: 0.2rem;
  color: var(--mut);
  font-size: 0.95rem;
}
.demo-text ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 1rem;
  padding: 0;
  list-style: none;
}
.demo-text li {
  padding: 0.2rem 0.75rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--mut);
  font-size: 0.82rem;
}
.demo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem !important;
}
.demo-meta span {
  padding: 0.15rem 0.7rem;
  border: 1px solid rgba(91, 192, 235, 0.4);
  border-radius: 99px;
  color: var(--ice);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .demos {
    grid-template-columns: 1fr;
  }
}

/* Varför */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.value {
  padding: 1.8rem;
}
.value .n {
  color: var(--ice);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.value h3 {
  margin: 2.2rem 0 0.5rem;
  font-size: 1.5rem;
}
.value p {
  color: var(--mut);
  font-size: 0.97rem;
}
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .values {
    grid-template-columns: 1fr;
  }
  .value h3 {
    margin-top: 1.2rem;
  }
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.12rem;
  font-weight: 500;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .plus {
  margin-left: auto;
}
.faq summary:hover .plus {
  border-color: var(--ice);
}
.faq details p {
  padding: 0 3.5rem 1.6rem 0;
  color: var(--mut);
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Kontakt */
.contact {
  overflow: clip;
}
.contact::before {
  content: "";
  position: absolute;
  right: -18vmax;
  top: 8%;
  width: 60vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 8vmax rgba(91, 192, 235, 0.025), 0 0 0 16vmax rgba(91, 192, 235, 0.02);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.direct {
  display: grid;
  gap: 0;
  margin-top: 2.2rem;
}
.direct div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.direct dt {
  color: var(--mut);
  font-size: 0.92rem;
}
.direct dd a {
  text-decoration: none;
  font-weight: 500;
}
.book {
  margin-top: 1.6rem;
  padding: 1.6rem;
}
.book h3 {
  font: 600 1.1rem/1.3 var(--sans);
  letter-spacing: 0;
}
.book p {
  margin: 0.3rem 0 1.2rem;
  color: var(--mut);
  font-size: 0.95rem;
}
.book-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.book-row .btn {
  flex-direction: column;
  gap: 0.1rem;
  border-radius: 16px;
  padding: 0.9rem 0.8rem;
}
.book-row .btn small {
  font-weight: 400;
  font-size: 0.8rem;
  opacity: 0.8;
}
.form-card {
  padding: clamp(1.5rem, 3.4vw, 2.6rem);
  background: rgba(8, 22, 44, 0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.form-card h3 {
  margin: 0.7rem 0 1.8rem;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}
form {
  display: grid;
  gap: 1.1rem;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
label,
.field {
  display: grid;
  gap: 0.4rem;
  color: var(--mut);
  font-size: 0.88rem;
  font-weight: 500;
}
input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
input::placeholder,
textarea::placeholder {
  color: var(--dim);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ice);
  box-shadow: 0 0 0 4px rgba(91, 192, 235, 0.16);
  background: rgba(0, 0, 0, 0.4);
}
textarea {
  min-height: 130px;
  resize: vertical;
}
select option {
  background: var(--bg-2);
}
[aria-invalid="true"] {
  border-color: var(--danger);
}
.err {
  min-height: 1.1em;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 400;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.status:not(:empty) {
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(91, 192, 235, 0.4);
  border-radius: 12px;
  background: rgba(91, 192, 235, 0.1);
  font-size: 0.95rem;
}
.status.bad:not(:empty) {
  border-color: rgba(255, 154, 162, 0.5);
  background: rgba(255, 154, 162, 0.08);
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .two {
    grid-template-columns: 1fr;
  }
}

/* Sidfot */
.foot {
  padding: 4rem 0 2.2rem;
  border-top: 1px solid var(--line);
  background: #050f20;
  color: var(--mut);
  font-size: 0.95rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.foot h4 {
  margin-bottom: 0.9rem;
  color: var(--ice);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.foot ul {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}
.foot a {
  color: var(--ink);
  text-decoration: none;
}
.foot a:hover {
  color: var(--ice);
}
.foot .tagline {
  margin: 1rem 0 0.6rem;
  color: var(--ink);
  font: 400 1.25rem/1.3 var(--serif);
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* Fast knapprad i mobilen */
.mbar {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(5, 15, 32, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease);
}
.mbar.show {
  transform: none;
}
.mbar .btn {
  flex: 1;
  min-height: 48px;
  padding-inline: 0.8rem;
  font-size: 0.95rem;
}
.mbar .btn-g {
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .mbar {
    display: flex;
  }
  body.has-mbar {
    padding-bottom: 76px;
  }
}

/* Mjuk inflygning när man scrollar */
.js .rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .rv.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .rv {
    opacity: 1;
    transform: none;
  }
}
