/* Layout dùng chung cho mọi app trong site này.
   KHÔNG đặt màu riêng của app nào ở đây. Mỗi trang app override các biến
   dưới đây trong <style>:root{...}</style> của chính nó — nhờ vậy thêm app
   mới không bao giờ phải sửa file này. */

:root {
  --paper: #f6f7f8;
  --paper-card: #ffffff;
  --ink: #1a1d21;
  --ink-soft: #626b75;
  --brand: #3d4753;
  --brand-deep: #262d36;
  --line: #e4e7ea;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }
a:hover { text-decoration: underline; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.hero {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  padding: 60px 24px 64px;
  text-align: center;
}
.hero h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.hero p { opacity: 0.92; margin-top: 10px; }

.badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 600;
}

main.wrap { padding-top: 40px; padding-bottom: 72px; }
section { margin-bottom: 44px; }
h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.section-sub { color: var(--ink-soft); margin-bottom: 16px; }
p + p { margin-top: 8px; }

.card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.contact { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact .icon { font-size: 28px; line-height: 1; }
.contact .meta { flex: 1; min-width: 170px; }
.contact .label { font-size: 13px; color: var(--ink-soft); }
.contact .value { font-weight: 600; word-break: break-all; }

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { background: var(--brand-deep); text-decoration: none; }

details {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
details summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 10px; color: var(--ink-soft); }

.lead { font-size: 18px; }
.updated { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }

.app-list { list-style: none; }
.app-list li + li { margin-top: 12px; }
.app-list a { font-weight: 600; }

.back { display: inline-block; margin-top: 28px; font-weight: 600; }

footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
footer a { margin: 0 10px; }
