/* EthioApps — shared styles for ethioapps.app */
:root {
  --green: #0B6B4F;
  --green-dark: #08513c;
  --text: #1b1b1b;
  --muted: #5f6368;
  --bg: #ffffff;
  --card: #f4f7f5;
  --border: #dfe5e1;
  --link: #0B6B4F;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #ececec;
    --muted: #a8adb3;
    --bg: #121412;
    --card: #1c211e;
    --border: #2c332f;
    --link: #6fd3ab;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Noto Sans Ethiopic", "Nyala", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--link); }
a:hover { text-decoration: none; }

.site-header {
  border-bottom: 1px solid var(--border);
}
.site-header .inner,
main,
.site-footer .inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 18px;
}
.site-header .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--green); }
@media (prefers-color-scheme: dark) { .brand span { color: var(--link); } }
nav a {
  margin-left: 16px;
  font-size: .95rem;
  text-decoration: none;
}
nav a:first-child { margin-left: 0; }
nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; }

main { padding-top: 28px; padding-bottom: 56px; }
h1 { font-size: 1.8rem; line-height: 1.25; margin: 0 0 4px; }
h2 { font-size: 1.15rem; margin-top: 2.1rem; }
.sub { color: var(--muted); margin-top: 0; }
.geez { font-family: "Noto Sans Ethiopic", "Nyala", "Kefa", system-ui, sans-serif; }

.hero { padding: 12px 0 8px; }
.hero h1 { font-size: 2.1rem; }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 560px; }

.cards { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.card h2 { margin-top: 0; font-size: 1.3rem; }
.card .tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  margin-bottom: 8px;
}
.card .tag.soon { background: var(--muted); }
.card ul { padding-left: 20px; margin: 8px 0 12px; }
.card .links a { margin-right: 14px; white-space: nowrap; }

.button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  margin-top: 6px;
}
.button.disabled { background: var(--muted); cursor: default; }

.faq dt { font-weight: 700; margin-top: 1.2rem; }
.faq dd { margin: 4px 0 0; }

.note {
  background: var(--card);
  border-left: 4px solid var(--green);
  padding: 12px 16px;
  border-radius: 6px;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}
.site-footer .inner { padding-top: 18px; padding-bottom: 28px; }
.site-footer a { margin-right: 14px; }

/* Coming-soon banner — remove with the banner in each page at release */
.coming-soon {
  background: var(--green);
  color: #fff;
  text-align: center;
  font-weight: 600;
  padding: 10px 16px;
}
