/* getposso.com · one stylesheet for every page. E3 colours (docs/design/tokens/E3-tokens.json), system fonts only:
   no web fonts or scripts, so opening a page sends nothing to a third party. Light or dark follows the phone's
   setting (no toggle: that would need a script and a stored choice). Every colour pair that carries text is AA in
   both (tests/unit/site-pages.test.ts computes the ratios); --line is decoration only. */
:root {
  color-scheme: light dark;
  --bg: #ece8e1;
  --surface: #f7f4ef;
  --text: #1a221d;
  --muted: #525953;
  --accent: #1e4a38;
  --accent-hover: #143628;
  --line: #d6cfc4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1714;
    --surface: #17211c;
    --text: #eee9df;
    --muted: #aca698;
    --accent: #94c5a9;
    --accent-hover: #b3d8c2;
    --line: #2c3a33;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.55 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}
main {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}
h1,
h2,
h3 {
  font-family: ui-serif, 'New York', Georgia, serif;
  font-weight: 500;
}
h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 4px;
}
h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 32px 0 8px;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 24px 0 6px;
}
.sub {
  color: var(--muted);
  margin: 0 0 24px;
}
.card {
  background: var(--surface);
  border-radius: 22px;
  padding: 20px 22px;
  margin-bottom: 16px;
}
.card > :last-child {
  margin-bottom: 0;
}
.card h2:first-child {
  margin-top: 0;
}
.label {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
p {
  margin: 0 0 12px;
}
ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
li {
  margin-bottom: 8px;
}
dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
/* Keyboard focus: a clear ring on everything you can tab to; hover only where there is a pointer (no stuck hover
   after a tap on a phone). */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (hover: hover) {
  a:hover {
    text-decoration-thickness: 2px;
  }
  summary:hover {
    color: var(--accent);
  }
}
/* The skip link: first thing a keyboard reaches, shown only while it has focus. */
.skip {
  position: absolute;
  top: 2px;
  left: 8px;
  z-index: 1;
  padding: 10px 16px;
  min-height: 44px;
  background: var(--surface);
  border-radius: 12px;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
/* 44 pt targets on phones: the footer links and the links that stand alone (inline links in a sentence are
   exempt). Footer links reach 6 px into the " · " between them (14 px wide), so the words stay where they were and
   no two targets overlap. */
nav {
  margin-top: 40px;
  color: var(--muted);
  line-height: 2;
}
nav a {
  display: inline-block;
  min-height: 44px;
  padding: 5px 6px;
  margin: 0 -6px;
}
a.tap {
  display: inline-block;
  min-height: 44px;
  padding: 9px 0;
}
/* The imprint's labels sit level with their taller contact links. */
dt:has(+ dd > a.tap) {
  padding-top: 9px;
}
/* The Join link on /beta and /testen is the page's one action: a full-width button. Matched by its address, so the
   line with the TestFlight link stays as the hub swaps it in. The home page's two buttons (a.go) look the same. */
a.go,
a[href^='https://testflight.apple.com/join/'] {
  display: block;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
@media (hover: hover) {
  a.go:hover,
  a[href^='https://testflight.apple.com/join/']:hover {
    background: var(--accent-hover);
  }
}
/* Questions on /support and /hilfe: each opens in place. */
details {
  border-top: 1px solid var(--line);
}
details:last-of-type {
  border-bottom: 1px solid var(--line);
}
/* Our own chevron instead of the browser's triangle, so a question on two lines keeps its text aligned. */
summary {
  position: relative;
  min-height: 44px;
  padding: 11px 0 11px 26px;
  cursor: pointer;
  list-style: none;
  font-family: ui-serif, 'New York', Georgia, serif;
  font-size: 19px;
  line-height: 1.3;
}
summary::-webkit-details-marker {
  display: none;
}
summary::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
details[open] > summary::before {
  transform: rotate(45deg);
}
details > p {
  margin: 0 0 16px;
}
/* Print: black on white whatever the phone's setting, no footer, the address behind each outside link. */
@media print {
  :root {
    color-scheme: light;
    --bg: #fff;
    --surface: #fff;
    --text: #000;
    --muted: #000;
    --accent: #000;
    --accent-hover: #000;
    --line: #000;
  }
  nav,
  .skip {
    display: none;
  }
  body {
    font-size: 11pt;
  }
  main {
    max-width: none;
    padding: 0;
  }
  .card {
    padding: 0;
    border-radius: 0;
  }
  h2,
  h3,
  summary {
    break-after: avoid;
  }
  a[href^='http']::after {
    content: ' (' attr(href) ')';
    overflow-wrap: anywhere;
  }
  a.go,
  a[href^='https://testflight.apple.com/join/'] {
    display: inline;
    padding: 0;
    background: none;
    color: #000;
    font-weight: 400;
    text-decoration: underline;
  }
}
/* A printed help page shows every answer (browsers without ::details-content skip only this rule). */
@media print {
  details::details-content {
    content-visibility: visible;
  }
}
