/* ==========================================================================
   Adom privacy notice

   Composition for /integritet/. Consumes tokens.css and base.css, so the page
   shares the brand's typeface, colour, page frame, and focus treatment with
   the landing page. Only the reading layout is local.
   ========================================================================== */

:root {
  --reading: 700px;
}

body {
  color: var(--ink);
  line-height: 1.7;
}

a {
  color: var(--green-action);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green-action-hover);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: var(--page);
  min-height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line-tint);
}

.brand {
  display: inline-flex;
  /* Matches the landing header's 44px touch target. */
  padding-block: 8px;
}

.brand img {
  width: 104px;
  height: auto;
}

.back-link {
  margin-block: -13px;
  padding-block: 13px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.privacy-page {
  width: var(--page);
  margin: 0 auto;
}

.privacy-hero {
  max-width: 820px;
  padding: clamp(76px, 10vw, 132px) 0 clamp(64px, 8vw, 104px);
}

/* A notice, not a campaign: the display scale stops well below the hero's.
   "Integritetsinformation" is a single unbreakable 22-character word, so the
   scale is tuned to keep it inside the measure down to 320px rather than let
   overflow-x clip its tail. */
.privacy-hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(29px, 8.6vw, 60px);
  line-height: 1.02;
}

.intro {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--body);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.updated {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.privacy-content {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) minmax(220px, 1fr);
  column-gap: clamp(64px, 10vw, 150px);
  padding: 0 0 clamp(96px, 12vw, 160px);
  border-top: 1px solid var(--line-tint);
}

.privacy-content section {
  grid-column: 1;
  padding: 42px 0 44px;
  border-bottom: 1px solid var(--line);
}

.privacy-content h2 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.3vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.22;
}

.privacy-content p {
  margin-bottom: 14px;
  color: var(--body);
}

.privacy-content p:last-child {
  margin-bottom: 0;
}

/* A hairline-bounded aside, not a card: no box, no shadow. */
.contact-panel {
  position: sticky;
  top: 32px;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  margin-top: 42px;
  padding: 30px 0;
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--line);
}

.contact-panel .eyebrow {
  margin-bottom: 12px;
}

.contact-panel h2 {
  margin-bottom: 10px;
  font-size: 21px;
}

.contact-panel > a {
  font-weight: 650;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 26px clamp(32px, 5vw, 72px);
  align-items: center;
  justify-content: space-between;
  width: var(--page);
  margin: 0 auto;
  padding: 34px 0 calc(54px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-tint);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.site-footer a {
  margin-block: -13px;
  padding-block: 13px;
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green-action);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 92px;
  }

  .privacy-content {
    display: block;
  }

  .contact-panel {
    position: static;
    margin: 54px 0 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: start;
    gap: 14px;
  }
}
