/* Asur-AI trust/conversion mockup – preview only */
@import url("https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --burgundy: #722F37;
  --burgundy-deep: #4F1F25;
  --royal: #6B0F1A;
  --ink: #1C1412;
  --muted: #5C524E;
  --line: #E4DCD6;
  --paper: #F7F3EE;
  --white: #FFFCF8;
  --ok: #2F6B4F;
  --warn: #8A5A12;
  --focus: #1A5FAD;
  --font: "Schibsted Grotesk", system-ui, "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: var(--burgundy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; z-index: 10000;
}
.skip-link:focus {
  left: 1rem; top: 1rem; width: auto; height: auto;
  padding: .65rem 1rem; background: var(--burgundy); color: #fff;
  border-radius: 8px; font-weight: 600;
}

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

.mockup-banner {
  background: var(--ink);
  color: #f3ebe6;
  font-size: .88rem;
  padding: .65rem 0;
  border-bottom: 1px solid #3a302c;
}
.mockup-banner .wrap {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  align-items: center; justify-content: space-between;
}
.mockup-banner strong { color: #fff; }
.mockup-banner a {
  color: #fff; background: var(--burgundy);
  padding: .4rem .85rem; border-radius: 8px; font-weight: 600; text-decoration: none;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(247, 243, 238, .92);
  border-bottom: 1px solid var(--line);
}

/* Sticky header ska inte täcka sidrubriker eller ankare (#byra m.fl.) */
html {
  scroll-padding-top: 5.5rem;
}
.page-hero,
.hero,
section[id] {
  scroll-margin-top: 5.5rem;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0; position: relative;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--burgundy); color: #fff;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.nav-links {
  display: flex; gap: 1.1rem; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--muted); font-weight: 500; font-size: .92rem; text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: .55rem; }
/* Högre specificitet än .btn så kompakt CTA inte syns på desktop */
a.nav-cta-compact.btn { display: none; }
.nav-logout-form { margin: 0; display: inline-flex; }
.nav-logout-form .btn { font: inherit; }
.footer-logout-form { margin: 0; display: inline; }
.footer-logout-form button {
  background: none; border: 0; padding: 0; margin: 0;
  color: #fff; font: inherit; cursor: pointer; text-align: left;
}
.footer-logout-form button:hover { text-decoration: underline; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: .45rem .65rem; font: inherit; cursor: pointer;
  min-height: 44px; min-width: 44px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 10px; padding: .75rem 1.15rem; font-weight: 650; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s ease, background .2s ease; font-family: inherit;
  min-height: 44px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--burgundy); color: #fff; }
