/* talev.eu: one stylesheet for all pages. Brand colours as tokens, taken
   from the app (lib/core/theme in the app repo); dark mode follows the
   system. The logo is brand/app-icon.png (placeholder, generated by the app
   repo's tool/brand/make_icons.py). */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url(/fonts/PlusJakartaSans-400.ttf) format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url(/fonts/PlusJakartaSans-600.ttf) format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url(/fonts/PlusJakartaSans-700.ttf) format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url(/fonts/PlusJakartaSans-800.ttf) format("truetype"); }
:root {
  --brand: #5b4bdb;
  --brand-strong: #4335b8;
  --brand-soft: #ece9ff;
  --bg: #f6f6fb;
  --surface: #ffffff;
  --text: #16151d;
  --muted: #5d5b6c;
  --border: #e3e2ee;
  --danger: #b3261e;
  --ok: #1b7a50;
  --radius: 20px;
  --hero: linear-gradient(135deg, #5b4bdb 0%, #7c3aed 55%, #4335b8 100%);
  --on-hero: #ffffff;
  --on-hero-muted: rgba(255, 255, 255, .8);
  --glow: rgba(124, 58, 237, .15);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #a99dff;
    --brand-strong: #c3baff;
    --brand-soft: #2b2650;
    --bg: #0f0e15;
    --surface: #1a1922;
    --text: #f1f0f7;
    --muted: #a8a6b8;
    --border: #2d2b3a;
    --danger: #ffb4ab;
    --ok: #7fdcac;
    --hero: linear-gradient(135deg, #5b4bdb 0%, #7c3aed 55%, #3a2c9e 100%);
    --on-hero-muted: rgba(255, 255, 255, .7);
    --glow: rgba(91, 75, 219, .25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); }
.glow {
  position: absolute; inset: 0 0 auto 0; height: 420px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, var(--glow), transparent 70%);
}
.center { text-align: center; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 760px; margin: 0 auto; padding: 18px 16px;
}
header.site a.home { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 20px; }
header.site img { width: 36px; height: 36px; border-radius: 9px; }
.langs a { font-size: 14px; margin-left: 10px; color: var(--muted); text-decoration: none; }
.langs a.active { color: var(--text); font-weight: 700; }
.hero { text-align: center; padding: 40px 0 24px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 14px 40px rgba(91, 75, 219, .35); }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; margin: 22px 0 12px; letter-spacing: -.02em; }
h2 { font-size: 22px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 auto; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 16px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 24px 0; }
.grid .card { margin: 0; }
.card h3 { margin-top: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  border: 0; border-radius: 14px; padding: 13px 22px; font: inherit; font-weight: 700; cursor: pointer;
}
@media (prefers-color-scheme: dark) { .btn { color: #16151d; } }
.btn:disabled { opacity: .5; cursor: default; }
.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.badge { border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px; color: var(--muted); font-size: 15px; }
input[type=password], input[type=email], input[type=text], textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit;
}
label { display: block; font-weight: 600; margin: 14px 0 6px; }
.status { text-align: center; padding: 36px 0 12px; }
.status .icon { font-size: 44px; }
.ok { color: var(--ok); }
.err { color: var(--danger); }
footer.site { max-width: 760px; margin: 48px auto 0; padding: 22px 16px 40px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); margin-right: 16px; }
/* Bilingual pages: <span class="de">…</span><span class="en">…</span>.
   lang.js sets html[lang] from ?lang= or the browser. */
html[lang=de] .en, html[lang=en] .de { display: none !important; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

/* Price: same gradient as the app's headline cost card and paywall. */
.price {
  background: var(--hero); color: var(--on-hero); border-radius: 26px;
  padding: 30px 24px; margin: 36px 0 16px; text-align: center;
  box-shadow: 0 18px 44px rgba(91, 75, 219, .30);
}
.price .eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-hero-muted); }
.price .amount { margin: 8px 0 4px; font-size: 48px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price .amount > span:last-child { font-size: 20px; font-weight: 600; color: var(--on-hero-muted); }
.price .trial { margin: 6px auto 0; max-width: 460px; color: var(--on-hero-muted); }
.checks { list-style: none; padding: 0; margin: 14px 0; }
.checks li { padding-left: 30px; position: relative; font-weight: 600; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-size: 13px; line-height: 22px; text-align: center;
}
.spinner {
  width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 50%;
  border: 4px solid var(--brand-soft); border-top-color: var(--brand);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer.site nav a { margin-right: 0; }

/* Header: language switch and sign-in to the web app. */
header.site .tools { display: flex; align-items: center; gap: 14px; }
.langs a:first-child { margin-left: 0; }
.signin {
  font-size: 14px; font-weight: 700; text-decoration: none; color: var(--brand);
  border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 7px 14px;
}
.signin:hover { border-color: var(--brand); }

/* Start page. */
.kicker { margin: 22px 0 0; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--brand); }
.hero .kicker + h1 { margin-top: 8px; }
.badge.link { color: var(--brand); text-decoration: none; font-weight: 700; border-color: var(--brand); }
.shots {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 28px -16px 8px; padding: 4px 16px 14px; scrollbar-width: thin;
}
.shot { flex: 0 0 168px; margin: 0; scroll-snap-align: center; text-align: center; }
.phone {
  aspect-ratio: 1290 / 2796; border-radius: 26px; overflow: hidden;
  border: 6px solid var(--text); background: var(--surface);
  box-shadow: 0 14px 34px rgba(91, 75, 219, .18);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  height: 100%; display: flex; align-items: center; justify-content: center; padding: 12px;
  background: linear-gradient(160deg, var(--brand-soft), var(--surface));
  color: var(--muted); font-size: 13px; font-weight: 600;
}
.shot figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; line-height: 1.35; }
@media (min-width: 760px) { .shots { justify-content: center; overflow: visible; margin: 28px 0 8px; padding: 4px 0 14px; } .shot { flex: 1 1 0; } }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0 8px; display: grid; gap: 12px; }
.steps li {
  counter-increment: step; position: relative; margin: 0; padding: 18px 18px 18px 64px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; line-height: 32px; text-align: center;
}
.steps strong, .steps span { display: block; }
details.faq { border-bottom: 1px solid var(--border); padding: 12px 0; }
details.faq summary { cursor: pointer; font-weight: 700; list-style-position: outside; }
details.faq p { margin: 8px 0 0; color: var(--muted); }
.cta { text-align: center; padding: 20px 0 0; }
@media (max-width: 420px) { header.site a.home span, .langs a { font-size: 13px; } .signin { padding: 6px 10px; } }
.price .or { margin: 0; font-size: 18px; font-weight: 700; }
.price-line { margin: 14px auto 0; font-size: 15px; color: var(--muted); }
