/* Felles stil for installasjonsguidene (ios.html, android.html).
   Samme fargepalett, header og footer som forsiden (forslag.html). */
:root {
  --ink: #293133;
  --ink-deep: #1e2426;
  --ink-soft: #3a4447;
  --teal: #6fbac6;
  --teal-light: #a9d8df;
  --teal-dark: #2b7480;
  --paper: #f4f7f7;
  --white: #ffffff;
  --text: #1d2426;
  --muted: #5b6669;
  --muted-on-dark: #a7b4b7;
  --line: #dfe6e7;
  --max: 1160px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--teal-dark);
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header – identisk med forsiden */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 36, 38, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}
.brand svg {
  width: 34px;
  height: 34px;
  color: var(--teal);
}
.brand small {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--teal);
  font-size: 1rem;
  margin-left: -4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a,
.header-cta .login {
  color: #d5dcdd;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover,
.header-cta .login:hover {
  color: var(--teal);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--teal);
  color: var(--ink-deep);
}
.btn-primary:hover {
  background: var(--teal-light);
}

/* Toppseksjon */
.guide-hero {
  background: var(--ink-deep);
  color: var(--white);
  padding: 64px 0 120px;
}
.guide-hero .wrap {
  max-width: 820px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.guide-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.guide-hero .lead {
  color: #c6d0d2;
  font-size: 1.125rem;
  max-width: 38rem;
}
.guide-hero .lead strong {
  color: var(--white);
}

/* Plattformvelger */
.platforms {
  display: inline-flex;
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.platforms a {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  color: #d5dcdd;
  border-radius: 999px;
  padding: 8px 20px;
}
.platforms a:hover {
  color: var(--teal);
}
.platforms a[aria-current='page'] {
  background: var(--teal);
  color: var(--ink-deep);
}

/* Innholdskort */
.guide {
  max-width: 820px;
  margin: -72px auto 96px;
  padding: 0 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 44px;
  box-shadow: 0 30px 60px rgba(41, 49, 51, 0.08);
}
.app-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--paper);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.app-badge img {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 22%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.app-badge strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}
.card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 36px 0 14px;
}
.card p {
  margin-bottom: 12px;
}
.card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.card ul li {
  position: relative;
  padding-left: 22px;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
ol.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}
ol.steps > li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 68px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
}
ol.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 17px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
}
ol.steps strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.cta {
  display: flex;
  width: fit-content;
  align-items: center;
  margin-top: 14px;
  background: var(--teal);
  color: var(--ink-deep);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.cta:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}
.note {
  background: #eaf4f5;
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 24px 0 8px;
  font-size: 0.95rem;
}

/* Footer – identisk med forsiden */
footer {
  background: var(--ink-deep);
  color: var(--muted-on-dark);
  padding: 56px 0 40px;
  font-size: 0.92rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}
.footer-grid p {
  max-width: 22rem;
  margin-top: 14px;
}
.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.footer-links ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: inherit;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--teal);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }
}
@media (max-width: 640px) {
  .wrap,
  .guide {
    padding: 0 16px;
  }
  .header-cta .login {
    display: none;
  }
  .guide-hero {
    padding: 48px 0 104px;
  }
  .card {
    padding: 28px 20px;
    border-radius: 20px;
  }
  ol.steps > li {
    padding: 64px 18px 18px;
  }
  ol.steps > li::before {
    top: 18px;
  }
}

/* Aktiv side i menyen */
.nav a[aria-current='page'] {
  color: var(--teal);
}
