:root {
  --navy: #00296A;
  --navy-deep: #001B47;
  --pink: #FC2971;
  --paper: #FFFFFF;
  --muted: rgba(255, 255, 255, .62);
  --hairline: rgba(255, 255, 255, .16);
  --surface: rgba(255, 255, 255, .05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  background-image: radial-gradient(120% 90% at 50% 0%, #073585 0%, var(--navy) 45%, var(--navy-deep) 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: "Schibsted Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

section {
  padding: 72px 0;
  scroll-margin-top: 92px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 27, 71, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  flex: none;
}

.logo {
  width: clamp(168px, 20vw, 228px);
  height: auto;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.menu a {
  color: var(--paper);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.menu a:hover,
.menu a:focus-visible,
.menu a.active {
  color: var(--pink);
}

.menu a.menu-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--pink);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(252, 41, 113, .3);
}

.menu a.menu-cta:hover,
.menu a.menu-cta:focus-visible {
  color: var(--paper);
  background: #E21F63;
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
  min-height: min(640px, calc(100svh - 220px));
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--pink);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
}

p {
  margin: 0;
  font-size: clamp(.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero-copy > p {
  max-width: 40ch;
  font-size: clamp(1rem, 2.4vw, 1.1875rem);
}

.hero-copy .stores {
  justify-content: flex-start;
  margin-top: 32px;
}

.copy {
  max-width: 30ch;
}

.lead {
  max-width: 56ch;
}

.eyebrow {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
  font-weight: 500;
}

.inline-link {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--pink);
  padding-bottom: 1px;
  transition: color .2s ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--pink);
}

/* ---------- Page hero (undersidor) ---------- */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 0 24px;
}

.page-hero > p {
  max-width: 52ch;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
}

.page-hero .eyebrow {
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.btn-pink {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--paper);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: 0 10px 30px rgba(252, 41, 113, .35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-pink:hover,
.btn-pink:focus-visible {
  background: #E21F63;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(252, 41, 113, .45);
}

/* ---------- Phone mockup ---------- */
.hero-phone {
  position: relative;
}

.phone {
  position: relative;
  width: min(292px, 80vw);
  aspect-ratio: 9 / 19;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #14264E, #060F26);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 90px rgba(252, 41, 113, .13);
}

.phone::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 21px;
  border-radius: 999px;
  background: #060F26;
  z-index: 2;
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #F3F5FA;
  color: #10224E;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 12px 13px 14px;
  font-size: 13px;
  line-height: 1.35;
}

.screen p,
.screen span,
.screen strong {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.p-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 8px 0;
  font-size: 12px;
  font-weight: 700;
}

.p-status .p-dots {
  font-size: 8px;
  letter-spacing: 3px;
  opacity: .8;
}

.p-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 0;
}

.p-hi {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.p-sub {
  display: block;
  font-size: 11.5px;
  color: #66719B;
}

.p-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}

.p-card {
  background: linear-gradient(135deg, #00296A, #0A47B1);
  color: #fff;
  border-radius: 18px;
  padding: 14px 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 24px rgba(0, 41, 106, .28);
}

.p-card .p-card-label {
  color: rgba(255, 255, 255, .72);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.p-card .p-card-sum {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.p-card .p-card-note {
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
}

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

.p-stat {
  background: #fff;
  border-radius: 14px;
  padding: 9px 4px 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(16, 34, 78, .06);
}

.p-stat strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.p-stat span {
  font-size: 10.5px;
  color: #66719B;
}

.p-section {
  padding: 2px 2px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #66719B;
}

.p-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-product {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: 0 2px 8px rgba(16, 34, 78, .06);
}

.p-thumb {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}

.p-thumb.t1 { background: #FFE1EC; }
.p-thumb.t2 { background: #E5EDFF; }
.p-thumb.t3 { background: #FFF3D6; }

.p-product strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.p-product .p-price {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pink);
}

.p-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 9px 6px;
  box-shadow: 0 2px 10px rgba(16, 34, 78, .08);
}

.p-tabbar span {
  font-size: 17px;
  opacity: .45;
}

.p-tabbar span:first-child {
  opacity: 1;
}

.p-toast {
  position: absolute;
  left: -34px;
  bottom: 118px;
  z-index: 3;
  background: #fff;
  color: #10224E;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.p-toast strong {
  color: var(--pink);
  font-weight: 700;
}

/* ---------- Store buttons ---------- */
.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 16px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: var(--paper);
  text-decoration: none;
  text-align: left;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.store:hover,
.store:focus-visible {
  background: rgba(255, 255, 255, .11);
  border-color: var(--pink);
  transform: translateY(-1px);
}

.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.store strong {
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.step {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface);
  padding: 26px 24px 28px;
}

.step-no {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--pink);
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.step p {
  font-size: .9375rem;
}

/* ---------- Bonushjul ---------- */
.wheel-section {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.wheel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
}

.wheel-stage {
  position: relative;
  width: min(340px, 72vw);
  aspect-ratio: 1;
  margin: 0 auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .35));
}

.wheel-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#wheel-face {
  transform: rotate(0deg);
}

.spin-btn {
  appearance: none;
  border: 0;
  margin-top: 26px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--paper);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(252, 41, 113, .35);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.spin-btn:hover:not(:disabled),
.spin-btn:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(252, 41, 113, .45);
}

.spin-btn:disabled {
  opacity: .5;
  cursor: default;
}

.spin-result {
  margin-top: 16px;
  min-height: 1.5em;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--paper);
}

