/* =========================================================
   Webblyft UF – stilar
   Färger tagna från loggan: djup navy + lavendel
   ========================================================= */

:root {
  --ink: #071436;        /* djupaste navy, bakgrund */
  --navy: #0d2257;       /* ljusare navy, ytor */
  --navy-2: #13306f;
  --lav: #d5d7ff;        /* loggans lavendel */
  --lav-soft: #a9adde;   /* dämpad text på mörkt */
  --signal: #6e7bff;     /* knappar, fokus */
  --line-dark: rgba(213, 215, 255, 0.16);
  --line-light: rgba(7, 20, 54, 0.18);

  --f-display: "Unbounded", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--lav);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw + 10px, 19px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--signal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Typografi ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

/* ---------- Knappar ---------- */
.btn {
  --bg: var(--signal);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 52px;
  padding: 0 1.5em;
  border-radius: 999px;
  border: 1.5px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  font: 600 1rem/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--lav);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); border-color: var(--lav); }

.btn--small { min-height: 42px; font-size: .92rem; padding: 0 1.2em; }
.btn--ghost { --bg: transparent; --fg: var(--lav); border-color: var(--line-dark); }
.btn--line  { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--lav); border-color: var(--ink); }

/* =========================================================
   Laddningsskärm
   ========================================================= */
.loader {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--lav);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.loader__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.loader__globe {
  width: clamp(64px, 10vw, 120px);
  filter: brightness(0) saturate(100%) invert(7%) sepia(42%) saturate(4000%) hue-rotate(218deg);
  animation: spin 2.4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader__count {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(4rem, 14vw, 12rem);
  line-height: .9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
}
.loader__bar {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px;
  height: 2px; background: rgba(7, 20, 54, .15);
}
.loader__bar span {
  display: block; height: 100%; width: 100%;
  background: var(--ink);
  transform-origin: left; transform: scaleX(0);
}

/* =========================================================
   Navigering
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px var(--gutter);
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(7, 20, 54, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: .02em;
  margin-right: auto;
}
.nav__brand img { width: 36px; height: 36px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  text-decoration: none;
  font-size: .95rem;
  color: var(--lav-soft);
  transition: color .25s;
}
.nav__links a:hover { color: var(--lav); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav__toggle span:not(.sr-only) {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--lav);
  transition: transform .35s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 40;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  gap: 6px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 8vw, 3rem);
  text-decoration: none;
  letter-spacing: -0.02em;
}

@media (max-width: 960px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__toggle { display: block; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--gutter) clamp(32px, 6vh, 72px);
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 72% 40%, rgba(110, 123, 255, .22), transparent 70%),
    var(--ink);
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__fallback {
  display: none;
  position: absolute;
  right: 6vw; top: 18vh;
  width: min(46vw, 520px);
  opacity: .9;
}
.no-webgl .hero__fallback { display: block; }

.hero__content { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.hero__content a { pointer-events: auto; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 8.4vw, 9.2rem);
  line-height: .94;
  letter-spacing: -0.045em;
  max-width: 12ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }

.hero__bottom {
  margin-top: clamp(24px, 4vh, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero__lead { max-width: 44ch; color: var(--lav-soft); font-size: 1.1em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__scroll {
  position: absolute; z-index: 2;
  left: 50%; bottom: 0;
  width: 2px; height: 64px;
  overflow: hidden;
}
.hero__scroll-line {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(var(--lav), transparent);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* =========================================================
   Påstående (ord tänds när man scrollar)
   ========================================================= */
.statement {
  padding: clamp(100px, 18vh, 220px) var(--gutter);
}
.statement__text {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.6vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
.statement__text .w { opacity: .14; transition: opacity .1s linear; }
.no-motion .statement__text .w { opacity: 1; }

/* =========================================================
   Vad ingår
   ========================================================= */
.included {
  padding: clamp(100px, 16vh, 200px) var(--gutter) clamp(80px, 12vh, 160px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.included__head { position: sticky; top: 120px; align-self: start; }
.included .h2 { font-size: clamp(2rem, 3.7vw, 3.6rem); }
.included__intro { margin-top: 24px; color: var(--lav-soft); max-width: 36ch; }

.included__list { border-top: 1px solid var(--line-dark); }
.inc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: clamp(28px, 4vh, 44px) 0;
  border-bottom: 1px solid var(--line-dark);
  position: relative;
}
.inc::before {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  height: 1px; width: 100%;
  background: var(--lav);
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.inc:hover::before { transform: scaleX(1); }
.inc__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.inc__text { color: var(--lav-soft); max-width: 40ch; }

@media (max-width: 860px) {
  .included { grid-template-columns: 1fr; }
  .included__head { position: static; }
  .inc { grid-template-columns: 1fr; gap: 10px; }
}

/* =========================================================
   Process
   ========================================================= */
.process {
  background: var(--lav);
  color: var(--ink);
  overflow: hidden;
}
.process__pin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 12vh, 140px) 0;
}
.process__head {
  padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(40px, 8vh, 80px);
}
.process__head p { max-width: 30ch; }
.process__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  padding: 0 var(--gutter);
  width: max-content;
}
.step {
  width: clamp(280px, 34vw, 480px);
  min-height: clamp(320px, 46vh, 440px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--lav);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.step:nth-child(even) { background: var(--navy); }
.step__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: .8;
  letter-spacing: -0.06em;
  color: var(--signal);
  margin-bottom: auto;
}
.step h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 32px 0 12px;
}
.step p { color: var(--lav-soft); max-width: 34ch; }

