/* Landingsside for fameie.no. Egne skrifter, ingen sporing, ingen eksterne ressurser. */
:root { --bg: #f3f5f2; --surface: #fff; --fg: #1c2420; --muted: #5b6862; --line: #d3dbd5; --accent: #23584a; --accent-fg: #fff; --accent-soft: #dcebe5; }
@media (prefers-color-scheme: dark) { :root { --bg: #121815; --surface: #1a221e; --fg: #e4ebe6; --muted: #9aa8a1; --line: #33403a; --accent: #6fbfa5; --accent-fg: #0d1512; --accent-soft: #1f3a32; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--fg); text-decoration: none; }
a.btn, .btn { display: inline-block; padding: 12px 20px; border-radius: 10px; background: var(--accent); color: var(--accent-fg); font-weight: 700; text-decoration: none; }
a.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 28px 0 40px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.01em; }
.hero p { color: var(--muted); font-size: 1.12rem; margin: 0 0 22px; }
.hero img { width: 100%; height: auto; border-radius: 16px; }
section { padding: 34px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 1.6rem; margin: 0 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 1.08rem; }
.card p, li { color: var(--muted); margin: 0; }
ul.plain { padding-left: 1.1em; margin: 0; } ul.plain li { margin: 6px 0; }
.price { font-size: 1.4rem; font-weight: 800; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 8px 0 0; }
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: .92rem; }
footer a { color: inherit; }
.doc { max-width: 760px; padding: 20px 0 40px; } .doc h1 { font-size: 2rem; }
@media (max-width: 760px) { .hero, .grid3 { grid-template-columns: 1fr; } .hero img { order: -1; } }
.doc h2 { font-size: 1.15rem; margin: 26px 0 6px; }
.doc ul { padding-left: 1.2em; } .doc li { margin: 4px 0; }
.tabell { overflow-x: auto; margin: 12px 0; }
.tabell table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.tabell th, .tabell td { text-align: left; vertical-align: top; padding: 7px 9px; border-bottom: 1px solid rgba(127,127,127,.3); }
.doc a, .doc a:visited { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.skjerm { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; max-width: 620px; }
.skjerm figure { margin: 0 auto; max-width: 300px; width: 100%; } .skjerm img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; }
.skjerm figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
