/* Layout: én kolonne med fuldbredde-bånd (lys sten / mørk sten) skiftevis; indhold i en centreret spalte.
   Bevidst ét mørkt tema – siden skal føles som en grotte oplyst af fakler. */
:root {
  --night: #14110e;      /* baggrund */
  --stone: #1f1a16;      /* skiftende bånd */
  --stone-2: #2b241e;    /* kort og kanter */
  --parch: #efe3c8;      /* brødtekst */
  --parch-dim: #bfae8c;  /* sekundær tekst */
  --ember: #e0a53a;      /* accent: fakkellys */
  --ember-deep: #a86e22;
  --moss: #8aa452;
  --display: "IM Fell English SC", "Iowan Old Style", Georgia, serif;
  --display-i: "IM Fell English", Georgia, serif;
  --body: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--night); color: var(--parch); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--ember); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.muted { color: var(--parch-dim); font-size: .95rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(20, 17, 14, .92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--stone-2); }
.head-row { display: flex; align-items: center; gap: 24px; padding-block: 10px; }
.brand { text-decoration: none; color: var(--parch); display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 1.6rem; color: var(--ember); letter-spacing: .04em; }
.brand-name.small { font-size: 1.3rem; }
.brand-sub { font-family: var(--display-i); font-style: italic; font-size: .8rem; color: var(--parch-dim); margin-top: 2px; }
.main-nav { display: flex; gap: 20px; margin-left: auto; }
.main-nav a { color: var(--parch); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--ember); }
.langs { display: flex; gap: 4px; }
.langs a { font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--parch-dim); text-decoration: none; padding: 4px 7px; border-radius: 4px; border: 1px solid transparent; }
.langs a[aria-current] { color: var(--night); background: var(--ember); }
@media (max-width: 860px) { .main-nav { display: none; } .langs { margin-left: auto; } }

