/* HonestStack site — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: #0E1B2C;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: #F4C20D; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 27, 44, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid #1e3050;
}
.nav-wrap {
  max-width: 1120px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #ffffff; text-decoration: none;
  font-weight: 700; font-size: 17px; letter-spacing: -0.3px;
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.nav nav { display: flex; gap: 26px; }
.nav nav a {
  color: #cbd5e1; font-size: 14px; font-weight: 500;
}
.nav nav a:hover, .nav nav a.active { color: #F4C20D; text-decoration: none; }
@media (max-width: 720px) {
  .nav nav { gap: 16px; }
  .nav nav a { font-size: 13px; }
}
@media (max-width: 560px) {
  .nav nav a { display: none; }
  .nav nav a.always-show { display: inline; }
}

/* ---------- Generic page hero (smaller than the home hero) ---------- */
.page-head {
  padding: 64px 24px 28px;
  background:
    radial-gradient(900px 380px at 78% 28%, rgba(244, 194, 13, 0.10), transparent 60%),
    radial-gradient(720px 360px at 8% 22%, rgba(30, 48, 80, 0.65), transparent 65%);
}
.page-head-wrap {
  max-width: 1120px; margin: 0 auto;
}
.page-head .kicker {
  display: inline-block;
  color: #F4C20D; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 14px;
}
.page-head h1 {
  font-size: 40px; line-height: 1.12; color: #ffffff;
  letter-spacing: -1px; font-weight: 700;
  max-width: 880px;
}
.page-head h1 .accent { color: #F4C20D; }
.page-head .lede {
  color: #cbd5e1; font-size: 17px; line-height: 1.6;
  max-width: 720px; margin-top: 18px;
}
@media (max-width: 640px) {
  .page-head { padding: 40px 24px 18px; }
  .page-head h1 { font-size: 28px; }
}

/* ---------- Generic section ---------- */
section.section {
  max-width: 1120px; margin: 0 auto;
  padding: 56px 24px;
}
section.section h2 {
  color: #ffffff; font-size: 30px; letter-spacing: -0.4px;
  margin-bottom: 18px; font-weight: 700;
}
section.section h2 .accent { color: #F4C20D; }
section.section h3 {
  color: #ffffff; font-size: 18px; font-weight: 700;
  margin: 24px 0 8px;
}
section.section p {
  color: #cbd5e1; font-size: 16.5px; max-width: 760px;
  margin-bottom: 14px;
}
section.section ul {
  color: #cbd5e1; font-size: 16px; padding-left: 22px;
  max-width: 760px; margin-bottom: 16px;
}
section.section ul li { margin-bottom: 6px; }
@media (max-width: 640px) {
  section.section { padding: 40px 24px; }
  section.section h2 { font-size: 24px; }
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary {
  display: inline-block; padding: 13px 24px; border-radius: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.2px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: #F4C20D; color: #0E1B2C; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(244, 194, 13, 0.25);
  text-decoration: none;
}
.btn-secondary {
  background: transparent; color: #e2e8f0;
  border: 1px solid #243a55;
}
.btn-secondary:hover {
  transform: translateY(-2px); border-color: #F4C20D; color: #F4C20D;
  text-decoration: none;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.card {
  background: #162438; border: 1px solid #243a55;
  border-radius: 14px; padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(244, 194, 13, 0.4); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.foot {
  background: #0a1422;
  border-top: 1px solid #1e3050;
  padding: 56px 24px 28px;
  margin-top: 40px;
}
.foot-wrap {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 28px;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 44px; height: 44px; border-radius: 8px; }
.wordmark-lg { color: #ffffff; font-weight: 700; font-size: 20px; letter-spacing: -0.4px; }
.tag { color: #94a3b8; font-size: 13px; margin-top: 4px; max-width: 280px; }
.foot-col .h {
  color: #ffffff; font-size: 12px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.foot-col a {
  display: block; color: #cbd5e1; font-size: 14px;
  margin-bottom: 7px; text-decoration: none;
}
.foot-col a:hover { color: #F4C20D; }
.copy {
  max-width: 1120px; margin: 0 auto;
  padding-top: 22px; border-top: 1px solid #1e3050;
  color: #64748b; font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
@media (max-width: 860px) {
  .foot-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-wrap { grid-template-columns: 1fr; gap: 28px; }
}
