/* /privatlivspolitik: the text in a white sheet, the contents beside it (folded into the text on phones). */

.privacy-page { display: flex; flex-direction: column; gap: 20px; padding-top: 20px; padding-bottom: 64px; }
.privacy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 28px; }

.privacy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  max-width: 860px;
  padding: 40px 48px;
  background: var(--surface);
  border-radius: var(--r-xl);
}

.privacy__head { display: flex; flex-direction: column; gap: 10px; }
.privacy__title { margin: 0; font-family: var(--font-display); font-size: 46px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.privacy__date { margin: 0; font-size: 14px; color: var(--ink-3); }

.privacy h2 {
  margin: 0;
  padding-top: 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  scroll-margin-top: 16px;
}

.privacy__body, .privacy__group { display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 28px; }
.privacy__body p { margin: 0; }
.privacy__body a, .privacy-short a { font-weight: 700; color: var(--cta); }

/* The short version, in plain words */
.privacy-short { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; background: var(--surface-2); border-radius: var(--r-lg); }
.privacy-short ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 17px; line-height: 28px; }
.privacy-short li { display: flex; align-items: flex-start; gap: 10px; }

.privacy-short__tick {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  background: var(--green-tint);
  border-radius: 50%;
  color: var(--green);
}

.privacy-data { display: flex; flex-direction: column; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.privacy-data > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 12px 16px; }
.privacy-data > div + div { border-top: 1px solid var(--line-soft); }
.privacy-data dt { font-weight: 700; }
.privacy-data dd { margin: 0; color: var(--ink-2); }

.privacy-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-left: 20px; }

.privacy-steps { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.privacy-steps li { display: flex; align-items: flex-start; gap: 12px; }

.privacy-steps li > span {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--ink);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

/* Contents: beside the text on wide screens, staying in view */
.privacy-toc ol { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.privacy-toc a { font-weight: 600; color: var(--ink); text-decoration: none; }
.privacy-toc a:hover { color: var(--cta); }

.privacy-toc--wide { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--surface); border-radius: 18px; }
.privacy-toc--wide strong { font-size: 15px; }
.privacy-toc--wide ol { font-size: 14px; line-height: 20px; }
.privacy-toc--wide li { padding: 8px 0; }
.privacy-toc--wide li + li { border-top: 1px solid var(--line-soft); }

.privacy-toc--narrow { display: none; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }

.privacy-toc--narrow summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.privacy-toc--narrow summary::-webkit-details-marker { display: none; }
.privacy-toc--narrow[open] summary svg { transform: rotate(180deg); }
.privacy-toc--narrow ol { padding: 4px 14px 10px; border-top: 1px solid var(--line-soft); font-size: 15px; line-height: 21px; }
.privacy-toc--narrow li { padding: 7px 0; }

@media (max-width: 1023px) {
  .privacy-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; }
  .privacy { padding: 32px; }
}

@media (max-width: 767px) {
  .privacy-page { gap: 14px; padding-top: 14px; padding-bottom: 36px; }
  .privacy-layout { display: flex; flex-direction: column; gap: 20px; }
  .privacy { gap: 20px; padding: 20px 16px; }
  .privacy__title { font-size: 34px; }
  .privacy h2 { font-size: 21px; }
  .privacy__body, .privacy__group, .privacy-short ul { font-size: 16px; line-height: 26px; }
  .privacy-short { padding: 18px 16px; }
  .privacy-data > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  .privacy-toc--wide { display: none; }
  .privacy-toc--narrow { display: block; }
}