@media (max-width: 899px) {
  .process__track { flex-direction: column; width: auto; }
  .step { width: 100%; min-height: 260px; }
}

/* =========================================================
   Koncept
   ========================================================= */
.concepts {
  padding: clamp(100px, 16vh, 200px) var(--gutter);
}
.concepts__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: clamp(40px, 7vh, 80px);
}
.concepts__head p { max-width: 42ch; color: var(--lav-soft); }

.concepts__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(16px, 2.4vw, 32px);
}
.mock { margin: 0; }
.mock--cafe { grid-row: span 2; }
.mock__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  background: var(--navy);
  border-radius: 14px 14px 0 0;
}
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark); }
.mock__bar span {
  margin-left: 10px;
  font-size: .78rem;
  color: var(--lav-soft);
  background: rgba(7, 20, 54, .6);
  padding: 4px 12px;
  border-radius: 999px;
}
.mock__screen {
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  transition: transform .8s var(--ease);
}
.mock--cafe .mock__screen { aspect-ratio: auto; height: calc(100% - 41px - 56px); min-height: 360px; }
.mock:hover .mock__screen { transform: translateY(-6px); }
.mock figcaption {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  margin-top: 14px;
  color: var(--lav-soft);
  font-size: .95rem;
}
.mock figcaption strong { color: var(--lav); font-weight: 600; }

