/* ══════════════════════════════════════════
   dekket.info — Global Stylesheet
   Palette: #4D4AFB (primary), #E4FF98 (lime accent), #000 (black)
   Font: Manrope
   ══════════════════════════════════════════ */

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

body {
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1a1a1a;
  line-height: 1.6;
  background: white;
}

a { color: #4D4AFB; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 920px; margin: 0 auto; padding: 0 24px; }


/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */

.site-header {
  border-bottom: 1px solid #f0f0f0;
  background: white;
  position: fixed;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-header .logo {
  display: flex;
  align-items: left;
  gap: 8px;
  text-decoration: none;
  color: #111;
}

.site-header .logo span {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

.logo-dot { color: #4D4AFB; }

.site-header nav {
  display: flex;
  gap: 20px;
}

.site-header nav a {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  transition: color 0.15s;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: #111;
  text-decoration: none;
}


/* ══════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════ */

.breadcrumb {
  font-size: 12px;
  color: #bbb;
  padding: 12px 0 0;
}

.breadcrumb a { color: #aaa; text-decoration: none; }
.breadcrumb a:hover { color: #666; }
.breadcrumb .sep { color: #ccc; margin-right: 4px; }
.breadcrumb .current { color: #888; font-weight: 600; }


/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */

.hero {
  padding: 10px 0 36px;
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: #111;
}

.hero h1 span { color: #4D4AFB; }

.hero p {
  font-size: 17px;
  color: #888;
  line-height: 1.7;
}


/* ══════════════════════════════════════════
   CTA (homepage)
   ══════════════════════════════════════════ */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 28px;
  background: #4D4AFB;
  color: white;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.cta:hover {
  background: #3a38d4;
  text-decoration: none;
  transform: translateY(-1px);
}


/* ══════════════════════════════════════════
   CHECKER (React app wrapper)
   ══════════════════════════════════════════ */

.checker {
  /* React app renders inline-styled components;
     this wrapper just prevents margin collapse */
  padding-bottom: 16px;
}


/* ══════════════════════════════════════════
   HEADINGS (global)
   ══════════════════════════════════════════ */

h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0 0 14px;
}


/* ══════════════════════════════════════════
   GRID + CARDS (shared between homepage & forsikringer)
   ══════════════════════════════════════════ */

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

@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .grid { grid-template-columns: 1fr; } }

.card {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

.card:hover { border-color: #ccc; }
.card svg { color: #555; margin-bottom: 12px; }
.card h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.card p { font-size: 12px; color: #999; line-height: 1.6; }


/* ══════════════════════════════════════════
   TIPS
   ══════════════════════════════════════════ */

.tips {
  border-radius: 12px;
  padding: 22px 24px;
  border: 0px solid #eee;
}

/* ══════════════════════════════════════════
   SEO SECTIONS (below React app)
   ══════════════════════════════════════════ */

.seo-section {
  padding-top: 52px;
}

.seo-section p {
  font-size: 15px;
  color: #888;
  line-height: 1.7;
  max-width: 520px;
}


/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */

.faq-section {
  padding-bottom: 48px;
}

.faq-item {
  border-bottom: 1px solid #f0f0f0;
  max-width: 600px;
}

.faq-item summary {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #111;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: #ccc;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 0 14px;
  font-size: 13px;
  color: #888;
  line-height: 1.65;
}


/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */

.site-footer {
  border-top: 1px solid #eee;
  margin-top: 0;
  padding: 24px 0 50px;
}

.footer-sources {
  margin-bottom: 14px;
}

.footer-sources-label {
  display: block;
  font-size: 11px;
  color: #bbb;
  margin-bottom: 10px;
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.site-footer .links a {
  font-size: 12px;
  color: #888;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f5f5f5;
  border: 1px solid #eee;
  transition: border-color 0.15s;
}

.site-footer .links a:hover { border-color: #ccc; }

.site-footer p {
  font-size: 11px;
  color: #ccc;
}


/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 640px) {
  .container { padding: 0 16px; }

  .site-header-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero { padding: 8px 0 24px; }

  .seo-section { padding-top: 36px; }

  .tips { padding: 16px 18px; }
}