/* Saga Rekrytering, demosajt. En gemensam stil för alla sidor. */
@font-face { font-family: "Eloquia Display"; src: url("https://sagarekrytering.se/wp-content/uploads/2025/09/eloquia-display-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Eloquia Display"; src: url("https://sagarekrytering.se/wp-content/uploads/2025/09/eloquia-display-semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Eloquia Display"; src: url("https://sagarekrytering.se/wp-content/uploads/2025/09/eloquia-display-extrabold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root { --g: #01755F; --mint: #F1FAEF; --y: #FFE261; --dark: #12352C; --beige: #FAF7EF; } /* --beige: samma ton som sagarekrytering.se (Elementor global color 4aed507) */
* { box-sizing: border-box; }
/* Mjuk scroll bara när man klickar inom sidan, aldrig när en ny sida laddas */
html.ready { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--dark); font-family: Inter, system-ui, sans-serif; line-height: 1.6; }
h1, h2, h3 { font-family: "Eloquia Display", Inter, sans-serif; color: var(--dark); }
a { color: var(--g); }
img { max-width: 100%; }
section { position: relative; }
.inner { max-width: 1140px; margin: 0 auto; }
.small { font-size: .86rem; color: #3E5650; }

/* Saknade uppgifter: liten gul markering */
.ask { background: #FFF4C9; border: 1px dashed #C9A72A; padding: 0 5px; border-radius: 4px; font-weight: 600; font-size: .82em; color: #1F1D1A; }

/* ===== Sidhuvud och meny ===== */
/* Sidhuvudet följer med när man skrollar */
html { scroll-padding-top: 96px; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(241,250,239,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: box-shadow .2s ease; }
.top.scrolled { box-shadow: 0 4px 18px rgba(18,53,44,.10); border-bottom: 1px solid #E1EEDD; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 28px; max-width: 1140px; margin: 0 auto; }
.logo img { height: 60px; width: auto; display: block; transition: height .2s ease; }
.top.scrolled .logo img { height: 48px; }
/* Tre val i sidhuvudet (startsidan) */
.hchoices { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.hchoices a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; border: 2px solid var(--g); background: #fff; color: var(--g); font-weight: 700; font-size: .86rem; text-decoration: none; white-space: nowrap; transition: transform .2s ease; }
.hchoices a:hover { transform: translateY(-2px); }
.hchoices a.c-partner { background: var(--g); color: #fff; }
.hero .choices.m-only { display: none; }
@media (max-width: 900px) {
  .hchoices { display: none; }
  .hero .choices.m-only { display: flex; }
}
.dd { position: relative; }
button.burger { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--g); cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; box-shadow: 0 4px 12px rgba(1,117,95,.25); }
button.burger span { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.dd.open button.burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.dd.open button.burger span:nth-child(2) { opacity: 0; }
.dd.open button.burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.panel { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid #DDEBDA; border-radius: 14px; box-shadow: 0 14px 30px rgba(18,53,44,.18); width: 260px; padding: 8px; z-index: 60; }
.dd.open .panel { display: block; }
@media (hover: hover) { .dd:hover .panel { display: block; } }
.panel::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.panel a, .panel .grp { display: block; padding: 9px 12px; border-radius: 8px; color: var(--dark); text-decoration: none; font-size: .92rem; font-weight: 500; }
.panel a:hover, .panel a:focus { background: var(--mint); color: var(--g); }
.panel .grp { font-weight: 700; color: var(--g); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 2px; }
.panel .sub a { padding-left: 24px; }
.panel hr { border: 0; border-top: 1px solid #E6EFE4; margin: 6px 0; }
.panel a.hot { background: var(--y); font-weight: 700; }
.panel a.cur { background: var(--mint); color: var(--g); font-weight: 700; }
.panel a.hot.cur { background: var(--y); color: var(--dark); }

/* ===== Stor topp med bok och penna ===== */
.hero { position: relative; min-height: 500px; background-color: var(--mint); overflow: hidden; display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; background-image: url("media/book-sparkles.png"); background-repeat: no-repeat; background-size: auto 92%; background-position: right -40px center; }
.hero-pen { position: absolute; right: 6%; top: 10%; width: 300px; max-width: 45%; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-3deg); } }
.hero-ov { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(241,250,239,.97) 0%, rgba(241,250,239,.92) 42%, rgba(241,250,239,.35) 70%, rgba(241,250,239,0) 100%); }
.hero-wrap { position: relative; z-index: 2; flex: 1; display: flex; width: 100%; max-width: 1140px; margin: 0 auto; }
.hero-in { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 10px 28px 48px; max-width: 640px; }
.hero-in h1 { font-size: 3rem; font-weight: 800; line-height: 1.05; margin: 0 0 16px; }
.hero.sub .hero-in h1 { font-size: 2.6rem; line-height: 1.08; }
.hl { background: var(--y); border-radius: 10px; padding: 0 8px; }
.hero-in p { margin: 0 0 22px; font-size: 1.05rem; color: #2E4A42; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g); margin-bottom: 10px; }
.crumb { font-size: .8rem; color: #3E5650; margin-bottom: 8px; }
.crumb a { color: var(--g); text-decoration: none; font-weight: 600; }
.uppdrag { margin-top: 18px; font-size: .8rem; color: #3E5650; border-left: 3px solid var(--g); padding: 2px 0 2px 10px; max-width: 520px; }
.hero-note { margin: 14px 0 0; font-size: .95rem; color: #2E4A42; }
.hero-note a { color: var(--g); font-weight: 600; }

/* Mindre topp (Om Saga, Jobbtips, Kontakt) */
.phero { position: relative; background: var(--mint); overflow: hidden; }
.phero .hero-pen { width: 190px; top: 8%; right: 5%; opacity: .9; }
.phero-in { position: relative; z-index: 2; padding: 6px 28px 44px; max-width: 1140px; margin: 0 auto; }
.phero-in > * { max-width: 640px; }
.phero-in h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.08; margin: 0 0 14px; }
.phero-in p { margin: 0 0 18px; font-size: 1.02rem; color: #2E4A42; }

/* ===== Knappar ===== */
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; text-align: center; border: 0; cursor: pointer; font-family: Inter, sans-serif; }
.bp { background: var(--g); color: #fff; } .bs { background: #fff; color: var(--g); border: 2px solid var(--g); }
.by { background: var(--y); color: var(--dark); font-weight: 700; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; text-decoration: none; border: 2px solid var(--g); background: #fff; transition: transform .2s ease; }
.choice:hover { transform: translateY(-2px); }
.choice .c-k { font-weight: 700; font-size: 16px; color: var(--g); }
.choice .c-a { font-size: 16px; color: var(--g); }
.choice.c-partner { background: var(--g); } .choice.c-partner .c-k, .choice.c-partner .c-a { color: #fff; }

/* ===== Logotyper ===== */
.logos { padding: 22px 0; overflow: hidden; border-bottom: 1px solid #E6EFE4; }
.logos .t { text-align: center; font-weight: 600; font-size: .88rem; margin-bottom: 10px; }
.track { display: flex; gap: 50px; width: max-content; animation: slide 24s linear infinite; align-items: center; }
.track img { height: 32px; width: auto; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Sektioner ===== */
.sec { padding: 52px 28px; }
.sec > .inner, .pbig > .inner { max-width: 1084px; }
.sec.mint { background: var(--mint); }
.sec.beige { background: var(--beige); }
.sec h2 { font-size: 1.8rem; font-weight: 800; margin: 0 0 18px; line-height: 1.15; }
.intro { max-width: 680px; margin: -6px 0 22px; color: #2E4A42; }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.two.atop { grid-template-columns: 1.1fr 1fr; align-items: start; }
.two img { width: 100%; border-radius: 16px; display: block; aspect-ratio: 4/3; object-fit: cover; background: var(--mint); }
.two p { margin: 0 0 12px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.how.four { grid-template-columns: repeat(4, 1fr); }
.hw { background: #fff; border: 1px solid #DDEBDA; border-radius: 14px; padding: 18px; }
.hw .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--y); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--dark); margin-bottom: 10px; font-family: "Eloquia Display", Inter, sans-serif; transition: transform .5s ease .2s; }
.how .hw.reveal:not(.in) .ic { transform: scale(.6); }
.hw h3 { margin: 0 0 6px; font-size: 1.05rem; }
.hw p { margin: 0; font-size: .9rem; color: #3E5650; }
.get .hw .ic { background: var(--mint); color: var(--g); border: 1px solid #CFE6CB; }
.get .hw:nth-child(-n+2) { border-color: var(--g); }

/* Grön stor ruta */
.pbig { background: var(--g); color: #fff; padding: 56px 28px; }
.pbig h2 { color: #fff; font-size: 2rem; margin: 0 0 14px; line-height: 1.15; }
.pbig .intro, .pbig p { color: #E3F2EA; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.pc { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 14px; padding: 18px; }
.pc h3 { color: var(--y); margin: 0 0 6px; font-size: 1.05rem; }
.pc p { margin: 0; font-size: .9rem; color: #E3F2EA; }
.pcta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pcta small { color: #E3F2EA; font-size: .85rem; }
.steps-box { margin-top: 26px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); border-radius: 14px; padding: 18px 20px; }
.steps-box h3 { color: var(--y); margin: 0 0 8px; font-size: 1.1rem; }
.steps-box ol { color: #E3F2EA; margin: 0; padding-left: 20px; }
.steps-box li { margin: 6px 0; }

/* Kort */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sv { background: #fff; border: 1px solid #DDEBDA; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; }
.sv h3 { margin: 0 0 8px; font-size: 1.15rem; }
.sv p, .sv li { font-size: .9rem; }
.sv p { margin: 0 0 10px; }
.sv ul, .sv ol { margin: 0 0 12px; padding-left: 20px; }
.sv .more { margin-top: 2px; color: var(--g); font-weight: 600; font-size: .92rem; text-decoration: none; padding-top: 2px; }
.sv.hi { border: 2px solid var(--g); }
.sv .box-in { background: var(--mint); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; }
.sv .box-in h4 { margin: 0 0 4px; font-size: .98rem; font-family: "Eloquia Display", Inter, sans-serif; }
.sv .box-in p { margin: 0; }
.pill { display: inline-block; background: var(--y); color: var(--dark); font-weight: 700; font-size: .75rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; align-self: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: #fff; border: 1px solid #DDEBDA; border-radius: 999px; padding: 6px 12px; font-size: .86rem; }
.gets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gets div { background: #fff; border: 1px solid #DDEBDA; border-radius: 12px; padding: 12px 14px 12px 40px; position: relative; font-size: .92rem; font-weight: 500; }
.gets div::before { content: "\2713"; position: absolute; left: 14px; top: 11px; color: var(--g); font-weight: 800; }
.know { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kn { background: #fff; border: 1px solid #DDEBDA; border-radius: 14px; padding: 18px; }
.kn h3 { margin: 0 0 8px; font-size: 1.1rem; }
.kn ul { margin: 0; padding-left: 18px; font-size: .92rem; }
.kn li { margin: 6px 0; }
.hint { margin-top: 14px; font-size: .92rem; color: #2E4A42; }
.hint a { color: var(--g); font-weight: 600; }
.arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.art { border: 1px solid #DDEBDA; border-radius: 14px; overflow: hidden; background: #fff; text-decoration: none; color: var(--dark); display: block; transition: transform .2s ease; }
.art:hover { transform: translateY(-3px); }
.art img { width: 100%; height: 150px; object-fit: cover; display: block; background: var(--mint); }
.art div { padding: 12px 14px; font-weight: 600; font-size: .95rem; }
.stats, .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat, .fact { background: var(--mint); border: 1px solid #DDEBDA; border-radius: 14px; padding: 16px; font-size: .88rem; }
.fact { background: #fff; }
.stat b, .fact b { display: block; font-family: "Eloquia Display", Inter, sans-serif; font-size: 1.15rem; color: var(--g); margin-bottom: 4px; }
.quote { font-family: "Eloquia Display", Inter, sans-serif; font-size: 1.35rem; line-height: 1.35; font-weight: 600; color: var(--dark); border-left: 5px solid var(--y); padding: 4px 0 4px 16px; margin: 0; max-width: 680px; }
.vs { background: var(--mint); border: 1px solid #DDEBDA; border-radius: 16px; padding: 18px 20px; }
.vs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #DDEBDA; font-size: .9rem; }
.vs-row:last-child { border-bottom: 0; }
.vs-row b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #5E6E68; margin-bottom: 2px; }
.vs-row .s b { color: var(--g); }
.vs-head { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.krav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; list-style: none; padding: 0; margin: 0 0 14px; }
.krav li { position: relative; padding-left: 30px; font-size: .94rem; margin: 0; }
.krav li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--y); color: var(--dark); font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.af { background: #fff; border: 1px solid #DDEBDA; border-left: 5px solid var(--g); border-radius: 12px; padding: 18px 20px; }
.af h3 { margin: 0 0 6px; font-size: 1.1rem; }
.af p { margin: 0 0 8px; font-size: .94rem; }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Vanliga frågor */
details.faq { background: #fff; border: 1px solid #DDEBDA; border-radius: 10px; margin: 8px 0; max-width: 860px; }
details.faq summary { padding: 12px 14px; font-weight: 600; cursor: pointer; }
details.faq p { margin: 0; padding: 0 14px 12px; font-size: .92rem; }

/* Rusta och matcha, trappsteg */
.rm { position: relative; overflow: hidden; background: var(--mint); }
.rm-pre { text-align: center; font-size: 18px; margin: 0 0 18px; color: #1F1D1A; }
.rm-head { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: nowrap; }
.rm-arrow { width: 150px; height: 75px; flex: none; }
.rm-head h2 { margin: 0; font-size: clamp(22px,3vw,32px); line-height: 1.15; }
.rm-head mark { background: var(--y); color: inherit; padding: 2px 12px; border-radius: 10px; }
.rm-wm { position: absolute; left: 50%; top: 58%; transform: translate(-50%,-50%); font-family: "Eloquia Display", Inter, sans-serif; font-weight: 800; font-size: clamp(70px,13vw,150px); line-height: .95; color: var(--g); opacity: .07; text-align: center; white-space: nowrap; pointer-events: none; user-select: none; }
.rm-pre, .rm-head, .rm-steps, .rm-cta, .rm h2, .rm .intro { position: relative; z-index: 1; }
.rm-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin: 36px auto 0; max-width: 720px; }
.rm-step:nth-child(2) { margin-top: 40px; } .rm-step:nth-child(3) { margin-top: 80px; }
.rm-steps.four { grid-template-columns: repeat(4,1fr); gap: 24px; max-width: 860px; }
.rm-steps.four .rm-step:nth-child(2) { margin-top: 36px; } .rm-steps.four .rm-step:nth-child(3) { margin-top: 72px; } .rm-steps.four .rm-step:nth-child(4) { margin-top: 108px; }
.rm-n { font-family: "Eloquia Display", Inter, sans-serif; font-size: 40px; font-weight: 800; color: var(--g); line-height: 1; margin-bottom: 10px; transition: transform .5s ease .25s; }
.rm-step.reveal:not(.in) .rm-n { transform: translateX(-14px); }
.rm-step h3 { margin: 0 0 6px; font-size: 1.02rem; }
.rm-step p { margin: 0; font-size: 15px; line-height: 1.6; color: #2a2a2a; max-width: 230px; }
.rm-cta { text-align: center; margin-top: 34px; }
.rm-cta a.plain { display: inline-block; background: var(--y); color: #1F1D1A; font-weight: 700; padding: 13px 26px; border-radius: 8px; text-decoration: none; }

/* Sekretesspolicy */
.draft { margin-bottom: 20px; }
.toc { background: var(--mint); border: 1px solid #DDEBDA; border-radius: 12px; padding: 14px 18px; font-size: .9rem; margin-bottom: 26px; max-width: 760px; }
.toc ol { margin: 6px 0 0; padding-left: 22px; columns: 2; column-gap: 30px; }
.toc a { color: var(--g); text-decoration: none; }
.pol { max-width: 760px; }
.pol h3 { font-size: 1.2rem; margin: 30px 0 8px; padding-top: 14px; border-top: 1px solid #E6EFE4; scroll-margin-top: 16px; }
.pol h3:first-child { border-top: 0; }
.pol p, .pol li { font-size: .94rem; }
.pol p { margin: 0 0 10px; }
.pol .tw { overflow-x: auto; margin: 8px 0 14px; }
.pol table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 520px; }
.pol th, .pol td { text-align: left; padding: 7px 8px; border-bottom: 1px solid #E6EFE4; vertical-align: top; }
.pol th { background: var(--mint); }

/* Formulär (demo, skickar inget) */
.form { background: #fff; border: 1px solid #DDEBDA; border-radius: 16px; padding: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 760px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; font-weight: 600; color: var(--dark); }
.form input, .form select, .form textarea { font: 400 .95rem Inter, sans-serif; padding: 11px 12px; border: 1px solid #C9DCC6; border-radius: 10px; background: #FBFDFB; color: var(--dark); width: 100%; }
.form input[type=file] { padding: 8px; }
.form textarea { min-height: 90px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form .chk { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; }
.form .chk input { width: auto; margin-top: 4px; }
.form .done { display: none; background: var(--mint); border-left: 4px solid var(--g); padding: 10px 12px; border-radius: 8px; font-size: .92rem; }
.form.sent .done { display: block; }

/* Kontaktremsa */
.contact { background: var(--mint); border-top: 4px solid var(--y); }
.cgrid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: center; font-size: .94rem; }
.cgrid b { display: block; color: var(--g); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.cgrid a { color: var(--dark); }
.cbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.cextra { margin: 16px 0 0; font-size: .94rem; }
.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.ccards.two-c { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.ccard { background: var(--mint); border: 1px solid #DDEBDA; border-radius: 14px; padding: 16px; font-size: .95rem; }
.ccard b { display: block; color: var(--g); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.ccard a { color: var(--dark); font-weight: 600; }

/* Sidfot */
.foot { background: var(--dark); color: #DCEBE3; padding: 30px 28px 20px; font-size: .86rem; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.foot h4 { margin: 0 0 8px; color: #fff; font-family: "Eloquia Display", Inter, sans-serif; }
.foot p { margin: 0 0 4px; } .foot a { color: #DCEBE3; }
.foot .soc { display: flex; flex-direction: column; gap: 4px; }
.foot .soc a { font-weight: 600; }
/* Jobbtips, hela artiklar */
.tiplist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 22px; max-width: 900px; }
.tiplist a { color: var(--g); font-weight: 600; text-decoration: none; }
.tip { max-width: 780px; border-top: 1px solid #E6EFE4; padding-top: 26px; margin-top: 30px; scroll-margin-top: 96px; }
.tip img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 16px; display: block; background: var(--mint); margin-bottom: 16px; }
.tip h2 { font-size: 1.55rem; margin: 0 0 12px; }
.tip h3 { font-size: 1.1rem; margin: 20px 0 6px; }
.tip p, .tip li { font-size: .96rem; }
.tip p { margin: 0 0 10px; }
.tip ul, .tip ol { margin: 0 0 12px; padding-left: 22px; }
.tip .src { font-size: .82rem; color: #5E6E68; }
.tip .top-link { font-size: .86rem; font-weight: 600; }
.call-or { margin: 10px 0 0; font-size: .98rem; color: #2E4A42; }
.call-or a { color: var(--g); font-weight: 700; }
.legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 14px; padding-top: 10px; font-size: .76rem; }

/* Scroll-animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .track, .hero-pen { animation: none; } }

/* ===== Mobil ===== */
@media (max-width: 700px) {
  .rm-steps, .rm-steps.four { grid-template-columns: 1fr; gap: 22px; }
  .rm-step:nth-child(n), .rm-steps.four .rm-step:nth-child(n) { margin-top: 0; }
  .rm-head { flex-wrap: wrap; }
  .rm-arrow { width: 100px; height: 50px; }
}
@media (max-width: 900px) {
  .how.four, .ccards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav { padding: 10px 16px; }
  .logo img { height: 48px; }
  .top.scrolled .logo img { height: 42px; }
  .tiplist { grid-template-columns: 1fr; }
  .tip h2 { font-size: 1.3rem; }
  .panel { width: min(300px, calc(100vw - 32px)); }
  .hero { min-height: 600px; }
  .hero-bg { background-size: 120% auto; background-position: center bottom 10px; }
  .hero-pen { width: 160px; max-width: 50%; right: 4%; top: auto; bottom: 110px; }
  .hero-ov { background: linear-gradient(180deg, rgba(241,250,239,.97) 0%, rgba(241,250,239,.94) 60%, rgba(241,250,239,.45) 82%, rgba(241,250,239,.15) 100%); }
  .hero-in { padding: 4px 16px 230px; justify-content: flex-start; }
  .hero-in h1, .hero.sub .hero-in h1 { font-size: 2.05rem; }
  .hero-in p { font-size: .97rem; }
  .phero .hero-pen { width: 100px; top: 70px; right: 2%; opacity: .45; }
  .phero-in { padding: 4px 16px 34px; }
  .phero-in h1 { font-size: 1.9rem; }
  .btns .btn, .pcta .btn { flex: 1 1 100%; }
  .choice { flex: 1 1 100%; justify-content: space-between; }
  .sec, .pbig { padding: 36px 16px; }
  .sec h2 { font-size: 1.45rem; }
  .pbig h2 { font-size: 1.6rem; }
  .two, .two.atop, .how, .how.four, .pgrid, .svc, .arts, .stats, .facts, .know, .krav, .gets, .req, .form, .cgrid, .fgrid, .ccards, .ccards.two-c { grid-template-columns: 1fr; }
  .quote { font-size: 1.12rem; }
  .toc ol { columns: 1; }
  .form { padding: 16px; }
  .foot { padding: 24px 16px 90px; }
}

/* ===== Test på startsidan: samma beige bakgrund hela vägen ner ===== */
body.one-tone { background: var(--beige); }
.one-tone .top { background: rgba(250,247,239,.96); }
.one-tone .top.scrolled { border-bottom-color: #ECE5D3; }
.one-tone .hero, .one-tone .sec, .one-tone .sec.mint, .one-tone .rm, .one-tone .contact { background: var(--beige); }
.one-tone .contact { border-top: 0; }
.one-tone .hero-ov { background: linear-gradient(90deg, rgba(250,247,239,.97) 0%, rgba(250,247,239,.92) 42%, rgba(250,247,239,.35) 70%, rgba(250,247,239,0) 100%); }
@media (max-width: 600px) {
  .one-tone .hero-ov { background: linear-gradient(180deg, rgba(250,247,239,.97) 0%, rgba(250,247,239,.94) 60%, rgba(250,247,239,.45) 82%, rgba(250,247,239,.15) 100%); }
}
/* ===== Menyn: grupper som fälls ut (Arbetssökande, Arbetsgivare, Om Saga) ===== */
.panel .mg-t { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 9px 12px; border: 0; background: none; border-radius: 8px; font: 500 .92rem Inter, system-ui, sans-serif; color: var(--dark); cursor: pointer; text-align: left; }
.panel .mg-t:hover, .panel .mg-t:focus-visible { background: var(--mint); color: var(--g); }
.panel .mg-i { color: var(--g); font-size: 1rem; line-height: 1; transition: transform .2s ease; }
.panel .mg.open .mg-i { transform: rotate(90deg); }
.panel .mg-s { display: none; padding: 0 0 4px 12px; }
.panel .mg.open .mg-s { display: block; }
.panel .mg-s a { font-size: .9rem; padding: 7px 12px; }
.panel .mg + .mg, .panel a.hot { margin-top: 2px; }

/* ===== Toppbild: ram så att illustrationen är lätt att byta ===== */
.hero-art { position: absolute; inset: 0; }
.hero-book { position: absolute; right: -40px; top: 4%; height: 92%; aspect-ratio: 1510 / 1024; will-change: transform; }
.hero-book .book-img { width: 100%; height: 100%; display: block; }

/* ===== Glitter: prickar, stjärnor och ringar som rör sig lugnt ===== */
.spark { position: absolute; display: block; transform: translate(-50%, -50%); pointer-events: none; }
.spark.dot { border-radius: 50%; background: #FFD800; aspect-ratio: 1; animation: bob 5.5s ease-in-out infinite; }
.spark.star { aspect-ratio: 1; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 0C54 34 66 46 100 50C66 54 54 66 50 100C46 66 34 54 0 50C34 46 46 34 50 0Z' fill='%23FF7A45'/></svg>") center / contain no-repeat; animation: twinkle 3.8s ease-in-out infinite; }
.spark.ring { border-radius: 50%; border: 2px solid rgba(1,117,95,.28); aspect-ratio: 1; animation: drift 9s ease-in-out infinite; }
.hero-book .s1 { left: 3.8%; top: 29.5%; width: 6.4%; }
.hero-book .d1 { left: 12%; top: 32.8%; width: 4.4%; animation-delay: -1.5s; }
.hero-book .s2 { left: 14.2%; top: 46.9%; width: 4.8%; animation-delay: -2.2s; }
.hero-book .d2 { left: 91.5%; top: 89.5%; width: 2.7%; animation-delay: -3s; }
.hero-book .s3 { left: 97.3%; top: 85.4%; width: 4%; animation-delay: -1s; }
@keyframes twinkle { 0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; } 50% { transform: translate(-50%, -50%) scale(.72) rotate(18deg); opacity: .75; } }
@keyframes bob { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 9px)); } }
@keyframes drift { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(calc(-50% + 8px), calc(-50% - 10px)) scale(1.08); } }

/* Glitter som läggs in med script.js i mindre toppar och Rusta och matcha-delar */
.deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; will-change: transform; }
.deco .p1 { left: 6%; top: 22%; width: 14px; }
.deco .p2 { right: 7%; left: auto; top: 30%; width: 20px; animation-delay: -1.4s; }
.deco .p3 { left: 11%; top: 78%; width: 30px; }
.deco .p4 { left: 88%; top: 80%; width: 10px; animation-delay: -2.6s; }
.phero .deco .p2 { top: 70%; }

/* Startsidan: mindre luft mellan toppen och nästa del */
.one-tone .hero { min-height: 410px; }
.one-tone .hero-in { padding-bottom: 20px; }
.one-tone .rm { padding-top: 18px; }

@media (max-width: 600px) {
  .hero-book { width: 120%; height: auto; left: -10%; right: auto; top: auto; bottom: 10px; }
  .one-tone .hero { min-height: 560px; }
  .one-tone .hero-in { padding-bottom: 220px; }
  .one-tone .rm { padding-top: 10px; }
  .deco .p3 { width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .spark, .spark.dot, .spark.star, .spark.ring { animation: none; }
  .hero-book, .deco { transform: none !important; }
}
/* ===== Illustrationer i toppen på Arbetssökande, Arbetsgivare och Bli partner (bilder\*.svg) ===== */
.hero-art.ill { z-index: 1; pointer-events: none; }
.ill-box { position: absolute; top: 50%; right: max(2%, calc((100% - 1140px) / 2)); width: min(40vw, 480px); aspect-ratio: 600 / 500; transform: translateY(-50%); }
.ill-img { width: 100%; height: 100%; display: block; }
/* Glittret ligger utanför själva bilden */
.ill-box .i1 { left: -7%; top: 22%; width: 5%; }
.ill-box .i2 { left: -3%; top: 70%; width: 3%; animation-delay: -1.8s; }
.ill-box .i3 { left: 34%; top: -6%; width: 6%; }
.ill-box .i4 { left: 72%; top: -4%; width: 2.4%; animation-delay: -3s; }
.ill-box .i5 { left: 60%; top: 105%; width: 4%; animation-delay: -1.2s; }
@media (min-width: 601px) {
  .hero.sub .hero-in { max-width: min(640px, 56%); }
}
@media (max-width: 600px) {
  .ill-box { top: auto; bottom: 22px; right: auto; left: 50%; width: min(76vw, 300px); transform: translateX(-50%); }
  .hero.sub .hero-in { padding-bottom: 290px; }
  .ill-box .i1 { left: -9%; }
  .ill-box .i5 { top: 102%; }
}
/* ===== Runda 4: kompakt meny där allt syns direkt ===== */
.panel { width: 380px; padding: 12px 12px 10px; border-radius: 12px; }
.panel .mcols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.panel .mg { margin: 0 0 8px; }
.panel .mg-h { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g); padding: 2px 8px 3px; }
.panel .mg a { display: block; padding: 4px 8px; font-size: .86rem; font-weight: 500; border-radius: 6px; line-height: 1.35; }
.panel a.hot { display: block; margin-top: 2px; padding: 7px 10px; font-size: .86rem; text-align: center; border-radius: 8px; }
@media (max-width: 600px) {
  .panel { width: min(330px, calc(100vw - 32px)); padding: 10px 8px 8px; }
  .panel .mcols { gap: 0 6px; }
  .panel .mg a { font-size: .84rem; padding: 4px 6px; }
  .panel .mg-h { padding: 2px 6px 3px; }
}

/* ===== Runda 4: ringar och stjärnor samlade i en kant, aldrig över text ===== */
.deco .cl { position: absolute; width: 260px; height: 230px; right: -80px; top: -70px; }
.phero .deco .cl { right: max(3%, calc((100% - 1140px) / 2)); top: 50%; margin-top: -115px; }
.dc { position: absolute; display: block; pointer-events: none; }
.dc.big { left: 40px; top: 10px; width: 200px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(1,117,95,.16); background: radial-gradient(circle, rgba(255,226,97,.16), rgba(255,226,97,0) 62%); animation: dfloat 12s ease-in-out infinite; }
.dc.dash { left: 0; top: 140px; width: 74px; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,122,69,.45); animation: dspin 30s linear infinite; }
.dc.star { left: 28px; top: 34px; width: 20px; aspect-ratio: 1; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 0C54 34 66 46 100 50C66 54 54 66 50 100C46 66 34 54 0 50C34 46 46 34 50 0Z' fill='%23FF7A45'/></svg>") center / contain no-repeat; animation: dtw 3.8s ease-in-out infinite; }
.dc.star.sm { left: 214px; top: 168px; width: 13px; animation-delay: -1.6s; }
.dc.dot { left: 196px; top: 40px; width: 12px; aspect-ratio: 1; border-radius: 50%; background: #FFD800; animation: dfloat 6s ease-in-out infinite; animation-delay: -2s; }
@keyframes dfloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -10px); } }
@keyframes dspin { to { transform: rotate(360deg); } }
@keyframes dtw { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(.7) rotate(20deg); opacity: .7; } }
/* Rusta och matcha-delar på smala skärmar: bara ett hörn av gruppen syns */
@media (max-width: 900px) {
  .deco .cl { transform: scale(.55); transform-origin: top right; right: -100px; top: -65px; }
  .deco .dc.dash { display: none; }
  .phero .deco .cl { transform: scale(.55); transform-origin: bottom right; right: -70px; top: auto; bottom: -90px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .dc { animation: none !important; } }

/* Ringen vid illustrationerna: större, mjukare, i bildens nedre hörn utanför motivet */
.ill-box .i3 { left: 96%; top: 92%; width: 16%; border-color: rgba(1,117,95,.18); }
@media (max-width: 600px) { .ill-box .i3 { left: 94%; top: 90%; width: 14%; } }

/* Kontakt: tre kort */
.ccards.three-c { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
@media (max-width: 600px) { .ccards.three-c { grid-template-columns: 1fr; } }
/* Formulär kopplade 23 nov: dold fälla för spamrobotar och felmeddelande */
.form .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form .fel { display: none; color: #FFD0C2; background: rgba(160,40,20,.18); border: 1px solid rgba(255,150,120,.4); border-radius: 10px; padding: 10px 14px; }
.vag .paper .form .fel { color: #7A1E0E; background: #FCE9E4; border-color: #E9A898; }