/* Dugna – landingsside. Samme mørke design som appen. Skrift ligger lokalt (ingen Google Fonts). */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-display: swap; src: url('../fonts/PlusJakartaSans_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url('../fonts/PlusJakartaSans_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-display: swap; src: url('../fonts/PlusJakartaSans_800ExtraBold.ttf') format('truetype'); }

:root {
  --bg: #0e0e10;
  --surface: #1a1a1d;
  --surface2: #26262a;
  --border: #2a2a2e;
  --orange: #ee5a00;
  --orange-dark: #c94c00;
  --purple: #7c4dff;
  --white: #ffffff;
  --text: #ffffff;
  --muted: #a3a3a3;
  --ink: #111111;
  --ink-muted: #5c5c5c;
  --green: #22a55b;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: var(--white); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Topp */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
.wordmark { font-weight: 800; font-size: 30px; letter-spacing: -1.2px; color: var(--white); }
.wordmark span { color: var(--orange); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 48px 0 72px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124, 77, 255, 0.16); color: #c7b5ff;
  border: 1px solid rgba(124, 77, 255, 0.4);
  padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
h1 { font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -2px; margin: 20px 0 16px; }
h1 em { font-style: normal; color: var(--orange); }
.lead { color: var(--muted); font-size: 19px; max-width: 34ch; margin: 0 0 32px; }

/* Venteliste */
.signup { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; max-width: 480px; }
.signup h2 { font-size: 20px; margin: 0 0 4px; font-weight: 800; }
.signup p.small { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
label { font-weight: 600; font-size: 14px; }
input[type='email'], select {
  width: 100%; font: inherit; font-size: 16px; color: var(--white);
  background: var(--surface2); border: 1px solid transparent; border-radius: 14px; padding: 14px 16px;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
input::placeholder { color: #77777d; }
.optional { color: var(--muted); font-weight: 400; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 14px; margin: 6px 0 16px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.consent a { color: var(--muted); }
button.primary {
  width: 100%; border: 0; border-radius: 999px; padding: 16px 20px; cursor: pointer;
  background: var(--orange); color: var(--white); font: inherit; font-weight: 800; font-size: 17px;
}
button.primary:hover { background: var(--orange-dark); }
button.primary:disabled { background: var(--surface2); color: var(--muted); cursor: default; }
.status { min-height: 24px; margin: 12px 0 0; font-weight: 600; font-size: 15px; }
.status.ok { color: #5fd38f; }
.status.error { color: #ffb4a3; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* felle for roboter */

/* Hvite jobbkort (som i appen) */
.cards { display: flex; flex-direction: column; gap: 14px; }
.job { background: var(--white); color: var(--ink); border-radius: 22px; padding: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.job:nth-child(2) { margin-left: 32px; }
.job:nth-child(3) { margin-left: 12px; }
.job .pic { height: 92px; border-radius: 14px; display: grid; place-items: center; font-size: 40px; }
.job .row { display: flex; align-items: center; gap: 12px; padding: 12px 8px 6px; }
.job .title { font-weight: 800; font-size: 16px; }
.job .meta { color: var(--ink-muted); font-size: 13px; }
.job .price { margin-left: auto; background: var(--orange); color: var(--white); font-weight: 800; border-radius: 10px; padding: 6px 10px; white-space: nowrap; }
.g-snow { background: linear-gradient(135deg, #4d7fb8, #e4f0fb); }
.g-paint { background: linear-gradient(135deg, #6fa8dc, #dde7f0); }
.g-garden { background: linear-gradient(135deg, #2f7d32, #9ccc65); }

/* Hvordan det virker */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 8px 0 72px; }
.how div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.how h3 { margin: 0 0 6px; font-size: 17px; }
.how p { margin: 0; color: var(--muted); font-size: 15px; }
.how .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); font-weight: 800; margin-bottom: 10px; }

/* Bunn */
footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--white); }

/* Tekstsider (personvern, vilkår) */
.doc { max-width: 720px; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -1px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: #d6d6d9; }
.draft { background: #3a2a00; color: #ffd27a; border: 1px solid #6b4e00; border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.todo { background: #3a2a00; color: #ffd27a; border-radius: 6px; padding: 0 6px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; }
  .how { grid-template-columns: 1fr; }
  .job:nth-child(2), .job:nth-child(3) { margin-left: 0; }
}
