/* finditUF – gemensam stil för hela webbplatsen */
/* Typsnitten ligger på den egna sidan (inga anrop till Google). */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --green: #3f7f3b;
  --green-dark: #2c5e29;
  --green-soft: #e4efe1;
  --pine: #1c2e1b;
  --ink: #232821;
  --muted: #5d665a;
  --line: #d9e1d5;
  --mist: #f3f6f0;
  --paper: #ffffff;
  --page: #f8f8f8;        /* sidans bakgrund, som på den gamla sidan */
  --night: #080808;       /* mörka sektioner */
  --night-ink: #f8f8f8;
  --night-line: #3a3a3a;
  --green-night: #5aa955; /* grönt som syns på mörk bakgrund */
  --bright: #28a745;      /* skicka-knappen på mörk bakgrund */
  --tag: #f4d35e;
  --tag-ink: #3b2f00;
  --danger: #b3261e;
  --danger-soft: #fbe9e7;
  --warn-soft: #fff4d4;
  --warn-ink: #6b4a00;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --display: "Playfair Display", Georgia, serif;
  --body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(28, 46, 27, .06), 0 6px 18px rgba(28, 46, 27, .07);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--display); color: var(--pine); line-height: 1.15; margin: 0 0 .4em; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3.6vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 32px, 1040px); margin-inline: auto; }
.wrap-narrow { width: min(100% - 32px, 720px); margin-inline: auto; }

/* Sidhuvud */
.site-head { background: var(--page); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { font-family: var(--body); font-weight: 700; font-size: 1.75rem; line-height: 1; letter-spacing: -.01em; color: var(--green); text-decoration: none; }
.brand small { font-family: var(--body); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: .5em; font-size: .9rem; }
.main-nav { display: flex; align-items: center; gap: 4px 22px; font-size: .98rem; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--green-dark); }
.main-nav a[aria-current=page] { color: var(--green-dark); border-bottom-color: var(--green); }
.main-nav a.nav-cta { border: 1.5px solid var(--green); color: var(--green-dark); padding: 6px 14px; border-radius: 8px; font-weight: 600; }
.main-nav a.nav-cta:hover, .main-nav a.nav-cta[aria-current=page] { background: var(--green); color: #fff; border-bottom-color: var(--green); }
.nav-toggle { display: none; font: inherit; font-weight: 600; background: none; border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 12px; color: var(--ink); cursor: pointer; }
@media (max-width: 879px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--page); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px max(16px, env(safe-area-inset-left, 0px)) 14px; box-shadow: 0 10px 20px rgba(0,0,0,.06); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current=page] { border-bottom-color: var(--line); font-weight: 700; }
  .main-nav a.nav-cta { margin-top: 12px; text-align: center; padding: 10px 14px; }
}