.btn-primary:hover { background: var(--burgundy-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: #c9bbb2; background: #fff; color: var(--ink); }
.btn-lg { padding: .95rem 1.35rem; font-size: 1rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }

.hero {
  position: relative; overflow: hidden;
  min-height: min(78vh, 720px);
  display: grid; align-items: end;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(114,47,55,.16), transparent 55%),
    linear-gradient(165deg, #FBF7F2 0%, #EFE4DC 45%, #E8D5CE 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem;
  align-items: center; padding: 3rem 0 2.5rem;
}
.hero-brand {
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: .95;
  letter-spacing: -.04em; color: var(--burgundy); margin: 0 0 1rem; font-weight: 650;
  animation: rise .8s ease both;
}
.hero h1, .page-hero h1 {
  font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15;
  letter-spacing: -.03em; margin: 0 0 .85rem; font-weight: 600;
}
.hero-lead, .page-lead, .section-lead {
  font-size: 1.08rem; color: var(--muted); max-width: 36rem;
  margin: 0 0 1.35rem; line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .75rem; }
.hero-note { color: var(--muted); font-size: .9rem; margin: 0; }

.page-hero {
  padding: 2.75rem 0 1.4rem;
  background: linear-gradient(165deg, #FBF7F2, #EFE4DC);
  text-align: center;
}
.page-hero .page-lead,
.page-hero .hero-note,
.page-hero .hero-lead {
  margin-left: auto;
  margin-right: auto;
}
.page-hero .hero-cta {
  justify-content: center;
}
.kicker {
  color: var(--burgundy); font-weight: 700; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .55rem;
}

.windows-faq {
  text-align: center;
}
.windows-faq .kicker {
  text-align: center;
}
.windows-faq .faq {
  text-align: left;
}

section { padding: 3.5rem 0; }
.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.05rem); letter-spacing: -.025em;
  line-height: 1.15; margin: 0 auto .65rem; max-width: 36rem; font-weight: 600;
  text-align: center;
}
.section-lead {
  margin: 0 auto 1.75rem;
  text-align: center;
}

.product-stage {
  border-radius: 18px; background: linear-gradient(160deg, #fff, #f4ebe5);
  border: 1px solid rgba(114,47,55,.12); padding: 1rem;
  animation: rise .9s ease .15s both;
}
.product-chrome {
  display: flex; align-items: center; gap: .35rem;
  margin-bottom: .7rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line);
}
.chrome-dot { width: 8px; height: 8px; border-radius: 50%; background: #d4c4bc; }
.chrome-title { margin-left: auto; font-size: .75rem; color: var(--muted); font-weight: 600; }
.product-panes { display: grid; grid-template-columns: 1.1fr .9fr; gap: .7rem; }
.product-pane {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .85rem;
}
.pane-label {
  margin: 0 0 .5rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--burgundy);
}
.receipt-card, .verifikat-card {
  border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; background: #fff;
}
.receipt-card { display: grid; gap: .15rem; margin-bottom: .4rem; }
.receipt-card span, .verifikat-card span { font-size: .82rem; color: var(--muted); }
.arrow-line {
  font-size: .75rem; font-weight: 700; color: var(--burgundy);
  margin: .3rem 0; text-align: center;
}
.verifikat-card { display: grid; gap: .3rem; }
.verifikat-card div { display: flex; justify-content: space-between; gap: .5rem; font-size: .82rem; }
.demo-play {
  margin-top: .75rem; display: flex; gap: .5rem; flex-wrap: wrap;
}
.demo-step {
  opacity: .45; transition: opacity .35s ease;
}
.demo-step.is-on { opacity: 1; }
.approve-pulse {
  display: inline-block; margin-top: .55rem; font-size: .78rem;
  font-weight: 650; color: var(--ok);
}

/* Bildspel: fota → godkänn */
.flow-slideshow { min-height: 0; }
.flow-progress {
  height: 3px; background: rgba(114,47,55,.12); border-radius: 999px;
  margin: 0 0 .85rem; overflow: hidden;
}
.flow-progress > span {
  display: block; height: 100%; width: 0;
  background: var(--burgundy); border-radius: inherit;
  transition: width .45s ease;
}
.flow-stage {
  position: relative;
  min-height: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .95rem 1rem 1rem;
  overflow: hidden;
}
.flow-slide {
  display: none;
  animation: flowIn .4s ease both;
}
.flow-slide.is-on { display: block; }
.flow-caption {
  margin: .85rem 0 0;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.45;
}
.flow-visual { display: grid; gap: .35rem; }
.flow-visual-camera { justify-items: start; }
.flow-phone {
  width: 148px; border-radius: 18px; padding: .7rem .65rem 1rem;
  background: linear-gradient(160deg, #2a2220, #4a3532);
  box-shadow: 0 10px 24px rgba(28,20,18,.18);
  position: relative;
}
.flow-phone-lens {
  width: 10px; height: 10px; border-radius: 50%;
  background: #8a7a74; margin: 0 auto .55rem;
}
.flow-phone-shot {
  background: #fff; border-radius: 10px; padding: .7rem .75rem;
  display: grid; gap: .15rem; min-height: 88px; align-content: center;
}
.flow-phone-shot strong { font-size: .92rem; }
.flow-phone-shot span { font-size: .82rem; color: var(--muted); }
.flow-scan { position: relative; overflow: hidden; }
.flow-scan-line {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--burgundy), transparent);
  animation: flowScan 1.8s ease-in-out infinite;
}
.flow-todo { display: grid; gap: .45rem; }
.flow-todo-row {
  display: flex; justify-content: space-between; gap: .75rem; align-items: center;
  padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px;
  background: #fbf8f5; font-size: .88rem;
}
.flow-todo-row.is-active {
  border-color: rgba(114,47,55,.35); background: #fbf6f5;
}
.flow-todo-row strong { color: var(--burgundy); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.flow-preview {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #f7f3ee;
}
.flow-preview-bar {
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--burgundy); padding: .55rem .75rem; border-bottom: 1px solid var(--line);
  background: #fff;
}
.flow-preview-body { padding: .75rem; }
.flow-approve .approve-pulse {
  display: inline-flex; align-items: center; min-height: 36px;
  margin: 0 0 .65rem; padding: .35rem .7rem; border-radius: 8px;
  background: #e8f3ec; color: var(--ok);
}
.flow-unlimited {
  border: 1px solid rgba(114,47,55,.28);
  border-radius: 12px;
  background: linear-gradient(160deg, #fbf6f5, #fff);
  padding: 1rem 1.05rem;
  display: grid;
  gap: .55rem;
}
.flow-unlimited strong {
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--burgundy);
  letter-spacing: -.01em;
}
.flow-unlimited > p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.flow-unlimited ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: .88rem;
  display: grid;
  gap: .25rem;
}
.flow-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: .65rem; margin-top: .85rem;
}
.flow-controls .btn {
  min-width: 44px; padding: .55rem .75rem;
}
.flow-dots {
  display: flex; gap: 0; flex-wrap: wrap; justify-content: center; flex: 1;
}
.flow-dots button {
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: transparent; padding: 0; cursor: pointer;
  min-height: 44px; min-width: 44px;
  display: grid; place-items: center;
}
.flow-dots button::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: #d4c4bc;
  transition: transform .15s ease, background .15s ease;
}
.flow-dots button[aria-selected="true"]::before {
  background: var(--burgundy); transform: scale(1.25);
}
.flow-steps-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .75rem;
}
.flow-steps-list li {
  margin: 0; padding: 0;
}
.flow-steps-list button {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  padding: .95rem .9rem; display: grid; gap: .35rem; text-align: left;
  cursor: pointer; font: inherit; color: inherit; min-height: 44px;
  transition: border-color .2s ease, background .2s ease;
}
.flow-steps-list button:hover,
.flow-steps-list button:focus-visible {
  border-color: rgba(114,47,55,.4); background: #fbf6f5;
}
.flow-steps-list strong { color: var(--burgundy); font-size: .92rem; }
.flow-steps-list span { color: var(--muted); font-size: .85rem; line-height: 1.4; }

