/* Shared by every page. Deliberately one small file with no build step: these pages have
   to keep working years after anyone last looked at the toolchain.

   The face is Figtree, served from /fonts/ rather than Google's CDN. The site promises no
   third-party requests, and a font CDN is one — it sees every visitor's IP address. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --surface: #f4f6fa;
  --text: #101521;
  --muted: #5b6474;
  --border: #e3e7ee;
  /* The app's trust blue. Its value is set by contrast, not taste: 5.19:1 on white. */
  --primary: #1668dc;
  --primary-soft: #e9f0fc;
  --on-primary: #ffffff;
  --on-primary-muted: #e3edfd;
  --danger: #c92a2a;
  --shadow: rgba(16, 21, 33, 0.12);
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --surface: #191d23;
    --text: #f1f3f7;
    --muted: #9aa3b2;
    --border: #2b313a;
    --primary: #5ea9ff;
    --primary-soft: #16273d;
    --on-primary: #0a1626;
    --on-primary-muted: #0a1626;
    --danger: #ff8a85;
    --shadow: rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 20px;
  font: 400 17px/1.65 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary); color: var(--on-primary); }

a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 760px; margin: 0 auto; padding-bottom: 8px; }

/* ------------------------------------------------------------------------ */
/* Site header: the logo, and the language switch where a translation exists */
/* ------------------------------------------------------------------------ */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  margin-bottom: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
/* The app icon, on its own white tile in both themes: it is a picture of the icon, and
   the icon has a white ground. */
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border);
}

.seg {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
.seg a, .seg strong {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}
.seg strong { background: var(--bg); color: var(--text); box-shadow: 0 1px 3px var(--shadow); }
.seg a:hover { color: var(--text); }

/* ------------------------------------------------------------------------ */
/* Documents: privacy, terms, account deletion, the version history          */
/* ------------------------------------------------------------------------ */

h1 {
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
  text-wrap: balance;
}
h2 {
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 44px 0 8px;
}
h3 { font-size: 18px; font-weight: 700; margin: 26px 0 4px; }
p, li { color: var(--text); }
ul, ol { padding-left: 1.3em; }
li { margin: 4px 0; }
li::marker { color: var(--primary); font-weight: 700; }
strong { font-weight: 700; }

.lede { color: var(--muted); font-size: 19px; line-height: 1.55; }

.version {
  display: inline-block;
  margin: 4px 0 28px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 24px 0;
}
.note strong { display: block; margin-bottom: 4px; }

table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 700; font-size: 13px; }
tr:last-child td { border-bottom: 0; }

