:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;

  --text: #102033;
  --muted: #617084;

  --line: #dce4ec;

  --brand: #1d5fbf;
  --brand-dark: #144a96;
  --brand-soft: #eaf2ff;

  --success: #14795b;

  --shadow:
    0 18px 50px rgba(18, 43, 74, 0.10);

  --radius: 20px;

  --max: 1180px;
}


/* =========================================================
   RESET / BAS
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);
  background: var(--bg);

  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(
    var(--max),
    calc(100% - 40px)
  );

  margin: 0 auto;
}


/* =========================================================
   TYPOGRAFI
   ========================================================= */

h1 {
  margin: 18px 0 22px;

  font-size:
    clamp(
      44px,
      6vw,
      72px
    );

  line-height: 1.02;

  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 16px;

  font-size:
    clamp(
      30px,
      4vw,
      46px
    );

  line-height: 1.1;

  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 8px;

  font-size: 21px;
}

p {
  margin-top: 0;
}

.lead {
  max-width: 680px;

  font-size: 20px;

  color: var(--muted);
}

.kicker {
  font-weight: 850;

  color: var(--brand);
}

.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 7px 11px;

  border-radius: 999px;

  background: var(--brand-soft);

  color: var(--brand);

  font-size: 14px;

  font-weight: 800;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;

  top: 0;

  z-index: 50;

  background:
    rgba(
      255,
      255,
      255,
      0.92
    );

  backdrop-filter: blur(14px);

  border-bottom:
    1px solid
    rgba(
      220,
      228,
      236,
      0.8
    );
}

.nav {
  min-height: 76px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 28px;
}

.brand {
  display: inline-flex;

  align-items: center;
}

.brand img {
  width: auto;

  height: 44px;
}

.nav-links {
  display: flex;

  align-items: center;

  gap: 26px;

  color: #31445a;

  font-weight: 650;
}

.nav-links a {
  transition:
    color 0.18s ease;
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-actions {
  display: flex;

  align-items: center;

  gap: 10px;
}


/* =========================================================
   KNAPPAR
   ========================================================= */

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  padding: 12px 18px;

  border:
    1px solid transparent;

  border-radius: 12px;

  font-weight: 750;

  cursor: pointer;

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:hover {
  transform:
    translateY(-1px);
}

.btn-primary {
  background: var(--brand);

  color: #ffffff;

  box-shadow:
    0 8px 20px
    rgba(
      29,
      95,
      191,
      0.18
    );
}

.btn-primary:hover {
  background:
    var(--brand-dark);
}

.btn-secondary {
  background: #ffffff;

  border-color:
    var(--line);

  color:
    var(--text);
}

.btn-secondary:hover {
  border-color: #bbc8d5;

  background: #fbfcfe;
}

.btn-soft {
  background:
    var(--brand-soft);

  color:
    var(--brand);
}


/* =========================================================
   HERO – STARTSIDAN
   ========================================================= */

.hero {
  padding:
    92px 0 76px;
}

.hero-grid {
  display: grid;

  grid-template-columns:
    1.05fr 0.95fr;

  gap: 64px;

  align-items: center;
}

.hero-actions {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  margin-top: 30px;
}

.hero-note {
  margin-top: 15px;

  color:
    var(--muted);

  font-size: 14px;
}


/* =========================================================
   HERO DEMO / DASHBOARD
   ========================================================= */

.hero-card {
  padding: 20px;

  overflow: hidden;

  border-radius: 28px;

  background:
    linear-gradient(
      160deg,
      #0e2f5d,
      #1d5fbf
    );

  box-shadow:
    var(--shadow);
}

.hero-card img {
  min-height: 360px;

  object-fit: cover;

  border-radius: 18px;

  background: #ffffff;
}

.hero-placeholder {
  min-height: 430px;

  padding: 24px;

  display: flex;

  flex-direction: column;

  gap: 16px;

  border-radius: 18px;

  background: #ffffff;
}

.mock-top {
  display: flex;

  align-items: center;

  justify-content: space-between;
}

.mock-pill {
  width: 88px;

  height: 10px;

  border-radius: 99px;

  background: #dce6f2;
}

.mock-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      1fr
    );

  gap: 14px;

  flex: 1;
}