/* Café */
.cafe {
  position: absolute; inset: 0;
  background: #f6d9b8;
  color: #3b1d10;
  font-family: Georgia, "Times New Roman", serif;
  padding: 6%;
  display: flex; flex-direction: column;
}
.cafe__nav { display: flex; gap: 16px; font-size: clamp(.7rem, 1vw, .9rem); font-family: var(--f-body); }
.cafe__nav b { margin-right: auto; font-family: Georgia, serif; font-size: 1.15em; }
.cafe__hero { margin-top: auto; position: relative; z-index: 2; }
.cafe__title { font-size: clamp(1.4rem, 3.4vw, 3.2rem); line-height: 1.02; max-width: 11ch; font-style: italic; }
.cafe__btn {
  display: inline-block; margin-top: 16px;
  background: #3b1d10; color: #f6d9b8;
  padding: .6em 1.2em; border-radius: 999px;
  font: 600 clamp(.7rem, .9vw, .85rem) var(--f-body);
}
.cafe__sun {
  position: absolute; right: 10%; top: 18%;
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #ffb347, #e8622c);
}
.cafe__wave {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background:
    radial-gradient(60% 40% at 30% 0, transparent 60%, #2d6f88 61%) ,
    #2d6f88;
  opacity: .9;
  clip-path: polygon(0 30%, 15% 18%, 32% 30%, 50% 16%, 68% 30%, 85% 18%, 100% 28%, 100% 100%, 0 100%);
}

/* Bygg */
.bygg {
  position: absolute; inset: 0;
  background: #e7e4dc;
  color: #1c1c1c;
  padding: 6%;
  display: flex; flex-direction: column; gap: 6%;
  font-family: var(--f-body);
}
.bygg__nav { display: flex; justify-content: space-between; align-items: center; font-size: clamp(.6rem, .9vw, .8rem); }
.bygg__nav b { font-family: var(--f-display); font-weight: 900; letter-spacing: .04em; }
.bygg__nav span { background: #f2c230; padding: .45em .9em; font-weight: 600; }
.bygg__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1rem, 2vw, 1.8rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 16ch; }
.bygg__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; flex: 1; }
.bygg__grid span:nth-child(1) { background: linear-gradient(135deg, #b7a98f, #8b7a5e); }
.bygg__grid span:nth-child(2) { background: #2b2b2b; }
.bygg__grid span:nth-child(3) { background: #f2c230; }

/* Fårö */
.faro {
  position: absolute; inset: 0;
  background: linear-gradient(#cfe0e6 0 58%, #4e7b8c 58% 100%);
  color: #10262e;
  padding: 6%;
  font-family: var(--f-body);
}
.faro__nav b { font-family: Georgia, serif; font-size: clamp(.8rem, 1.2vw, 1rem); }
.faro__rauk {
  position: absolute; right: 14%; bottom: 36%;
  width: 18%; height: 42%;
  background: #8c8577;
  clip-path: polygon(30% 0, 60% 4%, 70% 30%, 62% 52%, 90% 100%, 0 100%, 14% 60%, 20% 30%);
}
.faro__title { position: absolute; left: 6%; bottom: 14%; max-width: 13ch; font-family: Georgia, serif; font-size: clamp(1rem, 2vw, 1.7rem); line-height: 1.05; color: #f4f1e6; }
.faro__btn { position: absolute; right: 6%; bottom: 14%; background: #f4f1e6; color: #10262e; padding: .5em 1em; border-radius: 4px; font-size: clamp(.6rem, .9vw, .8rem); font-weight: 600; }

@media (max-width: 860px) {
  .concepts__grid { grid-template-columns: 1fr; }
  .mock--cafe { grid-row: auto; }
  .mock--cafe .mock__screen { height: auto; aspect-ratio: 16 / 11; min-height: 0; }
}

/* =========================================================
   Priser
   ========================================================= */
.pricing {
  background: var(--lav);
  color: var(--ink);
  padding: clamp(100px, 16vh, 200px) var(--gutter);
}
.pricing__head { margin-bottom: clamp(40px, 7vh, 80px); }
.pricing__head p { margin-top: 18px; max-width: 40ch; }

.plans {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.15fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.plan {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column;
  position: relative;
}
.plan__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -0.02em; }
.plan__for { margin-top: 6px; opacity: .75; }
.plan__price {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: clamp(24px, 4vh, 44px) 0;
}
.plan__price span { font-size: .35em; font-weight: 600; letter-spacing: 0; }
.plan ul { display: grid; gap: 10px; margin-bottom: 36px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before {
  content: "";
  position: absolute; left: 2px; top: .55em;
  width: 9px; height: 9px;
  background: currentColor;
  transform: rotate(45deg);
}
.plan .btn { margin-top: auto; }

.plan--uf { border-style: dashed; }
.plan--premium {
  background: var(--ink);
  color: var(--lav);
  border-color: var(--ink);
  transform: translateY(-16px);
}
.plan--premium li::before { background: var(--signal); }
.plan__badge {
  position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px);
  font-size: .82rem;
  font-weight: 600;
  background: var(--signal);
  color: #fff;
  padding: .35em .9em;
  border-radius: 999px;
}

@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; }
  .plan--premium { transform: none; order: -1; }
}

/* =========================================================
   Team
   ========================================================= */
.team { padding: clamp(100px, 16vh, 200px) var(--gutter); }
.team__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px 60px;
  align-items: end;
  margin-bottom: clamp(40px, 7vh, 80px);
}
.team__head p { color: var(--lav-soft); max-width: 40ch; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.person { margin: 0; }
.person:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
.person__img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy);
}
.person__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(1.05);
  transition: filter .7s var(--ease), transform 1.2s var(--ease);
}
/* Blå duoton: navy i skuggor, lavendel i högdagrar */
.person__img::before,
.person__img::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  transition: opacity .7s var(--ease);
}
.person__img::before { background: var(--lav); mix-blend-mode: multiply; }
.person__img::after { background: var(--navy-2); mix-blend-mode: lighten; }
.person:hover .person__img img { filter: none; transform: scale(1.04); }
.person:hover .person__img::before,
.person:hover .person__img::after { opacity: 0; }

.person figcaption { padding-top: 18px; }
.person h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.02em; }
.person p { color: var(--lav-soft); }

