/* Website 01/03: the app's look — Seal Violet (#5C48BD light, #9179CD dark, ui/design tokens Colors.tint) on the iOS
   grouped background, light and dark after the system. Inter is self-hosted (public/fonts, OFL.txt). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-ext-wght-normal.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 {
  color-scheme: light dark;
  --bg: #f2f2f7;
  --cell: #ffffff;
  --label: #000000;
  --label2: #6c6c70;
  --sep: rgba(60, 60, 67, 0.29);
  --tint: #5c48bd;
  --on-tint: #ffffff;
  --tint-soft: rgba(92, 72, 189, 0.1);
  --hero-from: #ebe7fb;
  --hero-to: #f2f2f7;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius: 22px;
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --cell: #1c1c1e;
    --label: #ffffff;
    --label2: rgba(235, 235, 245, 0.6);
    --sep: rgba(84, 84, 88, 0.65);
    --tint: #9179cd;
    --on-tint: #0b0f14;
    --tint-soft: rgba(145, 121, 205, 0.16);
    --hero-from: #1d1631;
    --hero-to: #000000;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 400 1.0625rem/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
}
img { max-width: 100%; height: auto; }
a { color: var(--tint); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tint); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 750; margin: 0 0 0.5em; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem); font-weight: 700; margin: 2em 0 0.6em; }
h3 { font-size: 1.15rem; font-weight: 650; margin: 0 0 0.4em; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: color-mix(in srgb, var(--tint) 28%, transparent); }
input, textarea { caret-color: var(--tint); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--cell); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(16px); border-bottom: 0.5px solid var(--sep); }
.top-row { display: flex; align-items: center; gap: 12px 20px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--label); text-decoration: none; font-weight: 700; font-size: 1.1rem; margin-right: auto; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 18px; }
.nav a { color: var(--label); text-decoration: none; font-weight: 500; }
.nav a[aria-current='page'] { color: var(--tint); }
.langs { position: relative; }
@media (max-width: 559px) {
  .top-row { padding-top: 8px; padding-bottom: 6px; gap: 6px 16px; }
  .nav { order: 3; width: 100%; gap: 20px; padding-bottom: 2px; }
}
.langs summary { display: inline-flex; align-items: center; gap: 2px; min-height: 36px; cursor: pointer; list-style: none; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--tint-soft); color: var(--tint); font-weight: 600; font-size: 0.95rem; }
.langs summary::-webkit-details-marker { display: none; }
.langs .chevron { width: 1.25rem; height: 1.25rem; }
.langs[open] .chevron { transform: rotate(180deg); }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--cell); border-radius: 14px; box-shadow: var(--shadow); min-width: 13rem; border: 0.5px solid var(--sep); }
.langs li a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--label); text-decoration: none; }
.langs li a:hover { background: var(--tint-soft); }
.langs li a[aria-current='true'] { color: var(--tint); font-weight: 650; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--hero-from), var(--hero-to)); padding: 48px 0 24px; overflow: hidden; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } .hero { padding: 72px 0 40px; } }
.hero-icon { border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--label2); max-width: 38em; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 24px 0 8px; }
.badge { display: inline-block; line-height: 0; border-radius: 10px; }
.badge-apple img { height: 50px; width: auto; }
.badge-play img { height: 72px; width: auto; }
/* A store not released yet (src/site.ts STORES) has no badge, only this line (website 04: no altered or unlinked badge). */
.coming-soon { margin: 24px 0 8px; font-size: 1.05rem; font-weight: 600; color: var(--label); text-wrap: balance; }
.platforms { color: var(--label2); font-size: 0.95rem; }
.hero-shot { display: flex; justify-content: center; }
.phone { border-radius: 36px; box-shadow: var(--shadow); border: 0.5px solid var(--sep); background: var(--cell); }
.hero-shot .phone { width: min(320px, 80vw); }

/* Sections */
.section { padding: 8px 16px 24px; }
@media (min-width: 640px) { .section { padding: 8px 32px 32px; } }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.card { background: var(--cell); border-radius: var(--radius); padding: 22px 22px 8px; box-shadow: var(--shadow); }
.card p { color: var(--label2); }
.card-accent { background: var(--tint); grid-column: 1 / -1; }
.card-accent p { max-width: 62ch; }
.card-accent h3, .card-accent p, .card-accent a { color: var(--on-tint); }
/* Website 05: each card's app glyph (src/components/FeatureGlyph.ts) on a soft violet tile, centred on the heading's
   first line; the privacy card inverts it. */
.card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 0.55em; }
.card-head h3 { margin: 0; padding-top: calc((2.25rem - 1.15rem * 1.2) / 2); }
.glyph-tile { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--tint-soft); color: var(--tint); }
.glyph { display: block; width: 1.375rem; height: 1.375rem; }
.card-accent .glyph-tile { background: color-mix(in srgb, var(--on-tint) 18%, transparent); color: var(--on-tint); }
.shots { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }
.shots figure { margin: 0; text-align: center; }
.shots .phone { width: min(280px, 100%); }
.shots figcaption { color: var(--label2); font-size: 0.95rem; margin-top: 12px; }
.languages { color: var(--label2); }

