:root {
  --cgi-grad: linear-gradient(90deg, #E31937 0%, #A82465 60%, #5236AB 100%);
}

.home {
  padding: 18px;
}

.home-empty {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.home-hero {
  background-image: url("/assets/img/hero-image.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 14px;
  padding: 34px 38px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  min-height: 400px;
  position: relative;
}

.home-heroLeft {
  max-width: 720px;
  z-index: 1;
}

.home-heroTitle {
  margin: 0 0 10px 0;
  font-size: 60px;
  font-weight: 700;
}

.home-heroDesc {
  margin: 0 0 16px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.45;
  max-width: 70ch;
}

.home-heroActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 12px 16px 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
}

.home-btn.is-outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-btn.is-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.home-btn.is-solid {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #fff;
  color: #1f2937;
}

.home-btn.is-solid:hover {
  background: rgba(255, 255, 255, 0.92);
}

.home-section {
  margin-top: 40px;
}

.home-h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}

.home-accent {
  background: linear-gradient(90deg, #E31937 0%, #A82465 60%, #5236AB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  display: inline-block;
}

.home-sub {
  margin: 8px 0 16px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-card {
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 18px;
  transform: translateY(-1px);
  background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(90deg, #E31937 0%, #A82465 60%, #5236AB 100%) border-box;
}

.home-cardTop {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.home-cardIcon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: transparent;
  background: linear-gradient(90deg, #E31937 0%, #A82465 60%, #5236AB 100%);
  position: relative;
  overflow: hidden;
}

.home-cardIconSvg {
  color: #fff;
}

.home-cardIconImg {
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
}

.home-cardTitle {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.home-cardDesc {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.home-card.is-accent {
  border: 1px solid transparent;
  background: linear-gradient(#f7f7f9, #f7f7f9) padding-box, linear-gradient(90deg, #E31937 0%, #A82465 60%, #5236AB 100%) border-box;
}

.home-card,
.home-card * {
  cursor: default;
}

/* Dark mode overrides for cards */
html.theme-dark .home-card {
  background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(90deg, #E31937 0%, #A82465 60%, #5236AB 100%) border-box;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.home-quickGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-quickItem {
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 5px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
  /* layout: icon+title row, description row */
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas: "icon title" "desc desc";
  column-gap: 15px;
  align-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  height: 151px;
  transition: box-shadow 140ms ease, transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.home-quickItem:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
  /* gradient border on hover */
  border: 1px solid transparent;
  border-top: 5px solid transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(90deg, #E31937, #A82465, #5236AB) border-box;
}

/* icon box */
.home-quickIcon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.04);
}

.home-quickIconSvg {
  color: var(--text);
  width: 22px;
  height: 22px;
}

/* icon becomes CGI gradient on hover */
.home-quickItem:hover .home-quickIcon {
  background: linear-gradient(90deg, #E31937, #A82465, #5236AB);
  border-color: transparent;
}

.home-quickItem:hover .home-quickIconSvg {
  color: #fff;
}

.home-quickTitle {
  grid-area: title;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.home-quickDesc {
  grid-area: desc;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
}

.tone-amber .home-quickIcon {
  background: rgb(245, 158, 11);
  border-color: rgba(245, 158, 11, 0.35);
}

.tone-amber .home-quickIconSvg {
  color: #fff;
}

.tone-blue .home-quickIcon {
  background: rgb(37, 99, 235);
  border-color: rgba(37, 99, 235, 0.32);
}

.tone-blue .home-quickIconSvg {
  color: #fff;
}

.tone-gold .home-quickIcon {
  background: rgb(234, 179, 8);
  border-color: rgba(234, 179, 8, 0.3);
}

.tone-gold .home-quickIconSvg {
  color: #fff;
}

.tone-slate .home-quickIcon {
  background: rgb(148, 163, 184);
  border-color: rgba(148, 163, 184, 0.38);
}

.tone-slate .home-quickIconSvg {
  color: #fff;
}

.tone-purple .home-quickIcon {
  background: rgb(124, 58, 237);
  border-color: rgba(124, 58, 237, 0.3);
}

.tone-purple .home-quickIconSvg {
  color: #fff;
}

.tone-crimson .home-quickIcon {
  background: rgb(227, 25, 55);
  border-color: rgba(227, 25, 55, 0.26);
}

.tone-crimson .home-quickIconSvg {
  color: #fff;
}

.home-quickItem:hover .home-quickIcon {
  background: linear-gradient(90deg, #E31937, #A82465, #5236AB);
  border-color: transparent;
}

@media (max-width: 1100px) {
  .home-hero {
    padding: 28px 28px;
    min-height: 360px;
  }
  .home-heroTitle {
    font-size: 48px;
  }
  .home-heroRight {
    height: 360px;
  }
  .home-heroArt {
    right: -14px;
    bottom: -18px;
    width: clamp(280px, 46vw, 460px);
    opacity: 0.8;
  }
  .home-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-quickGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .home {
    padding: 12px;
  }
  .home-hero {
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
  }
  .home-heroLeft {
    max-width: 100%;
  }
  .home-heroTitle {
    font-size: 38px;
  }
  .home-heroRight {
    width: 100%;
    height: 240px;
    min-width: 0;
  }
  .home-heroArt {
    right: -10px;
    bottom: -30px;
    width: min(420px, 85vw);
    opacity: 0.55;
  }
  .home-cards {
    grid-template-columns: 1fr;
  }
  .home-quickGrid {
    grid-template-columns: 1fr;
  }
}
/* Dark mode overrides for quick links */
html.theme-dark .home-quickIcon {
  border-color: var(--border);
}

html.theme-dark .home-quickIconSvg {
  color: var(--text);
}

/*# sourceMappingURL=home.css.map */