.langbar { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.langbar a { margin-right: 12px; }

hr.sep { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }

/* The one destructive control on the site. Red, wide, and deliberately not styled like
   the quiet links around it — this is the last step before something irreversible. */
button.danger {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: #c92a2a;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button.danger:hover { background: #a82121; }
button.danger:disabled { opacity: 0.6; cursor: default; }

/* The irreversible warning. Red rather than the neutral note used elsewhere, and carrying
   a sign as well as colour — colour alone is invisible to a good share of readers, which
   is exactly the wrong thing to lean on when the message is "this cannot be undone". */
.note.danger {
  border-color: #f0b6b6;
  background: #fff0f0;
  color: #8a2020;
}
.note.danger strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c92a2a;
}
.note.danger strong::before {
  content: "⚠";
  font-size: 18px;
  line-height: 1;
}

@media (prefers-color-scheme: dark) {
  .note.danger { border-color: #5a2a2a; background: #2a1a1a; color: #f3c4c4; }
  .note.danger strong { color: #ff9b9b; }
}

/* The controller's name and postal address. Required by Article 13 and genuinely public,
   but there is no reason to put a private home address in front of every casual reader.
   A labelled disclosure is the layered form the EDPB endorses: one click, plainly named,
   and findable by anyone actually looking — as opposed to shrinking it to unreadable grey,
   which would trade real accessibility for the appearance of discretion. */
details.contact {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 12px 0 24px;
  background: var(--surface);
}
details.contact summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}
details.contact p { margin: 12px 0 0; font-size: 15px; }
details.contact p.muted { color: var(--muted); font-size: 14px; }

/* An archived copy of a legal document. Quieter than .note.danger on purpose: this is
   context, not a warning — the reader asked for this exact version and should be told
   which one they are looking at without the page shouting at them. */
.note.archived { border-style: dashed; background: transparent; }
.note.archived strong { color: var(--muted); }
.note.archived p { margin: 8px 0 0; font-size: 15px; }

/* The version history list. One row per published version, each linking to both
   documents, so a stored "2026-09-15.2" can be looked up by someone who has only that
   string to go on. */
.versions { list-style: none; padding: 0; margin: 24px 0 0; }
.versions li {
  padding: 16px 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}
.versions li > strong { font-variant-numeric: tabular-nums; }
.versions .version { margin: 0; }
.versions .links { color: var(--muted); font-size: 15px; margin-left: auto; }

/* ------------------------------------------------------------------------ */
/* Footer                                                                    */
/* ------------------------------------------------------------------------ */

footer {
  margin-top: 64px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 15px;
  font-weight: 600;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ------------------------------------------------------------------------ */
/* Home page                                                                 */
/* ------------------------------------------------------------------------ */

.home .wrap { max-width: 1180px; }
.home header.site { margin-bottom: 0; }

.ic {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding: 40px 0 96px;
}
.hero h1 { font-size: clamp(46px, 6vw, 84px); line-height: 1; letter-spacing: -0.035em; margin: 0; }
.hero h1 span { color: var(--primary); }
.hero .lede { font-size: 21px; font-weight: 500; max-width: 36ch; margin: 24px 0 0; }
.hero .tag { display: block; margin-top: 10px; color: var(--text); font-weight: 700; }

/* Store badges, drawn rather than the official artwork. A live one links to its store;
   one without .live is a store the app is not in yet, dimmed so it does not look tappable. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  opacity: 0.4;
  line-height: 1.15;
}
a.store.live { opacity: 1; text-decoration: none; }
a.store.live:hover { opacity: 0.88; }
a.store.live:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.store svg { width: 24px; height: 24px; fill: currentColor; }
.store small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; }
.store span { display: block; font-size: 19px; font-weight: 700; }


/* The phone, holding a real screenshot of the feed. */
.stage { position: relative; display: flex; justify-content: center; padding-bottom: 34px; }
.stage::before {
  content: "";
  position: absolute;
  top: calc(50% - 17px);
  left: 50%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: var(--primary-soft);
  transform: translate(-50%, -50%);
}
.phone {
  position: relative;
  width: 320px;
  height: 650px;
  padding: 11px;
  border-radius: 48px;
  background: #0b0f18;
  box-shadow: 0 40px 70px -30px rgba(16, 40, 90, 0.45), 0 8px 20px -8px rgba(16, 21, 33, 0.3);
}
.screen {
  --s-text: #101521; --s-muted: #5b6474; --s-border: #e3e7ee; --s-blue: #1668dc; --s-soft: #e9f0fc;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #fff;
  color: var(--s-text);
  font-size: 13px;
  line-height: 1.3;
}
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.island { position: absolute; top: 10px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #0b0f18; }
.status { padding: 14px 26px 0; font-size: 13px; font-weight: 700; }
.sh { padding: 22px 0 12px; border-bottom: 1px solid var(--s-border); text-align: center; font-size: 15px; font-weight: 700; }
.ctl { display: flex; flex-direction: column; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--s-border); }
.chip { align-self: flex-start; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--s-soft); color: var(--s-blue); font-weight: 700; }
.chip .ic { width: 14px; height: 14px; fill: currentColor; }
.rad { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.rad b { color: var(--s-blue); }
.track { position: relative; height: 4px; border-radius: 2px; background: var(--s-border); }
.track i { position: absolute; top: 0; bottom: 0; left: 0; width: 48%; border-radius: 2px; background: var(--s-blue); }
.track i::after { content: ""; position: absolute; top: -6px; right: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--s-blue); }
.cards { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; }
.card { display: flex; flex-direction: column; gap: 4px; padding: 11px 12px; border: 1px solid var(--s-border); border-radius: 14px; }
.card .cat { color: var(--s-blue); font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.card .t { font-size: 14px; font-weight: 700; }
.card .m { display: flex; justify-content: space-between; color: var(--s-muted); font-size: 12px; font-weight: 500; }
.card .m b { color: var(--s-blue); font-size: 13px; font-weight: 800; }
.fab { position: absolute; right: 18px; bottom: 22px; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 24px; background: var(--s-blue); color: #fff; box-shadow: 0 6px 14px -4px rgba(22, 104, 220, 0.6); }
.caption { position: absolute; right: 0; bottom: 0; left: 0; text-align: center; color: var(--muted); font-size: 13px; font-weight: 500; }

.band { padding: 88px 20px; margin: 0 -20px; border-top: 1px solid var(--border); }
.band h2, .earn h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.band .sub { max-width: 56ch; margin: 14px 0 0; color: var(--muted); font-size: 19px; font-weight: 500; line-height: 1.55; }

.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin: 44px 0 0; padding: 0; list-style: none; }
.cats li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; margin: 0; padding: 22px 0; border-top: 1px solid var(--border); }
.cats .bub { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.cats h3 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.cats p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }

.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.steps { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; margin: 0; padding: 0 0 34px 72px; color: var(--muted); font-size: 18px; font-weight: 500; line-height: 1.55; }
.steps li strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 21px; line-height: 1.3; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -4px;
  left: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 20px;
  font-weight: 800;
  line-height: 46px;
  text-align: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 48px; bottom: 4px; left: 22px; width: 2px; background: var(--border); }

.privacy-map { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; margin-top: 48px; padding: 28px; border-radius: 24px; background: var(--surface); }
.privacy-map svg { display: block; width: 100%; height: auto; border-radius: 16px; }
.privacy-map p { margin: 0; }

.earn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; margin: 88px 0; padding: 72px; border-radius: 32px; background: var(--primary); color: var(--on-primary); }
.earn p { margin: 0; color: var(--on-primary-muted); font-size: 20px; font-weight: 500; line-height: 1.6; }

.legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
.legal h2 { font-size: 30px; margin: 0; }
.legal ul { margin: 0; padding: 0; list-style: none; }
.legal li { margin: 0; padding: 16px 0; border-top: 1px solid var(--border); color: var(--muted); }
.legal li a { font-weight: 700; text-decoration: none; }
.legal li a:hover { text-decoration: underline; }
.cookie { display: flex; gap: 10px; margin: 18px 0 0; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.5; }
.cookie .ic { width: 20px; height: 20px; color: var(--primary); }

.home footer { margin-top: 72px; }

@media (max-width: 760px) {
  body { padding: 0 16px; }
  header.site { padding: 16px 0; margin-bottom: 12px; }
  .brand { font-size: 20px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .seg a, .seg strong { padding: 9px 12px; font-size: 13px; }
  h2 { margin-top: 36px; }

  .hero { grid-template-columns: 1fr; gap: 48px; padding: 20px 0 72px; }
  .hero h1 { font-size: 46px; }
  .hero .lede { font-size: 18px; }
  .stage::before { width: 320px; height: 320px; }
  .phone { width: 270px; height: 550px; border-radius: 42px; }
  .screen { border-radius: 33px; }
  .card:nth-child(4) { display: none; }
  .band { padding: 60px 16px; margin: 0 -16px; }
  .cats { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 28px; }
  .privacy-map { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .earn { grid-template-columns: 1fr; gap: 18px; margin: 60px 0; padding: 40px 26px; border-radius: 24px; }
  .earn p { font-size: 17px; }
  .legal { grid-template-columns: 1fr; gap: 12px; }
}
