/* Fältvaka — låst ljust. Vit botten. */

:root {
  --bg: #ffffff;
  --marin: #1b2a4a;
  --morkgront: #1f3d24;
  --brod: #111111;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--brod);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

body::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--morkgront);
}

a {
  color: var(--morkgront);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--morkgront);
}

a:focus-visible {
  outline: 2px solid var(--morkgront);
  outline-offset: 3px;
}

.wrap {
  width: min(40rem, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 1.6rem 0 3.2rem;
}

.masthead {
  position: relative;
  overflow: hidden;
  padding-bottom: 1.1rem;
}

.masthead::after {
  content: "";
  position: absolute;
  right: -72px;
  top: -56px;
  width: 420px;
  height: 420px;
  background: url("/img/faltvaka-sigil.png") center / contain no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.wordmark,
.kicker,
.masthead nav {
  position: relative;
  z-index: 1;
}

.wordmark {
  display: inline-block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0;
  color: var(--marin);
  text-decoration: none;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--marin);
}

.kicker {
  margin: 10px 0 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--morkgront);
}

.kicker::after {
  content: "";
  display: block;
  width: 280px;
  height: 0;
  margin: 22px 0 0;
  border: 0;
  border-top: 1px solid #1b2a4a;
  opacity: 0.28;
}

nav {
  margin-top: 0.85rem;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--morkgront);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--morkgront);
  border-bottom-color: var(--morkgront);
}

main {
  padding-top: 1.7rem;
}

h1,
h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--brod);
}

h1 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.02em;
}

h2 {
  margin: 1.4rem 0 8px;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.02em;
}

h3 {
  margin: 1rem 0 6px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  color: #111;
}

.price {
  font-family: Helvetica, Arial, sans-serif;
}

.note {
  font-size: smaller;
  color: inherit;
  opacity: 0.7;
}

p {
  margin: 0 0 8px;
}

.lead {
  font-size: 16px;
  line-height: 24px;
  color: var(--brod);
}

.stand {
  margin: 8px 0 14px;
  padding: 0.55rem 0 0.55rem 0.9rem;
  border-left: 2px solid var(--morkgront);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--brod);
}

/* Sälj — samma produkt på alla fem sidor. */
body.home,
body.salj {
  position: relative;
  overflow: visible;
  font-family: Helvetica, Arial, sans-serif;
}

body.home .sig,
body.salj .sig {
  position: absolute;
  right: 48px;
  top: 36px;
  width: 320px;
  height: 320px;
  background: url("/img/faltvaka-sigil.png") center / contain no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

body.home .wrap,
body.salj .wrap {
  position: relative;
  z-index: 1;
  width: min(64rem, calc(100% - 9rem));
  padding: 64px 0 96px;
}

body.home .masthead,
body.salj .masthead {
  overflow: visible;
  padding-bottom: 48px;
}

body.home .masthead::after,
body.salj .masthead::after {
  content: none;
  display: none;
}

body.home main,
body.salj main {
  padding-top: 8px;
}

body.home h1,
body.salj h1 {
  margin: 0 0 36px;
  max-width: 640px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 34px;
  letter-spacing: -0.015em;
  color: #111111;
}

body.home .lead,
body.salj .lead,
body.salj main > p:not(.hero):not(.prices-kicker):not(.cta):not(.list-object-chrome):not(.list-object-row):not(.tier-name):not(.tier-price):not(.tier-desc) {
  margin: 0 0 48px;
  max-width: 640px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #111111;
}

body.home .hero,
body.salj .hero {
  margin: 0 0 48px;
  max-width: 920px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #111111;
}

body.home .list-object,
body.salj .list-object {
  margin: 0 0 72px;
  max-width: 640px;
  background: #f3f3f3;
  border-left: 3px solid #1f3d24;
  padding: 14px 18px 14px 16px;
}

body.home .list-object-chrome,
body.salj .list-object-chrome {
  margin: 0 0 10px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #555555;
}

body.home .list-object-row,
body.salj .list-object-row {
  margin: 0 0 6px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #111111;
}

body.home .list-object-row:last-child,
body.salj .list-object-row:last-child {
  margin-bottom: 0;
}

body.home .prices-kicker,
body.salj .prices-kicker {
  margin: 0 0 36px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #111111;
}

body.home .tiers,
body.salj .tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 56px;
  max-width: 920px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

body.home .tier,
body.salj .tier {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

body.home .tier-name,
body.salj .tier-name {
  margin: 0 0 10px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f3d24;
}

body.home .tier-price,
body.salj .tier-price {
  margin: 0 0 10px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #111111;
}

body.home .tier-desc,
body.salj .tier-desc {
  margin: 0;
  max-width: 260px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  color: #111111;
}

.cta {
  margin: 48px 0 0;
  max-width: 640px;
}

.cta a {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 500;
}

body.home .cta,
body.salj .cta {
  margin: 96px 0 0;
  max-width: none;
}

body.home .cta a,
body.salj .cta a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #1f3d24;
  text-decoration: underline;
  text-decoration-color: #1f3d24;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  background: none;
  border: 0;
  padding: 0;
}

.more {
  margin: 1.6rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.more ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.more li {
  margin: 0 0 0.4rem;
}

.more a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
}

footer {
  margin-top: 2.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
}

footer a {
  color: var(--morkgront);
  text-decoration: none;
}

footer a:hover {
  color: var(--morkgront);
}

@media (max-width: 40rem) {
  .wordmark {
    font-size: 28px;
    line-height: 32px;
  }

  .kicker::after {
    width: min(280px, 100%);
  }

  .masthead::after {
    width: 280px;
    height: 280px;
    right: -56px;
    top: -40px;
  }

  h1 {
    font-size: 22px;
    line-height: 28px;
  }

  body.home .wrap,
  body.salj .wrap {
    width: calc(100% - 2.4rem);
    padding: 1.6rem 0 3.2rem;
  }

  body.home .masthead,
  body.salj .masthead {
    overflow: visible;
    padding-bottom: 1.1rem;
  }

  body.home .sig,
  body.salj .sig {
    width: 200px;
    height: 200px;
    right: 16px;
    top: 24px;
  }

  body.home h1,
  body.salj h1 {
    font-size: 22px;
    line-height: 28px;
  }

  body.home .hero,
  body.salj .hero {
    font-size: 32px;
    margin-bottom: 48px;
  }

  body.home .tiers,
  body.salj .tiers {
    grid-template-columns: 1fr;
    row-gap: 28px;
    column-gap: 0;
  }

  body.home .cta,
  body.salj .cta {
    margin-top: 48px;
  }
}