.wheel-cta {
  text-align: center;
}

/* ---------- Riktigt jobb / facts ---------- */
.job-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  margin-top: 44px;
}

.job-facts {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.fact {
  border-left: 2px solid var(--pink);
  padding: 4px 0 4px 18px;
}

.fact strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}

.fact p {
  font-size: .9375rem;
}

/* ---------- Payslip (räkneexempel) ---------- */
.payslip {
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--surface);
  padding: 26px 26px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.payslip-eyebrow {
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 500;
  margin: 0 0 8px;
}

.payslip-title {
  margin: 0 0 18px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--paper);
}

.payslip-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
}

.payslip-row span:first-child {
  font-size: .9375rem;
  color: var(--muted);
}

.payslip-row span:last-child {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--paper);
  white-space: nowrap;
}

.payslip-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
}

.payslip-total span:first-child {
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
}

.payslip-total span:last-child {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--pink);
  white-space: nowrap;
}

.section-footnote {
  margin-top: 40px;
  font-size: .9375rem;
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 40px;
  border-top: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 2px;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover,
.faq-item[open] summary {
  color: var(--pink);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease;
}

.faq-item[open] summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.faq-answer {
  margin: -2px 0 24px;
  padding-right: 40px;
  max-width: 68ch;
  font-size: .9375rem;
}

/* ---------- Final CTA ---------- */
.cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-bottom: 96px;
}

/* ---------- Footer ---------- */
footer {
  padding: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

footer a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--pink);
  padding-bottom: 2px;
  transition: color .2s ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--pink);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    min-height: 0;
    text-align: center;
  }

  .hero-copy > p {
    margin: 0 auto;
  }

  .hero-copy .stores {
    justify-content: center;
  }

  .hero-phone {
    display: flex;
    justify-content: center;
  }

  .p-toast {
    left: -12px;
  }
}

@media (max-width: 820px) {
  .menu a {
    font-size: .9375rem;
  }

  .menu a.menu-optional {
    display: none;
  }

  .logo {
    width: clamp(150px, 19vw, 190px);
  }

  .wheel-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .wheel-grid .copy {
    max-width: none;
    margin: 0 auto;
  }

  .job-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .payslip {
    max-width: 460px;
  }
}

@media (max-width: 680px) {
  .faq-item summary {
    font-size: 1rem;
    gap: 16px;
  }

  .faq-answer {
    padding-right: 0;
  }


  section {
    padding: 56px 0;
  }

  .nav-inner {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .logo {
    width: clamp(150px, 42vw, 190px);
  }

  .menu a:not(.menu-cta) {
    display: none;
  }

  .menu a.menu-cta {
    font-size: .9375rem;
    padding: 9px 18px;
  }

  .phone {
    width: min(272px, 78vw);
  }

  .steps,
  .facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
