/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Serif Pro", serif;
  color: #222;
  background-color: #f6f6f8;
  line-height: 1.65;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111118;
  margin-top: 0;
}

h1 {
  font-size: 2.6rem;
  line-height: 1.25;
}

h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.2rem;
}

/* Text */
p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3c3c44;
}

li {
  line-height: 1.55;
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: #3c3c44;
}

.bullet-list {
  padding-left: 18px;
  margin-top: 10px;
}

/* Header */
.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
  background-color: #ffffff;
  border-bottom: 1px solid #e1e1e5;
  font-family: "Inter", sans-serif;
}

.site-footer {
  border-top: 1px solid #e1e1e5;
  border-bottom: none;
  font-size: 0.9rem;
  color: #4a4a52;
}

.logo img {
  width: 125px;
  height: auto;
}

/* Desktop Navigation */
.nav {
  display: flex;
}

.nav a {
  margin-left: 18px;
  text-decoration: none;
  color: #4a4a52;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.nav a.active {
  color: #111118;
  font-weight: 600;
}

.nav a:hover {
  color: #000000;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  padding: 80px 7% 50px;
  background: linear-gradient(
    135deg,
    #eef2ff 0%,
    #f6f6f8 40%,
    #ffffff 100%
  );
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero p {
  margin-bottom: 24px;
}

/* Button */
.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: #111118;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background-color: #2a2a32;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Sections */
section {
  margin-bottom: 60px;
}

.grid {
  padding: 40px 7%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 22px;
  border: 1px solid #e4e4ea;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: #d5d5db;
}

.card p {
  font-size: 1.02rem;
}

/* Highlight sections */
.highlight {
  padding: 40px 7%;
  background-color: #ffffff;
  border-top: 1px solid #e4e4ea;
  border-bottom: 1px solid #e4e4ea;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.columns ul {
  margin: 0;
  padding-left: 18px;
}

/* Page layout */
.page {
  padding: 60px 7% 40px;
}

.page-header {
  max-width: 860px;
  margin: 0 auto 32px;
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.05rem;
}

.two-column {
  padding: 10px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
}

.two-column p {
  font-size: 1.02rem;
}

/* Footer */
.footer-links a {
  margin-left: 14px;
  text-decoration: none;
  color: #4a4a52;
  font-family: "Inter", sans-serif;
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: #000000;
  transform: translateY(-1px);
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

main, section, .card, .hero-content {
  animation: fadeIn 0.6s ease-out;
}

/* Mobile slide-out menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  background-color: #111118;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -4px 0 16px rgba(0,0,0,0.1);
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: right 0.35s ease;
  z-index: 1001;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-family: "Inter", sans-serif;
  color: #111118;
  margin-left: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.mobile-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 800px) {
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 6% 40px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .page,
  .grid,
  .highlight {
    padding-left: 6%;
    padding-right: 6%;
  }
}
