
/* The very same large homepage footer on Simple Home.  This stylesheet
   isolates the original footer vocabulary; the rest of Simple Home
   remains independent of the homepage's giant global stylesheet. */
.simple-site .dd-footer{
 --primary:#7c3aed;
 --border:#282838;
 --primary-hover:#6d28d9;
}
.simple-site .dd-footer a{text-decoration:none}
.simple-site .dd-footer .container{
 width:min(1490px,calc(100% - clamp(1.5rem,3vw,3.5rem)));
 max-width:none;margin-inline:auto;box-sizing:border-box;
}
/* Footer Brand Logo */
.footer-brand-logo {
  height: 40px;
  width: auto;
  display: block;
  filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 12px rgba(124, 58, 237, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.footer-brand-logo:hover {
  transform: scale(1.03);
  filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 20px rgba(167, 139, 250, 0.7));
}


/* Footer */
.dd-footer {
  background-color: #050507;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.dd-footer-inner {
  padding: 2.5rem 1.5rem;
}

.dd-footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .dd-footer-top {
    flex-direction: row;
    gap: 3rem;
  }
}

.dd-footer-brand-col {
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .dd-footer-brand-col {
    width: 32%;
  }
}

.dd-footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 280px;
}

.dd-footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.dd-footer-socials a {
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  padding: 0.25rem;
  margin-left: -0.25rem;
}

.dd-footer-socials a:hover {
  opacity: 1;
}

.dd-footer-nav-cols {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .dd-footer-nav-cols {
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
  }
}

.dd-nav-group {
  margin-bottom: 0;
}

.dd-nav-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.dd-nav-heading::-webkit-details-marker {
  display: none;
}

@media (min-width: 768px) {
  .dd-nav-heading {
    pointer-events: none;
    border-bottom: none;
    padding: 0;
    margin-bottom: 1rem;
  }
}

.dd-nav-chevron {
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .dd-nav-chevron {
    display: none;
  }
}

.dd-nav-group[open] .dd-nav-chevron {
  transform: rotate(180deg);
}

.dd-nav-list {
  list-style: none;
  padding: 0.5rem 0 1rem 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .dd-nav-list {
    padding: 0;
  }
}

.dd-nav-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.dd-nav-list a:hover {
  color: #fff;
}

.dd-footer-middle {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .dd-footer-middle {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }
}

.dd-footer-widgets {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .dd-footer-widgets {
    width: 320px;
  }
}

.dd-newsletter {
  margin-bottom: 1rem;
}

.dd-newsletter-title {
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem 0;
  display: none;
}

@media (min-width: 768px) {
  .dd-newsletter-title {
    display: block;
  }
}

.dd-newsletter-form {
  display: flex;
  width: 100%;
}

.dd-newsletter-form input {
  width: 100%;
  background: #fff;
  color: #000;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 4px 0 0 4px;
}

.dd-newsletter-form input:focus {
  outline: none;
}

.dd-newsletter-form button {
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.dd-newsletter-form button:hover {
  background: var(--primary-hover);
}

.dd-footer-divider {
  border-top: 1px solid var(--primary);
}

.dd-footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .dd-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.dd-copyright {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-family: monospace;
}


.simple-site .dd-footer>.dd-footer-inner.container{
 padding:2.5rem clamp(.75rem,1.2vw,1.4rem);
}
.simple-site .dd-footer .site-legal-links{
 margin-left:auto;
}
.simple-site .dd-footer .dd-footer-bottom{
 flex-wrap:wrap;
}
@media(max-width:720px){
 .simple-site .dd-footer>.dd-footer-inner.container{
  width:calc(100% - 1.25rem);padding-inline:.25rem;
 }
}