/* Text pages */
.prose { max-width: 46rem; padding-top: 40px; padding-bottom: 48px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose address { font-style: normal; background: var(--cell); border-radius: 16px; padding: 16px 20px; margin: 0 0 1em; box-shadow: var(--shadow); }
.meta { color: var(--label2); font-size: 0.95rem; }
.callout { background: var(--tint-soft); border-radius: var(--radius); padding: 4px 22px 6px; margin: 24px 0; }
.callout h2 { margin-top: 0.8em; }
.faq { background: var(--cell); border-radius: 16px; padding: 18px 20px 4px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq p { color: var(--label2); }
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 24px; }
/* A long label (the Impressum's USt-IdNr. line) wraps at 16rem instead of pushing the values out of the column. */
.facts dt { font-weight: 600; }
.facts dd { margin: 0 0 10px; color: var(--label2); }
@media (min-width: 640px) { .facts { grid-template-columns: fit-content(16rem) minmax(0, 1fr); gap: 12px 24px; } .facts dd { margin: 0; } }
.chooser { text-align: center; padding-top: 64px; padding-bottom: 64px; }
.chooser img { border-radius: 22px; box-shadow: var(--shadow); }
.chooser ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chooser a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--cell); box-shadow: var(--shadow); text-decoration: none; font-weight: 600; }
.notfound, .prose .notfound { list-style: none; padding: 0; }

/* Home: feature lead, FAQ as disclosure */
.section-lead { margin-top: -0.2em; margin-bottom: 1.2em; }
.faq-list { display: grid; gap: 12px; margin-bottom: 1em; }
details.faq { padding: 16px 20px; margin: 0; }
details.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style-position: outside; }
details.faq[open] summary { margin-bottom: 0.6em; }
details.faq p { margin: 0; }

/* Contact form */
.button { display: inline-block; font: inherit; font-weight: 650; color: var(--on-tint); background: var(--tint); border: 0; border-radius: 999px; padding: 12px 26px; min-height: 44px; cursor: pointer; text-decoration: none; }
.button:hover { filter: brightness(1.08); }
.button:disabled { opacity: 0.55; cursor: default; filter: none; }
.contact-form { margin-top: 24px; }
.form-body { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-body:disabled { opacity: 0.6; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 650; margin-bottom: 4px; padding: 0; }
.field-row { display: grid; gap: 0 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.hint { color: var(--label2); font-size: 0.95rem; margin: 0 0 8px; }
.contact-form input[type='text'], .contact-form input[type='email'], .contact-form textarea {
  width: 100%; font: inherit; color: var(--label); background: var(--cell); border: 1px solid var(--sep); border-radius: 12px; padding: 10px 14px; min-height: 44px; }
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form input[type='file'] { font: inherit; max-width: 100%; color: var(--label2); }
.contact-form input[type='file']::file-selector-button { font: inherit; font-weight: 600; color: var(--tint); background: var(--tint-soft); border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px; margin-right: 12px; cursor: pointer; }
.contact-form input[type='file']:disabled::file-selector-button { cursor: default; }
.contact-form [aria-invalid='true'] { border-color: #d70015; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.kinds legend { width: 100%; }
.kinds .kind { display: inline-flex; align-items: center; gap: 8px; background: var(--cell); border: 1px solid var(--sep); border-radius: 999px; padding: 8px 16px; min-height: 44px; cursor: pointer; }
.kinds .kind:has(input:checked) { border-color: var(--tint); background: var(--tint-soft); color: var(--tint); font-weight: 600; }
.kinds .kind:focus-within { outline: 3px solid var(--tint); outline-offset: 2px; }
.kinds .kind input:focus-visible { outline: none; }
.kind input, .consent input { accent-color: var(--tint); width: 1.15em; height: 1.15em; margin: 0; }
.consent label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.consent input { margin-top: 0.25em; flex: none; }
.field-error, .form-status { color: #d70015; font-weight: 600; margin: 6px 0 0; }
.form-status { background: rgba(215, 0, 21, 0.08); border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; }
.previews { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); }
.prose .previews li { margin: 0; }
.previews img, .preview-file { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; border: 0.5px solid var(--sep); background: var(--cell); font-weight: 700; color: var(--label2); }
.preview-name { display: block; font-size: 0.8rem; color: var(--label2); margin-top: 4px; overflow-wrap: anywhere; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border: 1px solid var(--tint); }
@media (prefers-color-scheme: dark) {
  .contact-form [aria-invalid='true'] { border-color: #ff6961; }
  .field-error, .form-status { color: #ff6961; }
  .form-status { background: rgba(255, 105, 97, 0.12); }
}

/* Press kit */
.fact { display: contents; }
.downloads, .prose .downloads { list-style: none; padding: 0; }
.download-icon { display: flex; align-items: center; gap: 14px; }
.download-icon img { border-radius: 14px; box-shadow: var(--shadow); }
.press-shots { margin: 16px 0 24px; }

/* Footer */
.foot { border-top: 0.5px solid var(--sep); padding: 24px 0 40px; color: var(--label2); font-size: 0.95rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--label2); }
.copy { margin: 0; }
.trademarks { flex-basis: 100%; margin: 0; font-size: 0.8rem; max-width: 90ch; }
.objection { font-weight: 500; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } .langs .chevron { transition: transform 0.15s ease-out; } }
