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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #F7F5F2;
  background-image: radial-gradient(circle at 15% -10%, #EAF3EE 0%, transparent 45%);
  color: #1A1714;
}

a { color: #2D6A4F; }

/* ---------- index / hub page ---------- */

.hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}
.hub .logo {
  font-size: 52px;
  margin-bottom: 16px;
  filter: drop-shadow(0 6px 14px rgba(45, 106, 79, .18));
}
.hub h1 { font-size: 28px; font-weight: 600; margin-bottom: 6px; letter-spacing: -.3px; }
.hub p.tagline { color: #6B6560; font-size: 15px; margin-bottom: 40px; }

.links { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 340px; }
.links a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #E8E3DC;
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none;
  color: #1A1714;
  box-shadow: 0 1px 2px rgba(26, 23, 20, .03);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.links a:hover {
  border-color: #2D6A4F;
  box-shadow: 0 8px 20px rgba(45, 106, 79, .12);
  transform: translateY(-1px);
}
.links a .icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0EEE9;
  border-radius: 11px;
}
.links a .text { flex: 1; min-width: 0; }
.links a .title { font-size: 15px; font-weight: 600; }
.links a .desc { display: block; font-size: 12.5px; font-weight: 400; color: #6B6560; margin-top: 1px; }
.links a .chevron { color: #C9C2B8; font-size: 18px; transition: transform .18s, color .18s; }
.links a:hover .chevron { color: #2D6A4F; transform: translateX(2px); }

.hub-footer { margin-top: 44px; font-size: 12px; color: #A8A29C; }

.langswitch {
  align-self: flex-end;
  margin-bottom: 8px;
  font-size: 13px;
  color: #6B6560;
  text-decoration: none;
  border: 1px solid #E8E3DC;
  border-radius: 999px;
  padding: 5px 12px;
  background: #fff;
  transition: border-color .18s, color .18s;
}
.langswitch:hover { border-color: #2D6A4F; color: #2D6A4F; }

/* ---------- document pages ---------- */

.wrap { max-width: 680px; margin: 0 auto; padding: 40px 20px 80px; }

.toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.back {
  color: #2D6A4F;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.back:hover { text-decoration: underline; }
.lang {
  color: #6B6560;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #E8E3DC;
  border-radius: 999px;
  padding: 5px 12px;
  background: #fff;
  transition: border-color .18s, color .18s;
}
.lang:hover { border-color: #2D6A4F; color: #2D6A4F; }

.badge {
  display: inline-block;
  background: #E8F5F0;
  color: #2D6A4F;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 16px;
  letter-spacing: .5px;
}

h1 { font-size: 30px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.4px; }
.meta { font-size: 13px; color: #6B6560; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid #E8E3DC; }

h2 { font-size: 18px; font-weight: 700; margin-top: 40px; margin-bottom: 12px; }
p { font-size: 15px; line-height: 1.7; color: #3A3530; margin-bottom: 12px; }
ul { padding-left: 20px; margin-bottom: 12px; }
li { font-size: 15px; line-height: 1.7; color: #3A3530; margin-bottom: 4px; }

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0;
  font-size: 13.5px;
  border: 1px solid #E8E3DC;
  border-radius: 12px;
  overflow: hidden;
}
th { background: #F0EEE9; text-align: left; padding: 10px 14px; font-weight: 700; }
td { border-top: 1px solid #E8E3DC; padding: 10px 14px; vertical-align: top; }
tr:nth-child(even) td { background: #FBFAF8; }

.card {
  background: #fff;
  border: 1px solid #E8E3DC;
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 16px;
  box-shadow: 0 1px 2px rgba(26, 23, 20, .03);
}
.card h2 { margin-top: 0; font-size: 17px; }

.doc-footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #E8E3DC;
  font-size: 12px;
  color: #A8A29C;
  text-align: center;
}

/* ---------- support page ---------- */

.support-logo { font-size: 40px; margin-bottom: 12px; }
a.email {
  color: #2D6A4F;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}
a.email:hover { text-decoration: underline; }
.faq dt {
  font-weight: 700;
  margin-top: 18px;
  font-size: 15px;
}
.faq dd { color: #6B6560; margin-top: 4px; line-height: 1.6; font-size: 14.5px; }