/* Sidfot */
.site-foot { background: var(--night); color: var(--night-ink); padding-block: 40px 32px; margin-top: 0; }
.site-foot .wrap { display: grid; gap: 24px; }
@media (min-width: 720px) { .site-foot .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.site-foot .brand { font-size: 1.6rem; color: var(--green-night); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--night-ink); }
.site-foot .social { display: flex; gap: 14px; margin-top: 14px; }
.site-foot .social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--night-line); }
.site-foot .social svg { width: 18px; height: 18px; }
.site-foot .copy { grid-column: 1 / -1; color: #a9a9a9; font-size: .9rem; margin: 8px 0 0; }

.demo-bar { background: var(--tag); color: var(--tag-ink); font-size: .9rem; text-align: center; padding: 6px 16px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 16px; }

/* Knappar och formulär */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: .62em 1.15em; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--green); color: #fff; cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--green-dark); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-ghost { background: transparent; color: var(--green-dark); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); border-color: var(--green); }
.btn-danger { background: transparent; color: var(--danger); border-color: #e7c2bf; }
.btn-danger:hover { background: var(--danger-soft); }
.btn-small { font-size: .9rem; padding: .4em .85em; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--green-dark); text-decoration: underline; cursor: pointer; }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > span { font-weight: 600; font-size: .95rem; color: var(--pine); }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=search], input[type=number], textarea, select {
  font: inherit; font-size: 1rem; width: 100%;
  padding: .62em .8em; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: var(--paper); color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
textarea { min-height: 110px; resize: vertical; }
.prefixed { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--radius-s); overflow: hidden; background: var(--paper); }
.prefixed:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.prefixed span { background: var(--mist); color: var(--muted); padding: .62em .6em; font-size: .9rem; white-space: nowrap; display: flex; align-items: center; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.prefixed input { border: 0; box-shadow: none !important; min-width: 0; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; cursor: pointer; }
.check input { width: 1.1em; height: 1.1em; accent-color: var(--green); }
.grid-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.panel { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; background: var(--paper); }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.35rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.notice { border-radius: var(--radius-m); padding: 14px 16px; margin-bottom: 20px; border: 1px solid transparent; }
.notice strong { display: block; color: inherit; }
.notice p { margin: .25em 0 0; }
.notice-wait { background: var(--warn-soft); color: var(--warn-ink); border-color: #f1dca0; }
.notice-ok { background: var(--green-soft); color: var(--green-dark); border-color: #c7dcc2; }
.notice-bad { background: var(--danger-soft); color: var(--danger); border-color: #f0c9c5; }

.pill { display: inline-block; font-size: .8rem; font-weight: 700; padding: .15em .65em; border-radius: 999px; white-space: nowrap; }
.pill-pending { background: var(--warn-soft); color: var(--warn-ink); }
.pill-approved { background: var(--green-soft); color: var(--green-dark); }
.pill-rejected { background: var(--danger-soft); color: var(--danger); }

/* Prislapp – formad som en hängetikett */
.tag {
  position: relative; display: inline-flex; align-items: center;
  background: var(--tag); color: var(--tag-ink); font-weight: 700; font-size: .95rem;
  padding: .18em .75em .18em 1.35em; line-height: 1.3;
  clip-path: polygon(.65em 0, 100% 0, 100% 100%, .65em 100%, 0 50%);
}
.tag::before {
  content: ""; position: absolute; left: .6em; top: 50%; width: .34em; height: .34em;
  border-radius: 50%; background: var(--paper); transform: translateY(-50%);
}

/* Logotyp */
.logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--mist); border: 1px solid var(--line); flex: none; }
.logo-fallback { display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--green-dark); background: var(--green-soft); }

dialog { border: 0; border-radius: var(--radius-l); padding: 0; width: min(100% - 24px, 560px); max-height: calc(100% - 24px); box-shadow: 0 20px 60px rgba(0,0,0,.25); color: var(--ink); }
dialog::backdrop { background: rgba(20, 30, 20, .45); }
.dlg-body { padding: 20px; }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.dlg-head h2 { margin: 0; font-size: 1.25rem; }
.icon-btn { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; border-radius: 8px; }
.icon-btn:hover { background: var(--mist); color: var(--ink); }

/* Konto och admin */
.page { padding: 32px 0 64px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: thin; }
.tabs button { white-space: nowrap; flex: none; font: inherit; font-weight: 600; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected=true] { color: var(--pine); border-bottom-color: var(--green); }
.auth-box { max-width: 420px; margin: 0 auto; }

.logo-pick { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.logo-pick .logo { width: 72px; height: 72px; font-size: 1.6rem; }

.qr-box { display: grid; gap: 16px; align-items: center; }
@media (min-width: 560px) { .qr-box { grid-template-columns: 180px 1fr; } }
.qr-box .qr { width: 180px; height: 180px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 8px; }
.qr-box .url { word-break: break-all; font-size: .9rem; margin: 0 0 12px; }

.admin-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.admin-row strong { display: block; color: var(--pine); }
.admin-row .sub { font-size: .9rem; color: var(--muted); }
.admin-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.admin-tools input[type=search] { max-width: 280px; }
.detail-grid { display: grid; gap: 4px 16px; grid-template-columns: max-content 1fr; font-size: .95rem; margin: 0 0 16px; }
.detail-grid dt { color: var(--muted); }
.detail-grid dd { margin: 0; word-break: break-word; }
.mini-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mini-thumbs > * { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--mist); display: grid; place-items: center; font-weight: 700; color: var(--muted); }

.toast-zone { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(100% - 32px, 420px); pointer-events: none; }
.toast { background: var(--pine); color: #fff; padding: 12px 16px; border-radius: var(--radius-m); box-shadow: var(--shadow); font-size: .95rem; pointer-events: auto; }
.toast.err { background: var(--danger); }
body.has-dock .toast-zone { bottom: 100px; }

.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; margin: 48px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } * { transition: none !important; } }

