/* Scoped "Hitta rätt start" glass – only foretag hero + dashboard welcome. */
#hero.hero-landing--foretag.hero-landing--foretag-start::before,
.page-hero-foretag.hero-landing--foretag-start::before {
  background-image: url('/images/foretag-hero-hdh-back.jpg?v=20260916');
  background-position: 72% 36%;
  -webkit-filter: grayscale(8%) contrast(1.06) brightness(0.84);
  filter: grayscale(8%) contrast(1.06) brightness(0.84);
}

@media (prefers-reduced-motion: reduce) {
  #hero.hero-landing--foretag.hero-landing--foretag-start::before,
  .page-hero-foretag.hero-landing--foretag-start::before {
    background-image: url('/images/foretag-hero-hdh-back.jpg?v=20260916');
  }
}

#hero.hero-landing--foretag-start {
  height: auto;
  min-height: 0;
  justify-content: flex-start;
  padding: 28px 20px 36px;
}

#hero.hero-landing--foretag-start > .max-w-4xl {
  max-width: 52rem;
}

#hero.hero-landing--foretag-start .hero-logo-wrap {
  width: 112px;
  max-width: 112px;
  margin-bottom: 16px;
}

#hero.hero-landing--foretag-start .hero-lead {
  margin-bottom: 16px !important;
}

#hero.hero-landing--foretag-start .hero-lead h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.9rem) !important;
  gap: 0.12em;
}

#hero.hero-landing--foretag-start .hero-lead .hero-lead-sub {
  margin-top: 12px !important;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem) !important;
  max-width: 36rem;
}

.company-landing-hero__eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem !important;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cfe3d6;
}

.company-start-glass {
  width: min(100%, 52rem);
  margin: 4px auto 0;
  text-align: left;
}

.company-start-glass__inner {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(12, 18, 16, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f4f7f5;
}

@supports (backdrop-filter: blur(16px)) {
  .company-start-glass__inner {
    background: rgba(12, 18, 16, 0.56);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.company-start-glass__eyebrow {
  margin: 0 0 4px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4ddce;
}

.company-start-glass__inner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 750;
  line-height: 1.2;
}

.company-start-glass__lead {
  margin: 8px 0 18px;
  color: #d7e0db;
  font-size: 14px;
  line-height: 1.5;
}

.company-start-glass__form {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: end;
}

.company-start-glass__form label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #eef4f0;
  font-size: 13px;
  font-weight: 650;
}

.company-start-glass__form label span {
  letter-spacing: 0.01em;
}

.company-start-glass__form select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #d5ddd8;
  border-radius: 11px;
  background: #fff;
  color: #16231e;
  font-size: 16px;
  line-height: 1.2;
}

.company-start-glass__form select:focus-visible,
.company-start-glass__submit:focus-visible,
.company-start-glass__alt:focus-visible,
.company-start-glass__login:focus-visible {
  outline: 2px solid #c4ddce;
  outline-offset: 2px;
}

.company-start-glass__submit {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: #2f6b4f;
  color: #f4faf6;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.company-start-glass__submit:hover {
  background: #3a7d5d;
}

.company-start-glass__hint {
  grid-column: 1 / -1;
  min-height: 1.25em;
  margin: 2px 0 0;
  color: #c9d6ce;
  font-size: 0.8rem;
  line-height: 1.4;
}

.company-start-glass__hint:empty {
  display: none;
}

.company-start-glass__trust {
  margin: 10px 0 0;
  color: #d5ddd8;
  font-size: 0.78rem;
  line-height: 1.45;
}

.company-start-glass__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: #dce6e0;
  font-size: 0.75rem;
}

.company-start-glass__benefits li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.company-start-glass__benefits li::before {
  content: "✓";
  color: #9dccb0;
  font-weight: 700;
}

.company-start-glass__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin: 12px 0 0;
}

.company-start-glass__alt,
.company-start-glass__login {
  color: rgba(244, 247, 245, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-start-glass__alt:hover,
.company-start-glass__login:hover {
  color: #fff;
}

.company-start-welcome {
  margin: 12px 16px 0;
  padding: 16px 18px;
  border: 1px solid #d7e3db;
  border-radius: 14px;
  background: #f4f8f5;
  color: #163024;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
}

.company-start-welcome h2 {
  margin: 4px 0;
  font-size: 1.15rem;
}

.company-start-welcome p {
  margin: 0;
  color: #3b5348;
}

.company-start-welcome__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2f6b4f;
}

.company-start-welcome__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.company-start-welcome__actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  background: #2f6b4f;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.company-start-welcome__actions button {
  border: 0;
  background: transparent;
  color: #3b5348;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .company-start-glass__form {
    grid-template-columns: 1fr 1fr;
  }
  .company-start-glass__submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  #hero.hero-landing--foretag.hero-landing--foretag-start::before,
  .page-hero-foretag.hero-landing--foretag-start::before {
    background-position: 78% 30%;
  }
  #hero.hero-landing--foretag-start {
    padding: 18px 12px 24px;
    justify-content: flex-start;
  }
  #hero.hero-landing--foretag-start .hero-logo-wrap {
    width: 80px;
    max-width: 80px;
    margin-bottom: 12px;
  }
  #hero.hero-landing--foretag-start .hero-lead {
    margin-bottom: 12px !important;
  }
  #hero.hero-landing--foretag-start .hero-lead h1 {
    font-size: clamp(1.55rem, 7vw, 1.95rem) !important;
  }
  .company-start-glass__inner {
    padding: 18px;
    border-radius: 18px;
  }
  .company-start-glass__form {
    grid-template-columns: 1fr;
  }
  .company-start-glass__form select,
  .company-start-glass__submit {
    width: 100%;
    min-height: 48px;
  }
  .company-start-glass__benefits {
    display: none;
  }
  .company-start-glass__links {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-start-glass__submit {
    transition: none;
  }
}