/* knapper */
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 6px; border: 2px solid var(--ember); transition: background .15s, color .15s; }
.btn-primary { background: var(--ember); color: var(--night); }
.btn-primary:hover { background: #f0b850; }
.btn-ghost { color: var(--ember); background: transparent; }
.btn-ghost:hover { background: rgba(224, 165, 58, .12); }

/* hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.15) 0%, rgba(20,17,14,.55) 50%, rgba(20,17,14,.97) 100%); }
.hero-body { position: relative; padding-block: 120px 56px; width: 100%; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--ember); margin-bottom: .6em; }
.hero h1 { margin: 0 0 .3em; }
.h1-name { display: block; font-size: clamp(3.2rem, 11vw, 7.5rem); line-height: .9; color: var(--parch); text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.h1-sub { display: block; font-family: var(--display-i); font-style: italic; font-size: clamp(1.2rem, 3vw, 1.9rem); color: var(--ember); margin-top: .2em; }
.lead { max-width: 58ch; font-size: 1.2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 .8em; }

/* bånd */
.band { padding-block: clamp(56px, 8vw, 96px); }
.band.alt { background: var(--stone); border-block: 1px solid var(--stone-2); }
.lead-sm { max-width: 62ch; color: var(--parch-dim); }
.video { aspect-ratio: 16 / 9; max-width: 100%; background: #000; border: 1px solid var(--stone-2); border-radius: 8px; overflow: hidden; }
.video video { width: 100%; height: 100%; display: block; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.pillar { min-width: 0; border-top: 2px solid var(--ember-deep); padding-top: 18px; }
.pillar h3 { color: var(--parch); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.contents { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.contents li { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.contents .num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--ember); min-width: 2ch; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .contents { grid-template-columns: 1fr; } }
.product img, .g-item img, .exp img { border-radius: 8px; border: 1px solid var(--stone-2); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.how li { display: flex; gap: 14px; min-width: 0; }
.step { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ember); color: var(--ember); display: grid; place-items: center; font-family: var(--display); font-size: 1.4rem; }
.how h3 { margin-bottom: .25em; }

.cast { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cast figure { margin: 0; }
.cast img { aspect-ratio: 63 / 88; object-fit: cover; width: 100%; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
@media (max-width: 860px) { .cast { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.buy-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch; }
.buy-grid > * { min-width: 0; }
@media (max-width: 860px) { .buy-grid { grid-template-columns: 1fr; } }
.buy-card, .demo-card { background: var(--stone); border: 1px solid var(--stone-2); border-radius: 10px; padding: 32px; }
.buy-card { border-color: var(--ember-deep); }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { padding-left: 28px; position: relative; margin-bottom: .5em; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(-45deg); }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 1em; }
.price { font-family: var(--display); font-size: 2.4rem; color: var(--parch); }
.price s { color: var(--parch-dim); font-size: 1.4rem; margin-right: 6px; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; background: var(--ember); color: var(--night); }
.badge.soon { background: transparent; color: var(--parch-dim); border: 1px solid var(--parch-dim); }

.exps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 1.2em; }
.exp { background: var(--night); border: 1px solid var(--stone-2); border-radius: 10px; overflow: hidden; min-width: 0; }
.exp img { border: 0; border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.exp-body { padding: 20px 22px 24px; }

.faq details { border-bottom: 1px solid var(--stone-2); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6em 0 0; color: var(--parch-dim); }

.legal h1 { font-size: 2.4rem; color: var(--ember); }
.legal h2 { font-size: 1.4rem; color: var(--parch); margin-top: 1.4em; }
.draft { display: inline-block; background: #4a2a12; color: #f6c27a; padding: 6px 12px; border-radius: 6px; font-size: .9rem; }

.site-foot { border-top: 1px solid var(--stone-2); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--stone); font-size: .95rem; }
.foot-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.foot-row > * { min-width: 0; }
.foot-row a { color: var(--parch); }

/* Troldedybet-tilføjelser */
.btn-sm { padding: 8px 14px; font-size: .9rem; margin-left: 8px; white-space: nowrap; }
.btn-lg { padding: 16px 30px; font-size: 1.15rem; }
@media (max-width: 860px) { .site-head .btn-sm { margin-left: auto; } }
.product img { box-shadow: 0 18px 50px rgba(0,0,0,.6); }
.play { background: radial-gradient(ellipse at 70% 40%, rgba(224,165,58,.16), transparent 60%), var(--night); }
.play-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.play-grid > * { min-width: 0; }
@media (max-width: 860px) { .play-grid { grid-template-columns: 1fr; } }
.play-shot img { border-radius: 10px; border: 2px solid var(--ember-deep); box-shadow: 0 18px 50px rgba(0,0,0,.6); transition: transform .2s; }
.play-shot:hover img { transform: scale(1.015); }
.gallery figcaption { font-family: var(--display-i); font-style: italic; color: var(--parch-dim); margin-top: 6px; text-align: center; }
.gallery img { aspect-ratio: 1 / 1; }
.pcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.pc { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 14px; background: var(--night); border: 1px solid var(--stone-2); border-left: 4px solid #3f6fa8; border-radius: 10px; padding: 12px; min-width: 0; }
.pc.boss { border-left-color: #8e2f2f; }
.pc img { width: 96px; height: 128px; object-fit: cover; object-position: top; border-radius: 6px; }
.pc figcaption { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pc b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--parch); }
.pc span { color: var(--ember); font-size: .9rem; }
.pc i { color: var(--parch-dim); font-size: .92rem; margin-top: 4px; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 1em 0 .6em; }
.signup input[type=email] { flex: 1 1 240px; min-width: 0; font: inherit; padding: 12px 14px; border-radius: 6px; border: 2px solid var(--stone-2); background: var(--night); color: var(--parch); }
.signup input[type=email]:focus { outline: none; border-color: var(--ember); }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; color: var(--parch-dim); }
.consent input { margin-top: .3em; accent-color: var(--ember); }
.signup-msg { min-height: 1.4em; margin-top: .8em; color: var(--moss); font-weight: 700; }
.hp, .sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
