/* Yalla public site — colours mirror packages/design-tokens (brand green, warm cream). */
:root {
  --primary: #087a5b;
  --primary-dark: #063d32;
  --bg: #faf8f2;
  --surface: #ffffff;
  --border: #e4e7ec;
  --ink: #101828;
  --ink-soft: #475467;
  --mint: #e8f6ef;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: var(--primary);
  text-underline-offset: 2px;
}

a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-header {
  background: var(--primary-dark);
  color: #fff;
}

.site-header .inner,
main,
.site-footer .inner {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-header nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.site-header nav a {
  color: #fff;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
}

.site-header a:focus-visible {
  outline-color: #fff;
}

main {
  padding-top: 32px;
  padding-bottom: 56px;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 4px;
  font-weight: 800;
}

h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 32px 0 6px;
  font-weight: 700;
}

p,
ul {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.updated {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 20px;
}

.lead {
  font-size: 18px;
  color: var(--ink);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 0 0 16px;
}

.card h2 {
  margin-top: 0;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.callout {
  background: var(--mint);
  border: 1px solid #c9e7da;
  border-radius: 16px;
  padding: 14px 18px;
  margin: 0 0 16px;
  color: var(--primary-dark);
}

.callout p {
  color: inherit;
  margin: 0;
}

.button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 999px;
  min-height: 48px;
}

.button:hover {
  background: var(--primary-dark);
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer .inner {
  padding-top: 20px;
  padding-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

.site-footer a {
  color: var(--ink-soft);
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  .site-header .inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