@keyframes flowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes flowScan {
  0% { top: 8%; opacity: .2; }
  50% { opacity: 1; }
  100% { top: 88%; opacity: .2; }
}

@media (max-width: 960px) {
  .flow-steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-stage { min-height: 200px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .flow-steps-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.trust-grid strong {
  display: block; font-size: 1.25rem; color: var(--burgundy); font-weight: 600;
}
.trust-grid span { font-size: .84rem; color: var(--muted); }

.anti-pack {
  display: inline-flex; align-items: center; gap: .45rem;
  margin: 0 0 1.15rem;
  background: #eef7f0; border: 1px solid #c9e2d3; color: #214836;
  padding: .45rem .85rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.proof-strip {
  background: var(--white); border-bottom: 1px solid var(--line); padding: 1.35rem 0;
}
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
}
.proof-grid strong {
  display: block; font-size: 1.55rem; color: var(--burgundy);
  letter-spacing: -.02em; margin-bottom: .2rem;
}
.proof-grid span { color: var(--muted); font-size: .9rem; }
.compare-callout {
  background: linear-gradient(165deg, #fff, #f4ebe5);
  border: 1px solid rgba(114,47,55,.14);
  border-radius: 16px; padding: 1.5rem 1.35rem; text-align: center;
}
.compare-callout h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.compare-callout p { margin: 0 auto 1rem; max-width: 36rem; color: var(--muted); }
.compare-pills {
  display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin: 0 0 1rem;
}
.compare-pills span {
  border: 1px dashed #c9bbb2; border-radius: 999px; padding: .35rem .75rem;
  font-size: .85rem; color: var(--muted); text-decoration: line-through;
}
.compare-pills .win {
  text-decoration: none; background: var(--burgundy); color: #fff; border-color: var(--burgundy);
  font-weight: 650;
}

.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.icon-card {
  padding: 1.2rem 1.25rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white);
}
.icon-badge {
  width: 42px; height: 42px; border-radius: 11px;
  background: #f3e8e6; color: var(--burgundy);
  display: grid; place-items: center; font-weight: 700; margin-bottom: .75rem;
}
.icon-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.icon-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote-card {
  margin: 0; padding: 1.2rem 1.25rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white);
  text-align: center;
}
.quote-card p {
  margin: 0 0 .85rem; font-size: 1.02rem; line-height: 1.45; color: var(--ink);
  text-align: center;
}
.quote-card footer {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: var(--burgundy);
  border-radius: 999px;
  padding: .45rem .85rem;
}
.quote-tag {
  display: inline-block; margin-bottom: .55rem; font-size: .72rem;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--warn); background: #f8efd9; padding: .2rem .5rem; border-radius: 6px;
}

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.offer-card {
  padding: 1.35rem 1.4rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white);
  display: flex; flex-direction: column; gap: .75rem;
}
.offer-card-accent {
  border-color: rgba(114,47,55,.35); background: #fbf6f5;
}
.offer-label {
  margin: 0; font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--burgundy);
}
.offer-card h3 { margin: 0; font-size: 1.5rem; font-weight: 500; }
.offer-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); flex: 1; }
.offer-card li { margin: .28rem 0; }
.offer-card .btn { align-self: flex-start; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 1rem 0; }
.compare-table th, .compare-table td {
  border: 1px solid var(--line); padding: .75rem .85rem; text-align: left; vertical-align: top;
}
.compare-table th { background: #efe8e0; font-weight: 650; }
.compare-table th:nth-child(2),
.compare-table td:nth-child(2) { background: #f6ebe8; }
.compare-table .check { color: var(--ok); font-weight: 700; }
.compare-table .dash { color: var(--muted); }

.legal-callout {
  padding: 1rem 1.15rem; border-radius: 12px;
  background: #f8efd9; border: 1px solid #e5d3a4; color: #4a3510;
  margin: 1rem 0 1.5rem;
}
.legal-callout strong { display: block; margin-bottom: .25rem; }
.notice-ok {
  padding: 1rem 1.15rem; border-radius: 12px;
  background: #eef7f0; border: 1px solid #c9e2d3; color: #214836;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; color: var(--burgundy); font-size: 1.4rem; margin-bottom: .4rem; font-weight: 600;
}
.step h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

.feature-toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  margin-bottom: 1.25rem;
}
.feature-toolbar input[type="search"],
.feature-toolbar select {
  font: inherit; padding: .7rem .85rem; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; min-height: 44px; color: var(--ink);
}
.feature-toolbar input[type="search"] { flex: 1; min-width: 220px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.filter-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .4rem .8rem; font: inherit; font-size: .85rem; cursor: pointer;
  min-height: 40px; color: var(--muted);
}
.filter-chip[aria-pressed="true"] {
  background: var(--burgundy); color: #fff; border-color: var(--burgundy);
}
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature {
  padding: 1.15rem 1.2rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white);
}
.feature h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }
.feature .tags { margin-top: .65rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  font-size: .72rem; font-weight: 650; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: .2rem .55rem;
}
.feature[hidden] { display: none !important; }
.feature-empty { display: none; color: var(--muted); padding: 1rem 0; }
.feature-empty.show { display: block; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.team-card {
  padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); text-align: center;
}
.avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto .75rem;
  background: linear-gradient(145deg, #8a4a52, var(--burgundy));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem;
}
.team-card h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.team-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.company-box {
  padding: 1.35rem 1.45rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white);
}
.company-box dl {
  display: grid; grid-template-columns: 10rem 1fr; gap: .45rem .75rem; margin: 0;
}
.company-box dt { color: var(--muted); font-weight: 500; }
.company-box dd { margin: 0; font-weight: 600; }
.placeholder-note {
  margin-top: .85rem; font-size: .85rem; color: var(--warn);
}

