/* Gemensam stil för skarkymedia.se: startsidan (/start/, visas på /) och prissidorna (/tjanst/...).
   Inga externa typsnitt eller bilder, CSP:n i public/_headers tillåter bara den här filen och YouTube-inbäddningar. */
:root {
  --bg: #faf8f4; --bg2: #f2eee6; --card: #ffffff; --text: #17171a; --muted: #5c5b62; --line: #e7e2d8;
  --accent: #e2552d; --accent2: #f29a3c; --accent-ink: #ffffff; --soft: #fdebe3; --deep: #1b1a23;
  --shadow: 0 1px 2px rgba(23,23,26,.05), 0 10px 30px -12px rgba(23,23,26,.18);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111015; --bg2: #18171e; --card: #1c1b22; --text: #f1efe9; --muted: #a9a6b0; --line: #2c2a33;
          --accent: #ff7a4f; --accent2: #ffb35c; --accent-ink: #17171a; --soft: #2a1d1a; --deep: #0b0a0e;
          --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -14px rgba(0,0,0,.6); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
       -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Sidhuvud */
header.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 19px;
  color: var(--text); text-decoration: none; white-space: nowrap; }
.logo i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-size: 15px; }
nav.links { display: flex; gap: 4px; margin-left: auto; }
nav.links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
nav.links a:hover, nav.links a[aria-current] { color: var(--text); background: var(--bg2); }
@media (max-width: 640px) { nav.links a.hide-sm { display: none; } nav.links a { padding: 8px 8px; font-size: 14px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent2) 38%, transparent), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -50% -15%; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); background: var(--soft); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 6.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 18px; max-width: 820px; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 14px 22px; border-radius: 12px; transition: transform .15s ease, box-shadow .15s ease; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn.ghost { color: var(--text); background: var(--card); border: 1px solid var(--line); }
.btn:hover { transform: translateY(-2px); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: var(--muted); font-size: 15px; font-weight: 600; }
.facts span::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 800; }

/* Sektioner */
section { padding: 64px 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 10px; }
.sub { color: var(--muted); max-width: 640px; margin: 0 0 30px; }
.muted { color: var(--muted); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: var(--soft); margin-bottom: 14px; }

/* Stora tjänstekort på startsidan */
.services { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.service { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease; overflow: hidden; }
.service:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.service h3 { font-size: 24px; letter-spacing: -.02em; margin: 6px 0 8px; }
.service p { color: var(--muted); margin: 0 0 18px; }
.service ul { margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.service li { padding: 4px 0 4px 24px; position: relative; }
.service li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.service .more { margin-top: auto; font-weight: 700; color: var(--accent); }

/* Steg */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: steg; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; counter-increment: steg; }
.step::before { content: counter(steg); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); margin-bottom: 14px; }
.step b { display: block; font-size: 18px; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 16px; }

/* Priser */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.plan.pop { border: 2px solid var(--accent); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 18px; }
.price { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 4px; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 15px; }
.plan li { padding: 5px 0 5px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 800; }
.note { margin-top: 20px; border-radius: 18px; padding: 20px 24px; background: var(--soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.note b { color: var(--accent); }

/* Videoklipp i telefonram */
.clips { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); max-width: 760px; }
@media (max-width: 640px) { .clips { grid-template-columns: repeat(2, 1fr); gap: 12px; } .clips .phone:nth-child(3) { display: none; } .phone { border-radius: 22px; padding: 7px; } .phone iframe { border-radius: 16px; } }
.phone { background: var(--deep); border-radius: 30px; padding: 10px; box-shadow: var(--shadow); }
.phone iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 22px; background: #000; }
.phone p { margin: 0; padding: 10px 6px 4px; font-size: 14px; font-weight: 600; color: #d8d6de; text-align: center; }

/* Avslutande uppmaning */
.cta-band { border-radius: 26px; padding: 44px 36px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1b1a23, #2a1f2a 55%, #4a2318); }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242,154,60,.55), transparent 70%); }
.cta-band h2 { color: #fff; position: relative; z-index: 1; }
.cta-band p { color: #d9d4d0; max-width: 560px; margin: 0; position: relative; z-index: 1; }
.cta-band .actions { position: relative; z-index: 1; }
.cta-band .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }

footer.bottom { padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
footer.bottom a { color: var(--muted); }
