/* Homepage skin: warm cream editorial background with light cards,
   matching the Veelearn blog and brand palette. Scoped to body.hub-home so
   auth and dashboard views keep their existing theme. */

body.hub-home {
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(234, 88, 12, 0.10), transparent 62%),
    radial-gradient(700px 420px at 8% 4%, rgba(202, 138, 4, 0.07), transparent 60%),
    linear-gradient(180deg, #fffaf4 0%, #f6eadc 100%) !important;
  color: #6b5a4e !important;
}

body.hub-home > header.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0 !important;
  background: rgba(255, 248, 241, 0.92) !important;
  border-bottom: 1px solid #f1dfcf !important;
  box-shadow: 0 8px 24px rgba(154, 52, 18, 0.05) !important;
  backdrop-filter: blur(14px);
}

body.hub-home .site-head .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(1120px, calc(100% - 40px));
  min-height: 66px;
  margin: 0 auto;
}

body.hub-home .site-head .brand {
  color: #2a170e !important;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

body.hub-home .site-head .nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 8px;
  font-size: 0.93rem;
  font-weight: 600;
}

body.hub-home .site-head .nav a {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #5a4232 !important;
  text-decoration: none;
}

body.hub-home .site-head .nav a:hover {
  color: #ea580c !important;
  background: transparent !important;
}

body.hub-home .site-head .head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  white-space: nowrap;
}

body.hub-home .site-head .head-link,
body.hub-home .site-head .head-search {
  padding: 0;
  border: 0;
  background: transparent;
  color: #5a4232 !important;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

body.hub-home .site-head .head-link:hover,
body.hub-home .site-head .head-search:hover {
  color: #ea580c !important;
}

body.hub-home .site-head .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 999px !important;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

body.hub-home .site-head .btn-primary {
  background: linear-gradient(135deg, #f59e0b, #ea580c) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.28) !important;
}

body.hub-home .site-head .btn-primary:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(234, 88, 12, 0.36) !important;
}

body.hub-home .home-section-head {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 20px;
  text-align: left !important;
}

body.hub-home .home-section-head h2 {
  margin: 0 0 5px;
  padding: 0 !important;
  border: 0 !important;
  color: #2a170e !important;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

body.hub-home .home-section-head p {
  max-width: 760px;
  margin: 0 !important;
  padding: 0 !important;
  color: #8a7464 !important;
  font-size: 0.98rem;
  text-align: left !important;
}

body.hub-home #landing-page {
  background: transparent !important;
  padding-bottom: 20px;
}

body.hub-home #landing-page .hero {
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding: 46px 20px 28px !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.hub-home #landing-page .hero::before,
body.hub-home #landing-page .hero::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

body.hub-home #landing-page .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1px solid #f6d3b4;
  border-radius: 999px;
  background: #fff1e3;
  color: #c2410c !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.hub-home #landing-page .hero h1 {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto 18px !important;
  color: #2a170e !important;
  font-size: clamp(2rem, 4.2vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
  text-align: center !important;
}

body.hub-home #landing-page .hero h1 .hl {
  background: linear-gradient(120deg, #c2410c, #ea580c 55%, #f59e0b) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body.hub-home #landing-page .hero p {
  max-width: 800px;
  margin: 0 auto 18px !important;
  color: #6b5a4e !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  text-align: center !important;
}

body.hub-home #landing-page .trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin: 0 auto 26px;
  padding: 0;
  list-style: none;
  color: #8a7464 !important;
  font-size: 0.86rem;
  font-weight: 600;
}

body.hub-home #landing-page .trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.hub-home #landing-page .trust li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffedd5;
  color: #c2410c;
  font-size: 0.68rem;
  font-weight: 800;
}

body.hub-home #landing-page .hero-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  gap: 12px;
}

body.hub-home #landing-page .primary-btn,
body.hub-home #landing-page .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px !important;
  border-radius: 999px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

body.hub-home #landing-page .primary-btn {
  background: linear-gradient(135deg, #f59e0b, #ea580c) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.28) !important;
}

body.hub-home #landing-page .secondary-btn {
  background: #fff !important;
  color: #2a170e !important;
  border: 1px solid #f1dfcf !important;
  box-shadow: none !important;
}

body.hub-home #landing-page .hero-actions a.primary-btn {
  background: rgba(255, 255, 255, 0.76) !important;
  color: #ea580c !important;
  border: 1px solid #e7cfba !important;
  box-shadow: none !important;
}