.screenshot {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: 0 12px 40px rgba(28,20,18,.06);
}
.screenshot-bar {
  display: flex; gap: .35rem; padding: .65rem .85rem; background: #f4ebe5;
  border-bottom: 1px solid var(--line);
}
.screenshot-body { padding: 1rem; min-height: 220px; }
.agency-cols {
  display: grid; grid-template-columns: 180px 1fr; gap: .75rem; min-height: 200px;
}
.agency-side {
  background: var(--burgundy-deep); color: #f0d9de; border-radius: 10px; padding: .75rem;
  font-size: .78rem;
}
.agency-side div { padding: .35rem .4rem; border-radius: 6px; margin-bottom: .25rem; }
.agency-side .on { background: rgba(255,255,255,.12); color: #fff; font-weight: 650; }
.agency-main { display: grid; gap: .5rem; }
.agency-row {
  display: grid; grid-template-columns: 1.2fr .6fr .5fr; gap: .5rem;
  padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem;
}

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.blog-card {
  display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); overflow: hidden;
  color: inherit; text-decoration: none;
}
.blog-card:hover { border-color: var(--burgundy); text-decoration: none; }
.blog-thumb {
  height: 120px; background:
    linear-gradient(135deg, rgba(114,47,55,.2), transparent),
    linear-gradient(165deg, #EFE4DC, #E8D5CE);
}
.blog-card .body { padding: 1.1rem 1.15rem; }
.blog-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.blog-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.article { max-width: 42rem; }
.article h2 { font-size: 1.25rem; margin: 2rem 0 .65rem; }
.article p { color: var(--ink); }

.cta-band {
  background: linear-gradient(135deg, var(--burgundy-deep), var(--burgundy));
  color: #fff; border-radius: 20px; padding: 2rem 2.2rem;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 1.5rem; align-items: center;
}
.cta-band h2 { margin: 0 0 .4rem; color: #fff; font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-band .btn-primary { background: #fff; color: var(--burgundy-deep); }
.cta-band .fine { margin-top: .55rem; font-size: .85rem; color: rgba(255,255,255,.75); }

.final { text-align: center; padding-bottom: 4rem; }
.final h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .65rem; }
.final p { color: var(--muted); margin: 0 auto 1.3rem; max-width: 34rem; }
.final .hero-cta { justify-content: center; }

details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
details summary {
  cursor: pointer; font-weight: 650; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--burgundy); font-size: 1.2rem; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: .65rem 0 .2rem; max-width: 52rem; }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.muted { color: var(--muted); }
