/* Felles stil for undersidene (appsider og personvern). Same palett og skrift som forsida. */
:root {
  --himmel: #DDE5E4;
  --skodde: #B9C8C9;
  --skifer: #4E6066;
  --fjord:  #2C3E46;
  --furu:   #26382F;
  --sol:    #C99A4B;
  --lys:    #E4EAE6;
  --dempa:  #A9BDB2;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--furu);
  color: var(--lys);
  font-family: "Spectral", Georgia, serif;
  font-weight: 300;
  font-size: 1.1875rem;
  line-height: 1.7;
}
a { color: var(--lys); text-decoration-color: var(--sol); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--sol); outline-offset: 3px; }

/* Toppen: ei smal stripe av same fjordlandskap som forsida */
.band { position: relative; background: var(--himmel); color: var(--fjord); overflow: hidden; }
.band svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; display: block; }
.band a { color: var(--fjord); }
.band .inn { position: relative; z-index: 1; max-width: 62rem; margin: 0 auto; padding: 1.1rem 1.5rem 0; }
.meny { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; }
.meny .merke { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.meny ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem 1.4rem; flex-wrap: wrap; }
.meny ul a { text-decoration: none; font-size: 1rem; text-shadow: 0 0 8px var(--himmel); }
.meny ul a:hover { text-decoration: underline; text-decoration-color: var(--sol); }
.tittel { display: flex; align-items: center; gap: 1.1rem; padding: 2.4rem 0 7.5rem; }
.tittel img { width: 76px; height: 76px; border-radius: 18px; flex: none; box-shadow: 0 2px 10px rgba(38,56,47,.25); }
.tittel h1 { margin: 0; font-weight: 300; font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.015em; text-shadow: 0 0 14px var(--himmel); }
.tittel p { margin: .35rem 0 0; font-style: italic; font-weight: 400; font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.4; text-shadow: 0 0 2px var(--himmel), 0 0 10px var(--himmel); }

/* Faner for appen: Om appen · Personvern */
.faner { background: var(--furu); border-bottom: 1px solid rgba(228,234,230,.16); }
.faner ul { list-style: none; margin: 0 auto; padding: 0 1.5rem; max-width: 38rem; display: flex; gap: 1.6rem; flex-wrap: wrap; }
.faner a { display: inline-block; padding: .8rem 0 .7rem; text-decoration: none; color: var(--dempa); font-size: 1.02rem; border-bottom: 2px solid transparent; }
.faner a[aria-current="page"] { color: #F2F4F1; border-bottom-color: var(--sol); }
.faner a:hover { color: #F2F4F1; }

.tekst { max-width: 38rem; margin: 0 auto; padding: 2rem 1.5rem 1rem; }
.tekst h2 { font-weight: 400; font-size: 1.75rem; line-height: 1.2; margin: 3rem 0 .8rem; color: #F2F4F1; }
.tekst h2:first-child { margin-top: .4rem; }
.tekst h3 { font-weight: 600; font-size: 1.1rem; margin: 1.6rem 0 .3rem; color: #F2F4F1; }
.tekst p, .tekst ul { margin: 0 0 1.1rem; }
.tekst ul { padding-left: 1.2rem; }
.tekst li { margin-bottom: .45rem; }
.tekst strong { font-weight: 600; color: #F2F4F1; }
.dempa { color: var(--dempa); font-size: 1rem; }

.merk { display: inline-block; font-size: .9rem; font-style: italic; color: var(--sol); }

dl.punkt { margin: 1.2rem 0 0; }
dl.punkt dt { font-weight: 600; color: #F2F4F1; margin-top: 1.1rem; }
dl.punkt dd { margin: .15rem 0 0; }

.sprak { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0 1rem; padding: 0; list-style: none; }
.sprak li { margin: 0; border: 1px solid rgba(228,234,230,.22); border-radius: 999px; padding: .1rem .75rem; font-size: .98rem; }
.sprak li.beta { color: var(--dempa); border-style: dashed; }

.boks { border: 1px solid rgba(201,154,75,.55); border-radius: 12px; padding: 1rem 1.15rem; margin: 1.2rem 0; font-size: 1.02rem; }
.boks p:last-child { margin-bottom: 0; }

.kontakt { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.5rem; margin: 1rem 0 0; }
.kontakt dt { color: var(--dempa); }
.kontakt dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

footer { color: #93A89C; font-size: .95rem; text-align: center; padding: 3.5rem 1.5rem 3rem; }
footer a { color: #93A89C; }

@media (max-width: 34rem) {
  body { font-size: 1.0625rem; }
  .band .inn { padding: .9rem 1.2rem 0; }
  .meny ul { gap: .2rem 1rem; }
  .meny ul a { font-size: .95rem; }
  .tittel { padding: 1.8rem 0 6rem; gap: .9rem; }
  .tittel img { width: 60px; height: 60px; border-radius: 14px; }
  .tekst { padding: 1.6rem 1.2rem 1rem; }
  .faner ul { padding: 0 1.2rem; gap: 1.2rem; }
  .kontakt { grid-template-columns: 1fr; gap: 0; }
  .kontakt dt { margin-top: .7rem; }
}
