/* Guider og gaveidéer. Tokens, skrifter og logo er de samme som i index.html; mørkt tema følger systemet. */
:root {
  --bg: #eef0fa; --surface: #ffffff; --line: #d5d9ef; --line-strong: #7d83ad;
  --ink: #1b1f4b; --ink-muted: #565b8a; --primary: #1b1f4b; --on-primary: #eef0fa;
  --price: #ffd23f; --on-price: #1b1f4b;
  --display: "Bricolage Grotesque", Figtree, system-ui, sans-serif;
  --text: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #12142b; --surface: #1c1f3d; --line: #2e3260; --ink: #eef0fa; --ink-muted: #a9aed6; --primary: #b9bde0; --on-primary: #12142b; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.25rem, 8vw, 4rem); line-height: 1; letter-spacing: -.04em; }
h2 { font-weight: 800; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.1; letter-spacing: -.025em; margin-top: 3rem; }
h3 { font-weight: 500; font-size: 1.25rem; line-height: 1.25; margin-top: 1.75rem; }
p, ul, ol { margin: 1rem 0 0; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .4rem; }
a { color: inherit; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.smal { max-width: 44rem; }
.logo { display: inline-flex; align-items: center; gap: .3em; font: 800 1.75rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.logo svg { width: 1.45em; height: .87em; }
header .wrap { padding-block: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
header nav { display: flex; gap: 1.25rem; font-weight: 600; }
header nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
header nav a:hover { text-decoration: underline; }

main { padding-block: 1.5rem 4.5rem; overflow-wrap: break-word; }
.spor { font-size: .9375rem; color: var(--ink-muted); margin: 0 0 1rem; }
.spor a { color: var(--ink-muted); }
/* Svaret først: det, en søgning eller en AI skal kunne citere, står øverst. */
.svar { margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); font-size: 1.1875rem; }
.svar p:first-child { margin-top: 0; }
.stille { font-size: .9375rem; color: var(--ink-muted); }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .75rem .6rem 0; border-top: 1px solid var(--line); }
th { font-weight: 600; }

.knap {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.5rem;
  border-radius: 999px; background: var(--primary); color: var(--on-primary);
  font: 600 1.0625rem/1.3 var(--text); text-decoration: none;
}
.opfordring { margin-top: 3rem; padding: 1.5rem; border-radius: 24px; background: var(--ink); color: var(--bg); display: grid; gap: 1rem; justify-items: start; }
.opfordring h2 { margin: 0; color: inherit; }
.opfordring .knap { background: var(--bg); color: var(--ink); }
.opfordring :focus-visible { outline-color: var(--bg); }

/* Gaveidéer: kort i et gitter. Billedet er shoppens eget; købslinket har "Reklamelink" lige under (ADR 0002). */
.gitter { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
@media (min-width: 40rem) { .gitter { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.25rem; } }
.gitter li { margin: 0; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.gitter img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.gitter .krop { padding: 10px 12px 12px; display: grid; gap: 4px; justify-items: start; flex: 1; align-content: start; }
.gitter .meta { font-size: .8125rem; line-height: 1.4; color: var(--ink-muted); }
.gitter h3 { margin: 0; font: 500 1rem/1.3 var(--display); overflow-wrap: anywhere; }
.pris { padding: 2px 10px; border-radius: 6px; background: var(--price); color: var(--on-price); font: 600 1rem/1.25 var(--text); font-variant-numeric: tabular-nums; }
.koeb { margin-top: auto; padding: 0 12px 12px; display: grid; gap: 2px; }
.koeb a { min-height: 44px; padding: 0 .5rem; display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: .9375rem; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; text-decoration: none; }
.koeb a:hover { background: var(--bg); }
.koeb small { font-size: .8125rem; color: var(--ink-muted); text-align: center; }

.links { list-style: none; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.links li { margin: 0; }
.links a { display: flex; min-height: 52px; align-items: center; padding: .5rem 1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.links a:hover { border-color: var(--line-strong); }

footer { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; font-size: .9375rem; color: var(--ink-muted); }
footer .wrap { display: grid; gap: .75rem; }
footer p { margin: 0; }
footer ul { list-style: none; margin: .25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
footer li + li { margin: 0; }
footer ul a { color: var(--ink); display: inline-flex; min-height: 44px; align-items: center; }