@media (max-width: 860px) {
  .team__head { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; max-width: 440px; }
  .person:nth-child(2) { margin-top: 0; }
}
@media (hover: none) {
  .person__img img { filter: none; }
  .person__img::before, .person__img::after { opacity: 0; }
}

/* =========================================================
   Kontakt
   ========================================================= */
.contact {
  background: var(--lav);
  color: var(--ink);
  padding: clamp(100px, 16vh, 200px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 100px);
  border-radius: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0 0;
}
.contact__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: .98;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
.contact__info > p { max-width: 36ch; }
.contact__list { margin-top: clamp(32px, 5vh, 56px); border-top: 1px solid var(--line-light); }
.contact__list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}
.contact__list span { opacity: .65; }
.contact__list a { font-weight: 600; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-self: start;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, .45);
  border: 1.5px solid var(--line-light);
  border-radius: 12px;
  padding: 14px 16px;
  min-height: 52px;
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: rgba(255, 255, 255, .75);
}
.field [aria-invalid="true"] { border-color: #c0263f; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { font-weight: 600; }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--lav);
  color: var(--ink);
  padding: 0 var(--gutter) 28px;
  overflow: hidden;
}
.footer__top, .footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line-light);
  padding-top: 20px;
  font-size: .92rem;
}
.footer__up { font-weight: 600; }
.footer__word {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 12.6vw;
  line-height: .8;
  letter-spacing: -0.015em;
  text-align: center;
  margin: clamp(24px, 4vh, 48px) 0 clamp(20px, 3vh, 36px);
  white-space: nowrap;
}

/* =========================================================
   Minskad rörelse
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Effekter
   ========================================================= */

/* Filmkorn */
.grain {
  position: fixed; inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .07;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(4%, -8%); }
  60% { transform: translate(-8%, -3%); }
  80% { transform: translate(7%, 6%); }
  100% { transform: translate(0, 0); }
}

/* Egen muspekare */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0;
  z-index: 200;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .3s;
}
.has-cursor .cursor, .has-cursor .cursor-ring { opacity: 1; }
.cursor { width: 6px; height: 6px; background: #fff; }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid #fff;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), background .3s, opacity .3s;
}
.cursor-ring span {
  font: 600 .8rem/1 var(--f-body);
  color: #000;
  opacity: 0;
  transition: opacity .2s;
}
.cursor-ring.is-link { width: 64px; height: 64px; }
.cursor-ring.is-label { width: 92px; height: 92px; background: #fff; }
.cursor-ring.is-label span { opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .hero__canvas { cursor: none !important; }

/* Rubriker: bokstäver */
.word {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: top;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.ch { display: inline-block; will-change: transform; }

/* Hero-rader rör sig med musen */
.hero__title .line { will-change: transform; }

/* Koncept: glans när man håller över */
.mock { will-change: transform; }
.mock__screen::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .35), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
}
.mock:hover .mock__screen::after { opacity: 1; }

/* Priser: ljuskägla */
.plan { overflow: hidden; isolation: isolate; }
.plan::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(110, 123, 255, .28), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.plan:hover::after { opacity: 1; }
.plan__price { font-variant-numeric: tabular-nums; }

/* Process: förloppslinje */
.process__progress {
  margin: clamp(32px, 5vh, 56px) var(--gutter) 0;
  height: 3px;
  background: rgba(7, 20, 54, .12);
  border-radius: 3px;
  overflow: hidden;
}
.process__progress span {
  display: block; height: 100%;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(0);
}
@media (max-width: 899px) { .process__progress { display: none; } }

/* Menylänkar: stabil bredd när bokstäverna blandas */
.nav__links a { display: inline-block; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}

/* =========================================================
   Bakgrunder: rymd, glöd, rutnät och ringar
   ========================================================= */

/* Romber som svävar bakom de mörka sektionerna */
.stars {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}

.statement, .included, .process, .concepts, .pricing, .team, .contact {
  position: relative;
  isolation: isolate;
}

.fx {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* Mjuka övergångar mellan sektionerna */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
/* Rutnät som tonar ut mot kanterna */
.fx::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(213, 215, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(213, 215, 255, .07) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at var(--grid-x, 50%) var(--grid-y, 40%), #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at var(--grid-x, 50%) var(--grid-y, 40%), #000 10%, transparent 75%);
}
.fx--light::before {
  background-image:
    linear-gradient(to right, rgba(7, 20, 54, .075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(7, 20, 54, .075) 1px, transparent 1px);
}

/* Glöd */
.orb {
  position: absolute;
  width: 62vmax; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 123, 255, .34), rgba(110, 123, 255, 0) 62%);
  animation: drift 24s ease-in-out infinite alternate;
  will-change: transform;
}
.orb--b {
  width: 48vmax;
  background: radial-gradient(circle, rgba(76, 201, 255, .16), rgba(76, 201, 255, 0) 62%);
  animation-duration: 31s;
  animation-direction: alternate-reverse;
}
.fx--light .orb--a { background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 60%); }
.fx--light .orb--b { background: radial-gradient(circle, rgba(110, 123, 255, .42), rgba(110, 123, 255, 0) 62%); }

