/* goldenflower.ai: the app's colours (app/lib/theme/app_theme.dart), the
   system's own font (the app bundles none), calm and roomy. */
:root {
  --background: #14262a;
  --surface: #1d3337;
  --text: #e2eae6;
  --muted: #93ada6;
  --gold: #c9a227;
  --gold-light: #ffe08a;
  --lines: #86afa2;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 40rem;
  padding: 1.5rem 1.5rem 3rem;
}

a { color: var(--gold-light); text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.lang-hint { margin: 0 0 0.5rem; text-align: right; font-size: 0.9rem; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.home-link { color: var(--text); text-decoration: none; letter-spacing: 0.04em; }
.lang-switch a { color: var(--muted); }
.lang-switch [aria-current] { color: var(--gold); }

main { margin-top: 3rem; }

.hero {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin: 0 auto 2.5rem;
}

h1, h2 { font-weight: 600; line-height: 1.25; }
h1 { font-size: 2.2rem; margin: 0 0 1rem; color: var(--gold-light); }
.home h1 { text-align: center; font-size: 2.6rem; }
.home h1 + p, .home h1 + p + p { text-align: center; color: var(--muted); }
.home h1 + p + p { color: var(--text); }
h2 { font-size: 1.3rem; margin: 3rem 0 0.75rem; color: var(--gold); }

p, ul { margin: 0 0 1.1rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.6rem; }
li::marker { color: var(--gold); }
strong { font-weight: 600; }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface);
  font-size: 0.85rem;
  color: var(--muted);
}
footer a { color: var(--muted); }
