/*
 * Stilmallen för undersidorna: /priser och branschsidorna. Samma typsnitt, färger och delar som startsidan, som har
 * sina stilar direkt i index.html för att visas snabbare. Ändras en del här (paketen, stegen, frågorna) ändras den där också.
 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
}
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #0f1b33;
  --navy: #16294a;
  --navy-deep: #0b1630;
  --muted: #5b6577;
  --line: #e1e6ef;
  --wine: #7a1e2c;
  --cyan: #38bdf8;
  --spark: #ef4444;
  --display: 'Montserrat', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; }

/* ── TOP ── */
.top { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { height: 36px; width: auto; aspect-ratio: 640 / 259; }
.nav { display: flex; gap: 28px; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
/* The padding makes the links easier to hit with a thumb, and the margin keeps the header the same height */
.nav a { text-decoration: none; color: var(--navy); opacity: 0.75; padding: 12px 0; margin: -12px 0; }
.nav a:hover, .nav a[aria-current] { opacity: 1; }

.page-head { padding: 32px 0 64px; max-width: 760px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--navy); }
.kicker { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine); margin-bottom: 12px; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.025em; color: var(--navy); margin-bottom: 20px; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 14px; }
h3 { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 52ch; margin-bottom: 28px; }
.section-lead { color: var(--muted); max-width: 60ch; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px;
  font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: 0.03em; text-decoration: none;
  background: var(--navy); color: #fff; border: 1px solid var(--navy);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(56, 189, 248, 0.35); }
.btn.ghost { background: transparent; color: var(--navy); border-color: #c4ccda; }
.btn.ghost:hover { border-color: var(--navy); box-shadow: none; }

section.block { padding: 72px 0; border-top: 1px solid var(--line); }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 14px; }
.note { font-size: 14.5px; color: var(--muted); margin-top: 18px; max-width: 70ch; }

/* ── INTRODUKTIONSPRISET ── */
.offer {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
  padding: 12px 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 15px; color: var(--navy); text-decoration: none; width: fit-content; max-width: 100%;
}
.offer b { font-family: var(--display); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); }
.offer span { display: inline-flex; align-items: center; gap: 8px; }
.offer span::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ── PAKETEN ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; position: relative; }
.plan.featured { border-color: var(--navy); box-shadow: 0 20px 60px rgba(22, 41, 74, 0.12); }
.plan h3 { margin-bottom: 4px; }
.plan .for { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.price { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; color: var(--navy); line-height: 1.1; }
.price small { font-size: 16px; font-weight: 700; }
.later { font-size: 13.5px; color: var(--muted); margin: 6px 0 18px; }
.checks { list-style: none; display: grid; gap: 8px; font-size: 15.5px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before {
  content: ''; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg);
}
.checks.no li::before { width: 11px; height: 2px; top: 12px; border: 0; background: #c4ccda; transform: none; }

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.extra { border: 1px dashed #c4ccda; border-radius: 14px; padding: 18px 20px; }
.extra b { display: block; font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 17px; }
.extra p { color: var(--muted); font-size: 15px; margin-top: 4px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 48px; }

/* ── TABELLER ── */
.table { overflow-x: auto; margin-top: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--navy); }
td.num, th.num { text-align: right; white-space: nowrap; }
tbody tr.mine td { font-weight: 600; color: var(--navy); }

/* ── STEGEN OCH KORTEN ── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: steg; }
.steps li { counter-increment: steg; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.steps li::before {
  content: counter(steg); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  font-family: var(--display); font-weight: 800; color: var(--navy); background: #e8eef8; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}
.steps p, .cards p { color: var(--muted); font-size: 15.5px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two-up { grid-template-columns: repeat(2, 1fr); }
.cards > * { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 24px; text-decoration: none; display: block; }
a.cards-link:hover, .cards > a:hover { border-color: var(--navy); }
.cards .price { font-size: 30px; color: var(--navy); margin-top: 4px; }
.cards .later { font-size: 13.5px; margin-bottom: 12px; }
.cards .more { display: inline-block; margin-top: 12px; font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--wine); }

.example { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.example:first-of-type { border-top: 1px solid var(--line); }
.example .name { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--navy); }
.example .desc { grid-column: 1 / -1; color: var(--muted); }
.example a { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--wine); text-decoration: none; white-space: nowrap; }
.example a:hover { text-decoration: underline; }

/* ── TEXT MED BILD, ÅRET OCH STEGEN I TUR OCH ORDNING ── */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.shot { display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(22, 41, 74, 0.12); background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: 14px; color: var(--muted); padding: 12px 16px; }
.points { display: grid; gap: 18px; }
.points h3 { margin-bottom: 2px; }
.points p { color: var(--muted); }
.year { list-style: none; border-top: 1px solid var(--line); max-width: 820px; }
.year li { display: grid; grid-template-columns: 170px 1fr; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.year b { font-family: var(--display); color: var(--navy); }
.year span { color: var(--muted); }
.order { list-style: none; counter-reset: steg; max-width: 760px; border-top: 1px solid var(--line); }
.order li { counter-increment: steg; display: grid; grid-template-columns: 40px 1fr; gap: 0 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.order li::before { content: counter(steg); font-family: var(--display); font-weight: 800; color: var(--wine); font-size: 20px; }

/* ── FRÅGOR ── */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 24px; font-weight: 600; color: var(--wine); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding: 0 0 18px; max-width: 66ch; }

/* ── HÖR AV DIG ── */
.cta {
  position: relative; overflow: hidden; color: #e6ecf5; padding: 72px 0;
  background: radial-gradient(ellipse 80% 70% at 80% 0%, #1d3a6b 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.cta h2 { color: #fff; }
.cta p { color: #a9b6cb; max-width: 56ch; margin-bottom: 28px; }
.cta .btn { background: #fff; color: var(--navy); border-color: #fff; }
.cta p.direkt { margin: 20px 0 0; }
.cta .direkt a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }

footer { background: var(--navy-deep); color: #8c9ab3; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding: 24px 0 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: #e6ecf5; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 860px) {
  .plans, .extras, .cards, .cards.two-up, .two, .split { grid-template-columns: 1fr; }
  .year li { grid-template-columns: 1fr; }
  .plans { gap: 26px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 16px; font-size: 12px; }
  .nav a { white-space: nowrap; }
  .wordmark img { height: 30px; }
  .page-head { padding: 16px 0 48px; }
  .lead { font-size: 17px; }
  section.block, .cta { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
  table { font-size: 14.5px; }
  th, td { padding: 10px 8px; }
}
@media (max-width: 420px) {
  .wordmark img { height: 26px; }
  .nav { gap: 6px 12px; font-size: 11px; flex-wrap: wrap; justify-content: flex-end; }
}