.list-clean { list-style: none; margin: 0; padding: 0; }
.list-clean li {
  margin: 0 0 .55rem; padding-left: 1rem; position: relative;
}
.list-clean li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .45rem; height: .45rem; border-radius: 50%; background: var(--burgundy);
}

footer,
footer.trust-footer{
  background:var(--royal);color:#f0d9de;padding:2.5rem 0 2rem;font-size:.92rem
}
footer a,
footer.trust-footer a{color:#fff}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem;
}
.footer-brand { font-size: 1.45rem; color: #fff; margin: 0 0 .5rem; font-weight: 650; }
.footer-cols h3 {
  color: #fff; font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; margin: 0 0 .7rem;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: .4rem; }
.footer-gdpr {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1.5rem;
}
.footer-gdpr strong { display: block; color: #fff; margin-bottom: .35rem; }
.footer-gdpr p { margin: 0 0 .55rem; color: rgba(255,240,244,.85); font-size: .88rem; }
.footer-gdpr .links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 1rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  justify-content: space-between; color: rgba(255,240,244,.72);
}

/* Chat widget */
.chat-launcher {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--burgundy); color: #fff; border: none;
  box-shadow: 0 8px 24px rgba(79,31,37,.35); cursor: pointer;
  font: inherit; font-weight: 700; font-size: .85rem;
}
.chat-launcher:hover { background: var(--burgundy-deep); }
.chat-panel {
  position: fixed; right: 1.25rem; bottom: 5.5rem; z-index: 60;
  width: min(360px, calc(100vw - 2rem));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 16px 48px rgba(28,20,18,.18); display: none; overflow: hidden;
}
.chat-panel.open { display: flex; flex-direction: column; max-height: min(480px, 70vh); }
.chat-head {
  background: var(--burgundy); color: #fff; padding: .85rem 1rem;
  display: flex; justify-content: space-between; align-items: center;
}
.chat-head button {
  background: transparent; border: 0; color: #fff; font-size: 1.2rem; cursor: pointer;
  min-width: 44px; min-height: 44px;
}
.chat-body { padding: 1rem; overflow: auto; flex: 1; display: grid; gap: .65rem; }
.chat-bubble {
  padding: .7rem .85rem; border-radius: 12px; font-size: .9rem; max-width: 92%;
}
.chat-bubble.bot { background: var(--paper); border: 1px solid var(--line); }
.chat-bubble.user { background: #f3e8e6; margin-left: auto; }
.chat-quick { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 1rem .75rem; }
.chat-quick button {
  font: inherit; font-size: .78rem; border: 1px solid var(--line);
  background: #fff; border-radius: 999px; padding: .35rem .65rem; cursor: pointer;
}
.chat-form {
  display: flex; gap: .4rem; padding: .75rem; border-top: 1px solid var(--line);
}
.chat-form input {
  flex: 1; font: inherit; border: 1px solid var(--line); border-radius: 10px;
  padding: .65rem .75rem; min-height: 44px;
}
.chat-form button {
  background: var(--burgundy); color: #fff; border: 0; border-radius: 10px;
  padding: 0 .9rem; font-weight: 650; cursor: pointer; min-height: 44px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .hero-grid, .product-panes, .trust-grid, .proof-grid, .icon-grid, .quote-grid,
  .offer-grid, .feature-grid, .team-grid, .blog-grid, .split,
  .grid-2, .grid-3, .steps, .cta-band, .footer-grid, .agency-cols {
    grid-template-columns: 1fr;
  }
  .trust-grid, .proof-grid { grid-template-columns: 1fr 1fr; }
  .company-box dl { grid-template-columns: 1fr; }
  .nav { justify-content: flex-start; gap: .45rem; }
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: inline-flex; margin-left: 0; }
  a.nav-cta-compact.btn {
    display: inline-flex;
    margin-left: auto;
    padding: .55rem .8rem;
    font-size: .82rem;
    white-space: nowrap;
    min-height: 44px;
  }
  .nav.open a.nav-cta-compact.btn { display: none; }
  .nav.open .nav-links,
  .nav.open .nav-actions {
    display: flex; flex-direction: column; align-items: stretch;
    width: 100%; order: 4; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: .35rem 0 .85rem; gap: .55rem;
  }
  .nav.open .nav-actions .btn { width: 100%; }
  .nav.open .nav-logout-form { width: 100%; }
  .nav.open { flex-wrap: wrap; }
  .nav.open .brand { order: 1; }
  .nav.open .menu-toggle { order: 2; margin-left: auto; }
  .nav.open .nav-links a {
    min-height: 44px; display: flex; align-items: center;
    padding: .35rem 0; font-size: 1rem;
  }
  .hero { min-height: auto; padding-block: 2.25rem 2rem; }
  .hero-grid > div:first-child {
    text-align: center;
  }
  .hero-brand,
  .hero h1,
  .hero .hero-lead,
  .hero .hero-note {
    text-align: center;
  }
  .hero .hero-lead,
  .hero .hero-note {
    margin-left: auto;
    margin-right: auto;
  }
  .hero .anti-pack {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta { justify-content: center; }
  .hero-cta, .page-hero .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .page-hero .hero-cta .btn { width: 100%; }
  .table-scroll { margin-inline: -0.5rem; padding-inline: 0.5rem; }
  .final .hero-cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 1.25rem)); }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-brand { font-size: .95rem; }
  .section-title { font-size: 1.35rem; }
}

