/* cosaylo website: brand tokens as in packages/mobile-ui/src/theme.ts (docs/DESIGN_SYSTEM.md); Manrope, self-hosted. */
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Manrope"; src: url("fonts/manrope-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; 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: "Manrope"; src: url("fonts/manrope-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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: "Manrope"; src: url("fonts/manrope-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; 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: "Manrope"; src: url("fonts/manrope-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; 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: #faf8f5;          /* Cremeweiß */
  --surface: #ffffff;
  --surface-warm: #f2efea;
  --surface-strong: #e7e1d9;
  --ink: #22313c;         /* Anthrazit */
  --muted: #596970;
  --subtle: #69777d;
  --line: #e2e5e3;
  --line-strong: #8c989d;
  --primary: #176b70;     /* Petrol: interaction */
  --primary-pressed: #105358;
  --primary-tint: #e5f0ef;
  --on-primary: #ffffff;
  --warm: #dc8266;        /* Terrakotta: the individual */
  --warm-strong: #b95e43;
  --match: #e9bc66;       /* Honiggold: what two people share */
  --match-tint: #fbf3df;
  --danger: #b74343;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141d21; --surface: #1d292e; --surface-warm: #26343a; --surface-strong: #34444a; --ink: #f5f1eb; --muted: #b5c0c3; --subtle: #9aa7ab; --line: #34444a; --line-strong: #5b6c72; --primary: #78c3c0; --primary-pressed: #9ad4d1; --primary-tint: #1f3a3c; --on-primary: #141d21; --warm: #e69a80; --warm-strong: #e69a80; --match: #e9bc66; --match-tint: #3a3322; --danger: #e88a8a; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
header, main, footer { max-width: 38rem; margin: 0 auto; padding: 0 1.5rem; }
header { padding-top: 1.5rem; padding-bottom: 1rem; }
main { padding-top: 2.5rem; padding-bottom: 3rem; }

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 28px; width: auto; display: block; }

h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1 { font: 600 clamp(2.2rem, 7vw, 3rem)/1.1 var(--sans); letter-spacing: -0.025em; margin: 0 0 1.25rem; }
h2 { font: 600 1.3rem/1.3 var(--sans); letter-spacing: -0.01em; margin: 2.5rem 0 .75rem; }
h3 { font: 600 1.05rem/1.35 var(--sans); margin: 2rem 0 .5rem; }
p { margin: 0 0 1rem; max-width: 34rem; }
main > p:first-of-type { color: var(--muted); }
ul, ol { padding-left: 1.2rem; }
li { margin: .25rem 0; }
strong { font-weight: 600; }
a { color: var(--primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-pressed); }

.eyebrow { font: 500 .85rem/1.4 var(--sans); color: var(--subtle); margin: 0 0 .5rem; }
h1.name { font: 600 clamp(3.4rem, 16vw, 5rem)/1.05 var(--sans); letter-spacing: -0.035em; margin: .25rem 0 1.5rem; overflow-wrap: anywhere; }
main section ul { list-style: none; padding: 0; margin: 0; }
main section li { border-top: 1px solid var(--line); padding: .7rem 0; margin: 0; }
.meta { color: var(--subtle); font-size: .85rem; }

.stores { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.3rem; border: 1px solid var(--surface-strong); border-radius: 10px; text-decoration: none; color: var(--ink); background: var(--surface); font: 600 1rem/1.2 var(--sans); min-height: 48px; cursor: pointer; transition: background-color .14s ease; }
.button:hover { background: var(--surface-warm); color: var(--ink); }
.button.primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.button.primary:hover { background: var(--primary-pressed); border-color: var(--primary-pressed); }
.button.danger { background: transparent; color: var(--danger); border-color: var(--danger); }

.code { margin-top: 2.5rem; padding: 1.75rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.code h2 { font: 600 1rem/1.4 var(--sans); color: var(--muted); margin: 0 0 .75rem; }
.code p { margin-left: auto; margin-right: auto; }
.code-value { font: 600 2rem/1.1 var(--sans); letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--ink); margin: .75rem 0; }
.hint { color: var(--muted); font-size: .9rem; }

label { display: block; margin: 1.25rem 0 .4rem; font-weight: 500; }
input { width: 100%; padding: .75rem .9rem; border: 1px solid var(--surface-strong); border-radius: 10px; font: inherit; background: var(--surface); color: inherit; min-height: 50px; }
input:focus { border-color: var(--primary); outline: none; }
form .button { margin-top: 1rem; }

article { line-height: 1.7; }
article h1 { margin-bottom: 1.5rem; }
blockquote { border-left: 2px solid var(--line-strong); margin: 1.25rem 0; padding-left: 1rem; color: var(--muted); }

footer { color: var(--subtle); font-size: .875rem; padding-top: 1.5rem; padding-bottom: 2.5rem; border-top: 1px solid var(--line); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--primary); text-decoration: underline; }
footer .langs { margin: .75rem 0 0; }
footer .langs strong { color: var(--ink); font-weight: 600; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

/* Familienrunde: hearts are the individual's (terracotta) */
.fr-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.fr-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.fr-name { font: 600 1.75rem/1.15 var(--sans); letter-spacing: -0.02em; }
.fr-desc { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .95rem; }
.heart { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--surface-strong); background: var(--surface); color: var(--warm-strong); font-size: 1.5rem; cursor: pointer; }
.heart.on { background: var(--warm-strong); color: #fff; border-color: var(--warm-strong); }
.heart:disabled { opacity: .5; cursor: default; }
/* Beliebtheit */
.pop-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: .5rem 0; }
.pop-row p { margin: 0; }
.pop-line { fill: none; stroke: var(--primary); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