.mock-box {
  padding: 18px;

  border:
    1px solid var(--line);

  border-radius: 16px;

  background: #fbfdff;
}

.mock-box strong {
  display: block;

  margin-top: 10px;

  font-size: 28px;
}


/* =========================================================
   GENERELLA SEKTIONER
   ========================================================= */

.section {
  padding:
    82px 0;
}

.section-white {
  background: #ffffff;
}

.section-head {
  max-width: 740px;

  margin-bottom: 34px;
}

.section-head p {
  color:
    var(--muted);

  font-size: 18px;
}


/* =========================================================
   KORT
   ========================================================= */

.cards {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  gap: 18px;
}

.card {
  padding: 26px;

  background:
    var(--surface);

  border:
    1px solid var(--line);

  border-radius:
    var(--radius);

  box-shadow:
    0 8px 28px
    rgba(
      20,
      40,
      70,
      0.04
    );

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.card:hover {
  transform:
    translateY(-3px);

  border-color:
    #c8d4df;

  box-shadow:
    0 16px 38px
    rgba(
      20,
      40,
      70,
      0.08
    );
}

.card p {
  margin-bottom: 0;

  color:
    var(--muted);
}

.icon {
  width: 44px;

  height: 44px;

  margin-bottom: 18px;

  display: grid;

  place-items: center;

  border-radius: 12px;

  background:
    var(--brand-soft);

  color:
    var(--brand);

  font-weight: 900;

  font-size: 13px;
}


/* =========================================================
   STEG / ARBETSFLÖDE
   ========================================================= */

.steps {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  gap: 18px;
}

.step {
  padding: 28px;

  border-top:
    3px solid
    var(--brand);

  border-radius:
    0 0
    var(--radius)
    var(--radius);

  background:
    #ffffff;

  box-shadow:
    0 8px 26px
    rgba(
      20,
      40,
      70,
      0.04
    );
}

.step-no {
  margin-bottom: 8px;

  color:
    var(--brand);

  font-size: 14px;

  font-weight: 900;

  letter-spacing:
    0.08em;

  text-transform:
    uppercase;
}

.step p {
  margin-bottom: 0;

  color:
    var(--muted);
}


/* =========================================================
   PRISSÄTTNING
   ========================================================= */

.pricing {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  gap: 18px;

  align-items: stretch;
}

.price-card {
  padding: 28px;

  display: flex;

  flex-direction: column;

  background:
    #ffffff;

  border:
    1px solid
    var(--line);

  border-radius: 22px;
}

.price-card.featured {
  border:
    2px solid
    var(--brand);

  box-shadow:
    var(--shadow);
}

.price {
  margin:
    12px 0 2px;

  font-size: 38px;

  font-weight: 900;

  letter-spacing:
    -0.03em;
}

.price small {
  color:
    var(--muted);

  font-size: 15px;

  font-weight: 600;
}

.price-card > p {
  color:
    var(--muted);
}

.checks {
  list-style: none;

  margin:
    22px 0 26px;

  padding: 0;
}

.checks li {
  padding:
    7px 0;

  color:
    #31445a;
}

.checks li::before {
  content: "✓";

  margin-right: 9px;

  color:
    var(--success);

  font-weight: 900;
}

.price-card .btn {
  margin-top: auto;
}


/* =========================================================
   CTA / CALLOUT
   ========================================================= */

.callout {
  padding: 46px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  border-radius: 28px;

  background: #0f315e;

  color: #ffffff;

  box-shadow:
    0 18px 50px
    rgba(
      15,
      49,
      94,
      0.14
    );
}

.callout h2 {
  color: #ffffff;
}

.callout p {
  max-width: 650px;

  margin-bottom: 0;

  color: #d7e4f4;
}


/* =========================================================
   UNDERSIDOR
   ========================================================= */

.page-hero {
  padding:
    72px 0 42px;
}

.page-hero h1 {
  font-size:
    clamp(
      40px,
      5vw,
      58px
    );
}

.content-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 20px;
}


/* =========================================================
   TEXT / JURIDIK
   ========================================================= */

.prose {
  padding: 30px;

  background: #ffffff;

  border:
    1px solid
    var(--line);

  border-radius: 20px;
}

.prose h2 {
  margin-top: 30px;

  font-size: 28px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: #4c5f73;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin: 7px 0;
}