/* Enhetlig centrerad marknadslayout (page-hero + sektionsrubriker) */
body.asur-trust-site .page-hero .kicker {
  text-align: center;
}
body.asur-trust-site .section-heading,
body.asur-trust-site .section-kicker {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
body.asur-trust-site .section-heading .eyebrow,
body.asur-trust-site .section-heading h2,
body.asur-trust-site .section-heading h3,
body.asur-trust-site .section-heading p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 40rem;
}
body.asur-trust-site .section-prose,
body.asur-trust-site .section-actions,
body.asur-trust-site .section-list {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
body.asur-trust-site .section-list {
  list-style-position: inside;
  padding-left: 0;
  margin-top: 1rem;
  line-height: 1.55;
  text-align: left;
  max-width: 28rem;
}
body.asur-trust-site .section-actions {
  margin-top: 1rem;
}
body.asur-trust-site .company-grid--windows {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
body.asur-trust-site .company-grid--windows .company-card {
  text-align: center;
}
body.asur-trust-site .feature-grid {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}
body.asur-trust-site .cta-band,
body.asur-trust-site .price-note,
body.asur-trust-site .final {
  text-align: center;
}
body.asur-trust-site .price-note .hero-actions,
body.asur-trust-site .cta-band .hero-cta {
  justify-content: center;
}
/* Featurekort centrerade; tabeller/FAQ/formulär behåller vänsterställd läsbarhet */
body.asur-trust-site .feature,
body.asur-trust-site .feature-card,
body.asur-trust-site .card-link,
body.asur-trust-site .step,
body.asur-trust-site .proof-item,
body.asur-trust-site .offer-card {
  text-align: center;
}
body.asur-trust-site .feature .feature-icon,
body.asur-trust-site .feature-card .feature-icon {
  margin-left: auto;
  margin-right: auto;
}
body.asur-trust-site .company-box,
body.asur-trust-site .table,
body.asur-trust-site details,
body.asur-trust-site .faq,
body.asur-trust-site .auth-card,
body.asur-trust-site .settings-section {
  text-align: left;
}
body.asur-trust-site .breadcrumb-nav {
  text-align: center;
}
body.asur-trust-site .breadcrumb-list {
  justify-content: center;
}
body.asur-trust-site .auth-page {
  text-align: center;
}
body.asur-trust-site .auth-card {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
body.asur-trust-site .auth-card h1,
body.asur-trust-site .auth-card > p:first-of-type {
  text-align: center;
}

/* Asur Windows – instruktionsfilm */
.windows-video-section {
  padding: 0 0 2.75rem;
}
.windows-video-frame {
  max-width: 52rem;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(114, 47, 55, 0.14);
  background: #1b1416;
  box-shadow: 0 18px 40px rgba(40, 20, 24, 0.12);
}
.windows-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #111;
}
.home-video-stage {
  min-height: 0;
  padding: 0.85rem;
}
.home-video-stage .windows-video-frame {
  max-width: none;
  margin: 0;
}

/* Asur Windows – miljöbildspel */
.windows-env {
  padding: 0 0 2.5rem;
}
.windows-slideshow {
  max-width: 52rem;
  margin: 0 auto;
}
.win-edition-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  margin: 0 0 .85rem;
}
.win-edition {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: .28rem .55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.win-edition.is-on {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}
.win-edition-note {
  margin-left: auto;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
}
.win-desk {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: .55rem;
  background: #1b1416;
  border-radius: 12px;
  padding: .55rem;
  min-height: 14rem;
}
.win-side {
  display: grid;
  align-content: start;
  gap: .35rem;
  padding: .55rem .5rem;
  border-radius: 10px;
  background: #2a1c20;
  color: #f3e8ea;
}
.win-side strong {
  font-size: .85rem;
  margin-bottom: .25rem;
  color: #fff;
}
.win-side span {
  font-size: .72rem;
  padding: .35rem .4rem;
  border-radius: 7px;
  color: rgba(255,240,244,.78);
}
.win-side span.is-active {
  background: rgba(114,47,55,.9);
  color: #fff;
  font-weight: 650;
}
.win-main {
  background: #fbf7f2;
  border-radius: 10px;
  padding: .75rem .85rem;
  display: grid;
  gap: .65rem;
  align-content: start;
}
.win-top {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: .45rem;
}
.win-top strong { font-size: .95rem; color: var(--ink); }
.win-top em {
  font-style: normal;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
}
.win-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
}
.win-tiles > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .55rem .5rem;
  text-align: center;
}
.win-tiles b {
  display: block;
  font-size: 1.05rem;
  color: var(--burgundy);
  letter-spacing: -.02em;
}
.win-tiles span {
  font-size: .72rem;
  color: var(--muted);
}
.win-hint {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.4;
}
.win-invoice,
.win-bank {
  display: grid;
  gap: .4rem;
}
.win-invoice-row,
.win-bank-row {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .55rem .65rem;
  font-size: .84rem;
}
.win-bank-row.is-match strong { color: var(--ok, #2f6b45); }
.win-guide {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .9rem;
}
.win-guide ol {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .35rem;
  font-size: .88rem;
  color: var(--ink);
}
.win-versions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}
.win-versions article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem .75rem;
  text-align: center;
}
.win-versions strong {
  display: block;
  color: var(--burgundy);
  margin-bottom: .2rem;
}
.win-versions span {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}
.win-versions p {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.4;
}
@media (max-width: 720px) {
  .win-desk { grid-template-columns: 1fr; }
  .win-side {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: max-content;
    overflow-x: auto;
    align-items: center;
  }
  .win-side strong { margin: 0 .35rem 0 0; }
  .win-tiles,
  .win-versions { grid-template-columns: 1fr; }
  .win-edition-note { margin-left: 0; width: 100%; }
}


