@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,700;1,9..144,400&display=swap');

:root {
  --steel: #1a2332;
  --steel-mid: #2d3f55;
  --steel-light: #3d5470;
  --warm-white: #f8f6f2;
  --off-white: #eeeae3;
  --accent: #e8621a;
  --accent-hover: #c9521a;
  --text-primary: #1a2332;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: #d9d3c8;
  --success: #2d7a4f;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(26,35,50,0.08), 0 4px 12px rgba(26,35,50,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; color: var(--text-primary); background: var(--warm-white); }

h1, h2, h3, h4 { font-family: 'Fraunces', serif; line-height: 1.2; color: var(--steel); }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
h4 { font-size: 1rem; font-weight: 700; font-family: 'Inter', sans-serif; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; color: var(--text-secondary); }
li { margin-bottom: 0.4rem; }

.container { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.container--wide { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 3.5rem 0; }
section.alt { background: var(--off-white); }

.site-header { background: var(--steel); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 700; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 0.4rem; }
.logo span { color: var(--accent); }
.logo-icon { width: 28px; height: 28px; background: var(--accent); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
nav { display: flex; }
nav a { color: rgba(255,255,255,0.8); padding: 0 0.85rem; height: 60px; display: flex; align-items: center; font-size: 0.82rem; font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; transition: color 0.15s, border-color 0.15s; white-space: nowrap; }
nav a:hover { color: #fff; border-bottom-color: var(--accent); text-decoration: none; }
nav a.active { color: #fff; border-bottom-color: var(--accent); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

.hero { background: linear-gradient(135deg, var(--steel) 0%, var(--steel-mid) 60%, var(--steel-light) 100%); color: #fff; padding: 5rem 0 4rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(232,98,26,0.15); border: 1px solid rgba(232,98,26,0.3); color: #f5a06e; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: 100px; margin-bottom: 1.5rem; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: #f5a06e; }
.hero .lead { font-size: 1.1rem; color: rgba(255,255,255,0.82); max-width: 620px; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.stat-num { font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }

.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 0.6rem 0; }
.breadcrumb ol { list-style: none; display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-muted); padding: 0; }
.breadcrumb li + li::before { content: '/'; color: var(--border); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }

.quick-nav { background: var(--steel); color: #fff; padding: 1.5rem 2rem; border-radius: var(--radius); margin: 2rem 0 3rem; }
.quick-nav h4 { color: rgba(255,255,255,0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; font-family: 'Inter', sans-serif; }
.quick-nav ol { list-style: none; columns: 2; gap: 1rem; padding: 0; }
.quick-nav li { margin-bottom: 0.4rem; break-inside: avoid; }
.quick-nav a { color: rgba(255,255,255,0.85); font-size: 0.875rem; text-decoration: none; }
.quick-nav a:hover { color: var(--accent); text-decoration: none; }
.quick-nav a::before { content: '→ '; color: var(--accent); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(26,35,50,0.1); }
.card-icon { width: 44px; height: 44px; background: rgba(232,98,26,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.4rem; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.table-wrap { overflow-x: auto; margin: 2rem 0; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: #fff; }
thead { background: var(--steel); color: #fff; }
thead th { padding: 1rem 1.25rem; text-align: left; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--off-white); transition: background 0.1s; }
tbody tr:hover { background: var(--warm-white); }
tbody tr:last-child { border-bottom: none; }
td { padding: 0.9rem 1.25rem; font-size: 0.9rem; color: var(--text-secondary); vertical-align: middle; }
td:first-child { font-weight: 600; color: var(--text-primary); }
.tag { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.tag--pro { background: rgba(45,122,79,0.1); color: var(--success); }
.tag--mid { background: rgba(232,98,26,0.1); color: var(--accent); }
.tag--basic { background: var(--off-white); color: var(--text-muted); }
.recommended { background: rgba(232,98,26,0.04); }
.recommended td:first-child { border-left: 3px solid var(--accent); }

.cta-box { background: linear-gradient(135deg, var(--steel) 0%, var(--steel-mid) 100%); color: #fff; border-radius: var(--radius); padding: 2.5rem; margin: 2.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.4rem; }
.cta-box p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.95rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent); color: #fff; padding: 0.85rem 1.75rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; white-space: nowrap; text-decoration: none; transition: background 0.15s, transform 0.1s; }
.btn:hover { background: var(--accent-hover); text-decoration: none; transform: translateY(-1px); }
.btn--outline { background: transparent; border: 2px solid rgba(255,255,255,0.4); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.product-mention { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; display: flex; align-items: flex-start; gap: 1rem; }
.product-mention-icon { font-size: 1.5rem; flex-shrink: 0; }
.product-mention h4 { margin-bottom: 0.25rem; }
.product-mention p { font-size: 0.875rem; margin: 0 0 0.4rem; color: var(--text-muted); }
.product-mention a { font-size: 0.875rem; font-weight: 600; }

.faq { margin-top: 1.5rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; background: #fff; }
.faq-q { padding: 1.1rem 1.5rem; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; transition: background 0.1s; }
.faq-q:hover { background: var(--warm-white); }
.faq-q .arrow { transition: transform 0.2s; color: var(--accent); flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--text-secondary); border-top: 1px solid var(--off-white); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-item.open .faq-a { display: block; }

.fact-box { background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin: 2rem 0; }
.fact-box-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.75rem; }
.fact-list { list-style: none; padding: 0; }
.fact-list li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; display: flex; gap: 0.75rem; color: var(--text-secondary); }
.fact-list li:last-child { border-bottom: none; }
.fact-list strong { color: var(--text-primary); min-width: 200px; flex-shrink: 0; }

.expert-note { background: rgba(45,122,79,0.06); border: 1px solid rgba(45,122,79,0.2); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; font-size: 0.9rem; color: var(--text-secondary); }
.expert-note::before { content: '✓ Redaktionelt notat — '; font-weight: 700; color: var(--success); }

.score-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.6rem; }
.score-label { font-size: 0.85rem; min-width: 160px; color: var(--text-secondary); }
.score-track { flex: 1; height: 8px; background: var(--off-white); border-radius: 4px; }
.score-fill { height: 8px; background: var(--accent); border-radius: 4px; }
.score-val { font-size: 0.85rem; font-weight: 700; min-width: 30px; text-align: right; color: var(--text-primary); }

.highlight { background: rgba(232,98,26,0.06); border: 1px solid rgba(232,98,26,0.2); border-radius: var(--radius); padding: 1.5rem; margin: 2rem 0; }
.highlight-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5rem; }

.cat-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.cat-nav a { background: #fff; border: 1px solid var(--border); color: var(--text-secondary); padding: 0.5rem 1rem; border-radius: 100px; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: all 0.15s; }
.cat-nav a:hover, .cat-nav a.active { background: var(--steel); border-color: var(--steel); color: #fff; text-decoration: none; }

.site-footer { background: var(--steel); color: rgba(255,255,255,0.6); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand h3 { font-family: 'Fraunces', serif; color: #fff; font-size: 1.3rem; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; margin-bottom: 0.5rem; }
.footer-col h4 { color: rgba(255,255,255,0.9); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; font-family: 'Inter', sans-serif; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 0.875rem; text-decoration: none; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-disclaimer { font-size: 0.8rem; font-style: italic; color: rgba(255,255,255,0.4); }

@media (max-width: 768px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--steel-mid); padding: 0.5rem 0; z-index: 99; }
  nav.open a { height: auto; padding: 0.75rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hamburger { display: block; }
  .cta-box { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .quick-nav ol { columns: 1; }
  .fact-list strong { min-width: 120px; }
  .score-label { min-width: 120px; }
}
