:root {
  --brand-color: #3F62A7;
  --brand-color-light: #dae2f1;
  --text-color: #212529;
  --text-muted: #6c757d;
  --body-bg: #f5f5f5;
  --card-bg: #ffffff;
  --border-color: #dee2e6;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
               "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo,
               sans-serif;
  color: var(--text-color);
  background-color: var(--body-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  background-color: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #35548f;
  border-color: #35548f;
}

.hero {
  background-color: #ffffff;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-inner {
  max-width: 83.333%;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-color);
  text-decoration: none;
  margin-top: 0.5rem;
}

.learn-more:hover {
  text-decoration: underline;
}

.learn-more-arrow {
  margin-left: 0.5rem;
  font-size: 1.1em;
  line-height: 1;
}

.features {
  padding-top: 2rem;
  padding-bottom: 4.5rem;
}

.features-heading {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--card-bg);
  border: 0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  min-height: 16.5rem;
  min-width: 16.5rem;
  box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.1),
              0 2px 4px -2px rgba(16, 24, 40, 0.06);
  display: flex;
  flex-direction: column;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--brand-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px whitesmoke;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  padding-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.75rem 0;
}

.feature-description {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

.site-footer {
  padding: 1.5rem 0;
}

.site-footer > .container {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  padding-left: 3rem;
  padding-right: 3rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
}

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

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

@media (max-width: 767px) {
  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1.125rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-width: auto;
  }
}
