/* Shared by every page. No web fonts, no external requests. */

:root {
  color-scheme: light dark;
  --bg: #fff;
  --bg-alt: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0a66e8;
  --accent-fg: #fff;
  --rule: #d2d2d7;
  --header-bg: rgb(255 255 255 / 72%);
  --pill-bg: #e8f0fd;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000;
    --bg-alt: #161617;
    --fg: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #4d9bff;
    --accent-fg: #000;
    --rule: #3a3a3c;
    --header-bg: rgb(0 0 0 / 68%);
    --pill-bg: #102a4d;
  }
}

* { box-sizing: border-box; }

html { scroll-padding-top: 4rem; }

body {
  margin: 0;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.narrow { max-width: 42rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.25rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 26px;
  height: 26px;
  border-radius: 22%;
  background: #fff;
  border: 1px solid var(--rule);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: .875rem;
}
.site-header nav a { color: var(--fg); opacity: .8; }
.site-header nav a:hover { opacity: 1; text-decoration: none; }
.site-header nav a[aria-current="page"] { opacity: 1; font-weight: 600; }
.site-header nav a.button { opacity: 1; color: var(--accent-fg); }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  font-size: .8125rem;
  padding: .3rem .8rem;
  border-radius: 980px;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }

@media (max-width: 400px) {
  .brand span { display: none; }
  .site-header nav { gap: 1rem; }
}

/* ---------- Shared blocks ---------- */

section { padding: 5rem 0; }
section.alt { background: var(--bg-alt); }

.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .75rem;
}

.page-title {
  padding-top: 4.5rem;
  padding-bottom: 1rem;
}
.page-title h1 { font-size: clamp(2.5rem, 7vw, 3.5rem); margin-bottom: 1rem; }
.page-title .lede { font-size: 1.3rem; color: var(--muted); line-height: 1.4; }

h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); margin-bottom: 1.25rem; }

.prose p { font-size: 1.0625rem; }
.prose h2 { margin-top: 0; }

.more {
  font-weight: 500;
  white-space: nowrap;
}

a.appstore {
  display: inline-block;
  line-height: 0;
  border-radius: 9px;
}
a.appstore img {
  display: block;
  height: 48px;
  width: auto;
  transition: opacity .15s ease;
}
a.appstore:hover img { opacity: .85; }

/* ---------- Landing ---------- */

.hero {
  text-align: center;
  padding: 5.5rem 0 4.5rem;
}
.hero .icon {
  width: 120px;
  height: 120px;
  border-radius: 24%;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 10px 30px rgb(0 0 0 / 12%);
  display: block;
  margin: 0 auto 2rem;
}
.hero h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  letter-spacing: -0.035em;
  margin-bottom: .35rem;
}
.hero .tagline {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}
.hero .tagline span { color: var(--accent); }
.hero .sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 30rem;
  margin: 0 auto 2.25rem;
  line-height: 1.45;
}

.manifesto {
  text-align: center;
}
.manifesto p {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 1.5rem;
}
.manifesto .quiet { color: var(--muted); }
.manifesto .sign {
  margin: 2.5rem 0 0;
  color: var(--accent);
}

.steps-head { text-align: center; margin-bottom: 1.5rem; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.steps img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 642 / 1389;
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--rule);
  margin-bottom: 1.25rem;
}
.steps h3 {
  font-size: 1.25rem;
  margin-bottom: .4rem;
}
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }

/* Phones: the three steps scroll sideways inside their own strip, never the page. */
@media (max-width: 720px) {
  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    margin: 0 -1rem;
    padding: 0 1rem .5rem;
    scroll-padding: 0 1rem;
    scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .steps li {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.split p { color: var(--muted); text-align: justify; }
.split .links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; gap: 1rem; }
}

.cta { text-align: center; }
.cta h2 { margin-bottom: 1.75rem; }
.cta .contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .75rem 1.25rem;
  margin: 2rem 0 0;
  color: var(--muted);
}

/* LinkedIn buttons: a neutral pill with the logo inline, so no external requests. */
.linkedin {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .95rem .45rem .75rem;
  border: 1px solid var(--rule);
  border-radius: 980px;
  background: var(--bg);
  color: var(--fg);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.linkedin:hover { text-decoration: none; border-color: var(--muted); }
.linkedin svg { width: 18px; height: 18px; flex: none; }

/* ---------- Charities ---------- */

.charities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.charity {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 1.75rem 1.75rem 1.5rem;
}
.charity h3 {
  font-size: 1.375rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .75rem;
  margin-bottom: .35rem;
}
.charity .what {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.charity p { font-size: 1rem; }
.charity .facts {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  font-size: .875rem;
  color: var(--muted);
}
.charity .facts strong { color: var(--fg); font-weight: 600; }
.charity .visit { font-size: .9375rem; font-weight: 500; }

@media (max-width: 480px) {
  .charity { padding: 1.4rem 1.25rem 1.25rem; }
}

.charity.recommended { box-shadow: inset 0 0 0 2px var(--accent); }
.badge {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  background: var(--pill-bg);
  padding: .2rem .6rem;
  border-radius: 980px;
}

.resources {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
}
.resources li { border-bottom: 1px solid var(--rule); }
.resources a {
  display: block;
  padding: .9rem 0;
  color: var(--fg);
}
.resources a:hover { text-decoration: none; }
.resources a strong { color: var(--accent); font-weight: 600; }
.resources a span { display: block; color: var(--muted); font-size: .9375rem; }

.flow {
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
.flow li {
  counter-increment: flow;
  position: relative;
  padding: 0 0 1.25rem 2.5rem;
}
.flow li::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.6rem;
  height: 1.6rem;
  line-height: 1.6rem;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  font-size: .875rem;
  font-weight: 600;
  text-align: center;
}

table.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  margin: 1.5rem 0 0;
}
.ledger th, .ledger td {
  text-align: left;
  padding: .7rem .5rem .7rem 0;
  border-bottom: 1px solid var(--rule);
}
.ledger th { font-weight: 600; color: var(--muted); font-size: .8125rem; }
.ledger td.num, .ledger th.num { text-align: right; font-variant-numeric: tabular-nums; }
.ledger .empty td { color: var(--muted); font-style: italic; }

.fineprint { font-size: .8125rem; color: var(--muted); }

/* ---------- About ---------- */

.portrait {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 0 1.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
}
.about-id {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0 0 1.75rem;
}
.about-id .portrait { margin: 0; }
@media (max-width: 480px) {
  .about-id .portrait { width: 112px; height: 112px; }
}
.about-head .role { font-size: 1.2rem; color: var(--muted); margin: .5rem 0 0; }

/* ---------- Impressum ---------- */

address { font-style: normal; margin: 0 0 1.5rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }

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

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  font-size: .8125rem;
  color: var(--muted);
  padding: 2.5rem 0 3rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-bottom: 1rem;
}
.site-footer nav + nav {
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.site-footer p { margin: 1.25rem 0 0; }
