/* Da!Geo website — shared styles (brand blue #2171EC, wordmark in Outfit like the app) */
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #fdfcff;
  --card: #ffffff;
  --text: #1a1c1e;
  --muted: #5b6168;
  --brand: #2171ec;
  --brand-on: #ffffff;
  --brand-soft: #e9f1ff;
  --border: #dde3ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111418;
    --card: #1b1f24;
    --text: #e2e2e6;
    --muted: #a3aab2;
    --brand: #a6c8ff;
    --brand-on: #002c70;
    --brand-soft: #1f2a36;
    --border: #2c333b;
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

main {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  overflow-wrap: anywhere;
}

.wordmark {
  margin: 0 0 8px;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -0.5px;
  color: var(--brand);
}

.tagline { margin: 0 0 24px; font-size: 18px; }

p { margin: 0 0 16px; color: var(--muted); }

.badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}

.button {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-on);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}

.button[hidden] { display: none; }

.soon { margin-top: 20px; font-size: 14px; }

.en { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; }

footer { margin-top: 20px; font-size: 13px; color: var(--muted); }

footer a { color: inherit; }

/* ── Text pages (intrebari.html): wide, left-aligned, top of the page ── */
body.doc { justify-content: flex-start; align-items: stretch; }

.doc-head, .doc-main, .doc-foot { width: 100%; max-width: 760px; margin: 0 auto; }

/* Undo the home page's centred card for <main> */
.doc-main { background: none; border: 0; border-radius: 0; padding: 0; text-align: left; }

.doc-head { padding: 8px 0 16px; }
.doc-head h1 { margin: 4px 0 8px; font-size: 30px; line-height: 1.2; }
.doc-head p { margin-bottom: 16px; }

.wordmark.small { display: inline-block; margin: 0; font-size: 26px; text-decoration: none; }

.faq-search {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font: inherit;
}
.faq-search:focus { outline: 2px solid var(--brand); outline-offset: 1px; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.toc a {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.doc-main section { margin-top: 28px; scroll-margin-top: 16px; }
.doc-main h2 { margin: 0 0 10px; font-size: 21px; }

.doc-main details {
  margin-bottom: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.doc-main summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  list-style-position: inside;
}
.doc-main summary:focus-visible { outline: 2px solid var(--brand); border-radius: 14px; }
.doc-main details > :not(summary) { margin: 0 16px 14px; }
.doc-main details p, .doc-main details li { color: var(--muted); }
.doc-main details strong { color: var(--text); }
.doc-main ul, .doc-main ol { padding-left: 20px; }
.doc-main li { margin-bottom: 6px; }

.empty { margin-top: 24px; text-align: center; }

.doc-foot { margin-top: 32px; text-align: center; }