.prose a {
  color: var(--brand);
}


/* =========================================================
   KONTAKT
   ========================================================= */

.contact-box {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 20px;
}


/* =========================================================
   NOTICE / INFORMATION
   ========================================================= */

.notice {
  padding: 14px 16px;

  border:
    1px solid
    #eedb95;

  border-radius: 14px;

  background:
    #fff8df;

  color:
    #735d16;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding:
    54px 0 28px;

  background:
    #0b1e35;

  color:
    #dce7f3;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.3fr
    repeat(
      3,
      1fr
    );

  gap: 32px;
}

.footer h4 {
  margin-top: 0;

  margin-bottom: 14px;

  color:
    #ffffff;
}

.footer a {
  display: block;

  margin:
    8px 0;

  color:
    #b9cadb;

  transition:
    color 0.18s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 34px;

  padding-top: 22px;

  border-top:
    1px solid
    #24405e;

  color:
    #91a8bf;

  font-size: 14px;
}


/* =========================================================
   FOKUS / ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible {
  outline:
    3px solid
    rgba(
      29,
      95,
      191,
      0.35
    );

  outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
  (max-width: 900px) {

  .nav-links {
    display: none;
  }

  .hero-grid,
  .cards,
  .steps,
  .pricing,
  .content-grid,
  .contact-box,
  .footer-grid {
    grid-template-columns:
      1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    gap: 40px;
  }

  .callout {
    flex-direction: column;

    align-items: flex-start;
  }

  .hero-placeholder {
    min-height: 360px;
  }

}


/* =========================================================
   MOBIL
   ========================================================= */

