/* Base layout */

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

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #102027;
  background: #f5f7fb;
}

/* Container */

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* Header / brand */

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #dde3f0;
  margin-bottom: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #ffb74d, #f4511e);
}

.brand-text-main {
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-text-sub {
  font-size: 0.9rem;
  color: #5f6c80;
}

/* Page layout */

.page {
  margin-top: 1.5rem;
}

/* Hero layout */

.hero-section {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.hero-section > div {
  min-width: 0;
}

.hero-section .hero-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0.25rem 0 0.75rem;
}

.hero-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5f6c80;
}

.hero-subtitle {
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
  color: #24313f;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.9rem;
  color: #5f6c80;
}

/* Hero card */

.hero-card {
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.hero-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #394357;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-card-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4f46e5;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hero-card-text {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.hero-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.hero-mini-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 0.15rem;
}

.hero-mini-main {
  font-size: 0.9rem;
  color: #374151;
}

/* Sections */

.section--center {
  margin-bottom: 2.75rem;
}

.section-header {
  margin-bottom: 1rem;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.section-title {
  font-size: 1.4rem;
  margin: 0.2rem 0 0.5rem;
}

.muted {
  color: #6b7280;
  font-size: 0.95rem;
}

/* Pills */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
}

/* CTA */

.cta {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: #111827;
  color: #f9fafb;
  text-align: left;
}

.cta h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.cta p {
  margin: 0.25rem 0 0.75rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cta .small {
  font-size: 0.85rem;
}

/* Buttons */

a.btn-primary,
a.btn.secondary,
a.btn,
button.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

a.btn-primary,
button.btn-primary,
.cta .btn.primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #f9fafb;
}

a.btn-primary:hover,
button.btn-primary:hover,
.cta .btn.primary:hover {
  filter: brightness(1.05);
}

a.btn.secondary,
a.btn {
  background: #e5e7eb;
  color: #111827;
}

a.btn.secondary:hover,
a.btn:hover {
  background: #d1d5db;
}

.icon {
  font-size: 1rem;
}

/* Lists */

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.35rem;
}

/* Footer */

footer {
  border-top: 1px solid #dde3f0;
  margin-top: 2.5rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-row a {
  color: inherit;
  text-decoration: none;
}

.footer-row a:hover {
  text-decoration: underline;
}

/* Links */

a {
  color: #1d4ed8;
}

a:hover {
  text-decoration: underline;
}

/* Small text */

.small {
  font-size: 0.85rem;
}

/* Responsive */

@media (min-width: 800px) {
  .hero-section {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

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

  .cta {
    padding: 1.4rem 1.1rem;
  }
}
