/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.8);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: #111827; color: #ffffff; font-weight: 700;
  letter-spacing: .5px;
}
.brand-name { font-weight: 700; font-size: 1.05rem; white-space: nowrap; }

.site-nav a {
  text-decoration: none;
  color: #334155;
  padding: .5rem .75rem;
  border-radius: .5rem;
}
.site-nav a:hover, .site-nav a:focus { background: #f1f5f9; color: #0f172a; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 64svh;
  display: grid;
  align-items: center;
  background: #0b1020;
  color: #ffffff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('./assets/bg_01.png') center/cover no-repeat;
  opacity: .38;
  z-index: -1;
}
.hero-content { padding: 5rem 0 3rem; }
.hero h1 {
  margin: 0 0 .5rem;
  font-size: clamp(2rem, 1.2rem + 3vw, 3rem);
  line-height: 1.15;
}
.hero p { margin: 0 0 1.25rem; color: #e5e7eb; max-width: 60ch; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1rem 0 1.25rem; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: .75rem 1rem; border-radius: .75rem; border: 1px solid transparent;
}
.btn.primary { background: #22c55e; color: #052e16; }
.btn.primary:hover { filter: brightness(0.97); }
.btn.ghost { background: transparent; color: #ffffff; border-color: #94a3b8; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }

.facts { display: flex; gap: 1rem; padding: 0; margin: .5rem 0 0; list-style: none; flex-wrap: wrap; }
.facts li { background: rgba(255,255,255,.1); padding: .35rem .6rem; border-radius: .5rem; font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section.muted { background: #f8fafc; }
.section-title { margin: 0 0 1.5rem; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 1px 2px rgba(2,6,23,.05);
}
.card-body { padding: 1rem 1rem 1.25rem; }
.card h3 { margin: .25rem 0 .5rem; font-size: 1.1rem; }
.card p { margin: 0 0 .5rem; color: #475569; }
.card ul { margin: 0; padding-left: 1.1rem; color: #334155; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.feature {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
}
.feat-icon { font-size: 1.4rem; }

.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.2rem;
  align-items: center;
}
.about-text p { color: #334155; }
.checklist { margin: .75rem 0 0; padding-left: 1.1rem; }
.checklist li { margin: .2rem 0; }

/* ---------- Contact ---------- */
.contact .contact-block {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
}
.contact .note { margin-top: .8rem; color: #475569; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0;
  background: #ffffff;
  color: #334155;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero-content { padding: 4rem 0 2.5rem; }
}