:root {
  --ink: #0b0b0f;
  --ink-2: #6b6b76;
  --ink-3: #a3a3ad;
  --surface: #f5f5f7;
  --line: #eaeaee;
  --zilla: #12b76a;
  --zilla-text: #0a7a45;
  --zilla-soft: #e7f8ef;
  --owe: #e5484d;
  --bg: #ffffff;
  --display: "Archivo", "SF Pro Display", system-ui, -apple-system, sans-serif;
  --body: -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(720px, 100% - 40px); margin: 0 auto; }

.display {
  font-family: var(--display);
  font-variation-settings: "wdth" 125;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

.label {
  font-family: var(--display);
  font-variation-settings: "wdth" 125;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Top */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 20px; }
.top nav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }

/* Knapper */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 16px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn.green { background: var(--zilla); }
.btn.soft { background: var(--surface); color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.6vw, 76px); }
.hero h1 em { font-style: normal; color: var(--zilla); display: block; }
.hero p.lead { font-size: 20px; color: var(--ink-2); max-width: 30em; margin: 24px 0 32px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { font-size: 14px; color: var(--ink-3); margin-top: 14px; }
.phones { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(300px, 70vw); border-radius: 44px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgb(11 11 15 / 0.35), 0 0 0 10px #0b0b0f;
}
.phone.back { position: absolute; transform: translate(-34%, 26px) rotate(-7deg) scale(0.84); z-index: 0; }
.phone.front { position: relative; z-index: 1; transform: translateX(22%); }

/* Sektioner */
section { padding: 72px 0; }
section h2 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 16px; }
section .sub { color: var(--ink-2); font-size: 19px; max-width: 34em; margin: 0 0 40px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border-radius: 28px; padding: 28px;
}
.card .ico {
  width: 52px; height: 52px; border-radius: 16px; background: #fff;
  display: grid; place-items: center; font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 20px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: trin; }
.step::before {
  counter-increment: trin; content: counter(trin);
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 64px;
  color: var(--zilla); display: block; line-height: 1; margin-bottom: 12px;
}
.step h3 { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 22px; margin: 0 0 6px; }
.step p { margin: 0; color: var(--ink-2); }

.shots { display: flex; gap: 20px; overflow-x: auto; padding: 10px 4px 30px; scroll-snap-type: x mandatory; }
.shots img { width: 260px; border-radius: 28px; scroll-snap-align: start; box-shadow: 0 20px 40px -20px rgb(11 11 15 / 0.3); }

.dark { background: var(--ink); color: #fff; border-radius: 40px; margin: 0 20px; }
.dark .sub, .dark p { color: rgb(255 255 255 / 0.7); }
.dark h2 em { font-style: normal; color: var(--zilla); }

details.faq { border-bottom: 1px solid var(--line); padding: 20px 0; }
details.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; }
details.faq summary::after { content: "+"; font-weight: 400; color: var(--ink-3); font-size: 24px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--ink-2); margin: 10px 0 0; }

footer { padding: 48px 0 64px; color: var(--ink-2); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Tekstsider */
.doc { padding: 56px 0 24px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 8px; }
.doc .updated { color: var(--ink-3); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: #2b2b33; }
.doc ul { padding-left: 1.2em; }

/* Join */
.join { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 0; text-align: center; }
.join .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 16px 32px -12px rgb(18 183 106 / 0.5); }
.code { display: flex; gap: 8px; justify-content: center; margin: 28px 0; }
.code span {
  width: 52px; height: 68px; display: grid; place-items: center; border-radius: 14px; background: var(--surface);
  font: 900 34px ui-monospace, "SF Mono", Menlo, monospace;
}
.join .steps-small { text-align: left; max-width: 420px; margin: 28px auto 0; color: var(--ink-2); font-size: 15px; }
.field {
  width: 100%; height: 56px; border-radius: 16px; border: 0; background: var(--surface);
  padding: 0 18px; font-size: 17px; font-family: inherit; margin-bottom: 12px;
}
.msg { margin-top: 14px; font-weight: 600; }
.msg.ok { color: var(--zilla-text); }
.msg.err { color: var(--owe); }

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { margin-top: 20px; }
  .phone.back { transform: translate(-30%, 20px) rotate(-6deg) scale(0.82); }
  .phone.front { transform: translateX(16%); }
  .grid3, .steps { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .dark { margin: 0 10px; border-radius: 28px; }
}

/* Sprogvælger */
.top-right { display: flex; align-items: center; gap: 28px; }
.lang { display: flex; gap: 2px; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }
.top nav.lang a, .lang a { text-decoration: none; color: var(--ink-2); padding: 6px 7px; border-radius: 8px; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); background: var(--surface); }
@media (max-width: 860px) {
  .top nav.lang { display: flex; }
}
@media (max-width: 380px) {
  .brand span { font-size: 17px; }
  .lang a { padding: 6px 4px; }
}
