/* Anavara · minimal calm style — Cream/Ink/Gold matching the iOS app. */

:root {
  --bg: #F6F2EB;
  --card: #FFFFFF;
  --ink: #1F1A14;
  --ink-2: #5C5044;
  --ink-3: #8C7B6B;
  --gold: #B89968;
  --divider: rgba(31, 26, 20, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11162A;
    --card: #1A2038;
    --ink: #E8E2D5;
    --ink-2: #B8B0A0;
    --ink-3: #80776B;
    --divider: rgba(232, 226, 213, 0.14);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 28px 96px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 56px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.lang-toggle {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.lang-toggle .active {
  color: var(--ink);
  font-weight: 600;
}

.lang-toggle a {
  color: var(--ink-3);
  border-bottom: none;
}

.lang-toggle a:hover {
  color: var(--gold);
}

.lang-toggle .sep {
  margin: 0 6px;
  color: var(--divider);
}

/* Landing-Hero — leise statt marketing-laut. Headline ist italic-serif,
   Subline ruhig, kein CTA-Button (App-Store-Link sitzt im Meta-Block). */
.hero {
  margin-top: 24px;
  margin-bottom: 8px;
}

.hero h1 {
  margin-bottom: 16px;
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 0;
}

/* Drei kurze Meta-Absätze unter dem Knoten — App-Store-Status,
   Sprachen, Datenschutz-Versprechen. h3 als ruhige Eyebrows,
   p als Antwort. Bewusst karger als Marketing-Text. */
.meta-block {
  margin-top: 8px;
}

.meta-block h3:first-child {
  margin-top: 0;
}

.meta-block p {
  max-width: 540px;
}

/* Legacy-Klasse aus der nackten Stub-Variante — bleibt für die
   Legal-Pages, die auf dieser Klasse referenzieren könnten. */
.legal-links {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.legal-links a {
  font-size: 15px;
  color: var(--ink-2);
  border-bottom: none;
}

.legal-links a:hover {
  color: var(--gold);
}

/* Anavara-Lotus — 16 äußere Petals gold + 16 innere Petals dunkel,
   exakte Brand-SVG (assets/branding/Lotus.svg im iOS-Repo). */
.brand-mark {
  width: 28px;
  height: 28px;
  background: url(lotus.svg) no-repeat center / contain;
  flex-shrink: 0;
  align-self: center;
}

.brand-name {
  font-family: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

h1 {
  font-family: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 12px;
}

h2 {
  font-family: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  margin: 48px 0 12px;
  color: var(--ink);
}

h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--ink-2);
  margin: 24px 0 8px;
  text-transform: uppercase;
}

p, ul, ol {
  color: var(--ink-2);
  margin: 0 0 16px;
}

ul, ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 153, 104, 0.35);
}

a:hover {
  border-bottom-color: var(--gold);
}

.meta {
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
}

hr {
  border: 0;
  border-top: 1px solid var(--divider);
  margin: 48px 0;
}

footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
  font-size: 13px;
  color: var(--ink-3);
}

footer nav {
  display: flex;
  gap: 24px;
  margin-bottom: 8px;
}

footer nav a {
  color: var(--ink-2);
  border-bottom: none;
}

footer nav a:hover {
  color: var(--gold);
}

/* Trennlinie mit tibetischem Endlosknoten (Shrivatsa) in der Mitte —
   eines der acht buddhistischen Glückssymbole, hier als Hairline-
   Geflecht. Aus dem Anavara-Graphics-Deck portiert.
   currentColor + opacity übers .divider-knot-Element steuerbar. */
.divider-knot {
  display: block;
  margin: 36px auto;
  width: 200px;
  height: 20px;
  color: var(--gold);
  opacity: 0.7;
}

.divider-knot path,
.divider-knot line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Inner-Knoten ist im scale(0.32), darum strokeWidth 3 für ~1 px sichtbar */
.divider-knot .knot path {
  stroke-width: 3;
}

/* small-screen tighter */
@media (max-width: 480px) {
  .page { padding: 40px 22px 64px; }
  h1 { font-size: 30px; }
  h2 { font-size: 20px; margin-top: 36px; }
}
