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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f9f9f9;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Shared header */
.site-header {
  background: #1a1a2e;
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.site-header h1 {
  font-size: 2rem;
  font-weight: 700;
}

.site-header p {
  color: #aaa;
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

/* Homepage */
.home-content {
  flex: 1;
  max-width: 640px;
  width: 100%;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.home-content h2 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 0.75rem;
}

.app-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.app-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: #1a1a1a;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.app-list a:hover {
  border-color: #bbb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.app-name {
  font-size: 1rem;
  font-weight: 500;
}

.arrow {
  color: #bbb;
  font-size: 1rem;
}

/* Policy pages */
.policy-header {
  background: #1a1a2e;
  color: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
}

.policy-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
}

.policy-header p {
  color: #aaa;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.policy-content {
  flex: 1;
  max-width: 720px;
  width: 100%;
  margin: 2.5rem auto;
  padding: 0 1.5rem 3rem;
  line-height: 1.7;
  font-size: 0.97rem;
}

.policy-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

.policy-content p {
  margin-bottom: 1rem;
  color: #333;
}

.policy-content ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
  color: #333;
}

.policy-content ul li {
  margin-bottom: 0.35rem;
}

.policy-content a {
  color: #4a7fa5;
}

/* Shared footer */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: #999;
  border-top: 1px solid #e5e5e5;
}
