:root {
  --brand-purple: #302c8c;
  --brand-purple-light: #4f33b8;
  --brand-green: #2ecc71;
  --text: #1c1c1e;
  --text-secondary: #636366;
  --background: #f2f2f7;
  --card: #ffffff;
  --border: #e5e5ea;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, #eef0ff 0%, var(--background) 240px);
  min-height: 100vh;
}

a {
  color: var(--brand-purple);
}

a:hover {
  color: var(--brand-purple-light);
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  padding: 24px 0 16px;
}

.site-header a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.site-header img {
  height: 36px;
  width: auto;
}

main {
  padding-bottom: 48px;
}

.hero {
  text-align: center;
  padding: 8px 0 32px;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 16px;
  max-height: 260px;
  overflow: visible;
}

.hero-image {
  display: block;
  width: auto;
  max-width: min(88vw, 220px);
  max-height: 260px;
  height: auto;
  object-fit: contain;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 34rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(48, 44, 140, 0.06);
}

.feature-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  padding: 16px;
  border-radius: 14px;
  background: #f8f8fc;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--brand-purple);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-purple-light);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--brand-purple);
  border-color: var(--border);
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  margin: 8px 0 8px;
}

.page-meta {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
}

.prose h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 8px;
}

.contact-box {
  background: #f8f8fc;
  border-radius: 14px;
  padding: 16px;
}

.contact-box p {
  margin: 0 0 8px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  font-weight: 500;
}

.footer-copy {
  margin: 0;
}