body.hub-home #landing-page .features-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: min(1120px, calc(100% - 40px)) !important;
  max-width: 1120px !important;
  margin: 0 auto 34px !important;
  padding: 0 !important;
}

body.hub-home #landing-page .feature-card {
  min-height: 220px;
  padding: 24px !important;
  border: 1px solid #f1dfcf !important;
  border-radius: 16px !important;
  background: #fffdf9 !important;
  box-shadow: 0 8px 24px rgba(154, 52, 18, 0.06) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.hub-home #landing-page .feature-card:hover {
  transform: translateY(-3px);
  border-color: #fdba74 !important;
  box-shadow: 0 16px 34px rgba(154, 52, 18, 0.12) !important;
}

body.hub-home #landing-page .feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border: 1px solid #f6d3b4;
  border-radius: 12px;
  background: #fff1e3 !important;
  color: #c2410c !important;
  font-size: 1.3rem !important;
}

body.hub-home #landing-page .feature-card h3 {
  margin: 0 0 7px !important;
  color: #2a170e !important;
  font-size: 1.02rem !important;
  line-height: 1.3 !important;
}

body.hub-home #landing-page .feature-card p {
  margin: 0 !important;
  color: #5a4232 !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
}

/* ---------- how it works ---------- */
body.hub-home #landing-page .how-it-works.how-it-works-v2 {
  width: min(1120px, calc(100% - 40px)) !important;
  max-width: 1120px !important;
  margin: 0 auto 42px !important;
  padding: 38px 34px !important;
  background: #fffdf9 !important;
  border: 1px solid #ecd9c8 !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 36px rgba(120, 72, 40, 0.07) !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2::before {
  display: none !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2 .hiw-eyebrow {
  background: #fff3e6 !important;
  border-color: #e7cfba !important;
  color: #c2410c !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2 .hiw-eyebrow::before {
  background: #ea580c !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.14) !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2 h2 {
  color: #2b1a12 !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2 .hiw-sub {
  color: #6b5a4e !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2 .step {
  background: #fff7ed !important;
  border-color: #ecd9c8 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2 .step:hover {
  background: #fff !important;
  border-color: #e5c9b1 !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2 .step-num {
  background: linear-gradient(135deg, #c2410c, #ea580c) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(194, 65, 12, 0.22) !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2 .step h4 {
  color: #2b1a12 !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2 .step p {
  color: #6b5a4e !important;
}

body.hub-home #landing-page .how-it-works.how-it-works-v2 .step:not(:last-child)::after {
  color: #c9a98e !important;
}

body.hub-home > footer {
  padding: 28px 20px 36px !important;
  background: rgba(255, 250, 243, 0.78) !important;
  border-top: 1px solid #ecd9c8 !important;
  color: #8a7464 !important;
  text-align: center !important;
  font-size: 0.84rem !important;
  line-height: 1.7 !important;
}

body.hub-home > footer p {
  max-width: 940px;
  margin: 0 auto 10px !important;
  color: #8a7464 !important;
}

body.hub-home > footer nav {
  justify-content: center !important;
}

body.hub-home > footer a {
  margin: 0 6px;
  color: #6b5242 !important;
}

body.hub-home > footer a:hover { color: #c2410c !important; }

@media (max-width: 1100px) {
  body.hub-home #landing-page .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.hub-home .site-head .nav { gap: 14px; }
  body.hub-home .site-head .head-actions { gap: 10px; }
}

@media (max-width: 900px) {
  body.hub-home .site-head .nav { display: none; }
}

@media (max-width: 980px) {
  body.hub-home #landing-page .how-it-works.how-it-works-v2 {
    width: calc(100% - 28px) !important;
    padding: 28px 20px !important;
  }
}

@media (max-width: 640px) {
  body.hub-home #landing-page .hero {
    padding: 42px 16px 28px !important;
  }

  body.hub-home .site-head #outline-link,
  body.hub-home .site-head #global-search-btn {
    display: none !important;
  }

  body.hub-home .site-head .head-actions { gap: 10px; }
  body.hub-home .site-head .btn { padding: 9px 13px; font-size: 0.8rem; }

  body.hub-home .home-section-head {
    width: calc(100% - 28px);
  }

  body.hub-home #landing-page .features-grid {
    grid-template-columns: 1fr !important;
    width: calc(100% - 28px) !important;
  }

  body.hub-home #landing-page .feature-card {
    min-height: 0;
  }
}