/* Utskrift av etikettark (A4, 4 per rad) */
#print-area { display: none; }
@media print {
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block !important; }
  @page { size: A4 portrait; margin: 10mm; }
}
.labels { display: grid; grid-template-columns: repeat(4, 1fr); font-family: var(--body); color: #000; }
.label {
  height: 45mm; border: .2mm dashed #b5b5b5; margin: -.1mm;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  break-inside: avoid; page-break-inside: avoid;
}
.label .l-top { font-weight: 800; font-size: 8pt; }
.label .l-qr svg { width: 35mm; height: 35mm; display: block; }
.label .l-code { font-size: 6.5pt; letter-spacing: .06em; color: #333; font-variant-numeric: tabular-nums; }

/* ---------- Startsidan ---------- */
.start { padding-block: 40px 56px; display: grid; gap: 28px; }
.start h1 { text-wrap: balance; }
.start .lead { color: var(--muted); max-width: 52ch; font-size: 1.1rem; }
.code-form { display: flex; gap: 10px; flex-wrap: wrap; }
.code-form input { flex: 1 1 200px; font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

/* ---------- Skanningssidan ---------- */
.found { padding-block: 24px 48px; }
.found-photo { border-radius: var(--radius-l); overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; max-width: 100%; margin-bottom: 20px; }
.found-photo img { width: 100%; height: 100%; object-fit: cover; }
.belongs { font-size: 1.05rem; color: var(--green-dark); font-weight: 600; margin: 0 0 4px; }
.found h1 { text-wrap: balance; margin-bottom: 8px; }
.found .desc { color: var(--muted); max-width: 60ch; }
.lost-banner { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; background: var(--warn-soft); color: var(--warn-ink); border: 1px solid #f1dca0; border-radius: var(--radius-m); padding: 12px 16px; margin-bottom: 20px; font-weight: 600; }
.owner-msg { margin: 18px 0 0; padding: 14px 16px; border-left: 4px solid var(--green); background: var(--mist); border-radius: 0 var(--radius-m) var(--radius-m) 0; white-space: pre-line; }
.owner-msg cite { display: block; font-style: normal; font-size: .9rem; color: var(--muted); margin-top: 6px; }
.help { margin-top: 28px; display: grid; gap: 20px; }
.help h2 { margin: 0; }
.help .panel { display: grid; gap: 12px; }
.help .panel > * { margin: 0; }
.big-btn { font-size: 1.1rem; padding: .8em 1.2em; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; }
.contact a { flex: 1 1 auto; }
@media (min-width: 640px) { .contact a { flex: 0 0 auto; } }
.done { background: var(--green-soft); color: var(--green-dark); border-radius: var(--radius-m); padding: 14px 16px; font-weight: 600; }
.privacy { font-size: .9rem; color: var(--muted); }
.found-foot { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: .9rem; }

/* ---------- Mina saker ---------- */
.items { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.item-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.item-row .thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--mist); display: grid; place-items: center; color: var(--muted); }
.item-row .thumb svg { width: 26px; height: 26px; }
.item-row strong { display: block; color: var(--pine); font-size: 1.05rem; }
.item-row .sub { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.code-txt { letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.pill-lost { background: var(--tag); color: var(--tag-ink); }
.pill-new { background: var(--mist); color: var(--muted); }
.pill-active { background: var(--green-soft); color: var(--green-dark); }
.pill-blocked { background: var(--danger-soft); color: var(--danger); }
.pill-unseen { background: var(--danger); color: #fff; }
.activate-row { display: flex; gap: 10px; flex-wrap: wrap; }
.activate-row input { flex: 1 1 180px; letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.lost-panel.is-lost { border-color: #f1dca0; background: var(--warn-soft); }

.show-list { display: grid; gap: 10px; margin: 0 0 16px; }
.show-list .check { align-items: flex-start; }
.show-list .check small { display: block; color: var(--muted); font-weight: 400; }
.show-list .check.off { color: var(--muted); }

.reports { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.report { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px; display: grid; gap: 8px; }
.report.unseen { border-color: var(--danger); box-shadow: inset 4px 0 0 var(--danger); }
.report .when { font-size: .9rem; color: var(--muted); }
.report p { margin: 0; white-space: pre-line; }

.found-alert { border: 1px solid #f0c9c5; background: var(--danger-soft); color: var(--danger); border-radius: var(--radius-m); padding: 14px 16px; margin-bottom: 20px; }
.found-alert strong { display: block; }
.found-alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.found-alert a { color: inherit; font-weight: 600; }

/* ---------- Admin ---------- */
.tag-table-wrap { overflow-x: auto; }
.tag-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tag-table th, .tag-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tag-table th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.tag-table td.acts { white-space: nowrap; text-align: right; }
.tag-table td.code-txt { white-space: nowrap; }
.made-codes { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 8px 0 12px; font-size: .95rem; }

.btn-danger-solid { background: var(--danger); }
.btn-danger-solid:hover { background: #8f1d17; }
.confirm-dlg { width: min(100% - 24px, 420px); }
.confirm-dlg p { margin: 0 0 16px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.back-link svg { width: 1.1em; height: 1.1em; }

/* =====================================================================
   Webbplatsens sidor (Hem, Så fungerar det, Om oss, Kontakta oss …)
   Samma uppbyggnad som den tidigare sidan hos Strato.
   ===================================================================== */
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); border-radius: 8px; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-square { border-radius: 8px; }

.section { padding-block: 56px; }
.section-tight { padding-block: 32px; }
.night { background: var(--night); color: var(--night-ink); }
.night h1, .night h2, .night h3 { color: var(--green-night); }
.night a { color: var(--night-ink); }
.eyebrow-title { font-family: var(--display); color: var(--green); font-weight: 400; }

/* Hem: rubrik + kort text bredvid */
.home-hero { padding-block: 56px 36px; display: grid; gap: 20px 48px; align-items: start; }
@media (min-width: 760px) { .home-hero { grid-template-columns: 1.15fr 1fr; padding-block: 72px 44px; } }
.home-hero h1 { font-weight: 400; color: var(--green); font-size: clamp(2.2rem, 5.4vw, 3.4rem); text-wrap: balance; margin: 0; }
.home-hero p { margin: 6px 0 16px; font-size: 1.1rem; max-width: 38ch; }

/* Hem: stor bild med tre kort som överlappar nederkanten */
.home-photo { border-radius: 2px; overflow: hidden; aspect-ratio: 16 / 8; max-width: 100%; background: var(--mist); }
.home-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.features { list-style: none; padding: 0; margin: -70px auto 0; display: grid; gap: 18px; width: min(100% - 32px, 980px); position: relative; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -90px; } }
@media (max-width: 759px) { .features { margin-top: 20px; } }
.feature { background: var(--paper); box-shadow: 0 8px 28px rgba(0, 0, 0, .09); padding: 18px 18px 26px; min-width: 0; }
.feature img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 18px; }
.feature h3 { font-weight: 400; color: var(--green); font-size: 1.35rem; margin-bottom: 10px; }
.feature p { margin: 0; }

/* Hem: Smarta lösningar */
.split { display: grid; gap: 28px 56px; align-items: center; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; } }
.split > * { min-width: 0; }
.split img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { font-weight: 400; color: var(--green); font-size: clamp(1.9rem, 4.4vw, 2.8rem); text-wrap: balance; }
.split h3 { font-weight: 400; color: var(--green); font-size: clamp(1.3rem, 3vw, 1.7rem); text-wrap: balance; margin-bottom: 18px; }

/* Hem: hittat något-bandet */
.find-band { background: var(--green-soft); }
.find-band .wrap { display: grid; gap: 14px 40px; padding-block: 36px; align-items: center; }
@media (min-width: 760px) { .find-band .wrap { grid-template-columns: 1.2fr 1fr; } }
.find-band h2 { color: var(--green-dark); font-weight: 400; margin: 0 0 6px; }
.find-band p { margin: 0; color: var(--muted); }
.code-form { display: flex; gap: 10px; flex-wrap: wrap; }
.code-form input { flex: 1 1 180px; font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

/* Kontaktsektion och formulär (mörk) */
.contact-grid { display: grid; gap: 32px 64px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid > * { min-width: 0; }
.contact-form .field > span { color: inherit; font-weight: 600; }
.night .contact-form input[type=text], .night .contact-form textarea { background: transparent; color: var(--night-ink); border: 2px solid var(--night-ink); border-radius: 0; }
.night .contact-form input:focus, .night .contact-form textarea:focus { border-color: var(--green-night); box-shadow: 0 0 0 3px rgba(90, 169, 85, .35); }
.contact-form textarea { min-height: 150px; }
.contact-form .check { align-items: flex-start; font-weight: 400; font-size: .98rem; margin-bottom: 18px; }
.contact-form .check input { margin-top: .2em; flex: none; }
.btn-send { width: 100%; border-radius: 0; background: var(--bright); color: var(--night); font-weight: 600; }
.btn-send:hover { background: #1f8f3a; color: var(--night); }
.light .contact-form input[type=text], .light .contact-form textarea { border: 2px solid var(--ink); border-radius: 0; background: var(--paper); }
.contact-done { padding: 18px; border: 2px solid var(--green-night); }
.night .contact-done { color: var(--night-ink); }
.contact-side h2 { font-weight: 400; margin-bottom: 14px; }
.contact-side p { margin: 0 0 10px; }
.social-row { display: flex; gap: 16px; margin-top: 14px; }
.social-row a { display: inline-flex; color: inherit; }
.social-row svg { width: 22px; height: 22px; }

/* Bildband överst på undersidor */
.strip { height: clamp(110px, 16vw, 170px); overflow: hidden; background: var(--night); }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* Så fungerar det */
.how-hero { display: grid; gap: 28px; align-items: center; padding-block: 56px; }
@media (min-width: 760px) { .how-hero { grid-template-columns: 1fr 1fr; padding-block: 80px; } }
.how-hero > * { min-width: 0; }
.how-hero h1 { font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); }
.how-hero p { max-width: 52ch; }
.how-hero img { width: 100%; height: auto; max-width: 640px; justify-self: end; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--night-line); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { padding: 28px 24px 36px; border-bottom: 1px solid var(--night-line); min-width: 0; }
@media (min-width: 760px) { .steps li { border-bottom: 0; } .steps li + li { border-left: 1px solid var(--night-line); } }
.steps h2 { font-weight: 400; font-size: 1.6rem; }
.steps p { margin: 0; }
.start-links { display: grid; gap: 18px; }
@media (min-width: 760px) { .start-links { grid-template-columns: 1fr 1fr; } }
.start-links .panel { margin: 0; display: grid; gap: 10px; align-content: start; }
.start-links .panel + .panel { margin-top: 0; }
.start-links h2 { margin: 0; }
.start-links p { margin: 0; }
.start-links .btn { justify-self: start; }

/* Om oss */
.story h2 { font-weight: 400; color: var(--green); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.story h3 { font-weight: 400; color: var(--green); font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 18px; }
.story p { max-width: 75ch; }
.cta-split { background: #e6e6e6; }
.cta-split .split img { height: auto; aspect-ratio: 4 / 3; filter: grayscale(1) contrast(.9) brightness(1.15); opacity: .85; }

/* Textsidor (juridisk information, integritetspolicy) */
.prose { padding-block: 48px 64px; }
.prose h1 { font-weight: 400; color: var(--green); font-size: clamp(2rem, 4.6vw, 2.8rem); }
.prose h2 { font-weight: 400; color: var(--green); font-size: 1.5rem; margin-top: 36px; }
.prose p, .prose li { max-width: 70ch; }
.prose ul { padding-left: 1.2em; }
.prose .table-wrap { overflow-x: auto; margin: 0 0 1em; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .97rem; background: var(--paper); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.prose th { background: var(--mist); font-weight: 700; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 24px 0; }
.facts dt { font-weight: 700; color: var(--pine); }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.story .h2-look { font-weight: 400; color: var(--green); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.story .h3-look { font-family: var(--display); font-weight: 400; color: var(--green); font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 18px; }
.page-title { font-weight: 400; color: var(--green); font-size: clamp(2rem, 4.6vw, 2.6rem); margin-bottom: 20px; }
.start h1 { font-weight: 400; color: var(--green); }

/* Platsrutan på sidan man kommer till när man skannar */
.loc-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-m); background: var(--green-soft); color: var(--pine); margin-bottom: 18px; }
.loc-box p { margin: 4px 0 0; font-size: .97rem; }
.loc-box .btn-row { margin-top: 10px; }
.loc-box .loc-icon svg { width: 26px; height: 26px; color: var(--green-dark); flex: none; display: block; }
.loc-box.loc-done { background: var(--green); color: #fff; }
.loc-box.loc-done .loc-icon svg { color: #fff; }
.loc-box.loc-done .btn { background: #fff; color: var(--green-dark); }
.loc-box.loc-done .btn-ghost { border-color: rgba(255,255,255,.7); background: transparent; color: #fff; }
.loc-box.loc-off { background: var(--warn-soft); color: var(--warn-ink); }
.loc-box.loc-off .loc-icon svg { color: var(--warn-ink); }
