:root {
  --bg: #f4f6ff;
  --card: #ffffff;
  --accent: #eca51a;
  --accent-hover: #cb8d14;
  --muted: #666;
  --maxw: 760px;
  --radius: 12px;
  --pad: 20px;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, var(--bg), #eef2ff);
  color: #111;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(20, 30, 60, 0.08);
  overflow: hidden;
}

header {
  padding: var(--pad);
  border-bottom: 1px solid #e6e9f5;
  display: flex;
  gap: 16px;
  align-items: center;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: url('https://cdn-casi.pages.dev/images/favicon.ico') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 81, 255, 0.25);
}

h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

main {
  padding: var(--pad);
}

article {
  flex: 1;
}

p {
  margin: 0 0 12px 0;
  font-size: 15px;
  color: #222;
}

footer {
  padding: 14px 20px;
  border-top: 1px solid #eef3ee;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer .cta {
  background: var(--accent);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

a.cta {
  background: var(--accent);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease;
}

a.cta:hover {
  background: var(--accent-hover);
}

.accordion {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e6e9f5;
}

.accordion-header {
  margin: 0;
  padding: 12px 16px;
  background: #f6f8ff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: #eef2ff;
}

.accordion-content {
  padding: 12px 16px;
  display: none;
  background: #fafbff;
}

.accordion.active .accordion-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

ul {
  margin: 0 0 0 18px;
  padding: 0;
}

li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  body {
    padding: 16px;
  }
  
  .hero {
    flex-direction: column;
  }
  
  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .footer-left, .footer-right {
    width: 100%;
    text-align: center;
  }
  
  .accordion-header {
    font-size: 14px;
  }
  
  li {
    font-size: 13px;
  }
}