@keyframes drift {
  0%   { translate: 0 0; }
  50%  { translate: 6vw -5vh; }
  100% { translate: -4vw 6vh; }
}

/* Omloppsring, samma idé som ringen runt globen */
.fx__ring {
  position: absolute;
  width: 90vmax; aspect-ratio: 1;
  border: 1px solid rgba(213, 215, 255, .14);
  border-radius: 50%;
  transform: rotateX(72deg) rotateZ(-18deg);
  animation: orbit 60s linear infinite;
}
.fx__ring::after {
  content: "";
  position: absolute; top: 50%; left: -5px;
  width: 9px; height: 9px;
  background: var(--signal);
  transform: rotate(45deg);
  box-shadow: 0 0 18px 4px rgba(110, 123, 255, .6);
}
.fx--light .fx__ring { border-color: rgba(7, 20, 54, .13); }
@keyframes orbit { to { rotate: 360deg; } }

/* Placering per sektion, så att inget ser kopierat ut */
.fx--statement { --grid-x: 80%; --grid-y: 50%; }
.fx--statement .orb--a { right: -22vmax; top: -10vmax; }
.fx--statement .orb--b { left: -18vmax; bottom: -26vmax; }
.fx--statement .fx__ring { right: -50vmax; top: 10%; }

.fx--included { --grid-x: 20%; --grid-y: 30%; }
.fx--included .orb--a { left: -26vmax; top: 10%; }
.fx--included .orb--b { right: -20vmax; bottom: -10vmax; }

.fx--process { --grid-x: 50%; --grid-y: 60%; }
.fx--process .orb--a { left: 10%; top: -30vmax; }
.fx--process .orb--b { right: -10vmax; bottom: -24vmax; }
.fx--process .fx__ring { left: -30vmax; top: 20%; }

.fx--concepts { --grid-x: 50%; --grid-y: 20%; }
.fx--concepts .orb--a { left: 20%; top: -24vmax; }
.fx--concepts .orb--b { left: -20vmax; bottom: -20vmax; }
.fx--concepts .fx__ring { left: 10%; bottom: -60vmax; }

.fx--pricing { --grid-x: 70%; --grid-y: 30%; }
.fx--pricing .orb--a { right: -16vmax; top: -18vmax; }
.fx--pricing .orb--b { left: -12vmax; bottom: -22vmax; }
.fx--pricing .fx__ring { right: -40vmax; top: -30vmax; }

.fx--team { --grid-x: 30%; --grid-y: 70%; }
.fx--team .orb--a { right: -20vmax; top: 30%; }
.fx--team .orb--b { left: -16vmax; top: -16vmax; }

.fx--contact { --grid-x: 25%; --grid-y: 40%; }
.fx--contact .orb--a { left: -14vmax; top: -14vmax; }
.fx--contact .orb--b { right: -12vmax; bottom: -20vmax; }
.fx--contact .fx__ring { right: -46vmax; bottom: -50vmax; }

@media (prefers-reduced-motion: reduce) {
  .orb, .fx__ring { animation: none; }
}
