/* medlemskap.css — membership / pricing page. Builds on legal.css (loaded first)
   for body, nav, footer, typography and CSS variables. Only adds page layout. */

.mship-wrap { max-width: 920px; margin: 0 auto; padding: 48px 20px 80px; }
.mship-wrap h1 {
  font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 1.2;
  color: var(--natt); margin: 0 0 10px;
}
.mship-wrap h2 {
  font-family: var(--display); font-weight: 500; font-size: 22px;
  color: var(--natt); margin: 44px 0 14px;
}
.mship-lead { font-size: 17px; color: var(--ink); max-width: 640px; line-height: 1.7; margin: 0; }
.mship-wrap p { font-size: 16px; }
.mship-wrap a { color: var(--natt); text-underline-offset: 2px; }

/* What you get — free vs member */
.mship-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0; }
.mship-compare .col {
  border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: #fff;
}
.mship-compare .col.member { border-color: var(--natt); background: #FBFAF7; }
.mship-compare h3 { margin: 0 0 12px; font-size: 16px; color: var(--natt); }
.mship-list { list-style: none; padding: 0; margin: 0; }
.mship-list li { position: relative; padding-left: 26px; margin: 9px 0; font-size: 15px; line-height: 1.5; }
.mship-list li::before { content: "✓"; position: absolute; left: 0; color: var(--natt); font-weight: 700; }
.mship-list.muted li::before { content: "·"; color: var(--muted); font-weight: 700; }

/* Priser + value image — plans on the left, a zoomed-out map of Norway's gold lakes
   on the right so the scale of what membership unlocks is visceral. The map is a
   purely static <img> (no map library / zoom / pan), zoomed out so individual lakes
   can't be located — it shows abundance, never positions (protects trophy privacy). */
.mship-offer {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  /* Row 1 holds the three cards (plans + map) so they share a height; the caption
     drops to row 2 under the map, outside the matched-height row. */
  grid-template-areas:
    "plans map"
    ".     cap";
  column-gap: 32px;
  align-items: stretch;            /* plan cards + map card → equal height, bottoms align */
  margin: 8px 0;
}
/* Plans keep their ORIGINAL side-by-side 2-up layout; just drop the standalone
   max-width/centering so the 2-column grid fills the left column beside the map. */
.mship-offer .mship-prices { grid-area: plans; max-width: none; margin: 0; }
/* Unwrap the figure so its frame + caption place independently in the grid: the
   frame sits beside the plans (matched height), the caption on the row below it. */
.mship-map { display: contents; }
.mship-map-frame {
  grid-area: map; position: relative;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
/* The image fills the matched-height frame instead of dictating a taller height.
   contain keeps all of Norway, centered, no distortion (no crop, no stretch). */
.mship-map-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 10px; box-sizing: border-box;
}
.mship-map figcaption {
  grid-area: cap; margin-top: 12px;
  font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center;
}

/* Pricing grid */
.mship-prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0; align-items: stretch; max-width: 620px; }
.plan {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; background: #fff;
}
.plan.featured { border: 2px solid #D97706; box-shadow: 0 8px 26px rgba(27,58,75,0.08); }
.plan-badge {
  display: inline-block; align-self: flex-start;
  background: #FEF3C7; color: #92400E; font-size: 11px; font-weight: 600;
  letter-spacing: .3px; text-transform: uppercase; border-radius: 999px;
  padding: 4px 10px; margin-bottom: 12px;
}
.plan-name { font-size: 17px; font-weight: 600; color: var(--natt); margin: 0 0 8px; }
.plan-price { font-family: var(--display); font-weight: 500; color: var(--natt); font-size: 30px; line-height: 1.1; }
.plan-price small { font-family: var(--font); font-size: 15px; font-weight: 400; color: var(--muted); }
.plan-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.plan-counter { font-size: 12px; font-weight: 600; color: #B45309; margin: 6px 0 0; }
.plan-spacer { flex: 1; }
.plan-cta {
  margin-top: 18px; display: block; text-align: center; text-decoration: none;
  border-radius: 10px; padding: 12px 18px; font-size: 15px; font-weight: 500;
  border: 1px solid var(--natt); color: var(--natt); background: #fff;
  transition: background .15s ease, color .15s ease;
}
.plan-cta:hover { background: #F2EFE9; }
.plan.featured .plan-cta { background: var(--natt); color: #fff; border-color: var(--natt); }
.plan.featured .plan-cta:hover { background: #234a5f; }

.mship-status { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.mship-fine { font-size: 13px; color: var(--muted); margin-top: 24px; }

@media (max-width: 760px) {
  .mship-compare, .mship-prices { grid-template-columns: 1fr; }
  /* Stack: plans, then map, then caption. Cap the map width so the tall image
     doesn't dominate, and restore its natural portrait height (no sibling to match). */
  .mship-offer { grid-template-columns: 1fr; grid-template-areas: "plans" "map" "cap"; row-gap: 24px; }
  .mship-map-frame { aspect-ratio: 1490 / 1642; width: 100%; max-width: 420px; margin: 0 auto; }
  .mship-map figcaption { max-width: 420px; margin: 12px auto 0; }
  .mship-wrap { padding: 32px 18px 64px; }
  .mship-wrap h1 { font-size: 28px; }
}
