/* OurPrivacy.nu. One stylesheet, system fonts, nothing fetched from anywhere else. */
:root {
  color-scheme: dark;
  --bg: #000000;
  --panel: #0b0f0d;
  --line: #1c2622;
  --text: #e7e9ec;
  --muted: #9aa3ad;
  --green: #20c47a;
  --green-dim: #12834f;
  --width: 68rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: #5fe0a5; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--panel); padding: 0.5rem 0.75rem; z-index: 10; }

/* --- top and bottom ------------------------------------------------------------------------------------ */
.top, .bottom, main > * { width: min(100% - 2rem, var(--width)); margin-inline: auto; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand b { color: var(--green); font-weight: inherit; }
.top nav, .bottom nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.top nav a, .bottom nav a { color: var(--muted); text-decoration: none; padding-block: 0.35rem; }
.top nav a:hover, .bottom nav a:hover { color: var(--text); }
.top nav .lang { color: var(--green); }
.bottom { margin-top: 5rem; padding-block: 2rem 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.bottom p { margin: 0.75rem 0 0; }

/* --- first screen -------------------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem 3rem; padding-block: 3.5rem 2.5rem; }
.hero img { width: clamp(9rem, 26vw, 17rem); filter: drop-shadow(0 0 3rem rgba(32, 196, 122, 0.18)); }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.08; margin: 0 0 1rem; letter-spacing: -0.015em; }
.hero h1 em { font-style: normal; color: var(--green); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.button { display: inline-block; padding: 0.7rem 1.2rem; border-radius: 0.6rem; border: 1px solid var(--green-dim); color: var(--text); text-decoration: none; font-weight: 600; }
.button:hover { border-color: var(--green); color: var(--text); }
.button.main { background: var(--green); border-color: var(--green); color: #02140c; }
.button.main:hover { background: #3ad890; color: #02140c; }
@media (max-width: 40rem) {
  .hero { grid-template-columns: 1fr; padding-block: 2rem 1.5rem; }
  .hero img { order: -1; width: 8rem; }
}

/* --- sections ------------------------------------------------------------------------------------------ */
section { padding-block: 2rem; }
h2 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 1.25rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.cards > li, .card { background: var(--panel); border: 1px solid var(--line); border-radius: 0.9rem; padding: 1.25rem 1.35rem; }
.cards p, .card p { margin: 0; color: var(--muted); }
.card.app { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center; border-color: var(--green-dim); }
.card.app p + p { margin-top: 0.75rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; max-width: 46rem; }
.ticks li { padding-left: 1.9rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.45em; width: 0.95rem; height: 0.5rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.note { border-left: 3px solid var(--green-dim); padding: 0.25rem 0 0.25rem 1rem; color: var(--muted); max-width: 46rem; }

/* --- long texts: policy, terms ------------------------------------------------------------------------- */
.text { max-width: 46rem; padding-block: 2.5rem 1rem; }
.text h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.15; margin: 0 0 0.5rem; }
.text .updated { color: var(--muted); margin: 0 0 2rem; }
.text h2 { font-size: 1.35rem; margin: 2.5rem 0 0.75rem; }
.text h3 { margin-top: 1.5rem; }
.text li { margin-block: 0.35rem; }
.text table { width: 100%; border-collapse: collapse; margin-block: 1rem; font-size: 0.97rem; }
.text th, .text td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--line); }
.text th { color: var(--muted); font-weight: 600; }
.scroll { overflow-x: auto; }
mark { background: #4a3a00; color: #ffe08a; padding: 0 0.3em; border-radius: 0.25rem; }

/* The app's icon, shown the way a phone shows it. */
.app-icon { border-radius: 22%; border: 1px solid var(--line); }
.hero .app-icon { width: clamp(7rem, 18vw, 11rem); filter: none; }
