*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #14145C;
  --rust:      #B84A25;
  --navy-bg:   #EDEDF5;
  --slate-900: #0f172a;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #E5E7EB;
  --slate-100: #F8F9FA;
  --slate-50:  #F8F9FA;
  --white:     #ffffff;
}

html { font-size: 16px; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--slate-900);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

/* ── Header ── */
header {
  border-bottom: 1px solid var(--slate-200);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

header img { height: 32px; width: auto; }

header span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

header .header-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--navy-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Main ── */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 0 2rem;
}

/* ── Hero ── */
.hero {
  text-align: center;
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero h1 .accent {
  color: var(--navy);
}

.hero p {
  font-size: 1rem;
  color: var(--slate-500);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 740px;
  width: 100%;
}

.feature-card {
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 1.25rem;
  transition: box-shadow 0.2s;
  text-align: center;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(20, 20, 92, 0.08);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  background: var(--navy-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.3rem;
}

.feature-card p {
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.45;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--slate-200);
  padding: 0.875rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

footer p { font-size: 0.78rem; color: var(--slate-500); }

footer a {
  font-size: 0.78rem;
  color: var(--slate-500);
  text-decoration: none;
}

footer a:hover { color: var(--navy); text-decoration: underline; }

.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 768px) {
  body { height: auto; overflow: auto; }
  .features { grid-template-columns: 1fr; max-width: 360px; }
}

@media (max-width: 480px) {
  footer { flex-direction: column; align-items: flex-start; }
}