@media
  (max-width: 560px) {

  .container {
    width: min(
      var(--max),
      calc(100% - 26px)
    );
  }

  .nav {
    min-height: 66px;
  }

  .brand img {
    height: 38px;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .nav-actions .btn {
    padding:
      10px 13px;

    font-size: 14px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 18px;
  }

  .hero {
    padding:
      48px 0 54px;
  }

  .section {
    padding:
      62px 0;
  }

  .page-hero {
    padding:
      54px 0 28px;
  }

  .hero-card {
    padding: 12px;

    border-radius: 20px;
  }

  .hero-placeholder {
    min-height: auto;

    padding: 16px;
  }

  .mock-grid {
    grid-template-columns:
      1fr;
  }

  .mock-box strong {
    font-size: 24px;
  }

  .card,
  .prose,
  .price-card {
    padding: 22px;
  }

  .callout {
    padding: 30px 24px;
  }

}


/* =========================================================
   MYCKET SMÅ SKÄRMAR
   ========================================================= */

@media
  (max-width: 380px) {

  h1 {
    font-size: 36px;
  }

  .nav-actions .btn {
    padding:
      9px 11px;
  }

  .brand img {
    height: 34px;
  }

}

/* Public beta redesign */
:root { --brand: #205fbb; --brand-dark: #154a93; }
.btn-primary { color: #fff !important; }
.btn-primary:hover, .btn-primary:focus-visible { color: #fff !important; }
.btn-secondary { color: #14263f !important; }
.site-header .btn, .footer .btn { text-decoration: none; }
.beta-main { background: radial-gradient(ellipse at 85% 2%,#e8f1ff 0,transparent 38%),#f5f8fc; padding-bottom: 96px; }
.beta-heading { padding-top: 76px; padding-bottom: 42px; max-width: 1180px; }
.beta-heading h1 { max-width: 850px; margin: 18px 0 18px; font-size: clamp(38px,5.1vw,63px); line-height: 1.1; }
.beta-heading .lead { max-width: 720px; line-height: 1.65; }
.beta-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.85fr); align-items: start; gap: 28px; }
.beta-panel { background: #fff; padding: 42px; border: 1px solid #dae5f0; border-radius: 24px; box-shadow: 0 18px 55px rgba(16,45,84,.07); }
.beta-panel-heading { margin-bottom: 30px; }
.beta-panel-heading h2 { font-size: 30px; margin: 10px 0 8px; }
.beta-panel-heading p, .beta-fineprint, .beta-existing p, .beta-contact { color: #5a6b7f; }
.beta-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.beta-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.beta-field-full { grid-column: 1/-1; }
.beta-field label, .beta-options legend { font-weight: 720; font-size: 14px; color: #203650; }
.beta-field input, .beta-field select, .beta-field textarea { display: block; width: 100%; min-height: 48px; border: 1px solid #c9d5e2; padding: 11px 13px; border-radius: 10px; font: inherit; color: #18304d; background: white; }
.beta-field textarea { resize: vertical; }
.beta-field input:focus, .beta-field select:focus, .beta-field textarea:focus { outline: 3px solid #d7e7ff; border-color: #205fbb; }
.beta-options { border: 0; margin: 0; padding: 0; }
.beta-options legend { margin-bottom: 13px; }
.beta-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.beta-checks label { display: flex; align-items: center; gap: 10px; color: #334962; font-size: 14px; cursor: pointer; }
.beta-checks input, .beta-privacy input { accent-color: #205fbb; width: 17px; height: 17px; flex: 0 0 auto; }
.beta-privacy { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 14px; font-size: 13px; color: #52667e; }
.beta-privacy a { color: #154a93; text-decoration: underline; }
.beta-submit { border: 0; min-height: 52px; width: 100%; font: inherit; justify-content: center; }
.beta-submit:disabled { opacity: .6; cursor: wait; }
.beta-status { min-height: 1.4em; margin: 8px 0 10px; font-size: 14px; }
.beta-status-ok { color: #12684a; } .beta-status-error { color: #a82032; }
.beta-fineprint { font-size: 12px; text-align: center; margin: 12px 0 0; }
.beta-hidden { position: absolute; left: -99999px; height: 1px; width: 1px; overflow: hidden; }
.beta-aside { display: flex; flex-direction: column; gap: 22px; }
.beta-aside-card { background: #10325b; color: #fff; border-radius: 24px; padding: 36px 32px 26px; }
.beta-aside-number { font-size: 12px; font-weight: 750; letter-spacing: .15em; color: #9cc4fb; }
.beta-aside-card h2 { color: #fff; margin: 14px 0 28px; font-size: 30px; }
.beta-timeline { counter-reset: beta; list-style: none; margin: 0; padding: 0; }
.beta-timeline li { counter-increment: beta; position: relative; padding: 0 0 28px 50px; border-left: 1px solid #4a6a90; margin-left: 14px; }
.beta-timeline li:last-child { border-color: transparent; padding-bottom: 0; }
.beta-timeline li:before { content: counter(beta); position: absolute; left: -15px; top: -2px; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; color: #14345e; background: #d8e9ff; font-size: 12px; font-weight: 800; }
.beta-timeline strong, .beta-timeline span { display: block; }
.beta-timeline strong { font-size: 15px; margin-bottom: 5px; }
.beta-timeline span { color: #c5d8ed; font-size: 14px; line-height: 1.5; }
.beta-existing { border: 1px solid #d8e3ee; border-radius: 22px; padding: 30px; background: #fff; }
.beta-existing h3 { font-size: 24px; margin: 8px 0; }
.beta-existing .btn { width: 100%; margin-top: 12px; border-color: #ccd9e7; }
.beta-contact { padding: 0 8px; font-size: 14px; }
.beta-contact a { color: #1651a6; font-weight: 720; text-decoration: underline; overflow-wrap: anywhere; }
.footer { padding-top: 64px; background: #102b4d; }
.footer-brand { color: #fff; font-weight: 850; font-size: 30px; letter-spacing: -.045em; margin-bottom: 12px; line-height: 1.1; }
.footer-brand span { color: #78b8ff; }
.footer-grid { gap: 45px; }
.footer-bottom { margin-top: 46px; }
@media (max-width:900px) { .beta-layout { grid-template-columns: 1fr; } .beta-main { padding-bottom: 70px; } .beta-heading { padding-top: 54px; } .beta-aside { display: grid; grid-template-columns: 1fr 1fr; } .beta-contact { grid-column: 1/-1; } }
@media (max-width:600px) { .beta-panel { padding: 25px 20px; } .beta-fields, .beta-checks, .beta-aside { grid-template-columns: 1fr; } .beta-contact { grid-column: auto; } .beta-heading { padding-top: 40px; padding-bottom: 24px; } .beta-panel-heading h2 { font-size: 26px; } .beta-aside-card { padding: 30px 25px; } .footer { padding-top: 44px; } }
