/* App and legal pages kept from the old site (/sekretesspolicy/, /anvandarvillkor/, /appen/..., account deletion, /apps/).
   The rules below the font faces are the old pages' own styles, copied unchanged from their HTML (the old site loaded
   Montserrat from Google; here it is the site's own copy). Only the font faces, the page width and the small logo bar
   at the top are new. */
@font-face{font-family:"Montserrat";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/Montserrat-400.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:500 600;font-display:swap;src:url(/assets/fonts/Montserrat-600.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:700 800;font-display:swap;src:url(/assets/fonts/Montserrat-800.woff2) format("woff2")}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: #000000;
    font-family: "Montserrat", -apple-system, "Segoe UI", system-ui, Roboto, sans-serif;
    line-height: 1.5;
    color: #ffffff;
    padding: 2rem 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.page-header { border-bottom: 1px solid #2a2a2a; padding-bottom: 1.75rem; margin-bottom: 2rem; }
.last-updated { font-size: .82rem; color: #a0a0a0; background: #1a1a1a; display: inline-block; padding: .2rem .8rem; border-radius: 30px; }
h2 { font-size: 1.55rem; font-weight: 600; margin-top: 2rem; margin-bottom: 1rem; color: #fff; border-left: 4px solid #e6a157; padding-left: 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: .75rem; color: #f0f0f0; }
h4 { font-size: 1.02rem; font-weight: 600; margin-top: 1rem; margin-bottom: .5rem; color: #e6e6e6; }
p, li { color: #ddd; font-size: .92rem; margin-bottom: .75rem; }
ul, ol { margin: .75rem 0 1rem 1.5rem; }
li { margin-bottom: .4rem; }
strong { color: #fff; font-weight: 600; }
.data-grid { overflow-x: auto; margin: 1.2rem 0; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .84rem; background: #111; border-radius: 16px; overflow: hidden; min-width: 720px; }
.data-table th, .data-table td { border: 1px solid #2a2a2a; padding: .75rem 1rem; text-align: left; vertical-align: top; color: #e0e0e0; }
.data-table th { background-color: #1a1a1a; font-weight: 600; color: #fff; }
.highlight-box { background: #1e1a10; border-left: 3px solid #e6a157; padding: 1rem 1.5rem; margin: 1.2rem 0; border-radius: 12px; font-size: .89rem; color: #f5e6d3; }
.highlight-box p, .highlight-box li { color: #f5e6d3; }
.footer-note { margin-top: 2.5rem; padding: 1.5rem; border-top: 1px solid #2a2a2a; font-size: .85rem; color: #b0b0b0; background: #0d0d0d; border-radius: 16px; }
a { color: #e6a157; text-decoration: none; transition: color .2s ease; word-break: break-word; }
a:hover { color: #f0b87a; text-decoration: underline; }
@media (max-width: 640px) {
    body { padding: 1rem .75rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.08rem; }
    h4 { font-size: .95rem; }
    p, li { font-size: .88rem; }
    .data-table th, .data-table td { padding: .5rem; font-size: .76rem; }
}
.page-header { border-bottom: 1px solid #1f1f1f; padding-bottom: 1.5rem; margin-bottom: 2.2rem; }
.last-updated { font-size: 0.78rem; color: #8b8b8b; background: #141414; display: inline-flex; align-items: center; padding: 0.32rem 0.85rem; border-radius: 999px; border: 1px solid #242424; font-weight: 400; }
h2 { font-size: 1.32rem; font-weight: 500; line-height: 1.3; margin-top: 2.8rem; margin-bottom: 1.2rem; color: #fff; border-left: 4px solid #d4af37; padding-left: 0.85rem; letter-spacing: -0.015em; }
h3 { font-size: 1rem; font-weight: 500; line-height: 1.45; margin-top: 1.7rem; margin-bottom: 0.7rem; color: #f2f2f2; letter-spacing: -0.01em; }
h4 { font-size: 0.92rem; font-weight: 500; line-height: 1.45; margin-top: 1.2rem; margin-bottom: 0.55rem; color: #d9d9d9; }
p, li { color: #cfcfcf; font-size: 0.9rem; line-height: 1.75; font-weight: 400; }
strong { color: #ffffff; font-weight: 500; }
a { color: #d7a15d; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #efbb7a; text-decoration: underline; }
@media (max-width: 640px) {
    h2 { font-size: 1.14rem; margin-top: 2.2rem; }
    h3 { font-size: 0.95rem; }
    h4 { font-size: 0.88rem; }
    p, li { font-size: 0.88rem; line-height: 1.7; }
}

/* new: page width, the logo bar back to the website, h1 like the old .page-header h1, tables and keyboard focus */
.ap { max-width: 880px; margin: 0 auto; }
.ap h1 { font-size: 1.95rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; color: #d4af37; margin-bottom: 0.65rem; }
.ap table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .84rem; }
.ap th, .ap td { border: 1px solid #2a2a2a; padding: .6rem .8rem; text-align: left; vertical-align: top; color: #e0e0e0; }
.ap-top { max-width: 880px; margin: 0 auto 1.5rem; }
.ap-top a { display: inline-flex; border-radius: 50%; }
.ap-top img { display: block; width: 48px; height: 48px; }
a:focus-visible { outline: 2px solid #d4af37; outline-offset: 3px; border-radius: 4px; }
@media (max-width: 640px) { .ap h1 { font-size: 1.6rem; } }
/* body text at least 16 px on phones (Design Standard 9); the old pages used 14 px */
@media (max-width: 640px) { .ap p, .ap li { font-size: 1rem; } }
/* wide tables in the old texts scroll inside themselves on a phone instead of widening the page */
.ap .tbl-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2rem 0; }
.ap .tbl-wrap table { margin: 0; }

/* on a phone each table row becomes a card: column heading above its value, nothing to swipe sideways (Design Standard 8) */
@media (max-width: 640px) {
  .ap .tbl-wrap { overflow: visible; }
  .ap table.cards, .ap table.cards tbody, .ap table.cards tr, .ap table.cards td { display: block; width: 100%; }
  .ap table.cards thead { display: none; }   /* each cell shows its heading itself; a hidden header still took width in Safari */
  .ap table.cards tr { margin: 0 0 .75rem; border: 1px solid #2a2a2a; border-radius: 14px; overflow: hidden; background: #111; }
  .ap table.cards td { border: 0; border-top: 1px solid #2a2a2a; padding: .65rem .9rem; font-size: 1rem; }
  .ap table.cards td:first-child { border-top: 0; background: #1a1a1a; color: #fff; font-weight: 600; }
  .ap table.cards td::before { content: attr(data-label); display: block; margin-bottom: .15rem; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: #d4af37; }
}

/* long addresses in the old texts break instead of widening the page */
.ap code, .ap a { overflow-wrap: anywhere; }

/* /apps/: the app download page */
.apps { max-width: 420px; margin: 12vh auto 0; text-align: center; }
.apps img.logo { width: 96px; height: 96px; margin-bottom: 1.25rem; }
.apps h1 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; color: #d4af37; }
.apps .stores { display: grid; gap: .75rem; }
.apps .stores a { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; border: 1px solid #3a3226; background: #141210; color: #fff; font-weight: 600; font-size: 1rem; }
.apps .stores a:hover { border-color: #d4af37; text-decoration: none; }
